/* Color Scheme Variables */
:root {
  --beige-bg: #F5E6D3;
  --soft-teal: #5B8A8A;
  --soft-teal-darker: #3D5C5C;
  --mustard-yellow: #C4A747;
  --peach: #E8B4A8;
  --muted-orange: #D97D4F;
}

/* General Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--beige-bg);
  font-family: 'Arial', sans-serif;
  color: var(--soft-teal);
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

/* Headings */
h1 {
  color: var(--soft-teal-darker);
  font-size: 48px;
  margin-bottom: 20px;
  border-bottom: 4px solid var(--muted-orange);
  padding-bottom: 15px;
}

/* Paragraph Text */
p {
  color: var(--soft-teal);
  font-size: 18px;
  margin-bottom: 20px;
}

/* Accent Elements */
.crochet-hook {
  color: var(--mustard-yellow);
}

.yarn-ball {
  color: var(--peach);
}

.heart {
  color: var(--peach);
}

.beads {
  color: var(--peach);
}

.yarn-strand {
  color: var(--muted-orange);
}

/* Button/Link Styling */
a, button {
  color: var(--soft-teal-darker);
  background-color: var(--peach);
  border: 2px solid var(--soft-teal-darker);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

a:hover, button:hover {
  background-color: var(--mustard-yellow);
  color: white;
  box-shadow: 0 4px 8px rgba(61, 92, 92, 0.3);
}

/* Hero Section and Products Button */
.hero-section {
  margin: 30px 0;
  text-align: center;
}

.products-button {
  display: inline-block;
  background-color: var(--mustard-yellow);
  color: white;
  border: 3px solid var(--soft-teal-darker);
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(196, 168, 71, 0.3);
}

.products-button:hover {
  background-color: var(--muted-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(196, 168, 71, 0.4);
  color: white;
}

/* WhatsApp Button Styling */
.whatsapp-button {
  display: inline-block;
  background-color: #4A9B7F;
  color: white;
  border: 3px solid #2D6B55;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(74, 155, 127, 0.3);
}

.whatsapp-button:hover {
  background-color: #3A8B6F;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(74, 155, 127, 0.4);
  color: white;
}

/* Card/Section Styling */
.card, section {
  background-color: white;
  border: 3px solid var(--soft-teal-darker);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(107, 138, 138, 0.2);
}

/* Products Page Styles */
.products-section {
  margin: 40px 0;
}

.products-section h2 {
  color: var(--soft-teal-darker);
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid var(--muted-orange);
  padding-bottom: 10px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.product-card {
  background-color: white;
  border: 2px solid var(--soft-teal);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(107, 138, 138, 0.1);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(107, 138, 138, 0.2);
  border-color: var(--soft-teal-darker);
}

.product-image {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.product-card h3 {
  color: var(--soft-teal-darker);
  font-size: 22px;
  margin-bottom: 10px;
}

.product-card p {
  color: var(--soft-teal);
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.price {
  display: inline-block;
  background-color: var(--peach);
  color: var(--soft-teal-darker);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 18px;
  border: 2px solid var(--soft-teal-darker);
}

/* Call to Action Section */
.cta-section {
  background-color: var(--peach);
  border: 3px solid var(--soft-teal-darker);
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--soft-teal-darker);
  font-size: 28px;
  margin-bottom: 15px;
}

.cta-section p {
  color: var(--soft-teal);
  font-size: 18px;
  margin-bottom: 20px;
}

.cta-button {
  background-color: var(--mustard-yellow);
  color: white;
  border: 2px solid var(--soft-teal-darker);
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--muted-orange);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(61, 92, 92, 0.3);
}

/* Home Page Sections */
.hero-banner {
  background: linear-gradient(135deg, var(--peach), var(--soft-teal));
  color: white;
  padding: 50px 20px;
  border-radius: 15px;
  margin-bottom: 40px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(61, 92, 92, 0.2);
}

.hero-banner h1 {
  color: white;
  font-size: 48px;
  border: none;
  padding: 0;
  margin-bottom: 10px;
}

.tagline {
  color: white;
  font-size: 20px;
  font-style: italic;
  margin-bottom: 0;
}

.welcome-section {
  background-color: white;
  border: 2px solid var(--soft-teal);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 8px rgba(91, 138, 138, 0.1);
}

.welcome-text {
  color: var(--soft-teal);
  font-size: 18px;
  line-height: 1.8;
}

.features-section {
  margin: 40px 0;
}

.features-section h2 {
  color: var(--soft-teal-darker);
  font-size: 32px;
  margin-bottom: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.feature-card {
  background-color: white;
  border: 3px solid var(--soft-teal-darker);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(91, 138, 138, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(91, 138, 138, 0.25);
}

.feature-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 15px;
}

.feature-card h3 {
  color: var(--soft-teal-darker);
  font-size: 22px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--soft-teal);
  font-size: 16px;
}

.cta-main {
  background: linear-gradient(135deg, var(--mustard-yellow), var(--muted-orange));
  color: white;
  padding: 40px;
  border-radius: 15px;
  margin: 40px 0;
  box-shadow: 0 8px 16px rgba(196, 168, 71, 0.2);
}

.cta-main h2 {
  color: white;
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-main p {
  color: white;
  font-size: 18px;
  margin-bottom: 25px;
}

.contact-section {
  background-color: var(--peach);
  border: 3px solid var(--soft-teal-darker);
  border-radius: 15px;
  padding: 40px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 8px 16px rgba(232, 180, 168, 0.3);
}

.contact-section h2 {
  color: var(--soft-teal-darker);
  font-size: 28px;
  margin-bottom: 15px;
}

.contact-section p {
  color: var(--soft-teal);
  font-size: 18px;
  margin-bottom: 20px;
}

.footer {
  background-color: var(--soft-teal-darker);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-radius: 8px;
}

.footer p {
  color: white;
  margin-bottom: 0;
}

/* Responsive Design */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    padding: 60px 40px;
  }

  .hero-banner {
    padding: 80px 40px;
  }

  .hero-banner h1 {
    font-size: 64px;
  }

  .tagline {
    font-size: 24px;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .feature-card {
    padding: 35px;
  }

  .feature-icon {
    font-size: 56px;
  }

  .cta-main {
    padding: 60px;
  }

  .cta-main h2 {
    font-size: 40px;
  }

  .contact-section {
    padding: 60px;
  }
}

/* Desktop (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .container {
    max-width: 900px;
    padding: 50px 30px;
  }

  .hero-banner {
    padding: 60px 30px;
  }

  .hero-banner h1 {
    font-size: 52px;
  }

  .tagline {
    font-size: 22px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .feature-card {
    padding: 30px;
  }

  .feature-icon {
    font-size: 52px;
  }

  .cta-main {
    padding: 50px;
  }

  .cta-main h2 {
    font-size: 36px;
  }

  .contact-section {
    padding: 50px;
  }
}

/* Tablet (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .container {
    max-width: 700px;
    padding: 30px 20px;
  }

  .hero-banner {
    padding: 40px 20px;
  }

  .hero-banner h1 {
    font-size: 42px;
  }

  .tagline {
    font-size: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 25px;
  }

  .feature-icon {
    font-size: 44px;
  }

  .cta-main {
    padding: 35px;
  }

  .cta-main h2 {
    font-size: 28px;
  }

  .contact-section {
    padding: 35px;
  }

  .welcome-section {
    padding: 25px;
  }
}

/* Mobile (320px to 480px) */
@media (max-width: 480px) {
  .container {
    max-width: 100%;
    padding: 20px 15px;
  }

  .hero-banner {
    padding: 30px 15px;
    margin-bottom: 30px;
  }

  .hero-banner h1 {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .tagline {
    font-size: 16px;
  }

  .welcome-section {
    padding: 20px;
    margin-bottom: 30px;
  }

  .welcome-text {
    font-size: 16px;
    line-height: 1.6;
  }

  .features-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-icon {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .feature-card p {
    font-size: 14px;
  }

  .cta-main {
    padding: 25px 20px;
    margin: 30px 0;
  }

  .cta-main h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .cta-main p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .contact-section {
    padding: 25px 20px;
    margin: 30px 0;
  }

  .contact-section h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .contact-section p {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .footer {
    padding: 15px;
    margin-top: 30px;
  }

  .footer p {
    font-size: 14px;
  }
}

/* Small Mobile (320px and below) */
@media (max-width: 320px) {
  .container {
    padding: 15px 10px;
  }

  .hero-banner {
    padding: 25px 10px;
  }

  .hero-banner h1 {
    font-size: 28px;
  }

  .tagline {
    font-size: 14px;
  }

  .welcome-section {
    padding: 15px;
  }

  .feature-card {
    padding: 15px;
  }

  .feature-icon {
    font-size: 32px;
  }

  .cta-main {
    padding: 20px 15px;
  }

  .contact-section {
    padding: 20px 15px;
  }

  .products-button,
  .whatsapp-button {
    padding: 12px 20px;
    font-size: 16px;
  }
}

/* General Responsive Improvements */
@media (max-width: 768px) {
  /* Improve touch targets for mobile */
  .products-button,
  .whatsapp-button,
  .cta-button {
    min-height: 44px;
    padding: 12px 24px;
    font-size: 16px;
  }

  /* Better spacing for mobile */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Improve readability on small screens */
  body {
    font-size: 16px;
    line-height: 1.5;
  }

  /* Better image handling */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp text on high DPI screens */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print styles */
@media print {
  .hero-banner,
  .cta-main,
  .contact-section {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }

  .products-button,
  .whatsapp-button {
    display: none;
  }
}
@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }

  .product-card {
    padding: 25px;
  }

  .product-card h3 {
    font-size: 24px;
  }

  .product-card p {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .product-card {
    padding: 15px;
  }

  .product-card h3 {
    font-size: 18px;
  }

  .product-card p {
    font-size: 14px;
  }

  .product-image {
    font-size: 36px;
  }

  .price {
    padding: 6px 12px;
    font-size: 16px;
  }

  .products-section h2 {
    font-size: 22px;
  }
}
