/* ============================================
   AGENCE LUXE DESIGN — style.css
   Dark midnight #0a1628 | Gold #c5a44e | Cream #faf5eb
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --midnight: #0a1628;
  --midnight-light: #132040;
  --gold: #c5a44e;
  --gold-dark: #a8893e;
  --gold-light: #d4b96a;
  --cream: #faf5eb;
  --cream-dark: #f0e9d6;
  --white: #ffffff;
  --text: #2a2a2a;
  --text-mid: #666666;
  --font-head: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', 'Lato', 'Segoe UI', sans-serif;
  --radius: 2px;
  --shadow: 0 8px 32px rgba(0,0,0,0.15);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.75; }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.25;
  color: var(--midnight);
  letter-spacing: 0.02em;
}

/* ---- HEADER ---- */
header {
  background: var(--midnight);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(197,164,78,0.3);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo-wrap img { height: 56px; width: auto; }

nav ul { list-style: none; display: flex; gap: 2px; }
nav ul li a {
  display: block;
  padding: 10px 18px;
  color: rgba(250,245,235,0.8);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
nav ul li a:hover,
nav ul li a.active {
  color: var(--gold);
  text-decoration: none;
  background: rgba(197,164,78,0.1);
}

.nav-toggle { display: none; background: none; border: 1px solid var(--gold); color: var(--gold); padding: 8px 12px; cursor: pointer; font-size: 1.1rem; border-radius: var(--radius); }

/* ---- CSS HERO (no video) ---- */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/images/hero-design.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.87);
  z-index: 1;
}
.hero-section .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 24px;
  max-width: 860px;
}
.hero-section .hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 300;
  font-style: italic;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero-section .hero-content .hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(250,245,235,0.85);
  margin-bottom: 40px;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
}

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative;
  padding: 110px 24px 90px;
  text-align: center;
  background: var(--midnight);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(197,164,78,0.08) 0%, rgba(10,22,40,0.95) 100%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gold);
}
.page-hero .page-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 16px; font-style: italic; font-weight: 300; }
.page-hero p { color: rgba(250,245,235,0.7); font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--gold); color: var(--midnight); border: 1px solid var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--midnight); text-decoration: none; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--midnight); text-decoration: none; transform: translateY(-2px); }
.btn-light { background: transparent; color: var(--cream); border: 1px solid rgba(250,245,235,0.5); }
.btn-light:hover { background: var(--cream); color: var(--midnight); text-decoration: none; transform: translateY(-2px); }

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--midnight); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(250,245,235,0.75); }

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 20px; font-style: italic; font-weight: 300; }
.section-subtitle { color: var(--text-mid); font-size: 1rem; max-width: 580px; letter-spacing: 0.04em; font-family: var(--font-body); }
.gold-rule { width: 48px; height: 1px; background: var(--gold); margin: 20px 0; }

/* ---- 2-COL GRID ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 420px; object-fit: cover; }
.col-text h2 { margin-bottom: 12px; font-size: clamp(1.6rem, 3vw, 2.4rem); font-style: italic; font-weight: 300; }
.col-text .gold-rule { margin-bottom: 20px; }
.col-text p { margin-bottom: 16px; color: #4a4a4a; line-height: 1.85; }
.col-text .btn { margin-top: 12px; }

/* ---- SERVICES GRID ---- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.service-card {
  background: var(--white);
  border: 1px solid rgba(197,164,78,0.2);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold); }
.service-card .icon { font-size: 2rem; color: var(--gold); margin-bottom: 20px; display: block; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; font-style: italic; }
.service-card p { color: var(--text-mid); font-size: 0.92rem; line-height: 1.7; }

/* ---- BANNER (CSS BG) ---- */
.banner-section {
  position: relative;
  padding: 110px 24px;
  text-align: center;
  background-image: url('/images/realisation.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.88);
}
.banner-section .banner-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.banner-section h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 18px; font-style: italic; font-weight: 300; }
.banner-section p { color: rgba(250,245,235,0.8); font-size: 1.05rem; margin-bottom: 36px; }
.banner-section .gold-rule { margin: 0 auto 28px; }

/* ---- STATS ---- */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.stat-item { padding: 32px 20px; border: 1px solid rgba(197,164,78,0.2); border-radius: var(--radius); }
.stat-item .stat-num { font-family: var(--font-head); font-size: 3rem; color: var(--gold); font-weight: 300; line-height: 1; font-style: italic; }
.stat-item .stat-label { color: var(--text-mid); font-size: 0.8rem; margin-top: 8px; text-transform: uppercase; letter-spacing: 0.12em; }
.section-dark .stat-item .stat-label { color: rgba(250,245,235,0.6); }
.section-dark .stat-item { border-color: rgba(197,164,78,0.15); }

/* ---- BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 36px; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(197,164,78,0.12);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body { padding: 28px; }
.blog-card-body .post-meta { font-size: 0.75rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 10px; font-family: var(--font-body); }
.blog-card-body h3 { font-size: 1.15rem; margin-bottom: 12px; font-style: italic; font-weight: 400; }
.blog-card-body h3 a { color: var(--midnight); }
.blog-card-body h3 a:hover { color: var(--gold); text-decoration: none; }
.blog-card-body p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* ---- ARTICLE ---- */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-hero-img { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--radius); margin-bottom: 44px; }
.article-meta { font-size: 0.78rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; font-family: var(--font-body); }
.article-body h2 { font-size: 1.8rem; margin: 44px 0 18px; color: var(--midnight); font-style: italic; font-weight: 400; }
.article-body h3 { font-size: 1.3rem; margin: 30px 0 14px; color: var(--midnight); font-style: italic; }
.article-body p { margin-bottom: 22px; color: #3a3a3a; line-height: 1.9; }
.article-body ul, .article-body ol { margin: 0 0 22px 28px; }
.article-body li { margin-bottom: 10px; color: #3a3a3a; }
.article-body img { width: 100%; border-radius: var(--radius); margin: 32px 0; box-shadow: var(--shadow); }
.article-body a { color: var(--gold); font-weight: 600; }
.article-body blockquote {
  border-left: 2px solid var(--gold);
  padding: 20px 32px;
  background: var(--cream);
  margin: 32px 0;
  font-style: italic;
  color: #4a4a4a;
  font-family: var(--font-head);
  font-size: 1.1rem;
}

/* ---- RANKING ARTICLE ---- */
.ranking-item {
  border: 1px solid rgba(197,164,78,0.2);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
  background: var(--cream);
  position: relative;
}
.ranking-num {
  position: absolute;
  top: -16px;
  left: 32px;
  background: var(--gold);
  color: var(--midnight);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius);
}
.ranking-item h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--midnight); }
.ranking-item p { color: #4a4a4a; margin-bottom: 10px; }

/* ---- BREADCRUMB ---- */
.breadcrumb { padding: 14px 0; font-size: 0.82rem; color: var(--text-mid); margin-bottom: 12px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 8px; color: #ccc; }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 8px; color: var(--midnight); text-transform: uppercase; letter-spacing: 0.1em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(197,164,78,0.3);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold);
  outline: none;
  background: var(--white);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 20px; font-style: italic; }
.contact-info p { color: var(--text-mid); margin-bottom: 14px; }
.info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.info-item .info-icon { font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; color: var(--gold); }

/* ---- SITEMAP ---- */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 44px; }
.sitemap-col h3 { font-size: 0.88rem; margin-bottom: 18px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; border-bottom: 1px solid rgba(197,164,78,0.3); padding-bottom: 10px; font-family: var(--font-body); font-weight: 600; }
.sitemap-col ul { list-style: none; }
.sitemap-col ul li { margin-bottom: 10px; }
.sitemap-col ul li a { color: var(--text); font-size: 0.92rem; font-style: italic; font-family: var(--font-head); }
.sitemap-col ul li a:hover { color: var(--gold); }

/* ---- 404 ---- */
.error-page { text-align: center; padding: 140px 24px; background: var(--cream); }
.error-page .error-code { font-family: var(--font-head); font-size: 10rem; color: var(--gold); line-height: 1; font-weight: 300; font-style: italic; }
.error-page h1 { font-size: 2.4rem; margin: 16px 0; font-style: italic; font-weight: 300; }
.error-page p { color: var(--text-mid); font-size: 1.05rem; margin-bottom: 40px; }

/* ---- FOOTER ---- */
footer {
  background: var(--midnight);
  color: rgba(250,245,235,0.7);
  padding: 72px 0 0;
  border-top: 1px solid rgba(197,164,78,0.2);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
.footer-brand img { height: 52px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.88rem; color: rgba(250,245,235,0.5); line-height: 1.75; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(250,245,235,0.5); font-size: 0.88rem; transition: color var(--transition); font-style: italic; font-family: var(--font-head); }
.footer-col ul li a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(197,164,78,0.1);
  padding: 22px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(250,245,235,0.3);
}
.footer-bottom a { color: rgba(250,245,235,0.4); }
.footer-bottom a:hover { color: var(--gold); }

/* ---- CTA STRIP ---- */
.cta-strip { background: var(--midnight-light); border-top: 1px solid rgba(197,164,78,0.2); border-bottom: 1px solid rgba(197,164,78,0.2); padding: 64px 24px; text-align: center; }
.cta-strip h2 { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.6rem); margin-bottom: 14px; font-style: italic; font-weight: 300; }
.cta-strip .gold-rule { margin: 0 auto 24px; }
.cta-strip p { color: rgba(250,245,235,0.7); font-size: 1rem; margin-bottom: 32px; letter-spacing: 0.04em; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { gap: 40px; }
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .two-col img { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: var(--midnight); padding: 20px; border-top: 1px solid rgba(197,164,78,0.3); }
  nav ul.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-section { min-height: 75vh; }
  .banner-section { background-attachment: scroll; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .header-inner { height: 68px; }
  .logo-wrap img { height: 44px; }
  .btn { padding: 12px 24px; font-size: 0.8rem; }
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
}
