/* =========================
   Fonts
========================= */

@font-face {
  font-family: "Cinzel Decorative";
  src: url("fonts/CinzelDecorative-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel Decorative";
  src: url("fonts/CinzelDecorative-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* =========================
   CSS Variables
========================= */

:root {
  --bg: #ffffff;
  --text: #0f0f0f;
  --muted: #6b7280;
  --card: #f7f7f7;
  --border: #e5e7eb;
  --btn: #111827;
  --btnText: #ffffff;
}

/* =========================
   Base Styles
========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
}

/* =========================
   Header / Brand (Refined)
========================= */

.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px; /* 🔑 controls header height */
}

/* Logo sizing */
.site-logo {
  height: 72px; /* 🔑 desktop visual balance */
  width: auto;
  display: block;
}

@media (min-width: 1440px) {
  .site-logo {
    height: 72px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .header-inner {
    height: 76px;
  }

  .site-logo {
    height: 58px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .header-inner {
    height: 64px;
  }

  .site-logo {
    height: 44px;
  }
}

/* =========================
   Buttons – Luxury Feel
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  will-change: transform;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.btn.primary:hover {
  background: #000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn:not(.primary):hover {
  border-color: var(--text);
  background: rgba(0, 0, 0, 0.03);
}

/* =========================
   Hero
========================= */

.hero {
    display: flex;
  align-items: center;
  gap: 64px;
  padding: 80px 0 60px;
  animation: fadeUp 0.8s ease-out both;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  max-width: 18ch;
  margin-bottom: 20px;
}

.hero p {
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
  color: var(--muted);
}

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

.hero img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* =========================
   Hero – Editorial Image Crop
========================= */

.hero-with-media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

/* Hero image wrapper */
.hero-media {
  position: relative;
  height: 440px;           /* reduced for better balance */
  overflow: hidden;
  border-radius: 28px;
}

/* Editorial crop ONLY here */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* ✅ editorial crop */
  object-position: center 30%;
}

@media (max-width: 1024px) {
   .hero {
    padding: 64px 0 48px;
  }
  
  .hero-with-media {
    display: flex;               /* ⬅ switch OFF grid */
    flex-direction: column;
    gap: 32px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;                    /* ⬅ image above buttons */
    width: 100%;
    height: 380px;
    margin: 0;
  }

  .hero-actions {
    order: 3;
  }
}


@media (max-width: 560px) {
  .hero-media {
    height: 300px;
    border-radius: 22px;
  }

  .hero-image {
    object-position: center 20%;
  }
  .hero-actions {
    order: 2;
  }

  .hero-media {
    order: 3;
  }
}



/* =========================
   Sections
========================= */

.section {
  padding: 26px 0;
}

.section-title h2 {
  margin: 0;
}

.section-title p {
  margin: 6px 0 0;
  color: var(--muted);
}

/* =========================
   Typography
========================= */

h1,
h2,
h3,
.section-title h2 {
  font-family: "Cinzel Decorative", serif;
  letter-spacing: 0.08em;
}

.card h3 {
  margin: 0;
  font-size: 16px;
}

/* =========================
   Product Grid (FIXED)
========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 16px;

  /* 🔑 FIX: center grid exactly like before */
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   Product Image Harmony (Scalable)
========================= */

.card img {
  width: 100%;
  height: auto;               /* 🔑 allow natural image height */
  max-height: 420px; /* visual balance only */
  object-fit: contain;        /* show full bag */
  display: block;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;              /* breathing room instead of cropping */
}

/* =========================
   Card Hover – Editorial
========================= */

.card {
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  position: relative;
  padding: 6px;
  border-radius: 18px;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0)) border-box;

  transition:
    transform 0.45s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.45s cubic-bezier(.22,.61,.36,1);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.card:hover img {
  transform: scale(1.025);
}

/* =========================
   Card Typography Polish
========================= */

.card h3 {
  font-size: 15px;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.card .muted {
  font-size: 14px;
  line-height: 1.6;
}


/* =========================
   Footer
========================= */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Cinzel Decorative", serif;
  letter-spacing: 0.08em;
  font-size: 13px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer strong {
  font-weight: 700;
}

.contact {
  border-top: 1px solid var(--border);
}

/* =========================
   Responsive
========================= */

@media (max-width: 980px) {
  .card {
    grid-column: span 6;
  }

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

@media (max-width: 560px) {
  .card {
    grid-column: span 12;
  }

  .hero {
    padding: 56px 0 44px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 15px;
  }
}

/* =========================
   Animations
========================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}