/* Sunny Pink Events - Responsive Website */

:root {
  --primary-color: #f1d5db;
  --secondary-color: #c15b75;
  --dark-color: #333;
  --light-bg: #f9f9f9;
  --border-color: #ddd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-color);
  background-color: white;
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #e19fae 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(225, 159, 174, 0.95) 0%, rgba(193, 91, 117, 0.95) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f1d5db" width="1200" height="600"/></svg>');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 2rem 1rem;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: contain;
  background: white;
  padding: 10px;
  margin: 0 auto 1rem;
  display: block;
}

.hero-content {
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--light-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #e19fae 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.product-info p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.product-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}

.product-card a:hover {
  opacity: 0.7;
}

/* Product Detail Page */
.product-detail {
  max-width: 1000px;
  margin: 0 auto;
}

.product-header {
  text-align: center;
  margin-bottom: 3rem;
}

.product-header h1 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Image Gallery/Carousel */
.gallery-section {
  margin-bottom: 3rem;
}

.gallery-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 2rem;
  border-radius: 10px;
  overflow: hidden;
  background: var(--light-bg);
}

.gallery-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #e19fae 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  position: relative;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.gallery-image img.active {
  display: block;
}

.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--light-bg);
}

.gallery-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gallery-button:hover {
  background-color: #c15b75;
}

.gallery-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gallery-counter {
  color: var(--dark-color);
  font-weight: bold;
}

.gallery-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background: var(--primary-color);
}

/* Description Section */
.description-section {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.description-section h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.description-section p {
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

/* Pricing Table */
.pricing-section {
  margin-bottom: 3rem;
}

.pricing-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.pricing-table th {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: bold;
}

.pricing-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.pricing-table tbody tr:hover {
  background-color: var(--light-bg);
}

/* Delivery Pricing */
.delivery-section {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.delivery-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.delivery-item {
  background: white;
  padding: 1rem;
  border-left: 4px solid var(--primary-color);
  border-radius: 5px;
}

.delivery-item strong {
  color: var(--primary-color);
}

/* Calendar Section */
.calendar-section {
  margin-bottom: 3rem;
  text-align: center;
}

.calendar-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.calendar-widget {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.calendar-widget iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 10px;
}

/* Booking Section */
.booking-section {
  background: var(--primary-color);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 3rem;
}

.booking-section h2 {
  margin-bottom: 1rem;
}

.booking-button {
  background-color: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.booking-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: #c15b75;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 1rem;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-logo {
    width: 100px;
    height: 100px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .gallery-image {
    height: 300px;
    font-size: 2rem;
  }

  .pricing-table {
    font-size: 0.9rem;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0.75rem 0.5rem;
  }

  .calendar-widget iframe {
    height: 400px;
  }

  .footer-links {
    gap: 1rem;
  }

  .logo {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem 0.5rem;
  }

  .hero {
    padding: 1.5rem 1rem;
  }

  .hero-logo {
    width: 80px;
    height: 80px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .product-header h1 {
    font-size: 1.5rem;
  }

  .nav-links {
    gap: 0.5rem;
    font-size: 0.9rem;
  }

  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .pricing-table {
    font-size: 0.8rem;
  }

  .gallery-image {
    height: 250px;
  }

  .gallery-controls {
    flex-direction: column;
    gap: 0.5rem;
  }

  .calendar-widget iframe {
    height: 300px;
  }
}
