/* =============================================
   VILLAS WORKSHOP — style.css
   Professional Wallpaper Installation Website
   ============================================= */

:root {
  --color-primary:    #2f3640;
  --color-accent:     #e1b12c; /* Sophisticated Gold */
  --color-accent-lt:  #fbc531;
  --color-white:      #ffffff;
  --color-light:      #f5f6fa;
  --color-muted:      #7f8c8d;
  --color-border:     #dcdde1;
  --font-heading:     'Playfair Display', Georgia, serif;
  --font-body:        'Inter', 'Segoe UI', sans-serif;
  --radius:           4px;
  --radius-lg:        8px;
  --transition:       0.3s ease;
  --shadow:           0 4px 20px rgba(0,0,0,0.06);
}

*, *::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.6;
  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 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; text-align: center; }
p { margin-bottom: 16px; }

/* Sections */
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header p { color: var(--color-muted); font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background: #d4a017;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(225,177,44,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: 20px 0;
}
header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  padding: 12px 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.6rem; font-weight: 700; color: var(--color-white); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--color-white); font-weight: 500; font-size: 0.95rem; 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: 6px; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--color-white); }
header.scrolled .hamburger span { background: var(--color-primary); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 280px; height: 100vh;
  background: var(--color-white);
  z-index: 1100;
  padding: 80px 40px;
  box-shadow: var(--shadow);
  transition: right 0.4s ease;
}
.mobile-nav.open { right: 0; }
.mobile-nav a { display: block; padding: 15px 0; font-size: 1.1rem; border-bottom: 1px solid var(--color-border); }

/* 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;
}
.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: 700px; }
.hero-content p { font-size: 1.25rem; margin-bottom: 35px; opacity: 0.9; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 25px; }
.hero-phone-link { font-size: 1.3rem; font-weight: 700; color: var(--color-accent); display: block; }

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

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

/* Why Choose Us */
#why { background: var(--color-primary); color: var(--color-white); }
#why h2 { color: var(--color-white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; text-align: center; }
.why-item h3 { color: var(--color-accent); margin-bottom: 10px; font-size: 1.2rem; }
.why-item p { font-size: 0.9rem; opacity: 0.8; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.gallery-item { overflow: hidden; border-radius: var(--radius); height: 300px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }

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

/* Reviews */
#reviews { background: var(--color-light); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card {
  background: var(--color-white);
  padding: 35px;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.review-card p { font-style: italic; color: var(--color-muted); }
.review-author { font-weight: 700; color: var(--color-primary); margin-top: 15px; display: block; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info h3 { margin-bottom: 20px; }
.contact-item { margin-bottom: 20px; }
.contact-item strong { display: block; color: var(--color-accent); font-size: 0.9rem; text-transform: uppercase; }

.contact-form { background: var(--color-light); padding: 40px; border-radius: var(--radius-lg); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px; border: 1px solid var(--color-border); border-radius: var(--radius);
  font-family: inherit; font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-accent); }
#form-success { display: none; background: #d4edda; color: #155724; padding: 20px; border-radius: var(--radius); text-align: center; margin-bottom: 20px; }

/* Map */
#map { height: 450px; }
#map iframe { width: 100%; height: 100%; border: none; }

/* Footer */
footer { background: #1a1a1a; color: #999; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--color-white); margin-bottom: 20px; font-family: var(--font-heading); }
.footer-col p, .footer-col a { font-size: 0.9rem; margin-bottom: 10px; display: block; }
.footer-bottom { border-top: 1px solid #333; padding-top: 30px; text-align: center; font-size: 0.85rem; }

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

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero-content h1 { font-size: 2.5rem; }
}

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
