/* =========================================
   RESET & GLOBAL STYLES
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
    --gold:#d4af37;
    --dark:#0f0f0f;
    --light:#f8f8f8;
    --text:#666;
    --max-width:1400px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    overflow-x:hidden;
    background:#fff;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #f8f6f3 0%, #ede8e2 100%);
  min-height: 200vh;
  padding-top: 100px; /* Space for fixed navbar */
  overflow-x: hidden;
}

/* =========================================
   NAVIGATION BAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(248, 246, 243, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 246, 243, 0.96) 100%);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: height 0.4s ease;
}

.navbar.scrolled .nav-container {
  height: 75px;
}

/* Logo Styling */
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #2c2c2c;
  text-decoration: none;
  position: relative;
}

.logo:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #c9a961, #d4af6a);
  transition: width 0.4s ease;
}

.logo:hover:after {
  width: 100%;
}

/* Menu Links */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 56px;
  align-items: center;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #3a3a3a;
  text-decoration: none;
  padding: 12px 4px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #c9a961;
  transform: translateY(-2px);
}

.nav-link.active {
  color: #c9a961;
  font-weight: 500;
}

/* CTA Button */
.cta-button {
  background: linear-gradient(135deg, #c9a961 0%, #d4af6a 100%);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.25);
  transition: all 0.4s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.35);
}

/* Mobile Toggle (Hamburger) */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 28px;
  height: 2px;
  background: #2c2c2c;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
  position: relative;
  height: calc(100vh - 90px);
  min-height: 600px;
  background: linear-gradient(135deg, #f8f6f3 0%, #ede8e2 100%);
  overflow: hidden;
}

.hero-container {
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.image-container {
  position: relative;
  flex: 1;
  height: 75%;
  max-height: 650px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  transition: transform 0.6s ease;
}

.image-container:hover {
  transform: scale(1.01);
}

.image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease, transform 12s ease;
  transform: scale(1);
}

.hero-image.active {
  opacity: 1;
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(44, 44, 44, 0.03) 0%, rgba(201, 169, 97, 0.06) 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 90%;
  max-width: 800px;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 300;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 1.2s ease 0.4s forwards;
  opacity: 0;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 24px;
  animation: fadeInUp 1.2s ease 0.8s forwards;
  opacity: 0;
}

/* Hero Social Icons */
.hero-socials {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  animation: fadeInUp 1.2s ease 1s forwards;
}

.hero-socials a {
  color: white;
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.hero-socials a:hover {
  color: #c9a961;
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeIn 1s ease 2s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 0.7;
  }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, #c9a961, transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
}

/* =========================================
   GENERAL CONTENT SECTIONS
   ========================================= */
.content-section {
  max-width: 1200px;
  margin: 120px auto;
  padding: 0 48px;
  text-align: center;
}

.content-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  color: #2c2c2c;
  margin-bottom: 24px;
}

.content-section p {
  font-size: 18px;
  color: #6a6a6a;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
  padding: 140px 0;
  background: linear-gradient(180deg, #f8f6f3 0%, #fff 50%, #f8f6f3 100%);
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a961;
  margin-bottom: 24px;
}

.about-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  line-height: 1.3;
  margin-bottom: 32px;
}

.about-story {
  font-size: 17px;
  line-height: 1.9;
  color: #5a5a5a;
  margin-bottom: 24px;
}

.about-image-wrapper {
  position: relative;
  height: 600px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
  transition: transform 0.6s ease;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================
   CONTACT & SOCIAL GRID
   ========================================= */
.contact-section {
  padding: 140px 0;
  background: linear-gradient(135deg, #ede8e2 0%, #f8f6f3 100%);
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 64px;
  text-align: center;
}

.contact-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  margin-bottom: 24px;
}

.contact-subtitle {
  font-size: 18px;
  color: #6a6a6a;
  max-width: 650px;
  margin: 0 auto 64px;
}

/* Social Grid Styles */
.social-connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 30px 20px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* =========================================
   SOCIAL GRID (LAPTOP & DESKTOP)
   ========================================= */

.social-connect-grid {
  display: grid;
  /* Auto-fit: Will show all 6 in one row on big screens, 
     or wrap to 3x2 on smaller laptops automatically */
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
  gap: 24px;
  margin-bottom: 60px;
}

.social-card {
  /* ... existing styles ... */
  position: relative;
  overflow: hidden;
  border: 1px solid transparent; /* Prevents layout jump on hover */
}

/* --- BRAND SPECIFIC HOVER EFFECTS --- */

/* 1. Google: Multi-color Gradient Text Effect */
.social-card.google:hover {
  border-color: rgba(66, 133, 244, 0.2);
  background: #fff;
}

.social-card.google:hover i {
  /* The Google 4-Color Gradient */
  background: linear-gradient(45deg, #4285F4, #EA4335, #FBBC05, #34A853);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.15); /* Slight pop */
}

/* 2. Justdial: Signature Orange */
.social-card.justdial:hover {
  border-color: rgba(255, 126, 0, 0.2);
}

.social-card.justdial:hover i {
  color: #FF7E00; /* Justdial Orange */
  transform: scale(1.15) rotate(15deg); /* Slight spin for the 'Star' */
  text-shadow: 0 4px 10px rgba(255, 126, 0, 0.2);
}

/* 3. Existing Brands (Refined for Laptop) */
.social-card.instagram:hover { border-color: rgba(225, 48, 108, 0.2); }
.social-card.facebook:hover { border-color: rgba(66, 103, 178, 0.2); }
.social-card.youtube:hover { border-color: rgba(255, 0, 0, 0.2); }
.social-card.pinterest:hover { border-color: rgba(230, 0, 35, 0.2); }


.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.social-card i {
  font-size: 32px;
  margin-bottom: 15px;
  color: #2c2c2c;
  transition: color 0.3s ease;
}

.social-card span {
  font-weight: 500;
  font-size: 14px;
  color: #2c2c2c;
  margin-bottom: 5px;
}

.social-card small {
  font-size: 12px;
  color: #888;
  letter-spacing: 1px;
}

/* Social Brand Colors (Hover) */
.social-card.instagram:hover i { color: #E1306C; }
.social-card.facebook:hover i { color: #4267B2; }
.social-card.youtube:hover i { color: #FF0000; }
.social-card.pinterest:hover i { color: #E60023; }

/* Contact Methods */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  transition: transform 0.4s ease;
  color: black;
  text-decoration: none;
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-8px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c9a961 0%, #d4af6a 100%);
  border-radius: 50%;
  color: #fff;
}

.contact-method h3 {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-method a {
  font-size: 16px;
  color: #6a6a6a;
  text-decoration: none;
}

/* Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #5a5a5a;
  display: block;
  margin-bottom: 12px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 4px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background: #fff;
  border-color: #c9a961;
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-submit {
  width: 100%;
  padding: 18px 48px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #c9a961 0%, #d4af6a 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.4);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 64px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  color: #fff;
  text-decoration: none;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  max-width: 400px;
  margin-top: 24px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #c9a961;
  color: #fff;
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links h4 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a961;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ===============================
   TABLET FIX (≤1024px)
   =============================== */

@media (max-width: 1024px) {
  .hero-container,
  .about-container,
  .contact-container,
  .footer-container {
    padding: 0 40px;
  }

  .hero-tagline {
    font-size: 56px;
  }

  .about-container {
    gap: 60px;
  }
}


/* ===============================
   MOBILE FIX (≤768px) — FINAL & CLEAN
   =============================== */

@media (max-width: 768px) {

  body {
    padding-top: 70px;
  }

  /* NAVBAR */
  .nav-container {
    height: 70px;
    padding: 0 20px;
  }

  .mobile-toggle {
    display: flex;
  }

  /* ✅ PASTE THIS INSIDE @media (max-width: 768px) */
.nav-menu {
  display: flex; /* Must be flex to animate */
  flex-direction: column;
  position: fixed;
  top: 70px;
  right: 0;
  width: 100%;
  background: #fff;
  padding: 20px 0 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  
  /* Hidden State (Slide Up) */
  transform: translateY(-150%); 
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

/* Active State (Slide Down - JS adds this class) */
.nav-menu.active {
  transform: translateY(0); 
}

  /* HERO SECTION */
  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-container {
    flex-direction: column;
    padding: 0 10px;
    margin-top: 150px;
  }

  .image-container {
    width: 100%;
    height: 60vh;
    min-height: 300px;
    position: relative;
    overflow: hidden;
  }

  .image-wrapper {
    width: 100%;
    height: 100%;
  }

  /* ✅ FIXED CODE */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Reset opacity logic so animations work again */
  opacity: 0; 
  transition: opacity 1.5s ease; /* Slightly faster fade for mobile */
}

/* Ensure the active image is visible */
.hero-image.active {
  opacity: 1;
}
  /* Hide second slider on mobile */
  #imageContainer2 {
    display: none;
  }

  .hero-content {
    position: relative;
    margin-top: 20px;
    padding: 40px 20px;
    text-align: center;
    color: #2c2c2c;
  }

  .hero-tagline {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
  }

  /* SERVICES */
  .services-section {
    padding: 80px 0;
  }

  .service-card {
    padding: 32px 20px;
  }

  .service-name {
    font-size: 22px;
  }

  .service-desc {
    font-size: 14px;
  }

  /* ABOUT */
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 10px;
  }
  

  .about-headline {
    font-size: 36px;
  }

  .about-image-wrapper {
    height: 320px;
    order: -1;
  }
  .about-content{
    padding: 4px;
  }

  /* CONTACT */
  .contact-container {
    padding: 0 24px;
  }

  .contact-headline {
    font-size: 36px;
  }

  /* FOOTER */
  .footer-container {
    padding: 0 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }


  /* =========================================
     COMPACT SOCIAL GRID (Mobile)
     ========================================= */
  
  .social-connect-grid {
    display: grid;
    /* Create a 3-Column Grid so all 6 items appear in just 2 rows */
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px;
    margin-bottom: 40px;
  }

  .social-card {
    padding: 15px 5px; /* Very compact padding */
    min-height: 100px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .social-card i {
    font-size: 24px; /* Smaller icons */
    margin-bottom: 8px;
  }

  .social-card span {
    font-size: 11px; /* Smaller text */
    margin-bottom: 2px;
    display: block;
  }

  .social-card small {
    font-size: 9px; /* Tiny subtext */
    opacity: 0.7;
    display: block;
  }

  /* Specific Colors for the New Cards */
  .social-card.google:hover i { 
    background: -webkit-linear-gradient(45deg, #4285F4, #EA4335, #FBBC05, #34A853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .social-card.justdial:hover i { 
    color: #FF7E00; /* Justdial Orange */
  }


}
