/* Principal Crafts - Woolster-inspired Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

@font-face {
  font-family: 'Awesome';
  src: url('../fonts/Awesome.woff2') format('woff2'),
       url('../fonts/Awesome.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: #d30284;
  --pink-hover: #b8026f;
  --navy: #1a245b;
  --purple: #6b21a8;
  --text: #3e4349;
  --text-light: #6b7280;
  --gray-light: #f5f5f7;
  --gray-border: #dedee5;
  --white: #ffffff;
  --max-width: 1100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Awesome', cursive;
  font-weight: normal;
  color: var(--navy);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  z-index: 1000;
  padding: 15px 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo img {
  height: 70px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

nav ul li a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.2s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

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

.mobile-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy);
}

/* Hero Banner */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #9333ea 0%, #ec4899 50%, #f472b6 100%);
  overflow: hidden;
  padding: 80px 20px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero .logo-large {
  max-width: 300px;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 15px rgba(0,0,0,0.15));
}

.hero h1 {
  font-size: 56px;
  color: var(--white);
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--pink-hover);
}

.btn-white {
  background: var(--white);
  color: var(--pink);
}

.btn-white:hover {
  background: var(--gray-light);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--pink);
}

.btn-outline:hover {
  background: var(--pink);
  color: var(--white);
}

.btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 44px;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}

/* Category Cards */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.category-card {
  position: relative;
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}

.category-card .bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  transition: transform 0.5s ease;
}

.category-card:hover .bg {
  transform: scale(1.05);
}

.category-card .content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  color: var(--white);
}

.category-card h3 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 8px;
}

.category-card p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.category-card .link {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.category-card .link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.category-card:hover .link::after {
  transform: translateX(5px);
}

/* About Section */
.about-section {
  background: var(--gray-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  height: 450px;
  border-radius: 8px;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
}

.about-content h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.about-content .btn {
  margin-top: 15px;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray-border);
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.product-card .image {
  height: 280px;
  background: linear-gradient(135deg, #c084fc 0%, #f472b6 100%);
  position: relative;
  overflow: hidden;
}

.product-card .image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.product-card:hover .image::after {
  background: rgba(0, 0, 0, 0.05);
}

.product-card .content {
  padding: 20px;
}

.product-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 15px;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #9333ea 0%, #ec4899 50%, #f472b6 100%);
  padding: 120px 0 60px;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  font-size: 42px;
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 17px;
  opacity: 0.95;
  max-width: 550px;
  margin: 0 auto;
}

/* Info Section */
.info-section {
  background: var(--gray-light);
}

.info-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.info-box h3 {
  font-size: 26px;
  margin-bottom: 15px;
}

.info-box p {
  color: var(--text-light);
  margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Form Styles */
.form-section {
  background: var(--gray-light);
}

.quote-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-submit .btn {
  width: 100%;
  padding: 15px;
  font-size: 16px;
}

.form-note {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-light);
}

/* FAQ Section */
.faq-grid {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  padding: 25px 0;
  border-bottom: 1px solid var(--gray-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--pink);
}

.faq-item p {
  color: var(--text-light);
  font-size: 15px;
}

/* Footer */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 50px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 50px;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 13px;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    height: 350px;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--gray-border);
    gap: 0;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li a {
    display: block;
    padding: 12px 0;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    height: 450px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero .logo-large {
    max-width: 220px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    height: 300px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .page-header {
    padding: 100px 0 50px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .quote-form {
    padding: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}
