/* Global Styles */
:root {
  --primary-color: #ff6b6b;
  --secondary-color: #ff8e8e;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --white: #fff;
  --black: #000;
  --gray: #6c757d;
  --light-gray: #f1f1f1;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition);
}

.btn:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4 {
  margin-bottom: 20px;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 15px auto;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 100px;
  margin-right: 15px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.whatsapp-icon {
  font-size: 28px;
  color: #25D366;
  transition: var(--transition);
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  margin-top: 80px;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  background-color: var(--white);
}

.about .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-content {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

.awards {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

/* Add to the logo styles */
.logo {
  display: flex;
  align-items: center;
  flex-direction: row;
  text-align: left;
}

.logo h1 {
  margin: 0;
  font-size: 2rem;
  color: var(--primary-color);
}

.motto {
  font-style: italic;
  color: var(--primary-color);
  margin-top: 5px;
  font-size: 0.9rem;
}

.award {
  text-align: center;
  padding: 20px;
  border-radius: 5px;
  background: var(--light-gray);
  flex: 1;
  margin: 0 10px;
}

.award i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Cakes Section */
.cakes {
  background-color: var(--light-gray);
}

.categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 10px;
}

.category-btn {
  padding: 8px 20px;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.category-btn:hover, .category-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.cake-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.cake-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.cake-card:hover {
  transform: translateY(-10px);
}

.cake-img {
  height: 250px;
  overflow: hidden;
}

.cake-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.cake-card:hover .cake-img img {
  transform: scale(1.1);
}

.cake-info {
  padding: 20px;
}

.cake-info h3 {
  margin-bottom: 10px;
}

.cake-info p {
  color: var(--gray);
  margin-bottom: 15px;
}

.cake-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.add-to-cart {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.add-to-cart:hover {
  background: var(--secondary-color);
}

/* Events Section */
.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.event-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  padding: 20px;
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-10px);
}

.event-card img {
  border-radius: 10px;
  margin-bottom: 15px;
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.event-card h3 {
  color: var(--primary-color);
}

.event-card p {
  margin-bottom: 15px;
}

/* Flavors Section */
.flavors {
  background: var(--white);
}

.flavor-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.flavor-tab {
  padding: 10px 25px;
  background: var(--light-gray);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.flavor-tab:hover, .flavor-tab.active {
  background: var(--primary-color);
  color: var(--white);
}

.flavor-panel {
  display: none;
}

.flavor-panel.active {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.flavor-item {
  background: var(--light-gray);
  padding: 20px;
  border-radius: 10px;
  transition: var(--transition);
}

.flavor-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.flavor-item h3 {
  color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
  background: var(--light-gray);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial {
  display: none;
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
}

.customer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.customer h4 {
  margin-bottom: 5px;
}

.customer span {
  color: var(--gray);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 20px;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--light-gray);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.slider-btn {
  background: var(--primary-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--secondary-color);
}

/* Contact Section */
.contact .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: center;
}

.contact-info p {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 25px;
}

.social-media {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-media a:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

.team-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.team-image:hover img {
  transform: scale(1.03);
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-logo img {
  height: 80px;
  margin-bottom: 20px;
}

.footer-links h3 {
  color: var(--white);
  margin-bottom: 25px;
  position: relative;
}

.footer-links h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  margin: 10px 0;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light-gray);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-subscribe input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  margin-bottom: 15px;
}

.copyright {
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about .container {
      flex-direction: column;
  }
  
  .about-image {
      margin-top: 40px;
  }
  
  .event-cards {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav ul {
      display: none;
      position: absolute;
      top: 100px;
      left: 0;
      width: 100%;
      background: var(--white);
      flex-direction: column;
      padding: 20px 0;
      box-shadow: var(--shadow);
  }
  
  nav ul.show {
      display: flex;
  }
  
  nav ul li {
      margin: 0;
      padding: 10px 20px;
  }
  
  .mobile-menu-btn {
      display: block;
  }
  
  .hero-content h2 {
      font-size: 2.5rem;
  }
  
  section {
      padding: 60px 0;
  }
  
  .awards {
      flex-direction: column;
  }
  
  .award {
      margin: 10px 0;
  }
  
  .logo img {
      height: 80px;
  }
}

@media (max-width: 576px) {
  .hero {
      height: 80vh;
  }
  
  .hero-content h2 {
      font-size: 2rem;
  }
  
  .event-cards {
      grid-template-columns: 1fr;
  }
  
  .flavor-panel.active {
      grid-template-columns: 1fr;
  }
  
  .contact .container {
      grid-template-columns: 1fr;
  }
  
  .footer .container {
      grid-template-columns: 1fr;
      gap: 30px;
  }
  
  .footer-links, .footer-subscribe {
      margin-top: 30px;
  }
  
  .logo {
      flex-direction: column;
      text-align: center;
  }
  
  .logo img {
      height: 70px;
      margin-right: 0;
      margin-bottom: 10px;
  }
}