@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@400;600;700&display=swap');

:root {
  --primary: #1c2331; --secondary: #f59e0b; --bg-dark: #111827;
  --bg-light: #f3f4f6; --text-main: #222; --text-light: #666;
  --font-head: 'Bebas Neue', sans-serif; --font-body: 'Barlow', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.06); --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.15); --radius: 2px; --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--text-main); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* Banner */
.webbed-banner { background: #111; color: #fff; text-align: center; padding: 10px; font-size: 13px; font-weight: 500; }
.webbed-banner a { color: var(--secondary); font-weight: 700; }

.header {
  background: var(--bg-dark);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px; max-width: 1300px; margin: 0 auto;
}
.logo {
  font-family: var(--font-head); font-size: 26px; font-weight: 700;
  color: #fff; display: flex; align-items: center; gap: 10px;
  letter-spacing: 1px; text-decoration: none;
}
.logo span { color: var(--secondary); }
.logo svg { width: 32px; height: 32px; fill: var(--secondary); flex-shrink: 0; }
.nav-links { list-style: none; display: flex; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,0.8); font-family: var(--font-body);
  font-weight: 600; font-size: 14px; letter-spacing: 0.5px;
  text-transform: uppercase; transition: color 0.2s;
  padding: 5px 0; position: relative;
}
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--secondary); transition: width 0.2s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--secondary); }
@media (max-width: 900px) {
  .header .container { padding: 14px 20px; flex-wrap: wrap; gap: 12px; }
  .nav-links { gap: 14px; flex-wrap: wrap; }
  .nav-links a { font-size: 12px; }
}


/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  border: 2px solid var(--secondary);
  cursor: pointer;
}
.btn:hover {
  background: transparent;
  color: var(--secondary);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-block;
  cursor: pointer;
}
.btn-outline:hover {
  background: #fff;
  color: var(--bg-dark);
  border-color: #fff;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=2000&q=40') center/cover;
  opacity: 0.15;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hero p {
  font-size: 18px;
  max-width: 580px;
  margin-bottom: 36px;
  opacity: 0.9;
  line-height: 1.7;
}
.btn-group { display: flex; gap: 15px; flex-wrap: wrap; }
.trust-badges {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-badges span {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Section styles */
.section-padding { padding: 90px 0; }
.section-dark {
  background: var(--bg-dark);
  color: #fff;
  padding: 90px 0;
}
.section-alt {
  background: var(--bg-light);
  padding: 90px 0;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 15px;
  letter-spacing: 2px;
}
.section-dark .section-header h2 { color: #fff; }
.section-header p { color: var(--text-light); font-size: 17px; line-height: 1.7; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 35px 30px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--secondary);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--secondary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; fill: #fff; }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}
.service-card p { color: var(--text-light); line-height: 1.7; font-size: 15px; }

/* Stats bar */
.stats-bar {
  background: var(--secondary);
  padding: 40px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; text-align: center; }
.stat-item h3 { font-family: var(--font-head); font-size: 42px; color: #fff; font-weight: 700; }
.stat-item p { color: rgba(255,255,255,0.85); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* Gallery Matrix */
.gallery-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.matrix-item { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.matrix-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.matrix-item:hover img { transform: scale(1.05); }
.matrix-item .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  padding: 30px 15px 15px;
  font-weight: 600;
  font-size: 14px;
  transform: translateY(100%);
  transition: var(--transition);
}
.matrix-item:hover .caption { transform: translateY(0); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; z-index: 99999;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
}
.lightbox-content {
  max-width: 90vw; max-height: 90vh;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  object-fit: contain;
  border-radius: 4px;
}
.close {
  position: absolute; top: 20px; right: 30px;
  color: #fff; font-size: 40px; cursor: pointer; z-index: 10;
  line-height: 1;
}

/* Before/After Slider */
.ba-container { margin: 50px auto; max-width: 1000px; }
.ba-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.ba-before, .ba-after {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-before {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  border-right: 3px solid var(--secondary);
  z-index: 2;
}
.ba-after { z-index: 1; }
.ba-slider {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
}
.ba-slider-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.ba-slider-handle::after { content: '⟺'; }

/* Footer */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer h3 {
  font-family: var(--font-head);
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.footer p { font-size: 14px; line-height: 1.8; }
.footer-logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  text-decoration: none;
}
.footer-logo svg { width: 28px; height: 28px; fill: var(--secondary); }
.footer-logo span { color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--bg-dark));
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.cta-banner p { font-size: 18px; opacity: 0.9; margin-bottom: 35px; max-width: 550px; margin-left: auto; margin-right: auto; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card {
  background: #fff;
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--secondary);
}
.stars { color: var(--secondary); font-size: 20px; margin-bottom: 15px; }
.testimonial-card p { font-style: italic; line-height: 1.7; color: var(--text-main); margin-bottom: 20px; font-size: 15px; }
.testimonial-card h4 { font-weight: 700; font-size: 15px; color: var(--primary); }

/* Blog Grid */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-body { padding: 28px; }
.blog-tag { color: var(--secondary); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; display: block; }
.blog-card h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.blog-card p { color: var(--text-light); font-size: 15px; line-height: 1.7; margin-bottom: 18px; }
.read-more { color: var(--primary); font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--secondary); padding-bottom: 2px; display: inline-block; }

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h3 { font-family: var(--font-head); font-size: 28px; text-transform: uppercase; color: var(--primary); margin-bottom: 20px; }
.contact-info p { color: var(--text-light); font-size: 16px; line-height: 1.8; margin-bottom: 10px; }
.contact-form { background: #f8f8f8; padding: 40px; border-radius: var(--radius); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--primary); }
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* Responsive */

/* ── Hamburger (dark nav) ─────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
  z-index: 1001; flex-shrink: 0;
}
.hamburger span { display: block; width: 24px; height: 2px; background: rgba(255,255,255,0.9); transition: all 0.3s; border-radius: 1px; }
.header.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.nav-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .header .container { flex-wrap: nowrap; position: relative; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-dark);
    flex-direction: column; gap: 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 999; padding: 6px 0;
  }
  .header.nav-open .nav-links { display: flex; }
  .nav-links a {
    color: rgba(255,255,255,0.85);
    padding: 14px 24px; font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-transform: none; letter-spacing: 0;
  }
  .nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,0.06); }
  .nav-links a::after { display: none; }
  .nav-links li:last-child a { border-bottom: none; }
}

/* ── General responsive (all sites) ──────────────────── */
@media (max-width: 860px) {
  .container { padding: 0 18px; }
  .hero .container {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .hero { padding: 64px 0 52px; }
  .hero h1 { font-size: clamp(2rem, 7vw, 3.5rem) !important; }
  .hero p { font-size: 16px; }
  .btn-group { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn, .btn-outline { text-align: center; width: fit-content; }
  .trust-badges { flex-wrap: wrap; gap: 14px; }

  .section-padding, .section-dark, .section-alt { padding: 64px 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item h3 { font-size: 34px; }

  .services-grid { grid-template-columns: 1fr; gap: 20px; }

  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }

  .blog-grid { grid-template-columns: 1fr; gap: 24px; }

  .gallery-matrix { grid-template-columns: repeat(2, 1fr); gap: 5px; }

  .contact-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .contact-form { padding: 28px 22px; }

  .footer-grid { grid-template-columns: 1fr !important; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .cta-banner { padding: 56px 0; }
  .cta-banner h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }

  .ba-container { margin: 32px auto; }
  .ba-wrapper { aspect-ratio: 4/3; }

  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
}

@media (max-width: 520px) {
  .container { padding: 0 14px; }
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: clamp(1.7rem, 9vw, 2.6rem) !important; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-item h3 { font-size: 28px; }
  .gallery-matrix { grid-template-columns: 1fr; }
  .service-card { padding: 26px 20px; }
  .testimonial-card { padding: 24px 20px; }
  .blog-card-body { padding: 20px; }
  .section-header h2 { font-size: clamp(1.4rem, 7vw, 2rem); letter-spacing: 1px !important; }
  .cta-banner h2 { font-size: clamp(1.4rem, 7vw, 2rem); letter-spacing: 1px !important; }
  /* Sidebar mobile: stack as stacked header */
  .sidebar-inner { padding: 12px 16px; }
  .sidebar .logo { font-size: 16px !important; }
  .sidebar-nav a { padding: 8px 10px; font-size: 13px; }
}


/* ULTRA MODERN FLOATING DROPDOWN MENU */
@media (max-width: 1024px) {
  .header .container {
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }
  .nav-links {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    flex-direction: column !important;
    background: var(--bg-dark, #111) !important;
    padding: 0 20px 20px !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3) !important;
    border-bottom-left-radius: 24px !important;
    border-bottom-right-radius: 24px !important;
    
    /* Sleek animation states */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-15px) !important;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
    pointer-events: none !important;
    gap: 0 !important;
    margin: 0 !important;
    z-index: 999 !important;
  }
  .header.nav-open .nav-links {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
  .nav-links li {
    margin: 0 !important;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    list-style: none !important;
    width: 100% !important;
    display: block !important;
  }
  .header.nav-open .nav-links li {
    opacity: 1;
    transform: translateY(0);
  }
  .header.nav-open .nav-links li:nth-child(1) { transition-delay: 0.05s; }
  .header.nav-open .nav-links li:nth-child(2) { transition-delay: 0.1s; }
  .header.nav-open .nav-links li:nth-child(3) { transition-delay: 0.15s; }
  .header.nav-open .nav-links li:nth-child(4) { transition-delay: 0.2s; }
  .header.nav-open .nav-links li:nth-child(5) { transition-delay: 0.25s; }
  .header.nav-open .nav-links li:nth-child(6) { transition-delay: 0.3s; }
  .header.nav-open .nav-links li:nth-child(7) { transition-delay: 0.35s; }

  .nav-links a {
    display: block !important;
    font-size: 1.25rem !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    font-weight: 500 !important;
    text-align: center !important;
    border-radius: 0 !important;
    color: rgba(255,255,255,0.8) !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
  }
  .nav-links a::after { display: none !important; }
  .nav-links li:last-child a { border-bottom: none !important; }
  
  .nav-links a:hover, 
  .nav-links a.active {
    color: var(--secondary, #fff) !important;
    transform: scale(1.05) !important;
  }
  
  .hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 5px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 1001 !important;
    padding: 10px !important;
    margin-left: auto !important;
  }
  .hamburger span {
    display: block !important;
    width: 24px !important;
    height: 2px !important;
    background: #fff !important;
    transition: all 0.3s ease !important;
    border-radius: 1px !important;
  }
  .header.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg) !important; }
  .header.nav-open .hamburger span:nth-child(2) { opacity: 0 !important; transform: scaleX(0) !important; }
  .header.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) !important; }
}
