/*
  VMGN Fashions Private Limited - Stylesheet
  
  CSS TECHNOLOGIES USED:
  
  1. CSS CUSTOM PROPERTIES (CSS Variables):
     - Define reusable values with -- prefix (e.g., --primary-maroon)
     - Access with var() function
     - Easy to maintain brand colors across the entire site
     - Can be changed in one place and update everywhere
  
  2. FLEXBOX:
     - Modern layout system for one-dimensional layouts (rows or columns)
     - Properties: display: flex, justify-content, align-items, flex-direction
     - Perfect for navigation bars, card layouts, centering content
  
  3. CSS GRID:
     - Two-dimensional layout system (rows AND columns)
     - Properties: display: grid, grid-template-columns, gap
     - Used for the scale cards and retail location cards
  
  4. MEDIA QUERIES:
     - @media rules that apply styles based on screen size
     - Makes the site responsive (adapts to mobile, tablet, desktop)
     - Breakpoints: 768px (tablet), 1024px (desktop)
  
  5. TRANSITIONS & ANIMATIONS:
     - Smooth visual effects when hovering or interacting
     - transition: property duration easing
     - Makes the site feel more polished and interactive
  
  6. POSITION: STICKY:
     - Keeps navbar at top while scrolling
     - Better UX than fixed positioning
*/

/* ========================================
   CSS CUSTOM PROPERTIES (Brand Colors)
   ======================================== */
:root {
  /* Brand Colors from VMGN Color Palette */
  --primary-maroon: #4d1414;
  --secondary-maroon: #663737;
  --cream: #faf1e5;
  --white: #ffffff;
  --black: #000000;
  
  /* Utility Colors */
  --text-dark: #2c2c2c;
  --text-light: #666666;
  --border-color: #e0d5c7;
  
  /* Spacing */
  --section-padding: 80px 20px;
  --container-max-width: 1200px;
  
  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Include padding and border in element's total width/height */
}

/* 
  SMOOTH SCROLLING:
  When clicking navigation links, page smoothly scrolls to section instead of jumping
*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* ========================================
   STICKY NAVIGATION BAR
   ======================================== */
.navbar {
  position: sticky; /* Stays at top when scrolling */
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000; /* Ensures navbar stays above all other content */
  transition: all 0.3s ease;
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 15px 20px;
  display: flex; /* Flexbox for horizontal layout */
  justify-content: space-between; /* Logo on left, links on right */
  align-items: center; /* Vertically center items */
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Navigation Links */
.nav-links {
  display: flex;
  list-style: none; /* Remove bullet points */
  gap: 35px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 16px;
  position: relative;
  transition: color 0.3s ease;
}

/* Underline effect on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-maroon);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-maroon);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger Menu (Mobile) */
.hamburger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-maroon);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO SECTION
   Background Image: DSC_7910_lowres.JPG
   ======================================== */
.hero {
  height: 100vh; /* Full viewport height */
  background-image: url('assets/images/DSC_7910_lowres.JPG');
  background-size: cover; /* Image covers entire section */
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Dark overlay for better text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
}

.hero-content {
  position: relative;
  z-index: 1; /* Above overlay */
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}

.hero-subtitle {
  display: block;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.95;
}

/* Call-to-Action Button */
.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: var(--primary-maroon);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(77, 20, 20, 0.3);
}

.cta-button:hover {
  background: var(--secondary-maroon);
  transform: translateY(-2px); /* Lift effect */
  box-shadow: 0 6px 20px rgba(77, 20, 20, 0.4);
}

/* ========================================
   ABOUT SECTION
   Background Image: DSC_8244_lowres.JPG
   ======================================== */
.about {
  background-image: linear-gradient(rgba(250, 241, 229, 0.95), rgba(250, 241, 229, 0.95)), 
                    url('assets/images/DSC_8244_lowres.JPG');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax */
  padding: var(--section-padding);
}

.section-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.about-content {
  background: var(--white);
  padding: 60px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--primary-maroon);
  text-align: center;
  margin-bottom: 15px;
}

/* Decorative underline */
.title-underline {
  width: 80px;
  height: 3px;
  background: var(--primary-maroon);
  margin: 0 auto 40px;
}

.about-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
}

.lead-text {
  font-size: 22px;
  font-weight: 300;
  color: var(--primary-maroon);
  margin-bottom: 25px;
  line-height: 1.7;
}

.about-text p {
  margin-bottom: 20px;
}

.inline-link {
  color: var(--primary-maroon);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-maroon);
  transition: all 0.3s ease;
}

.inline-link:hover {
  color: var(--secondary-maroon);
  border-bottom-color: var(--secondary-maroon);
}

/* ========================================
   OUR SCALE SECTION
   Uses CSS GRID for card layout
   ======================================== */
.scale {
  padding: var(--section-padding);
  background: var(--cream);
}

.section-intro {
  text-align: center;
  font-size: 18px;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

/* 
  CSS GRID LAYOUT:
  Creates a responsive grid of cards
  - Mobile: 1 column
  - Tablet: 2 columns
  - Desktop: 3 columns
*/
.scale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.scale-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-maroon);
}

.scale-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.scale-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.scale-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--primary-maroon);
  margin-bottom: 15px;
}

.scale-card p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   RETAIL LOCATIONS SECTION
   ======================================== */
.retail {
  padding: var(--section-padding);
  background: var(--white);
}

.retail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.retail-card {
  background: var(--cream);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.retail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.retail-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.retail-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--primary-maroon);
  margin-bottom: 15px;
}

.retail-card p {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.location-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: var(--primary-maroon);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.location-button:hover {
  background: var(--secondary-maroon);
  transform: translateY(-2px);
}

/* ========================================
   LOCATIONS & CONTACT SECTION
   Includes Google Maps iframe
   ======================================== */
.locations {
  padding: var(--section-padding);
  background: var(--cream);
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
  align-items: start;
}

.location-info h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--primary-maroon);
  margin-bottom: 20px;
}

.address {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-details p {
  margin-bottom: 20px;
}

.contact-details strong {
  color: var(--primary-maroon);
  display: block;
  margin-bottom: 8px;
}

.contact-details a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--primary-maroon);
}

/* Google Maps iframe container */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
}

/* ========================================
   CONTACT FORM SECTION
   ======================================== */
.contact {
  padding: var(--section-padding);
  background: var(--white);
}

.contact-form {
  max-width: 800px;
  margin: 50px auto 0;
  background: var(--cream);
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-maroon);
  font-weight: 600;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-maroon);
}

.submit-button {
  width: 100%;
  padding: 16px;
  background: var(--primary-maroon);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background: var(--secondary-maroon);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(77, 20, 20, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--primary-maroon);
  color: var(--white);
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-brand {
  text-align: left;
}

.footer-logo {
  height: 60px;
  margin-bottom: 15px;
  filter: brightness(0) invert(1); /* Makes logo white */
}

.footer-tagline {
  font-style: italic;
  opacity: 0.9;
}

.footer-social h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: var(--white);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.social-links a:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.8;
  font-size: 14px;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   MEDIA QUERIES adapt layout for smaller screens
   ======================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  /* Mobile Navigation */
  .hamburger {
    display: flex; /* Show hamburger on mobile */
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%; /* Hidden off-screen by default */
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    left: 0; /* Slide in when active */
  }
  
  .nav-link {
    font-size: 20px;
    padding: 15px 0;
  }
  
  /* Hero Section */
  .hero-title {
    font-size: 40px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  /* Section Titles */
  .section-title {
    font-size: 36px;
  }
  
  /* About Section */
  .about-content {
    padding: 40px 30px;
  }
  
  .lead-text {
    font-size: 18px;
  }
  
  .about-text {
    font-size: 16px;
  }
  
  /* Location Content */
  .location-content {
    grid-template-columns: 1fr; /* Single column on mobile */
  }
  
  /* Contact Form */
  .contact-form {
    padding: 30px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr; /* Single column on mobile */
  }
  
  /* Footer */
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .footer-brand {
    text-align: center;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .hero {
    background-attachment: scroll; /* Disable parallax on small screens for performance */
  }
  
  .about {
    background-attachment: scroll;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .scale-grid,
  .retail-grid {
    grid-template-columns: 1fr;
  }
}