/* Silverwood Coloring - Main Stylesheet */

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #faf9f7;
  --color-text: #333;
  --color-pink: #ffc6d3;
  --color-blue: #b3d9ff;
  --color-yellow: #ffe5a0;
  --color-lavender: #e6d9f5;
  --color-mint: #c6f5e6;
  --color-peach: #ffd9c0;
  --color-white: #ffffff;
  --color-shadow: rgba(0, 0, 0, 0.1);
  --font-main: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background-color: var(--color-white);
  box-shadow: 0 2px 10px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo:hover .logo-text {
  color: var(--color-pink);
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 225px;
  display: block;
  opacity: 0.7;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a:hover {
  color: var(--color-pink);
}

nav a.active {
  color: var(--color-pink);
  font-weight: 600;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-pink);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-text);
  border-radius: 3px;
  transition: 0.3s;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-blue) 50%, var(--color-yellow) 100%);
  border-radius: 20px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px var(--color-shadow);
}

.hero h1 {
  font-size: 3rem;
  color: var(--color-white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--color-white);
  color: var(--color-text);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--color-shadow);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--color-shadow);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-pink), var(--color-lavender));
  color: var(--color-white);
}

.btn-amazon {
  background-color: #ff9900;
  color: var(--color-white);
}

.btn-amazon:hover {
  background-color: #e68a00;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--color-white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px var(--color-shadow);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--color-shadow);
}

.card-image {
  width: 100%;
  height: 280px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.card h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--color-text);
  min-height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card p {
  flex: 1 1 auto;
  color: #666;
  margin-bottom: 0;
  line-height: 1.8;
}

.card .btn,
.card .btn-amazon {
  margin-top: auto;
}

/* Color variations for cards */
.card-pink { background: linear-gradient(135deg, var(--color-white), var(--color-pink)); }
.card-blue { background: linear-gradient(135deg, var(--color-white), var(--color-blue)); }
.card-yellow { background: linear-gradient(135deg, var(--color-white), var(--color-yellow)); }
.card-lavender { background: linear-gradient(135deg, var(--color-white), var(--color-lavender)); }
.card-mint { background: linear-gradient(135deg, var(--color-white), var(--color-mint)); }
.card-peach { background: linear-gradient(135deg, var(--color-white), var(--color-peach)); }

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--color-shadow);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: var(--color-pink);
  color: var(--color-white);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: bold;
}

.faq-question.active::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-answer.active {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-answer p {
  color: #666;
  line-height: 1.8;
}

/* Contact Page */
.contact-container {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: var(--color-white);
  border-radius: 50px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  box-shadow: 0 4px 15px var(--color-shadow);
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--color-shadow);
}

/* Enhanced Social Buttons */
.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.social-links-vertical {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.social-button {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background-color: var(--color-white);
  border-radius: 15px;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: 0 4px 20px var(--color-shadow);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.social-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--color-shadow);
}

.social-icon-large {
  font-size: 3rem;
  line-height: 1;
  flex-shrink: 0;
}

.social-icon-brand {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon-brand svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social-text {
  flex: 1;
  text-align: left;
}

.social-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.social-subtitle {
  font-size: 0.95rem;
  color: #666;
  font-weight: 400;
}

.amazon-button {
  background: linear-gradient(135deg, #232f3e, #37475a);
  border-color: #ff9900;
}

.amazon-button:hover {
  border-color: #ff9900;
  background: linear-gradient(135deg, #131921, #232f3e);
  box-shadow: 0 8px 30px rgba(255, 153, 0, 0.5);
  transform: translateY(-3px);
}

.amazon-button .social-icon-brand {
  color: #ff9900;
}

.amazon-button .social-title {
  color: #ff9900;
  font-weight: 700;
}

.amazon-button .social-subtitle {
  color: #ffffff;
}

.tiktok-button {
  background: linear-gradient(135deg, #000000, #1a1a1a);
  border-color: #00f2ea;
}

.tiktok-button:hover {
  border-color: #00f2ea;
  background: linear-gradient(135deg, #000000, #0d0d0d);
  box-shadow: 0 8px 30px rgba(0, 242, 234, 0.6);
  transform: translateY(-3px);
}

.tiktok-button .social-icon-brand {
  color: #00f2ea;
}

.tiktok-button .social-title {
  color: #00f2ea;
  font-weight: 700;
}

.tiktok-button .social-subtitle {
  color: #ffffff;
}

.youtube-button {
  background: linear-gradient(135deg, #282828, #3d3d3d);
  border-color: #ff0000;
}

.youtube-button:hover {
  border-color: #ff0000;
  background: linear-gradient(135deg, #181818, #282828);
  box-shadow: 0 8px 30px rgba(255, 0, 0, 0.6);
  transform: translateY(-3px);
}

.youtube-button .social-icon-brand {
  color: #ff0000;
}

.youtube-button .social-title {
  color: #ff0000;
  font-weight: 700;
}

.youtube-button .social-subtitle {
  color: #ffffff;
}

.email-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 1.2rem;
  color: var(--color-pink);
  text-decoration: none;
  font-weight: 600;
}

.email-link:hover {
  text-decoration: underline;
}

/* About Page */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #666;
  margin-bottom: 2rem;
}

.collage-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--color-pink), var(--color-blue), var(--color-yellow), var(--color-lavender));
  border-radius: 15px;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.profile-image-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.profile-picture {
  width: min(160px, 50%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px var(--color-shadow);
  border: 3px solid var(--color-white);
  opacity: 0.9;
}

/* Category Page */
.category-header {
  text-align: center;
  margin-bottom: 3rem;
}

.category-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
}

/* Footer */
footer {
  background-color: var(--color-white);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 -2px 10px var(--color-shadow);
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-pink);
}

footer p {
  color: #666;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }

  .logo-img {
    height: 36px;
    max-width: 170px;
  }

  .footer-logo-img {
    height: 60px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: 0 4px 10px var(--color-shadow);
    padding: 1rem;
    gap: 1rem;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-image {
    height: 240px;
  }

  main {
    padding: 1rem;
  }

  .social-links {
    flex-direction: column;
    gap: 1rem;
  }

  .social-links-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .social-links-vertical {
    gap: 1.25rem;
  }

  .social-button {
    padding: 1.5rem;
  }

  .social-icon-large {
    font-size: 2.5rem;
  }

  .social-icon-brand {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Lazy Loading */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}
