/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Tamil Language Support */
body.tamil {
  font-family: "Noto Sans Tamil", "Poppins", sans-serif;
}

/* Language Toggle */
.language-toggle {
  margin-left: 1rem;
}

.lang-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.lang-btn:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo h2 {
  color: #e74c3c;
  font-weight: 700;
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e74c3c;
  transition: width 0.3s ease;
}

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

.nav-link:hover {
  color: #e74c3c;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Account for fixed navbar */
  box-sizing: border-box;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><path d="M0,0v46.29c47.79,22.85,103.59,32.75,158,28,70.36-6.37,132.58-35.93,203.81-37.39c69.27-1.42,134.894,22.23,202.02,22.23,63.932,0,126.16-19.69,187.56-22.23c61.893-2.56,124.325,9.61,185.564,22.23,64.15,13.27,128.602,19.69,192.588-5.66V0Z"></path></svg>')
    repeat-x;
  animation: wave 20s linear infinite;
}

@keyframes wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1000px);
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - 80px);
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-title span {
  color: #ffd700;
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.btn-primary {
  background: #e74c3c;
  color: white;
}

.btn-primary:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

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

.btn-secondary:hover {
  background: white;
  color: #667eea;
  transform: translateY(-2px);
}

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

/* Bottle Showcase */
.bottle-showcase {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottle {
  width: 80px;
  height: 200px;
  border-radius: 40px 40px 10px 10px;
  position: absolute;
  animation: float 3s ease-in-out infinite;
}

.bottle-1 {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  left: 0;
  animation-delay: 0s;
}

.bottle-2 {
  background: linear-gradient(45deg, #f39c12, #d68910);
  left: 50%;
  transform: translateX(-50%) scale(1.2);
  animation-delay: -1s;
  z-index: 2;
}

.bottle-3 {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  right: 0;
  animation-delay: -2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll a {
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

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

/* Products Section */
.products {
  padding: 5rem 0;
  background: #f8f9fa;
}

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

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-bottle {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.product-card:hover .product-bottle {
  transform: scale(1.05);
}

/* Fallback styling for when images fail to load */
.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  position: relative;
}

.product-placeholder.nannari {
  background: linear-gradient(135deg, #8b4513, #a0522d);
}
.product-placeholder.rose {
  background: linear-gradient(135deg, #ff69b4, #ffb6c1);
}
.product-placeholder.ginger {
  background: linear-gradient(135deg, #daa520, #f4a460);
}
.product-placeholder.pineapple {
  background: linear-gradient(135deg, #ffd700, #ffff99);
}
.product-placeholder.grape {
  background: linear-gradient(135deg, #9370db, #8a2be2);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-info {
  padding: 2rem;
}

.product-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.product-info p {
  color: #666;
  margin-bottom: 1rem;
}

.product-features {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feature {
  background: #e74c3c;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.about-intro {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.story-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.story-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.story-icon {
  width: 60px;
  height: 60px;
  background: #e74c3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.story-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.story-content p {
  color: #666;
  line-height: 1.6;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
}

.stat-number {
  display: inline-block;
  font-size: 3rem;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 0.5rem;
}

.stat-plus {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #28a745;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
  margin-left: 0.2rem;
}

.stat-label {
  color: #666;
  font-weight: 500;
  display: block;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: #f8f9fa;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: #e74c3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: #666;
  line-height: 1.6;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 0 5px 0;
  border: none;
  border-bottom: 2px solid #ddd;
  background: transparent;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  resize: vertical;
  min-height: 50px;
}

.form-group textarea {
  min-height: 100px;
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 0;
  color: #666;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: #e74c3c;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
  top: -10px;
  font-size: 0.8rem;
  color: #e74c3c;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #e74c3c;
}

.footer-section p {
  color: #bdc3c7;
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #e74c3c;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #34495e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #e74c3c;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .language-toggle {
    margin-left: 0.5rem;
  }

  .lang-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .bottle-showcase {
    height: 200px;
  }

  .bottle {
    width: 60px;
    height: 150px;
  }

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

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 200px;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-container {
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .nav-container {
    padding: 1rem 15px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-container {
    padding: 1rem 15px;
    min-height: calc(100vh - 70px);
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Advertising Sections */
.ads-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.ads-section:nth-child(odd) {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.ads-section:nth-child(even) {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.ads-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 400px;
}

.ads-content.reverse {
  direction: rtl;
}

.ads-content.reverse > * {
  direction: ltr;
}

.ads-text {
  padding: 2rem;
}

.ads-icon {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.ads-text h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.ads-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.ads-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  border-left: 4px solid #e74c3c;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(231, 76, 60, 0.1);
  transform: translateX(10px);
}

.benefit-item i {
  color: #e74c3c;
  font-size: 1.2rem;
  width: 20px;
}

.benefit-item span {
  font-weight: 500;
  color: #2c3e50;
}

/* Ad 1: Healthy Alternative Styles */
.healthy-alternative .ads-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.comparison {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.unhealthy-drink,
.healthy-drink {
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.unhealthy-drink {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  transform: scale(0.9);
}

.healthy-drink {
  background: linear-gradient(135deg, #27ae60, #219a52);
  color: white;
  transform: scale(1.1);
}

.unhealthy-drink i,
.healthy-drink i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.vs {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e74c3c;
  background: white;
  padding: 1rem;
  border-radius: 50%;
  border: 3px solid #e74c3c;
}

/* Ad 2: Customizable Taste Styles */
.customizable-taste .ads-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.taste-control {
  padding: 3rem;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 20px;
  color: white;
  text-align: center;
}

.control-panel {
  background: rgba(255, 255, 255, 0.2);
  padding: 2rem;
  border-radius: 15px;
}

.slider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.slider-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  position: relative;
}

.slider-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, #27ae60, #e74c3c);
  border-radius: 4px;
  animation: slideControl 3s ease-in-out infinite;
}

@keyframes slideControl {
  0%,
  100% {
    width: 30%;
  }
  50% {
    width: 80%;
  }
}

.control-panel i {
  font-size: 2rem;
}

/* Ad 3: Event Solution Styles */
.event-solution .ads-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-stats {
  display: flex;
  gap: 2rem;
}

.stat-card {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  min-width: 180px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(155, 89, 182, 0.3);
}

.stat-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.stat-card .number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-card span {
  font-size: 1rem;
  opacity: 0.9;
}

/* Mobile Responsive for Ads */
@media (max-width: 768px) {
  .ads-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .ads-content.reverse {
    direction: ltr;
  }

  .ads-text h2 {
    font-size: 2rem;
  }

  .comparison {
    flex-direction: column;
    gap: 1rem;
  }

  .vs {
    transform: rotate(90deg);
  }

  .event-stats {
    flex-direction: column;
    align-items: center;
  }

  .benefit-item {
    justify-content: center;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
