/* ============================================================
   Kanlıoğlu İnşaat – CSS Design System
   ============================================================ */

/* --- Variables ------------------------------------------- */
:root {
  --bg:        #0A0C0F;
  --surface:   #111418;
  --surface2:  #181C22;
  --surface3:  #1E2430;
  --gold:      #C8922A;
  --gold-dim:  rgba(200,146,42,.18);
  --gold-glow: rgba(200,146,42,.32);
  --steel:     #4A7FB5;
  --steel-dim: rgba(74,127,181,.15);
  --border:    rgba(200,146,42,.14);
  --border2:   rgba(200,146,42,.28);
  --text:      #F0ECE4;
  --text2:     #B8AFA0;
  --text3:     #7A706A;
  --footer-bg: #080A0D;
  --radius:    6px;
  --shadow-card: 0 4px 24px rgba(0,0,0,.45);
  --nav-h:     70px;
  --transition: .22s ease;
}

[data-theme="light"] {
  --bg:        #F5F2EE;
  --surface:   #FFFFFF;
  --surface2:  #F0EDE8;
  --surface3:  #E8E4DE;
  --gold:      #B07820;
  --gold-dim:  rgba(176,120,32,.12);
  --gold-glow: rgba(176,120,32,.25);
  --steel:     #2B5F9E;
  --steel-dim: rgba(43,95,158,.12);
  --border:    rgba(176,120,32,.15);
  --border2:   rgba(176,120,32,.3);
  --text:      #1A1612;
  --text2:     #3A3028;
  --text3:     #7A6A5A;
  --footer-bg: #1A1612;
}

/* --- Reset ----------------------------------------------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Jost',sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  font-size:16px;
  overflow-x:hidden;
  transition:background var(--transition),color var(--transition);
  padding-top:var(--nav-h);
}
img{display:block;max-width:100%;height:auto}
a{text-decoration:none;color:inherit}
button{cursor:pointer;border:none;background:none;font-family:inherit}
ul,ol{list-style:none}

/* --- Typography ------------------------------------------ */
h1,h2,h3,h4{font-family:'Cinzel',serif;line-height:1.15;font-weight:700}
.section-eyebrow{
  font-family:'Jost',sans-serif;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.78rem;
  font-weight:600;
  color:var(--gold);
  margin-bottom:12px;
}
.section-title{font-size:clamp(1.75rem,3.5vw,2.6rem);margin-bottom:16px}
.section-sub{font-size:1.05rem;color:var(--text2);max-width:600px}
.gold{color:var(--gold)}

/* --- Floor animation ------------------------------------- */
[data-floor]{
  opacity:0;
  transform:translateY(48px);
  transition:opacity .6s ease,transform .6s ease;
}
[data-floor].visible{opacity:1;transform:translateY(0)}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar{
  position:fixed;top:0;left:0;right:0;
  height:var(--nav-h);
  z-index:1000;
  background:rgba(10,12,15,.85);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  transition:background var(--transition),border-color var(--transition);
}
[data-theme="light"] .navbar{background:rgba(245,242,238,.88)}
.navbar-inner{
  max-width:1320px;
  margin:0 auto;
  height:100%;
  display:flex;
  align-items:center;
  padding:0 clamp(16px,3vw,40px);
  gap:16px;
}
.nav-logo{display:flex;align-items:center;gap:10px;flex-shrink:0}
.nav-logo-img{height:38px;width:auto;object-fit:contain}
.nav-brand-text{display:flex;flex-direction:column;line-height:1.05}
.nav-brand-name{
  font-family:'Cinzel',serif;
  font-size:.95rem;
  font-weight:700;
  letter-spacing:.06em;
  color:var(--gold);
}
.nav-brand-sub{
  font-family:'Jost',sans-serif;
  font-size:.62rem;
  font-weight:500;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--text3);
}
.nav-links{
  display:flex;
  gap:clamp(16px,2.5vw,36px);
  flex:1;
  justify-content:center;
}
.nav-link{
  font-family:'Jost',sans-serif;
  font-size:.9rem;
  font-weight:500;
  letter-spacing:.06em;
  color:var(--text2);
  padding:4px 2px;
  border-bottom:2px solid transparent;
  transition:color var(--transition),border-color var(--transition);
}
.nav-link:hover,.nav-link.active{color:var(--gold);border-bottom-color:var(--gold)}
.nav-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.nav-action-btn{
  display:flex;align-items:center;gap:6px;
  padding:7px 14px;
  border-radius:var(--radius);
  font-size:.82rem;font-weight:600;
  transition:all var(--transition);
  cursor:pointer;
}
.nav-wa{background:var(--surface2);color:var(--text2);border:1px solid var(--border)}
.nav-wa:hover{background:#25D366;color:#fff;border-color:#25D366}
.nav-phone{background:var(--gold);color:#fff;border:1px solid var(--gold)}
.nav-phone:hover{background:var(--gold-glow);filter:brightness(1.08)}
.nav-theme-btn{
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  border-radius:var(--radius);
  background:var(--surface2);
  border:1px solid var(--border);
  color:var(--text2);
  transition:all var(--transition);
}
.nav-theme-btn:hover{color:var(--gold);border-color:var(--gold)}
.nav-theme-btn svg{width:17px;height:17px}
.nav-burger{
  display:none;
  width:38px;height:38px;
  align-items:center;justify-content:center;
  border-radius:var(--radius);
  background:var(--surface2);
  border:1px solid var(--border);
  color:var(--text2);
  cursor:pointer;
}
.nav-burger svg{width:20px;height:20px}
.nav-mobile{
  display:none;
  position:fixed;top:var(--nav-h);left:0;right:0;
  background:var(--surface);
  border-bottom:1px solid var(--border);
  padding:20px;
  flex-direction:column;
  gap:4px;
  z-index:999;
}
.nav-mobile.open{display:flex}
.nav-mobile .nav-link{
  padding:10px 14px;
  border-bottom:none;
  border-radius:var(--radius);
  font-size:.95rem;
}
.nav-mobile .nav-link:hover,.nav-mobile .nav-link.active{background:var(--gold-dim)}
.nav-mobile-actions{display:flex;gap:8px;margin-top:10px;padding-top:12px;border-top:1px solid var(--border)}
.nav-mobile-actions .nav-action-btn{flex:1;justify-content:center;font-size:.8rem}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;align-items:center;
  overflow:hidden;
  margin-top:calc(-1 * var(--nav-h));
}
.hero-bg{
  position:absolute;inset:0;
  background-image:var(--hero-img,none);
  background-size:cover;background-position:center;
  filter:brightness(.35);
}
.hero-bg::after{
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(10,12,15,.75) 0%,rgba(10,12,15,.45) 100%);
}
.hero-inner{
  position:relative;z-index:2;
  max-width:1320px;margin:0 auto;
  padding:calc(var(--nav-h)+40px) clamp(20px,5vw,60px) 80px;
  width:100%;
}
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-family:'Jost',sans-serif;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.78rem;
  font-weight:600;
  color:var(--gold);
  margin-bottom:24px;
}
.hero-eyebrow::before{
  content:'';display:block;width:32px;height:2px;background:var(--gold);
}
.hero-title{
  font-family:'Cinzel',serif;
  font-size:clamp(2.6rem,6.5vw,5.2rem);
  font-weight:700;
  line-height:1.08;
  margin-bottom:28px;
  color:#fff;
  max-width:700px;
}
.hero-title .gold{color:var(--gold)}
.hero-sub{
  font-size:clamp(1rem,1.8vw,1.2rem);
  color:rgba(240,236,228,.8);
  max-width:560px;
  line-height:1.65;
  margin-bottom:44px;
}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap}
.btn-primary{
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 32px;
  background:var(--gold);
  color:#fff;
  border-radius:var(--radius);
  font-family:'Jost',sans-serif;
  font-weight:600;
  font-size:.95rem;
  letter-spacing:.04em;
  transition:all var(--transition);
  border:2px solid var(--gold);
}
.btn-primary:hover{background:transparent;color:var(--gold)}
.btn-secondary{
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 32px;
  background:transparent;
  color:var(--text);
  border-radius:var(--radius);
  font-family:'Jost',sans-serif;
  font-weight:600;
  font-size:.95rem;
  letter-spacing:.04em;
  border:2px solid var(--border2);
  transition:all var(--transition);
}
.btn-secondary:hover{border-color:var(--gold);color:var(--gold)}
/* Hero secondary button – dark mode default */
.hero .btn-secondary{
  color:#ffffff;
  border:2px solid #ffffff;
  background-color:transparent;
  opacity:1;
  visibility:visible;
}
/* Hero secondary button – light mode */
[data-theme="light"] .hero .btn-secondary{
  color:#1a1a1a;
  border:2px solid #1a1a1a;
  background-color:transparent;
  opacity:1;
  visibility:visible;
}
[data-theme="light"] .hero .btn-secondary:hover{
  background-color:#1a1a1a;
  color:#ffffff;
}
.hero-scroll{
  position:absolute;bottom:36px;left:50%;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:8px;
  color:var(--text3);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;
}
.hero-scroll-line{
  width:1px;height:40px;background:linear-gradient(to bottom,var(--gold),transparent);
  animation:scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse{0%,100%{opacity:.4;transform:scaleY(1)}50%{opacity:1;transform:scaleY(1.2)}}

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar{
  background:var(--surface);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:48px 0;
}
.stats-inner{
  max-width:1320px;margin:0 auto;
  padding:0 clamp(20px,4vw,60px);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  text-align:center;
}
.stat-item{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  padding:20px;
  border-right:1px solid var(--border);
  transition:transform var(--transition);
}
.stat-item:last-child{border-right:none}
.stat-item:hover{transform:translateY(-4px)}
.stat-num{
  font-family:'Cinzel',serif;
  font-size:clamp(2rem,4vw,2.8rem);
  font-weight:700;
  color:var(--gold);
  line-height:1;
}
.stat-label{
  font-family:'Jost',sans-serif;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.7rem;
  font-weight:500;
  color:var(--text3);
}

/* =========================================================
   SECTIONS – Common
   ========================================================= */
.section{padding:100px 0}
.section-inner{
  max-width:1320px;margin:0 auto;
  padding:0 clamp(20px,4vw,60px);
}
.section-header{margin-bottom:56px}
.section-header.centered{text-align:center}
.section-header.centered .section-sub{margin:0 auto}

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
}
.service-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:10px;
  padding:36px 28px;
  transition:all var(--transition);
  cursor:default;
}
.service-card:hover{
  border-color:var(--border2);
  transform:translateY(-6px);
  box-shadow:0 12px 40px rgba(200,146,42,.12);
}
.service-icon{
  width:52px;height:52px;
  background:var(--gold-dim);
  border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:20px;
}
.service-icon svg{width:26px;height:26px;color:var(--gold)}
.service-title{
  font-family:'Cinzel',serif;
  font-size:1.05rem;
  font-weight:600;
  margin-bottom:10px;
}
.service-desc{font-size:.9rem;color:var(--text2);line-height:1.65}

/* =========================================================
   PROJECTS PREVIEW (index page)
   ========================================================= */
.projects-preview-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-bottom:40px;
}
.proj-preview-card{
  border-radius:10px;
  overflow:hidden;
  position:relative;
  aspect-ratio:4/3;
  cursor:pointer;
  display:block;
}
.proj-preview-card img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .5s ease;
}
.proj-preview-card:hover img{transform:scale(1.06)}
.proj-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(10,12,15,.85) 0%,transparent 60%);
  padding:20px;
  display:flex;flex-direction:column;justify-content:flex-end;
}
.proj-cat{
  font-size:.68rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.12em;
  color:var(--gold);margin-bottom:4px;
}
.proj-title-sm{font-family:'Cinzel',serif;font-size:1rem;color:#fff}
.proj-preview-more{text-align:center}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:24px;
}
.testi-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:10px;
  padding:32px 28px;
  transition:border-color var(--transition);
}
.testi-card:hover{border-color:var(--border2)}
.testi-stars{
  display:flex;gap:3px;margin-bottom:16px;
}
.testi-stars svg{width:16px;height:16px;color:var(--gold)}
.testi-text{
  font-size:.92rem;color:var(--text2);line-height:1.7;
  margin-bottom:20px;font-style:italic;
}
.testi-author{display:flex;align-items:center;gap:12px}
.testi-avatar{
  width:40px;height:40px;border-radius:50%;
  background:var(--gold-dim);
  border:1.5px solid var(--gold);
  display:flex;align-items:center;justify-content:center;
  font-family:'Cinzel',serif;font-weight:700;font-size:.8rem;color:var(--gold);
  flex-shrink:0;
}
.testi-name{font-weight:600;font-size:.9rem}
.testi-detail{font-size:.78rem;color:var(--text3)}

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section{
  background:var(--surface);
  border-top:1px solid var(--border);
  padding:100px 0;
  text-align:center;
}
.cta-inner{max-width:700px;margin:0 auto;padding:0 clamp(20px,4vw,60px)}
.cta-title{margin-bottom:20px;font-size:clamp(1.8rem,3.5vw,2.4rem)}
.cta-sub{font-size:1.05rem;color:var(--text2);margin-bottom:40px;line-height:1.65}
.cta-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero{
  padding:80px 0 60px;
  background:var(--surface);
  border-bottom:1px solid var(--border);
}
.about-hero-inner{
  max-width:1320px;margin:0 auto;
  padding:0 clamp(20px,4vw,60px);
  display:grid;grid-template-columns:1fr 420px;gap:80px;align-items:center;
}
.about-hero-img{
  border-radius:10px;overflow:hidden;
  position:relative;
}
.about-hero-img img{width:100%;height:440px;object-fit:cover}
.about-badge{
  position:absolute;bottom:-20px;left:-20px;
  background:var(--gold);
  padding:20px 24px;
  border-radius:8px;
  text-align:center;
}
.about-badge-num{font-family:'Cinzel',serif;font-size:2.2rem;font-weight:700;color:#fff;line-height:1}
.about-badge-text{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.8)}
.about-content .section-sub{margin-bottom:28px}
.about-body{font-size:.95rem;color:var(--text2);line-height:1.75;margin-bottom:32px}
.about-stats{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:16px;margin-top:24px;
}
.about-stat{text-align:center;padding:16px;background:var(--surface2);border-radius:8px;border:1px solid var(--border)}
.about-stat-num{font-family:'Cinzel',serif;font-size:1.6rem;font-weight:700;color:var(--gold)}
.about-stat-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:var(--text3);margin-top:4px}

.vision-mission{padding:80px 0}
.vm-grid{
  max-width:1320px;margin:0 auto;
  padding:0 clamp(20px,4vw,60px);
  display:grid;grid-template-columns:1fr 1fr;gap:32px;
}
.vm-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:10px;
  padding:40px 36px;
}
.vm-icon{
  width:50px;height:50px;
  background:var(--gold-dim);
  border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:20px;
}
.vm-icon svg{width:24px;height:24px;color:var(--gold)}
.vm-label{
  font-family:'Jost',sans-serif;
  text-transform:uppercase;letter-spacing:.14em;
  font-size:.72rem;font-weight:600;color:var(--gold);
  margin-bottom:10px;
}
.vm-title{font-size:1.3rem;margin-bottom:16px}
.vm-text{font-size:.92rem;color:var(--text2);line-height:1.7}

/* =========================================================
   PROJECTS PAGE
   ========================================================= */
.projects-hero{
  padding:80px 0 60px;
  background:var(--surface);border-bottom:1px solid var(--border);
  text-align:center;
}
.projects-tabs{padding:60px 0}
.tab-bar{
  max-width:1320px;margin:0 auto;
  padding:0 clamp(20px,4vw,60px);
  display:flex;gap:0;
  border-bottom:1px solid var(--border);
  margin-bottom:48px;
}
.tab-btn{
  padding:12px 28px;
  font-family:'Jost',sans-serif;font-weight:600;font-size:.9rem;
  letter-spacing:.06em;
  color:var(--text2);
  border-bottom:2px solid transparent;
  border-radius:0;
  transition:all var(--transition);
  cursor:pointer;
  background:none;
  margin-bottom:-1px;
}
.tab-btn.active{color:var(--gold);border-bottom-color:var(--gold)}
.tab-btn:hover{color:var(--gold)}
.tab-content{max-width:1320px;margin:0 auto;padding:0 clamp(20px,4vw,60px)}
.tab-pane{display:none}
.tab-pane.active{display:block}

.proj-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
  gap:28px;
}
.proj-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
  transition:all var(--transition);
}
.proj-card:hover{border-color:var(--border2);transform:translateY(-4px);box-shadow:var(--shadow-card)}
.proj-gallery{position:relative;aspect-ratio:16/9;overflow:hidden;cursor:zoom-in}
.proj-gallery img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity .4s ease;
}
.proj-gallery img.active{opacity:1}
.gal-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  width:36px;height:36px;
  background:rgba(10,12,15,.7);
  border:1px solid rgba(240,236,228,.2);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  opacity:0;
  transition:opacity var(--transition);
  z-index:5;
}
.proj-gallery:hover .gal-arrow{opacity:1}
.gal-arrow svg{width:16px;height:16px;color:#fff}
.gal-prev{left:10px}.gal-next{right:10px}
.gal-dots{
  position:absolute;bottom:10px;left:50%;transform:translateX(-50%);
  display:flex;gap:5px;
}
.gal-dot{
  width:6px;height:6px;border-radius:50%;
  background:rgba(255,255,255,.4);cursor:pointer;
  transition:background var(--transition);
}
.gal-dot.active{background:var(--gold)}
.proj-info{padding:22px 20px}
.proj-meta{
  display:flex;gap:10px;flex-wrap:wrap;
  margin-bottom:10px;
}
.proj-tag{
  font-size:.68rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.1em;
  padding:3px 9px;border-radius:3px;
  background:var(--gold-dim);color:var(--gold);
}
.proj-name{font-family:'Cinzel',serif;font-size:1.05rem;margin-bottom:8px}
.proj-loc{font-size:.82rem;color:var(--text3);display:flex;align-items:center;gap:5px;margin-bottom:10px}
.proj-desc{font-size:.88rem;color:var(--text2);line-height:1.6}
.proj-progress{margin-top:14px}
.proj-progress-label{
  display:flex;justify-content:space-between;
  font-size:.72rem;color:var(--text3);margin-bottom:6px;
}
.proj-progress-bar{height:4px;background:var(--surface3);border-radius:2px;overflow:hidden}
.proj-progress-fill{height:100%;background:var(--gold);border-radius:2px;transition:width 1s ease}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-hero{
  padding:80px 0 60px;
  background:var(--surface);border-bottom:1px solid var(--border);
}
.contact-body{padding:80px 0}
.contact-grid{
  max-width:1320px;margin:0 auto;
  padding:0 clamp(20px,4vw,60px);
  display:grid;grid-template-columns:1fr 1fr;gap:60px;
  align-items:start;
}
.contact-info{display:flex;flex-direction:column;gap:20px}
.contact-item{
  display:flex;gap:16px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:8px;
  padding:20px;
  transition:border-color var(--transition);
}
.contact-item:hover{border-color:var(--border2)}
.contact-item-icon{
  width:44px;height:44px;flex-shrink:0;
  background:var(--gold-dim);border-radius:8px;
  display:flex;align-items:center;justify-content:center;
}
.contact-item-icon svg{width:20px;height:20px;color:var(--gold)}
.contact-item-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:var(--text3);margin-bottom:4px}
.contact-item-val{font-size:.95rem;font-weight:600}
.contact-item-val a{transition:color var(--transition)}
.contact-item-val a:hover{color:var(--gold)}
.contact-map{
  border-radius:10px;overflow:hidden;
  border:1px solid var(--border);
}
.contact-map iframe{width:100%;height:400px;border:none;display:block;filter:grayscale(.3)}

/* =========================================================
   LEGAL PAGE
   ========================================================= */
.legal-page{padding:80px 0 80px}
.legal-inner{max-width:900px;margin:0 auto;padding:0 clamp(20px,4vw,40px)}
.legal-tabs-bar{
  display:flex;gap:0;
  overflow-x:auto;
  border-bottom:1px solid var(--border);
  margin-bottom:40px;
  scrollbar-width:none;
}
.legal-tabs-bar::-webkit-scrollbar{display:none}
.legal-tab{
  padding:10px 20px;
  font-size:.82rem;font-weight:500;
  white-space:nowrap;
  color:var(--text2);
  border-bottom:2px solid transparent;
  margin-bottom:-1px;
  transition:all var(--transition);
}
.legal-tab:hover{color:var(--gold)}
.legal-tab.active{color:var(--gold);border-bottom-color:var(--gold)}
.legal-section-title{font-size:1.6rem;margin-bottom:28px}
.legal-body h3{
  font-family:'Cinzel',serif;font-size:1.05rem;
  margin:28px 0 10px;color:var(--gold);
}
.legal-body p{font-size:.95rem;color:var(--text2);line-height:1.75;margin-bottom:12px}
.legal-body strong{color:var(--text);font-weight:600}
.legal-body em{color:var(--text3);font-style:italic}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{
  background:var(--footer-bg);
  border-top:1px solid var(--border);
  padding:60px 0 0;
}
/* Footer always dark – override light-mode CSS vars so text stays readable */
[data-theme="light"] .footer{
  --text:   #E8E4DE;
  --text2:  #B8AFA0;
  --text3:  #7A706A;
  --gold:   #C8922A;
  --border: rgba(200,146,42,.14);
  --border2:rgba(200,146,42,.28);
  --surface2:#181C22;
  --gold-dim:rgba(200,146,42,.18);
}
.footer-grid{
  max-width:1320px;margin:0 auto;
  padding:0 clamp(24px,4vw,48px);
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:48px;
  text-align:left;
  margin-bottom:40px;
}
.footer-logo-group{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.footer-logo-img{height:44px;width:auto;object-fit:contain}
.footer-logo-group .nav-brand-name{font-size:1.1rem}
.footer-logo-group .nav-brand-sub{font-size:.6rem}
.footer-tagline{font-size:.88rem;color:var(--text3);line-height:1.65;margin-bottom:16px;max-width:280px}
.footer-socials{display:flex;gap:8px}
.footer-social-btn{
  width:34px;height:34px;
  background:var(--surface2);
  border:1px solid var(--border);
  border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;
  color:var(--text3);
  transition:all var(--transition);
}
.footer-social-btn:hover{background:var(--gold-dim);border-color:var(--gold);color:var(--gold)}
.footer-social-btn svg{width:15px;height:15px}
.footer-col-title{
  font-family:'Cinzel',serif;
  font-size:.82rem;font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text3);
  margin-bottom:16px;
}
.footer-links{display:flex;flex-direction:column;gap:8px}
.footer-links a{font-size:.88rem;color:var(--text3);transition:color var(--transition)}
.footer-links a:hover{color:var(--gold)}
.footer-contact-list{display:flex;flex-direction:column;gap:10px}
.footer-contact-item{display:flex;align-items:flex-start;gap:10px;font-size:.85rem;color:var(--text3)}
.footer-contact-item svg{width:15px;height:15px;color:var(--gold);flex-shrink:0;margin-top:2px}
.footer-contact-item a{color:var(--text2);transition:color var(--transition)}
.footer-contact-item a:hover{color:var(--gold)}
.footer-bottom{
  border-top:1px solid var(--border);
  padding:20px clamp(24px,4vw,48px);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:8px;
}
.footer-legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px}
.footer-legal-links a{font-size:.76rem;color:var(--text3);transition:color var(--transition)}
.footer-legal-links a:hover{color:var(--gold)}
.footer-legal-links .sep{color:var(--border2)}
.footer-copy{font-size:.78rem;color:var(--text3)}
.footer-badge{font-size:.72rem;color:var(--text3);font-style:italic}
.footer-credit{font-size:.72rem;color:var(--text3)}
.footer-credit a{color:var(--gold);transition:opacity var(--transition)}
.footer-credit a:hover{opacity:.75}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lb-overlay{
  position:fixed;inset:0;
  background:rgba(0,0,0,.94);
  z-index:9999;
  display:none;
  align-items:center;justify-content:center;
}
.lb-overlay.open{display:flex}
.lb-img-wrap{
  max-width:90vw;max-height:90vh;
  display:flex;align-items:center;justify-content:center;
}
.lb-img{
  max-width:90vw;max-height:85vh;
  object-fit:contain;
  border-radius:6px;
  user-select:none;
  display:block;
}
.lb-close{
  position:fixed;top:16px;right:16px;
  width:44px;height:44px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  border-radius:50%;
  color:#fff;
  font-size:20px;line-height:1;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  transition:background .2s;
  z-index:10001;
}
.lb-close:hover{background:rgba(255,255,255,.28)}
.lb-nav{
  position:fixed;top:50%;transform:translateY(-50%);
  width:50px;height:50px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  border-radius:50%;
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  transition:background .2s;
  z-index:10001;
}
.lb-nav:hover{background:rgba(255,255,255,.28)}
.lb-nav svg{width:20px;height:20px;stroke:#fff}
.lb-prev{left:16px}
.lb-next{right:16px}
.lb-counter{
  position:fixed;bottom:20px;left:50%;transform:translateX(-50%);
  color:rgba(255,255,255,.65);
  font-size:.85rem;font-family:'Jost',sans-serif;
  pointer-events:none;
  background:rgba(0,0,0,.4);
  padding:4px 14px;border-radius:20px;
}
@media(max-width:600px){
  .lb-prev{left:8px}
  .lb-next{right:8px}
  .lb-nav{width:38px;height:38px}
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media(max-width:1080px){
  .projects-preview-grid{grid-template-columns:repeat(2,1fr)}
  .proj-grid{grid-template-columns:1fr 1fr}
  .about-hero-inner{grid-template-columns:1fr;gap:40px}
  .about-hero-inner .about-hero-img{order:-1}
  .vm-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr;gap:40px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px}
}
@media(max-width:768px){
  :root{--nav-h:60px}
  .nav-links{display:none}
  .nav-actions .nav-wa,.nav-actions .nav-phone{display:none}
  .nav-burger{display:flex}
  .stats-inner{grid-template-columns:repeat(2,1fr)}
  .stat-item{border-right:none;border-bottom:1px solid var(--border)}
  .stat-item:nth-child(odd){border-right:1px solid var(--border)}
  .stat-item:last-child,.stat-item:nth-last-child(2):nth-child(odd){border-bottom:none}
  .projects-preview-grid{grid-template-columns:1fr}
  .proj-grid{grid-template-columns:1fr}
  .about-stats{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr;gap:28px}
  .hero-title{font-size:clamp(2rem,8vw,3.2rem)}
  .tab-bar{flex-wrap:wrap;border-bottom:none;gap:8px;margin-bottom:28px}
  .tab-btn{border:1px solid var(--border);border-radius:var(--radius);border-bottom:none;margin-bottom:0}
  .tab-btn.active{background:var(--gold-dim)}
  .section{padding:60px 0}
  .about-hero{padding:50px 0 40px}
  .projects-hero{padding:50px 0 40px}
  .contact-hero{padding:50px 0 40px}
  .legal-page{padding:50px 0 60px}
}
@media(max-width:480px){
  .about-stats{grid-template-columns:1fr}
  .about-hero-img img{height:260px}
  .hero-cta{flex-direction:column}
  .hero-cta .btn-primary,.hero-cta .btn-secondary{justify-content:center}
  .vm-card{padding:28px 20px}
  .contact-map iframe{height:280px}
  .footer-logo-img{height:36px}
  .stats-inner{grid-template-columns:1fr 1fr}
}
