/* =============================================
   SCARSDALE PRESTIGE — style.css
   Professional Wallpaper Installation Website
   ============================================= */

:root {
  --color-primary:    #2a2a2a;
  --color-accent:     #c5a059; /* Elegant Gold/Brass */
  --color-accent-lt:  #e2c691;
  --color-white:      #ffffff;
  --color-light:      #fbfaf8;
  --color-muted:      #666666;
  --color-border:     #e8e4de;
  --font-heading:     'Playfair Display', Georgia, serif;
  --font-body:        'Inter', 'Segoe UI', sans-serif;
  --radius:           4px;
  --radius-lg:        8px;
  --transition:       0.3s ease;
  --shadow:           0 10px 30px rgba(0,0,0,0.05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 20px; text-align: center; }
p { margin-bottom: 20px; }

/* Sections */
section { padding: 120px 0; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 70px; }
.section-header p { color: var(--color-muted); font-size: 1.15rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: var(--radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(197,160,89,0.3);
}
.btn-outline {
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition);
  padding: 30px 0;
}
header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  padding: 15px 0;
}
header.scrolled .nav-logo, header.scrolled .nav-links a { color: var(--color-primary); }
header.scrolled .nav-phone { color: var(--color-accent) !important; }

.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--color-white); }
.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a { color: var(--color-white); font-weight: 500; font-size: 0.9rem; transition: color var(--transition); }
.nav-links a:hover { color: var(--color-accent); }
.nav-phone { font-weight: 700 !important; color: var(--color-accent) !important; }

.hamburger { display: none; flex-direction: column; gap: 7px; cursor: pointer; }
.hamburger span { display: block; width: 28px; height: 2px; background: var(--color-white); transition: var(--transition); }
header.scrolled .hamburger span { background: var(--color-primary); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 300px; height: 100vh;
  background: var(--color-white);
  z-index: 1100;
  padding: 100px 50px;
  box-shadow: var(--shadow);
  transition: right 0.5s cubic-bezier(0.77,0.2,0.05,1);
}
.mobile-nav.open { right: 0; }
.mobile-nav a { display: block; padding: 18px 0; font-size: 1.2rem; border-bottom: 1px solid var(--color-border); font-family: var(--font-heading); }

/* Hero */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: scale(1.05);
  transition: transform 10s ease;
}
#hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-content p { font-size: 1.3rem; margin-bottom: 40px; opacity: 0.95; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-phone-link { font-size: 1.5rem; font-weight: 700; color: var(--color-accent-lt); display: block; letter-spacing: 0.05em; }

/* About */
#about { background: var(--color-light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius-lg); box-shadow: 20px 20px 0 var(--color-accent); }
.about-content h2 { text-align: left; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.service-card {
  background: var(--color-white);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--color-accent); }
.service-card h3 { margin-bottom: 20px; font-size: 1.5rem; }
.service-card p { color: var(--color-muted); font-size: 1rem; margin-bottom: 0; }

/* Why Choose Us */
#why { background: #1a1a1a; color: var(--color-white); }
#why h2 { color: var(--color-white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; text-align: center; }
.why-item h3 { color: var(--color-accent); margin-bottom: 15px; font-size: 1.3rem; }
.why-item p { font-size: 0.95rem; opacity: 0.8; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.gallery-item { overflow: hidden; border-radius: var(--radius); height: 350px; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(197,160,89,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; text-align: center; }
.process-step { position: relative; }
.step-num {
  width: 60px; height: 60px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 25px;
  font-weight: 700; font-size: 1.4rem; font-family: var(--font-heading);
}

/* Reviews */
#reviews { background: var(--color-light); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.review-card {
  background: var(--color-white);
  padding: 45px;
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
  border-left: 5px solid var(--color-accent);
}
.review-card p { font-style: italic; color: var(--color-muted); font-size: 1.1rem; line-height: 1.8; }
.review-author { font-weight: 700; color: var(--color-primary); margin-top: 20px; display: block; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.contact-info h3 { margin-bottom: 25px; font-size: 1.8rem; }
.contact-item { margin-bottom: 30px; }
.contact-item strong { display: block; color: var(--color-accent); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 5px; }
.contact-item p { font-size: 1.1rem; margin-bottom: 0; }

.contact-form { background: var(--color-white); padding: 50px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 0.9rem; color: var(--color-primary); }
.form-group input, .form-group textarea {
  width: 100%; padding: 15px; border: 1px solid var(--color-border); border-radius: var(--radius);
  font-family: inherit; font-size: 1rem; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(197,160,89,0.1); }
#form-success { display: none; background: #f4f9f4; color: #2d5a27; padding: 25px; border-radius: var(--radius); text-align: center; margin-bottom: 25px; border: 1px solid #e0eee0; }

/* Map */
#map { height: 500px; filter: grayscale(0.2); }
#map iframe { width: 100%; height: 100%; border: none; }

/* Footer */
footer { background: #111; color: #888; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 50px; margin-bottom: 60px; }
.footer-col h4 { color: var(--color-white); margin-bottom: 25px; font-family: var(--font-heading); font-size: 1.2rem; }
.footer-col p, .footer-col a { font-size: 0.95rem; margin-bottom: 12px; display: block; transition: var(--transition); }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom { border-top: 1px solid #222; padding-top: 40px; text-align: center; font-size: 0.85rem; letter-spacing: 0.05em; }

/* Responsive */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .hero-content h1 { font-size: 2.8rem; }
  .service-card, .contact-form { padding: 35px; }
}

/* Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
