/* Layout components */
@import url('_partials/header.css');
@import url('_partials/footer.css');

/* Pages */
@import url('homepage.css');
@import url('services.css');
@import url('about.css');
@import url('contact.css');
/* Base styles - Variables, reset, éléments communs */
:root{
  --primary:#1F8BF1;
  --primary-light:#4DA3FF;
  --primary-dark:#1565C0;
  --secondary:#FF6B6B;
  --accent:#4ECDC4;
  --purple:#9B59B6;
  --orange:#FF9F43;
  --dark:#101820;
  --dark-light:#1a2332;
  --muted:#6b7280;
  --bg:#f7fafc;
  --white:#ffffff;
  --gradient-1:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2:linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3:linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-4:linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --shadow-sm:0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg:0 16px 48px rgba(0,0,0,0.15);
}

*{box-sizing:border-box}

body{
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial;
  margin:0;
  color:var(--dark);
  background:var(--bg);
  overflow-x:hidden;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0;
}

a{color:var(--primary)}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:0.6rem;
  padding:0.75rem 1.5rem;
  border-radius:10px;
  border:2px solid transparent;
  text-decoration:none;
  font-weight:600;
  transition:all 0.3s ease;
  position:relative;
  overflow:hidden;
}

.btn::before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:0;
  height:0;
  border-radius:50%;
  background:rgba(255,255,255,0.3);
  transform:translate(-50%,-50%);
  transition:width 0.6s,height 0.6s;
}

.btn:hover::before{width:300px;height:300px}

.btn.primary{
  background:var(--gradient-3);
  color:#fff;
  box-shadow:0 4px 15px rgba(31,139,241,0.3);
}

.btn.primary:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(31,139,241,0.4);
}

.btn.ghost{
  background:transparent;
  border:2px solid var(--primary);
  color:var(--primary);
}

.btn.ghost:hover{
  background:var(--primary);
  color:#fff;
}

.btn.small{padding:0.5rem 1rem;font-size:0.9rem}
.btn.large{padding:1rem 2rem;font-size:1.125rem}

/* Reveal animations */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:all .6s ease-out;
}

.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* Section titles */
.section-title{
  text-align:center;
  font-size:2.5rem;
  margin-bottom:3rem;
  position:relative;
}

.section-title::after{
  content:'';
  display:block;
  width:80px;
  height:4px;
  background:var(--gradient-3);
  margin:1rem auto 0;
  border-radius:2px;
}

.section-description{
  text-align:center;
  color:var(--muted);
  font-size:1.125rem;
  margin-bottom:3rem;
}

.section-subtitle{
  text-align:center;
  color:var(--muted);
  font-size:1.125rem;
  margin-bottom:3rem;
}

/* Badges */
.badge{
  display:inline-block;
  background:rgba(31,139,241,0.12);
  color:var(--primary);
  padding:4px 8px;
  border-radius:999px;
  margin:4px;
}

.badge-tag{
  display:inline-block;
  background:var(--gradient-3);
  color:var(--white);
  padding:0.5rem 1.25rem;
  border-radius:999px;
  font-size:0.875rem;
  font-weight:600;
  margin-bottom:1.5rem;
  box-shadow:0 4px 12px rgba(31,139,241,0.3);
}

/* Gradient text */
.gradient-text{
  background:var(--gradient-3);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

/* Muted text */
.muted{color:var(--muted)}

/* Page wrapper */
.page{padding:3rem 0}

/* Icon gradients */
.icon-gradient-1{background:var(--gradient-1)}
.icon-gradient-2{background:var(--gradient-2)}
.icon-gradient-3{background:var(--gradient-3)}
.icon-gradient-4{background:var(--gradient-4)}
.icon-gradient-5{background:linear-gradient(135deg, #FA8BFF 0%, #2BD2FF 90%)}
.icon-gradient-6{background:linear-gradient(135deg, #FEC163 0%, #DE4313 100%)}

/* Skills icons */
.skills-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  gap:1rem;
  align-items:center;
}
.skill{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.5rem;
  padding:0.75rem 0.5rem;
}
.skill-icon{
  display:block;
  width:80px;
  height:80px;
  background:transparent;
  object-fit:contain;
}
img.skill-icon{
  width:80px;
  height:80px;
  display:block;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

/* Style spécial pour GitHub (fond blanc pour visibilité du logo noir) */
.skill:has(img[src*="github"]) .skill-icon{
  background:#ffffff;
  border-radius:12px;
  padding:8px;
  box-shadow:0 2px 12px rgba(0,0,0,0.08);
  border:1px solid #e1e4e8;
}
.skill-name{font-weight:600;color:var(--dark);font-size:0.95rem}

/* Animations */
@keyframes floaty{
  0%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
  100%{transform:translateY(0)}
}
