@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Updated color palette: Wine and Dark Blue */
  --primary: #800020; /* Wine / Vino */
  --primary-dark: #4a0012;
  --secondary: #25D366; /* WhatsApp Green */
  --dark-blue: #0B1C2E; /* Dark Blue */
  --dark: #050a10;
  --accent: #f4f6f8;
  --text: #1a202c;
  --light-gray: #f0f2f5;
  --border: #cbd5e0;
  --shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  --gradient: linear-gradient(135deg, #0B1C2E 0%, #800020 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #fff;
}

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

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  box-shadow: none;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 20px;
}

.logo {
  display: none;
}

.nav-links {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  background: rgba(11, 28, 46, 0.98); /* Dark Blue with slight transparency */
  backdrop-filter: blur(10px);
  padding: 40px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

.nav-links.active {
  transform: translateX(0);
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
}

.nav-links a:hover {
  color: white;
  background: var(--primary);
  transform: translateX(-5px);
}

.cta-btn {
  background: var(--secondary) !important;
  color: white !important;
  padding: 10px 20px;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  border: 2px solid white;
  cursor: pointer;
  pointer-events: auto;
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 1200;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(128, 0, 32, 0.4);
  transition: all 0.3s ease;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: white;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2px;
}

.mobile-toggle:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
  padding-bottom: 100px; /* Space for curve */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* slightly lightened background so the video reads clearer beneath */
  background: radial-gradient(circle at top right, #2a4a6a 0%, rgba(11,28,46,0.85) 60%, rgba(5,10,16,0.85) 100%);
  z-index: -2;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 80px 20px 40px;
  width: 100%;
}

.hero-text {
  color: white;
  text-align: left;
}

.hero-text h1 {
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 25px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -1px;
  background: linear-gradient(to right, #fff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 8px 16px;
  border-radius: 50px;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-tag i {
  color: #4ade80; /* Brighter green for contrast */
}

.hero-image {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-img {
  position: absolute;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transition: all 0.5s ease;
  object-fit: cover;
  background: white;
  padding: 10px;
}

.img-1 {
  width: 320px;
  height: 320px;
  top: 20px;
  left: 20px;
  z-index: 2;
  transform: rotate(-5deg);
}

.img-2 {
  width: 280px;
  height: 280px;
  bottom: 40px;
  right: 20px;
  z-index: 1;
  transform: rotate(10deg);
}

.hero-image:hover .img-1 {
  transform: rotate(0deg) scale(1.05);
  z-index: 3;
}

.hero-image:hover .img-2 {
  transform: rotate(5deg) translateX(20px);
}

.curve-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.floating-logo {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
}

.floating-logo img {
  height: 130px;
  width: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: none;
  box-shadow: none;
  background: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(198, 40, 40, 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
  border: none;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
  margin-top: 10px;
  display: inline-block;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid var(--primary);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.scroll-indicator span {
  width: 6px;
  height: 10px;
  background: var(--primary);
  border-radius: 3px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { transform: translateY(0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}

/* Fade In Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  display: none;
}

.section-header p {
  font-size: 1.3rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Products Section */
.products {
  background: #fdfdfd;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.product-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--primary);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:nth-child(even) {
  border-top: 4px solid var(--dark-blue);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: #cbd5e0;
}

.product-image {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #fff;
  padding: 25px;
  border-bottom: 1px solid #f0f0f0;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image {
  transform: scale(1.03);
}

.product-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-blue);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.product-details {
  margin: 10px 0 25px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 15px;
  font-size: 0.95rem;
  color: #555;
  flex-grow: 1;
}

.product-details p {
  margin: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 8px;
}

.product-details p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-details p strong {
  color: var(--primary);
  font-weight: 600;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Modular Houses */
.modular {
  background: var(--light-gray);
}

.modular-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.benefit-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
}

.benefit-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.modular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.modular-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.modular-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  border-color: var(--primary);
}

.modular-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--dark-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.modular-card:hover::before {
  transform: scaleX(1);
}

.modular-image-container {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.modular-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.modular-card:hover .modular-image {
  transform: scale(1.1);
}

.modular-price-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(11, 28, 46, 0.95);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.modular-card:hover .modular-price-badge {
  transform: scale(1.1);
  background: var(--primary);
}

.modular-info {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.modular-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.modular-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 15px 0;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.spec-item i {
  color: var(--primary);
}

/* Events Section */
.events {
  background: white;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.event-box {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.event-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.event-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wine-box {
  border: 8px solid var(--primary);
}

.wine-box .event-box-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--primary) 0%, transparent 100%);
  padding: 40px 30px;
  color: white;
  transform: translateY(70%);
  transition: transform 0.4s ease;
}

.wine-box:hover .event-box-overlay {
  transform: translateY(0);
}

.wine-box .event-box-overlay h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.announcement-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 6px solid var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, #00bcd4 50%, var(--dark-blue) 100%);
  animation: quantumGlow 4s ease-in-out infinite;
}

.announcement-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.18), transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

@keyframes quantumGlow {
  0% {
    box-shadow: 0 0 0 rgba(0, 188, 212, 0.0);
    background-position: 0% 50%;
  }
  50% {
    box-shadow: 0 0 35px rgba(0, 188, 212, 0.6);
    background-position: 100% 50%;
  }
  100% {
    box-shadow: 0 0 0 rgba(0, 188, 212, 0.0);
    background-position: 0% 50%;
  }
}

.announcement-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(11, 28, 46, 0.9);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(11, 28, 46, 0.6);
  animation: announcementPulse 2s infinite;
}

.announcement-badge i {
  font-size: 1.5rem;
  animation: shake 0.5s infinite;
}

@keyframes announcementPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}



/* Quote Form */
.quote-section {
  background: white;
}

.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.quote-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.quote-features {
  margin-top: 30px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.feature i {
  color: var(--secondary);
  font-size: 1.3rem;
}

.quote-form {
  background: var(--light-gray);
  padding: 40px;
  border-radius: 10px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.quote-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* Referral Program */
.referral {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #1a365d 50%, var(--primary-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.referral::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(128, 0, 32, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.referral-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.referral-header i {
  font-size: 4rem;
  margin-bottom: 25px;
  color: var(--primary);
  text-shadow: 0 5px 15px rgba(128, 0, 32, 0.5);
}

.referral-header h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.subtitle {
  font-size: 1.4rem;
  opacity: 0.9;
  color: #e2e8f0;
}

.referral-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.referral-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.referral-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Last referral card specific styling */
.referral-card:last-child {
  /* white to wine split for a clean + brand look */
  background: linear-gradient(135deg, #ffffff 0%, rgba(128, 0, 32, 0.95) 100%);
  border: 2px solid var(--primary);
  position: relative;
  box-shadow: 0 8px 30px rgba(128, 0, 32, 0.18);
  animation: cardPulse 3s infinite;
  color: var(--dark-blue); /* contrast text color */
}

/* Ensure headings and body text inside the last card have good contrast */
.referral-card:last-child h3,
.referral-card:last-child p,
.referral-card:last-child .subtitle,
.referral-card:last-child .step-number + h3 {
  color: var(--dark-blue);
}

/* Make the step number stand out with wine background and white text */
.referral-card:last-child .step-number {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(128, 0, 32, 0.35);
  transform: scale(1.05);
}

/* Adjust any small text inside the last card to be readable on the wine portion */
.referral-card:last-child .referral-terms,
.referral-card:last-child .referral-terms li {
  color: rgba(11, 28, 46, 0.9);
}

@keyframes cardPulse {
  0% { box-shadow: 0 0 0 0 rgba(128, 0, 32, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(128, 0, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(128, 0, 32, 0); }
}

.referral-card:last-child .step-number {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(128, 0, 32, 0.6);
  transform: scale(1.1);
}

.step-number {
  width: 70px;
  height: 70px;
  background: white;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 25px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.referral-card h3 {
  margin-bottom: 10px;
}

.referral-cta {
  text-align: center;
  margin-bottom: 40px;
}

.referral-terms {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.referral-terms h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.referral-terms ul {
  list-style-position: inside;
}

.referral-terms li {
  margin-bottom: 10px;
  opacity: 0.9;
}

/* FAQ */
.faq {
  background: var(--light-gray);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow);
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 20px 20px;
  color: #666;
}

/* Contact */
.contact {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: start;
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-top: 5px;
}

.contact-item h3 {
  margin-bottom: 10px;
}

.contact-item a {
  color: var(--text);
  text-decoration: none;
  display: block;
  margin: 5px 0;
}

/* Delivery Box - Replaces Map */
.contact-delivery-box {
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  /* Make outer delivery box dark blue */
  background: linear-gradient(180deg, var(--dark-blue) 0%, #0b2a46 100%);
  border: 2px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.delivery-content {
  text-align: center;
  /* Inner panel should be wine-colored */
  background: linear-gradient(135deg, rgba(128,0,32,0.95) 0%, rgba(112,0,28,0.95) 50%, rgba(90,0,20,0.95) 100%);
  color: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  max-width: 400px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
}

.truck-icon-wrapper {
  width: 100px;
  height: 100px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary);
  font-size: 3rem;
}

.animate-truck {
  animation: truckDrive 3s ease-in-out infinite;
}

@keyframes truckDrive {
  0% { transform: translateX(-5px) scale(1); }
  50% { transform: translateX(5px) scale(1.1); }
  100% { transform: translateX(-5px) scale(1); }
}

.delivery-content h3 {
  font-size: 1.8rem;
  color: var(--dark-blue);
  margin-bottom: 15px;
  font-weight: 800;
}

.delivery-content p {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.6;
}

.delivery-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.d-badge {
  background: var(--dark-blue);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

.d-badge:nth-child(2) {
  background: var(--primary);
}

.d-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
  padding: 70px 0 30px;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 80px;
  width: 80px;
  margin-bottom: 25px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
}

.footer-section h4 {
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 5px 30px rgba(37, 211, 102, 0.6); }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
}

.close-modal:hover {
  color: var(--primary);
}

.modal-content h2 {
  margin-bottom: 20px;
}

.modal-content form input {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: inherit;
}

/* Image Lightbox Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 2100;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.image-modal.active {
  display: flex;
}

.image-modal-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 4px solid #fff;
  object-fit: contain;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2.5rem;
  color: #ffffff;
  cursor: pointer;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.image-modal-close:hover {
  color: var(--primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    margin: 0 auto 30px;
  }

  .hero-image {
    height: 350px;
    margin-top: 20px;
  }

  .img-1 {
    width: 250px;
    height: 250px;
  }

  .img-2 {
    width: 200px;
    height: 200px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .products-grid,
  .modular-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .events-grid,
  .quote-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .events-grid {
    gap: 30px;
  }

  .event-box {
    height: 350px;
  }

  .referral-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}