/* ============================================
   A Kiss From — Brand Licensing Showcase
   ============================================ */

/* --- Custom Properties --- */
:root {
  --color-primary: #E85D75;
  --color-primary-dark: #D1445C;
  --color-secondary: #F4D03F;
  --color-accent: #48C9B0;
  --color-accent-dark: #3AB59E;
  --color-bg: #FFF8F3;
  --color-bg-alt: #FFF0E8;
  --color-text: #2C3E50;
  --color-text-light: #6B7C93;
  --color-white: #FFFFFF;
  --color-border: #F0E0D8;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1200px;
  --nav-height: 72px;
  --section-spacing: 100px;
  --border-radius: 12px;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-spacing) 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 93, 117, 0.35);
}

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

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn-accent:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(72, 201, 176, 0.35);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(44, 62, 80, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-logo img, .nav-logo svg {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg) 0%, #FFE8E8 50%, var(--color-bg) 100%);
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}

.hero-bg-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--color-primary);
  top: -200px;
  right: -200px;
}

.hero-bg-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  bottom: -100px;
  left: -100px;
}

.hero-bg-shape-3 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-logo {
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s ease forwards;
}

.hero-logo img {
  max-width: min(80vw, 300px);
  max-height: 200px;
  width: auto;
  height: auto;
}

.hero-logo svg {
  width: clamp(200px, 40vw, 400px);
  height: auto;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s ease 0.2s forwards;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s ease 0.4s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s ease 0.6s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light);
  font-size: 0.8rem;
  animation: bounceDown 2s ease-in-out infinite;
  opacity: 0.6;
}

.hero-scroll .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--color-text-light);
  border-bottom: 2px solid var(--color-text-light);
  transform: rotate(45deg);
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Brand Story Section --- */
.brand-story {
  background: var(--color-white);
}

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

.brand-story-content {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.brand-story-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.brand-story-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.brand-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.brand-example-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 24px;
  transition: var(--transition);
  cursor: default;
  opacity: 0;
  transform: translateY(30px);
}

.brand-example-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.brand-example-card:nth-child(1) { transition-delay: 0.1s; }
.brand-example-card:nth-child(2) { transition-delay: 0.2s; }
.brand-example-card:nth-child(3) { transition-delay: 0.3s; }
.brand-example-card:nth-child(4) { transition-delay: 0.4s; }

.brand-example-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(232, 93, 117, 0.1);
}

.brand-example-card .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.brand-example-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.brand-example-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0;
}

/* --- Product Showcase Section --- */
.product-showcase {
  background: var(--color-bg-alt);
}

.product-showcase .section-title,
.product-showcase .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.product-showcase .section-subtitle {
  margin-bottom: 48px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(44, 62, 80, 0.1);
  border-color: var(--color-primary);
}

.product-card-image {
  aspect-ratio: 4/3;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card-image svg {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: var(--transition);
}

.product-card:hover .product-card-image svg {
  transform: scale(1.05);
}

.product-card-image .licensing-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  opacity: 0;
  transform: translateY(-8px);
  transition: var(--transition);
}

.product-card:hover .licensing-badge {
  opacity: 1;
  transform: translateY(0);
}

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

.product-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.product-card-body p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* --- Licensing Section --- */
.licensing {
  background: var(--color-white);
}

.licensing .section-title,
.licensing .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.licensing .section-subtitle {
  margin-bottom: 56px;
}

.licensing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.licensing-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--border-radius);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.licensing-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.licensing-card:nth-child(2) { transition-delay: 0.15s; }
.licensing-card:nth-child(3) { transition-delay: 0.3s; }

.licensing-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(72, 201, 176, 0.12);
}

.licensing-card .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.licensing-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.licensing-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.licensing-cta {
  text-align: center;
}

.licensing-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.licensing-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 12px 16px;
  background: var(--color-bg);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.licensing-benefit .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-text);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Contact Section --- */
.contact {
  background: var(--color-bg-alt);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.contact-info.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-info p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.contact-detail .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.contact-form.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(232, 93, 117, 0.1);
}

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

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

/* --- Footer --- */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-white);
}

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

.footer-links a {
  font-size: 0.85rem;
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  opacity: 0.6;
}

/* --- Animations --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .brand-story .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .brand-examples {
    order: -1;
  }

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

  .licensing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 60px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .licensing-benefits {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  .brand-examples {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .contact-form {
    padding: 24px;
  }
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.lightbox .close-btn {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lightbox .close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox .caption {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-family: var(--font-body);
  text-align: center;
  pointer-events: none;
}

@media (max-width: 480px) {
  .lightbox {
    padding: 12px;
  }

  .lightbox .close-btn {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}
