/*
 * sections.css — Hero, About, Services, Projects, Stats, Testimonial, Contact, Footer, Parallax
 * Stadias.in
 */

/* ─── HERO ─── */
.hero {
  height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(26,31,46,0.85) 0%, rgba(44,47,58,0.6) 50%, rgba(26,31,46,0.9) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px);
  background-color: #0d1117;
  will-change: transform;
}
.hero-beam {
  position: absolute; background: linear-gradient(90deg, transparent, rgba(192,57,43,0.15), transparent);
  height: 1px; width: 100%; animation: beamSweep 4s ease-in-out infinite;
}
.hero-beam:nth-child(1) { top: 30%; animation-delay: 0s; }
.hero-beam:nth-child(2) { top: 60%; animation-delay: 1.5s; }
.hero-structure {
  position: absolute; right: 0; bottom: 0; width: 55%; height: 100%; opacity: 0.07;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(212,168,71,1) 79px, rgba(212,168,71,1) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(212,168,71,1) 79px, rgba(212,168,71,1) 80px);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 1000px; padding: 0 40px; }
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 8px; text-transform: uppercase; color: var(--rust); margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 12vw, 160px); line-height: 0.9; letter-spacing: 2px; color: var(--white);
  opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-title .accent { color: var(--rust); }
.hero-title .outline { -webkit-text-stroke: 1px rgba(240,240,240,0.3); color: transparent; }
.hero-sub {
  font-size: 17px; font-weight: 300; line-height: 1.7; color: var(--iron);
  max-width: 520px; margin: 32px auto 48px;
  opacity: 0; animation: fadeUp 0.8s ease 0.7s forwards;
}
.hero-actions {
  display: flex; gap: 20px; justify-content: center; align-items: center;
  opacity: 0; animation: fadeUp 0.8s ease 0.9s forwards;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp 0.8s ease 1.3s forwards;
}
.hero-scroll span { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--iron); }
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--iron), transparent); animation: scrollPulse 2s ease-in-out infinite; }
.hero-stats { position: absolute; bottom: 40px; right: 60px; display: flex; gap: 40px; opacity: 0; animation: fadeUp 0.8s ease 1.1s forwards; }
.stat-item { text-align: right; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 42px; line-height: 1; color: var(--white); }
.stat-num span { color: var(--rust); }
.stat-label { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--iron); }

/* ─── ABOUT ─── */
.about { padding: 140px 60px; background: var(--steel); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; max-width: 1300px; margin: 0 auto; }
.about-visual { position: relative; }
.about-img-main {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, rgba(192,57,43,0.2), transparent),
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.02) 20px, rgba(255,255,255,0.02) 21px);
  background-color: var(--concrete); position: relative; overflow: hidden;
}
.about-img-main::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top right, var(--rust) 0%, transparent 60%); opacity: 0.15;
}
.about-badge {
  position: absolute; bottom: -30px; right: -30px;
  width: 160px; height: 160px; background: var(--rust);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.about-badge .num { font-family: 'Bebas Neue', sans-serif; font-size: 48px; line-height: 1; color: var(--white); }
.about-badge .lbl { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; letter-spacing: 2px; text-align: center; color: rgba(240,240,240,0.8); text-transform: uppercase; padding: 0 20px; }
.about-text p { font-size: 16px; line-height: 1.8; color: #a0a8ba; margin-bottom: 24px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.feature-item { border-left: 2px solid var(--rust); padding-left: 20px; }
.feature-item h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.feature-item p { font-size: 13px; line-height: 1.5; color: var(--iron); margin: 0; }

/* ─── SERVICES ─── */
.services { padding: 140px 60px; background: var(--concrete); position: relative; }
.services::before {
  content: 'SERVICES'; position: absolute;
  font-family: 'Bebas Neue', sans-serif; font-size: 240px;
  color: rgba(255,255,255,0.02); top: 50%; left: 50%;
  transform: translate(-50%, -50%); white-space: nowrap; letter-spacing: 20px; pointer-events: none;
}
.services-header { max-width: 1300px; margin: 0 auto 80px; display: flex; justify-content: space-between; align-items: flex-end; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; max-width: 1300px; margin: 0 auto; }
.service-card { background: var(--steel); padding: 48px 40px; position: relative; overflow: hidden; cursor: none; transition: transform 0.3s ease; }
.service-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--rust); transition: width 0.4s ease; }
.service-card:hover::before { width: 100%; }
.service-card:hover { transform: translateY(-4px); }
.service-number { font-family: 'Bebas Neue', sans-serif; font-size: 72px; color: rgba(255,255,255,0.04); line-height: 1; position: absolute; top: 20px; right: 30px; transition: color 0.3s; }
.service-card:hover .service-number { color: rgba(192,57,43,0.12); }
.service-icon { width: 52px; height: 52px; border: 1px solid rgba(192,57,43,0.4); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; transition: border-color 0.3s; }
.service-card:hover .service-icon { border-color: var(--rust); }
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; color: var(--white); transition: color 0.3s; }
.service-card:hover h3 { color: var(--gold); }
.service-card p { font-size: 14px; line-height: 1.7; color: var(--iron); }
.service-arrow { margin-top: 32px; font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--rust); display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateX(-10px); transition: opacity 0.3s, transform 0.3s; }
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }
.service-arrow::after { content: '→'; }

/* ─── PARALLAX DIVIDERS ─── */
.projects-parallax { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.parallax-bg { position: absolute; inset: -20%; background: linear-gradient(rgba(26,31,46,0.7), rgba(26,31,46,0.85)), repeating-conic-gradient(#1e2330 0% 25%, #232840 0% 50%) 0 0 / 80px 80px; will-change: transform; }
.parallax-content { position: relative; z-index: 2; text-align: center; }
.parallax-content p { font-size: 18px; color: var(--iron); margin-top: 20px; }
.parallax-banner { height: 65vh; position: relative; display: flex; align-items: center; overflow: hidden; }
.parallax-banner-bg {
  position: absolute; inset: -30%;
  background: linear-gradient(135deg, rgba(192,57,43,0.85) 0%, rgba(26,31,46,0.95) 60%), repeating-linear-gradient(135deg, transparent, transparent 30px, rgba(255,255,255,0.02) 30px, rgba(255,255,255,0.02) 31px);
  background-color: #c0392b; will-change: transform;
}
.parallax-banner-content { position: relative; z-index: 2; padding: 0 60px; max-width: 1300px; margin: 0 auto; width: 100%; }
.banner-quote { font-family: 'Bebas Neue', sans-serif; font-size: clamp(50px, 7vw, 100px); line-height: 1; max-width: 800px; }
.banner-quote em { font-style: normal; -webkit-text-stroke: 1px rgba(240,240,240,0.5); color: transparent; }

/* ─── PROJECTS ─── */
.projects { padding: 0 60px 140px; background: var(--steel); }
.projects-header { padding: 100px 0 80px; max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; }
.projects-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3px; max-width: 1300px; margin: 0 auto; }
.project-card { position: relative; overflow: hidden; cursor: none; }
.project-card:first-child { grid-row: span 2; }
.project-img { width: 100%; height: 100%; min-height: 300px; background: var(--concrete); position: relative; transition: transform 0.6s ease; }
.project-card:first-child .project-img { min-height: 620px; }
.project-card:hover .project-img { transform: scale(1.04); }
.project-img.p1 { background: linear-gradient(160deg, rgba(26,58,92,0.8) 0%, rgba(13,17,23,0.9) 100%), repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(30,120,200,0.05) 39px, rgba(30,120,200,0.05) 40px), repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(30,120,200,0.05) 39px, rgba(30,120,200,0.05) 40px); }
.project-img.p2 { background: linear-gradient(200deg, #1a1f2e 0%, #2c1810 100%); }
.project-img.p3 { background: linear-gradient(160deg, #1a2e1a 0%, #0d1117 100%); }
.project-img.p4 { background: linear-gradient(120deg, #2e1a2e 0%, #0d1117 100%); }
.project-img.p5 { background: linear-gradient(200deg, #1a1a1a 0%, #2c2416 100%); }
.project-img::before { content: ''; position: absolute; inset: 0; opacity: 0.08; }
.project-img.p1::before { background-image: repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,1) 49px, rgba(255,255,255,1) 50px), repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255,255,255,1) 49px, rgba(255,255,255,1) 50px); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,31,46,0.95) 0%, rgba(26,31,46,0.3) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; opacity: 0.85; transition: opacity 0.3s; }
.project-card:hover .project-overlay { opacity: 1; }
.project-tag { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--rust); margin-bottom: 8px; }
.project-name { font-family: 'Bebas Neue', sans-serif; font-size: 32px; line-height: 1; color: var(--white); margin-bottom: 8px; }
.project-card:first-child .project-name { font-size: 52px; }
.project-loc { font-size: 13px; color: var(--iron); }
.project-badge { position: absolute; top: 24px; right: 24px; width: 64px; height: 64px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); text-align: center; line-height: 1.3; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); background: rgba(26,31,46,0.8); }

/* ─── STATS ─── */
.stats { padding: 120px 60px; background: var(--concrete); }
.stats-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.stat-card { background: var(--steel); padding: 60px 40px; text-align: center; position: relative; overflow: hidden; transition: background 0.3s; }
.stat-card:hover { background: #1f2435; }
.stat-card::after { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 0; background: var(--rust); transition: height 0.4s ease; }
.stat-card:hover::after { height: 60px; }
.big-num { font-family: 'Bebas Neue', sans-serif; font-size: 90px; line-height: 1; color: var(--white); }
.big-num span { color: var(--rust); }
.stat-card p { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--iron); margin-top: 8px; }

/* ─── TESTIMONIAL ─── */
.testimonial { padding: 140px 60px; background: var(--steel); position: relative; overflow: hidden; }
.testimonial::before { content: '"'; position: absolute; font-family: 'Bebas Neue', sans-serif; font-size: 600px; color: rgba(192,57,43,0.04); top: -100px; left: -60px; line-height: 1; pointer-events: none; }
.testimonial-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.testimonial-text { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(26px, 3vw, 40px); font-weight: 300; line-height: 1.4; color: var(--white); margin-bottom: 48px; }
.testimonial-author { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.author-name { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 3px; color: var(--gold); }
.author-role { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--iron); }
.testimonial-dots { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.dot { width: 8px; height: 2px; background: var(--iron); transition: all 0.3s; cursor: pointer; }
.dot.active { width: 32px; background: var(--rust); }

/* ─── CONTACT ─── */
.contact { padding: 140px 60px; background: var(--concrete); position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; max-width: 1300px; margin: 0 auto; }
.contact-info p { font-size: 16px; line-height: 1.8; color: var(--iron); margin: 24px 0 48px; }
.contact-detail { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.contact-detail-icon { width: 40px; height: 40px; border: 1px solid rgba(192,57,43,0.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-text strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--rust); margin-bottom: 4px; }
.contact-detail-text span { font-size: 14px; color: var(--white); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--iron); }
.form-input, .form-select, .form-textarea { background: var(--steel); border: 1px solid rgba(240,240,240,0.08); color: var(--white); padding: 16px 20px; font-family: 'Barlow', sans-serif; font-size: 14px; outline: none; transition: border-color 0.2s; resize: none; appearance: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--rust); }
.form-textarea { min-height: 120px; }
.form-select option { background: var(--steel); }

/* ─── FOOTER ─── */
footer { background: #0d1117; padding: 80px 60px 40px; border-top: 1px solid rgba(192,57,43,0.2); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; max-width: 1300px; margin: 0 auto 60px; }
.footer-brand p { font-size: 13px; line-height: 1.8; color: var(--iron); margin: 20px 0 32px; max-width: 280px; }
.social-links { display: flex; gap: 12px; }
.social-link { width: 40px; height: 40px; border: 1px solid rgba(240,240,240,0.1); display: flex; align-items: center; justify-content: center; color: var(--iron); font-size: 14px; transition: border-color 0.2s, color 0.2s; text-decoration: none; cursor: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: 1px; }
.social-link:hover { border-color: var(--rust); color: var(--rust); }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--white); margin-bottom: 24px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 13px; color: var(--iron); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--rust); }
.footer-bottom { max-width: 1300px; margin: 0 auto; padding-top: 40px; border-top: 1px solid rgba(240,240,240,0.06); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: var(--iron); font-family: 'Barlow Condensed', sans-serif; letter-spacing: 2px; }
.footer-tagline { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 4px; color: rgba(255,255,255,0.1); }
