/* =========================================================
   Illinois Lab — Premium Wallpaper Installation
   style.css
   ========================================================= */

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

:root {
  --navy:      #0f172a;
  --navy-dark: #020617;
  --navy-light:#1e293b;
  --accent:    #2563eb;
  --white:     #ffffff;
  --off-white: #f8fafc;
  --gray-light:#f1f5f9;
  --gray-mid:  #e2e8f0;
  --gray-text: #64748b;
  --charcoal:  #334155;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius:    8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 6rem 0; }
.text-center { text-align: center; }
.bg-light { background: var(--off-white); }
.bg-dark { background: var(--navy); color: var(--white); }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1.5rem; color: var(--gray-text); font-size: 1.05rem; }
.bg-dark p { color: rgba(255,255,255,0.7); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39); }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--navy); }

/* Navbar */
#navbar {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.25rem 0;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--white); text-decoration: none; }
#navbar.scrolled .logo { color: var(--navy); }
.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-link { color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
#navbar.scrolled .nav-link { color: var(--charcoal); }
.nav-link:hover { color: var(--accent); }
.nav-cta { padding: 0.6rem 1.5rem; background: var(--accent); color: var(--white); border-radius: 50px; font-weight: 600; }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
.hamburger span { width: 25px; height: 2px; background: var(--white); transition: var(--transition); }
#navbar.scrolled .hamburger span { background: var(--navy); }

/* Hero */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('../images/hero-cover.jpg') center/cover no-repeat;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.5));
  z-index: -1;
}
.hero-content { max-width: 800px; }
.hero-btns { display: flex; gap: 1rem; margin-top: 2rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.about-img img { width: 100%; display: block; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-mid);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 1.5rem; }

/* Why Choose Us */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.why-card { text-align: center; padding: 2rem; background: rgba(255,255,255,0.05); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.1); }
.why-icon { font-size: 2rem; color: var(--accent); margin-bottom: 1rem; }

/* Gallery */
.gallery-grid { columns: 3; column-gap: 1.5rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1.5rem; border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(37, 99, 235, 0.4); opacity: 0; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.review-card { background: var(--white); padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.stars { color: #fbbf24; margin-bottom: 1rem; }
.review-author { font-weight: 700; margin-top: 1rem; color: var(--charcoal); }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-mid); }
.faq-header { width: 100%; padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; font-size: 1.1rem; font-weight: 600; text-align: left; }
.faq-content { max-height: 0; overflow: hidden; transition: var(--transition); }
.faq-item.active .faq-content { max-height: 200px; padding-bottom: 1.5rem; }
.faq-icon { transition: var(--transition); }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { color: var(--accent); font-size: 1.25rem; }
.contact-form { background: var(--white); padding: 3rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--gray-mid); border-radius: var(--radius); font-family: inherit; font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
#form-success { display: none; background: #dcfce7; color: #166534; padding: 1.5rem; border-radius: var(--radius); margin-bottom: 1.5rem; text-align: center; }

/* Map */
.map-container { margin-top: 4rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); height: 450px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* Footer */
footer { padding: 4rem 0 2rem; background: var(--navy-dark); color: rgba(255,255,255,0.6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { color: var(--white); font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; display: block; text-decoration: none; font-family: var(--font-head); }
.footer-title { color: var(--white); font-size: 1.1rem; font-weight: 600; margin-bottom: 1.5rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: inherit; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; }

/* Animations */
[data-animate] { opacity: 0; transform: translateY(20px); transition: var(--transition); }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
}
