* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #4a8fa0 0%, #2c5f6f 50%, #1a3d47 100%);
  color: white;
  overflow-x: hidden;
}

.container {
  min-height: 100vh;
  position: relative;
}

/* Header Styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
}

.logo img {
  height: 60px;
  display: block;
  filter: brightness(1.2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.8;
}

.btn-login, .btn-signup {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-login {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link button {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
}

.btn-signup {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-login:hover, .btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  min-height: 500px;
}

.hero-content {
  flex: 1;
  z-index: 2;
  position: relative;
}

.hero-slider {
  position: relative;
  min-height: 220px; /* Adjust based on content */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0; /* All slides are invisible by default */
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-description {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
  display: none;
}

.btn-discover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-discover:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-visual {
  flex: 1;
  position: relative;
  height: 450px;
}

.coffee-splash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  font-size: 120px;
  font-weight: 900;
  color: white;
  opacity: 0.07;
  letter-spacing: 10px;
  pointer-events: none;
}

.image-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.splash-image {
  width: 250px;
  height: 250px;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.1) drop-shadow(0 15px 10px rgba(0, 0, 0, 0.4));
  transform: rotate(-5deg) scale(1.5);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  animation: floatDrink 4s ease-in-out infinite;
}

.image-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 1;
}

.splash-image:hover {
  transform: rotate(0deg) scale(1.6) !important;
  animation-play-state: paused;
}

@keyframes floatDrink {
  0%, 100% {
    transform: translateY(0) rotate(-5deg) scale(1.5);
  }
  50% {
    transform: translateY(-15px) rotate(-5deg) scale(1.5);
  }
}
.floating-beans {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bean {
  position: absolute; /* Keep existing positioning */
  width: 24px; /* Make beans bigger */
  height: 16px; /* Make beans bigger */
  background: #8B4513;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: float 6s ease-in-out infinite;
}

.bean-1 { top: 20%; left: 10%; animation-delay: 0s; }
.bean-2 { top: 30%; right: 15%; animation-delay: 1s; }
.bean-3 { top: 60%; left: 20%; animation-delay: 2s; }
.bean-4 { top: 70%; right: 25%; animation-delay: 3s; }
.bean-5 { top: 40%; left: 60%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(180deg); } /* Adjust animation for bigger size */
}

/* About Section */
.about {
  padding: 60px 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-card {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 40px;
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.about-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.about-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-read-more {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-read-more:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.floating-beans-about {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bean-about {
  position: absolute; /* Keep existing positioning */
  width: 20px; /* Make beans bigger */
  height: 12px; /* Make beans bigger */
  background: #8B4513;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: floatSlow 8s ease-in-out infinite;
}

.bean-about-1 { top: 10%; left: 5%; animation-delay: 0s; }
.bean-about-2 { top: 20%; right: 10%; animation-delay: 1.5s; }
.bean-about-3 { top: 80%; left: 15%; animation-delay: 3s; }
.bean-about-4 { top: 85%; right: 20%; animation-delay: 4.5s; }
.bean-about-5 { top: 50%; left: 10%; animation-delay: 6s; }
.bean-about-6 { top: 60%; right: 5%; animation-delay: 7.5s; }

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-30px) rotate(90deg); opacity: 1; } /* Adjust animation for bigger size */
}

/* Premium Coffee Section */
.premium-coffee {
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.1);
}

.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.coffee-showcase {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.coffee-features {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


.feature-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.feature-content h3 {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.feature-content p {
  font-size: 10px;
  opacity: 0.8;
  line-height: 1.4;
}

.coffee-cup-showcase {
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-cup {
  width: 180px;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

/* Taste Selection Section */
.taste-selection {
  padding: 60px 20px;
}

.taste-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  max-width: 1140px;
  margin: 40px auto 0;
}

.taste-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.taste-item.selected {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.taste-item .item-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.taste-item .quantity-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
}

.taste-item .quantity-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.taste-item .item-quantity {
  font-size: 16px;
  font-weight: bold;
  min-width: 20px;
}

.taste-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.taste-image {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.taste-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.taste-item h3 {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.btn-order {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 15px;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-order:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-visual {
    margin-top: 30px;
  }
  
  .coffee-showcase {
    flex-direction: column;
    gap: 30px;
  }
  
  .coffee-features {
    grid-template-columns: 1fr;
  }
  
  .taste-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .about-card {
    padding: 30px 20px;
  }
  
  .section-title {
    font-size: 20px;
    padding: 12px 20px;
  }  

  /* --- Mobile App-like Bottom Navigation --- */
  .nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 61, 71, 0.85); /* Dark, semi-transparent background */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    flex-wrap: nowrap; /* Override existing wrap */
  }

  .nav-link {
    flex: 1;
    text-align: center;
    font-size: 11px;
    padding: 5px 0;
  }

  /* Add padding to the bottom of the container to prevent content from being hidden by the nav */
  .container {
    padding-bottom: 70px;
  }

  /* Adjust header for mobile to just be the logo */
  .header {
    justify-content: center; /* Center the logo */
  }

  /* On mobile, the nav is a bottom bar, so it shouldn't be displayed in the header flow */
  .header .nav {
    /* This rule is overridden by the more specific .nav styles below for the bottom bar */
    display: none; 
  }

  /* --- Mobile Layout Adjustments --- */
  .about-content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .about-text-container {
    text-align: center;
  }

  .taste-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .coffee-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .taste-grid {
    grid-template-columns: 1fr;
  }
  
  .coffee-features {
    gap: 15px;
  }
  
  .feature-item {
    padding: 12px;
  }
  
  .showcase-cup {
    width: 150px;
    height: 230px;
  }

  /* Ensure footer has enough space from bottom nav */
  .site-footer {
    margin-bottom: 60px;
  }
}

/* About Page Specifics */
.about-page-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 20px;
}

.about-content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.about-image-container {
  flex: 0 0 300px;
}

.about-image-container img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.about-text-container {
  flex: 1;
  text-align: left;
}

.about-text-container h2 {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Footer */
.site-footer {
  background: rgba(0, 0, 0, 0.2);
  padding: 30px 20px;
  margin-top: 225px;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 15px;
}

.social-icons a {
  color: white;
  transition: opacity 0.3s;
}

.social-icons a:hover {
  opacity: 0.7;
}

.social-icons svg {
  width: 24px;
  height: 24px;
}
