/* 
  Style for CONTINENTAL CRUNCH LTD (Ice Cream & Frozen Desserts)
  Colors: #FFF9F5 (Bg), #FF6B9E (Primary), #FFD166 (Secondary), #7BDFF2 (Accent), #2D3436 (Text)
  Design: Bright, Cheerful, Rounded cards, Soft shadows, Modern typography
*/

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Fredoka+One&display=swap');

:root {
  --primary-color: #FF6B9E;
  --secondary-color: #FFD166;
  --accent-color: #7BDFF2;
  --text-dark: #2D3436;
  --text-gray: #636e72;
  --bg-light: #FFF9F5;
  --white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(255, 107, 158, 0.1);
  --shadow-hover: 0 15px 35px rgba(255, 107, 158, 0.2);
  --radius-lg: 30px;
  --radius-xl: 50px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Quicksand', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka One', cursive;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography & Titles */
.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.highlight-text {
  color: var(--secondary-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  background-color: var(--primary-color);
  color: var(--white);
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  letter-spacing: 1px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(255, 107, 158, 0.3);
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(255, 107, 158, 0.4);
  color: var(--white);
}

.btn-outline {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 107, 158, 0.3);
}

/* Header */
header {
  background-color: var(--white);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-bottom: 3px solid var(--secondary-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 6rem 0 8rem;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.2;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background-color: var(--accent-color);
  border-radius: 50%;
  opacity: 0.2;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 4.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 15px solid var(--white);
  transform: rotate(3deg);
  transition: var(--transition);
}

.hero-image:hover img {
  transform: rotate(0deg) scale(1.02);
}

/* Sections */
section {
  padding: 6rem 0;
}

.bg-white {
  background-color: var(--white);
  border-radius: 50px;
  margin: 0 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 3px solid transparent;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-hover);
}

.product-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--bg-light);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: var(--transition);
}

.product-card:hover .product-img img {
  transform: scale(1.1);
}

.product-card h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.product-card p {
  color: var(--text-gray);
  margin-bottom: 25px;
  font-weight: 500;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  background: var(--bg-light);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.feature-item h3 {
  color: var(--accent-color);
  font-size: 1.5rem;
}

/* Flavor Tags */
.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.flavor-tag {
  background: var(--white);
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 2px solid var(--bg-light);
  transition: var(--transition);
}

.flavor-tag:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
  transform: scale(1.05) rotate(-2deg);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.testimonial {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  text-align: center;
}

.stars {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.testimonial p {
  font-size: 1.1rem;
  color: var(--text-gray);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-family: 'Fredoka One', cursive;
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
  background-color: var(--accent-color);
  border-radius: 50px;
  margin: 40px 20px;
  text-align: center;
  padding: 6rem 20px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '🍦';
  position: absolute;
  font-size: 20rem;
  opacity: 0.1;
  top: -50px;
  right: -50px;
  transform: rotate(30deg);
}

.cta-section h2 {
  color: var(--white);
  font-size: 3.5rem;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  background-color: var(--white);
  color: var(--accent-color);
  font-size: 1.3rem;
  padding: 20px 40px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.cta-section .btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  padding: 6rem 0;
  text-align: center;
  border-radius: 0 0 50px 50px;
  margin-bottom: 4rem;
}

.page-header h1 {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: 15px;
}

.page-header p {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
}

/* Detailed Products/Services */
.detail-section {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 6rem;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.detail-section:nth-child(even) {
  flex-direction: row-reverse;
}

.detail-img {
  flex: 1;
}

.detail-img img {
  border-radius: var(--radius-lg);
  border: 10px solid var(--bg-light);
}

.detail-content {
  flex: 1;
}

.detail-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.detail-content p {
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.flavor-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}

.flavor-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-dark);
}

.flavor-list li::before {
  content: '✨';
  color: var(--secondary-color);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.contact-info h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.info-icon {
  font-size: 2rem;
  background: var(--bg-light);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.info-text strong {
  display: block;
  font-family: 'Fredoka One', cursive;
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-form {
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 4px solid var(--secondary-color);
}

.contact-form h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--bg-light);
  border-radius: 15px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-light);
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background: var(--white);
}

#form-message {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 15px;
  display: none;
  font-weight: 600;
  text-align: center;
}

.success-msg {
  background: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}

/* Footer */
footer {
  background-color: var(--white);
  padding: 5rem 0 2rem;
  border-top: 3px dashed var(--bg-light);
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: var(--primary-color);
  display: inline-block;
  margin-bottom: 15px;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-col h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
}

.footer-col p {
  color: var(--text-gray);
  font-weight: 500;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-gray);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid var(--bg-light);
  color: var(--text-gray);
  font-weight: 600;
}

/* Text Pages */
.text-page {
  background: var(--white);
  padding: 60px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  max-width: 900px;
  margin: 0 auto;
}

.text-page h2 {
  color: var(--accent-color);
  margin-top: 40px;
}

.text-page p, .text-page ul {
  color: var(--text-gray);
  font-weight: 500;
  margin-bottom: 20px;
}

.text-page ul {
  padding-left: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image img {
    transform: none;
  }
  .detail-section {
    flex-direction: column !important;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-top: 2px solid var(--bg-light);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links a:hover {
    padding-left: 0;
  }
}