/* ============================================
   Little Divisoria — Styles
   ============================================ */

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

:root {
  --charcoal: #1A1A2E;
  --charcoal-light: #2D2D44;
  --coral: #E8735A;
  --coral-light: #F49783;
  --coral-pale: #FDE8E3;
  --cream: #FDF6F0;
  --cream-dark: #F5EDE6;
  --sand: #F0E6DC;
  --white: #FFFFFF;
  --text: #2D2D44;
  --text-light: #6B6B80;
  --text-muted: #9999AA;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(26,26,46,0.06);
  --shadow-md: 0 4px 20px rgba(26,26,46,0.08);
  --shadow-lg: 0 8px 40px rgba(26,26,46,0.12);
  --shadow-coral: 0 4px 20px rgba(232,115,90,0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--charcoal);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: 14px;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-coral:hover {
  background: var(--coral-light);
  border-color: var(--coral-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-coral);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* --- Section Tags --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

/* --- Section Title --- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.text-coral { color: var(--coral); }

.section-desc {
  font-size: 17px;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-desc { margin: 0 auto; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253,246,240,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26,26,46,0.06);
  transition: all var(--transition);
}
.header.scrolled {
  background: rgba(253,246,240,0.95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
}
.logo:hover { color: var(--coral); }
.logo-icon { flex-shrink: 0; }

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 50px;
  transition: all var(--transition);
}
.main-nav a:hover {
  color: var(--coral);
  background: var(--coral-pale);
}

/* Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 50%, var(--coral-pale) 100%);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 25% 25%, var(--coral) 1px, transparent 1px),
                    radial-gradient(circle at 75% 75%, var(--charcoal) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 520px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--coral);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Cards */
.hero-cards {
  position: relative;
  height: 580px;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-card-main {
  width: 320px;
  height: 420px;
  top: 40px;
  right: 40px;
}
.hero-card-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(26,26,46,0.7), transparent);
}
.hero-card-tag {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}

/* Floating Cards */
.hero-float {
  position: absolute;
}
.hero-float-1 {
  bottom: 280px;
  left: 0;
}
.hero-float-2 {
  bottom: 160px;
  left: 20px;
}
.hero-float-3 {
  top: 60px;
  left: 20px;
}

.float-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}
.hero-float-1 .float-card { animation-delay: 0s; }
.hero-float-2 .float-card { animation-delay: 1.3s; }
.hero-float-3 .float-card { animation-delay: 2.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--coral-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-card-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}
.float-card-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* --- About --- */
.about {
  padding: 100px 0;
  background: var(--cream);
}

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-md);
}
.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  right: 40px;
  background: var(--coral);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-coral);
}
.about-exp-num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
}
.about-exp-text {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.about-content { max-width: 480px; }

.about-content > p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 16px;
}

.about-features {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--coral-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature strong {
  display: block;
  font-size: 15px;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.about-feature span {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Products --- */
.products {
  padding: 100px 0;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}
.product-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--coral);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.product-card-body {
  padding: 24px;
}
.product-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.product-card-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Gallery --- */
.gallery {
  padding: 100px 0;
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item-tall {
  grid-row: span 2;
}
.gallery-item-tall img { height: 100%; min-height: 380px; }

.gallery-item-wide {
  grid-column: span 2;
}
.gallery-item-wide img { height: 100%; min-height: 200px; }

/* --- Visit --- */
.visit {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
  color: var(--white);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.visit .section-tag { color: var(--coral-light); }
.visit .section-tag::before { background: var(--coral-light); }
.visit .section-title { color: var(--white); }
.visit .visit-desc {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.visit-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.visit-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(232,115,90,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.visit-detail strong {
  display: block;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 4px;
}
.visit-detail span,
.visit-detail a {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.visit-detail a:hover { color: var(--coral-light); }

/* Form */
.visit-form-wrap { max-width: 480px; }

.visit-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--text);
}
.visit-form-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.visit-form-sub {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 28px;
}

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

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--cream);
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--coral-pale);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: #E8F5E9;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--charcoal);
}
.form-success svg { flex-shrink: 0; }

/* --- Footer --- */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
}

.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand .logo:hover { color: var(--coral-light); }
.footer-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral-light);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a,
.footer-contact a {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--white); }
.footer-contact li {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}

/* --- Scroll Reveal --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: flex-start; }
  .hero-cards {
    height: 400px;
    max-width: 400px;
    margin: 0 auto;
  }
  .hero-card-main {
    width: 260px;
    height: 340px;
    right: 20px;
    top: 20px;
  }
  .hero-float-1 { bottom: 200px; left: 0; }
  .hero-float-2 { bottom: 100px; left: 10px; }
  .hero-float-3 { top: 30px; left: 10px; }

  .about-grid { gap: 60px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    padding: 100px 32px 40px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 999;
  }
  .main-nav.open { right: 0; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .main-nav a {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
  }
  .main-nav .btn-coral {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
  }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-cards { height: 320px; }
  .hero-card-main { width: 220px; height: 280px; }
  .float-card { padding: 12px 16px; }
  .float-card-num { font-size: 18px; }

  .about { padding: 60px 0; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-images { max-width: 400px; }
  .about-img-secondary {
    width: 150px;
    height: 150px;
    right: -10px;
    bottom: -20px;
  }

  .products { padding: 60px 0; }
  .products-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .gallery { padding: 60px 0; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item-tall { grid-row: span 1; }
  .gallery-item-tall img { min-height: 200px; }
  .gallery-item-wide { grid-column: span 2; }

  .visit { padding: 60px 0; }
  .visit-form-card { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer { padding: 40px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 90px 0 50px; }
  .hero-headline { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-cards { height: 260px; }
  .hero-card-main { width: 180px; height: 240px; right: 10px; top: 10px; }
  .hero-float-1 { bottom: 160px; left: 0; }
  .hero-float-2 { bottom: 70px; left: 0; }
  .hero-float-3 { top: 10px; left: 0; }
  .float-card { padding: 10px 14px; gap: 8px; }
  .float-card-icon { width: 32px; height: 32px; }
  .float-card-num { font-size: 16px; }
  .float-card-label { font-size: 11px; }
  .section-title { font-size: 28px; }
  .about-img-secondary { width: 120px; height: 120px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-wide { grid-column: span 1; }
}
