/* ============================================
   MODAS MIKAELA — Premium Stylesheet
   Complete Design System · 2026
   ============================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* ---------- Custom Properties ---------- */
:root {
    /* Palette */
    --color-bg: #faf8f5;
    --color-surface: #ffffff;
    --color-text: #2c2c2c;
    --color-text-soft: #6b6b6b;
    --color-text-muted: #999999;
    --color-accent: #b08968;
    --color-accent-dark: #8c6d50;
    --color-accent-light: #d4b896;
    --color-gold: #c9a96e;
    --color-border: #e8e3dd;
    --color-overlay: rgba(20, 18, 15, 0.55);
    --color-dark: #1c1a17;
    --color-dark-surface: #252320;
    --color-dark-border: #3a3835;
    --color-dark-text: #cccccc;
    --color-white: #ffffff;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', 'Segoe UI', sans-serif;

    /* Spacing */
    --gap: 1.8rem;
    --gap-lg: 3rem;
    --section-py: 6rem;
    --section-px: 2rem;

    /* Transitions */
    --ease-smooth: cubic-bezier(.4, 0, .2, 1);
    --ease-premium: cubic-bezier(.25, 1, .5, 1);
    --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);

    /* Shadows */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 20px 50px rgba(0, 0, 0, 0.14);
    --shadow-btn: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-btn-hover: 0 8px 24px rgba(0, 0, 0, 0.14);

    /* Radii */
    --radius: 12px;
    --radius-lg: 20px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 400;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.section-title em {
    color: var(--color-accent);
    font-style: italic;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-soft);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 2rem;
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 1.5px solid var(--color-text);
    border-radius: 50px;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    transition:
        background .3s var(--ease-smooth),
        color .3s var(--ease-smooth),
        border-color .3s var(--ease-smooth),
        transform .3s var(--ease-premium),
        box-shadow .3s var(--ease-smooth);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-hover);
}

.btn--filled {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.btn--filled:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(250, 248, 245, .85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, .04);
    transition: background .4s var(--ease-smooth), padding .4s var(--ease-smooth);
}

.header--scrolled {
    padding: .6rem 2rem;
    background: rgba(250, 248, 245, .96);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
}

.header__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: .04em;
    color: var(--color-text);
}

.header__logo span {
    color: var(--color-accent);
    font-style: italic;
}

.header__nav {
    display: none;
    gap: 2rem;
}

.header__nav a {
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-text-soft);
    position: relative;
    transition: color .3s var(--ease-smooth);
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-accent);
    transition: width .3s var(--ease-premium);
}

.header__nav a:hover {
    color: var(--color-accent);
}

.header__nav a:hover::after {
    width: 100%;
}

/* ---- Hamburger ---- */
.header__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.header__hamburger span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform .3s var(--ease-smooth), opacity .3s;
}

/* ---- Mobile Nav ---- */
.header__nav--open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, .98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--color-border);
    animation: navSlide .3s var(--ease-premium);
}

@keyframes navSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .header__nav {
        display: flex;
    }

    .header__hamburger {
        display: none;
    }
}

/* ========================================
   HANGER INTRO (LANDING)
   ======================================== */
.hanger-intro {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #0a0908;
}

.hanger-intro__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hanger-intro__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    padding: 2rem;
    background: radial-gradient(ellipse at center,
            rgba(10, 9, 8, 0.5) 0%,
            rgba(10, 9, 8, 0.82) 100%);
    opacity: 0;
    /* GSAP will animate this */
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

.hero__title em {
    color: var(--color-accent-light);
    font-style: italic;
    font-weight: 400;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    color: rgba(255, 255, 255, .75);
    max-width: 540px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    gap: var(--gap);
    justify-content: center;
    flex-wrap: wrap;
}

.hanger-intro .btn {
    border-color: rgba(255, 255, 255, .5);
    color: var(--color-white);
}

.hanger-intro .btn:hover {
    background: rgba(255, 255, 255, .1);
    border-color: var(--color-white);
}

.hanger-intro .btn--filled {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.hanger-intro .btn--filled:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}

/* Scroll hint */
.hanger-intro__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(255, 255, 255, .5);
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    animation: scrollPulse 2s ease-in-out infinite;
}

.hanger-intro__scroll-hint span {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .5), transparent);
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: .5;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(6px);
    }
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */
.categories {
    padding: var(--section-py) var(--section-px);
}

/* Sub-category heading */
.category-heading {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--color-accent-dark);
    letter-spacing: 0.04em;
    margin-top: 3.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.category-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--color-accent);
}

.category-heading:first-of-type {
    margin-top: 2rem;
}

/* Product grid */
.categories__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
    margin-bottom: 1rem;
}

@media (min-width: 500px) {
    .categories__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .categories__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Single-item grid — make it large & prominent */
.categories__grid--solo {
    max-width: 500px;
    grid-template-columns: 1fr;
}

.categories__grid--solo .category-card {
    aspect-ratio: 3/4;
}

/* Category card */
.category-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--color-border);
    box-shadow: var(--shadow-card);
    transition:
        transform .45s var(--ease-premium),
        box-shadow .45s var(--ease-premium);
}

.category-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-card-hover);
}

.category-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s var(--ease-premium);
}

.category-card:hover .category-card__img {
    transform: scale(1.07);
}

.category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(20, 18, 15, .65) 0%,
            rgba(20, 18, 15, .1) 40%,
            transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.6rem;
    transition: background .4s var(--ease-smooth);
}

.category-card:hover .category-card__overlay {
    background: linear-gradient(to top,
            rgba(20, 18, 15, .8) 0%,
            rgba(20, 18, 15, .2) 50%,
            transparent 70%);
}

.category-card__name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.category-card__count {
    font-size: .78rem;
    color: rgba(255, 255, 255, .65);
    letter-spacing: 0.06em;
    margin-top: 0.25rem;
    font-weight: 300;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: var(--section-py) var(--section-px);
    background: var(--color-surface);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
    align-items: center;
}

/* Text-only variant */
.about__inner--text-only {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about__text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    margin-bottom: 1.2rem;
}

.about__text h2 em {
    color: var(--color-accent);
    font-style: italic;
}

.about__text p {
    color: var(--color-text-soft);
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 1.8;
}

.about__text .btn {
    margin-top: 1rem;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
    padding: 5rem var(--section-px);
    background: var(--color-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle grain texture */
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%,
            rgba(176, 137, 104, .08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    color: var(--color-white);
    margin-bottom: .8rem;
}

.cta-banner p {
    color: var(--color-dark-text);
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn {
    border-color: var(--color-accent);
    color: var(--color-accent-light);
}

.cta-banner .btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* ========================================
   LOCATION SECTION
   ======================================== */
.location {
    padding: var(--section-py) var(--section-px);
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
}

/* Parallax Logo Background */
.location__logo-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
}

.location__logo-img {
    width: min(50vw, 400px);
    opacity: .04;
    filter: grayscale(1);
    will-change: transform;
}

.location__content {
    position: relative;
    z-index: 1;
}

.location__map-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
}

.location__map {
    width: 100%;
    height: 100%;
    border: none;
}

.location__info {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.location__address {
    color: var(--color-text-soft);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-dark-text);
    padding: 4rem 2rem 1.5rem;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-dark-border);
}

@media (min-width: 640px) {
    .footer__inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer__brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: .8rem;
}

.footer__brand span {
    color: var(--color-accent);
    font-style: italic;
}

.footer__desc {
    font-size: .9rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 280px;
}

.footer__col h4 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: .8rem;
}

.footer__col a {
    display: block;
    font-size: .85rem;
    font-weight: 300;
    color: var(--color-dark-text);
    margin-bottom: .5rem;
    transition: color .3s var(--ease-smooth);
}

.footer__col a:hover {
    color: var(--color-accent-light);
}

.footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    text-align: center;
    font-size: .78rem;
    font-weight: 300;
    color: var(--color-text-muted);
}

/* ========================================
   GSAP HELPERS
   ======================================== */
.gsap-fade-up {
    opacity: 0;
    transform: translateY(40px);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoGlow {

    0%,
    100% {
        filter: grayscale(1) brightness(.8);
        opacity: .04;
    }

    50% {
        filter: grayscale(.8) brightness(1);
        opacity: .06;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 767px) {
    .hero__title {
        font-size: clamp(2.4rem, 10vw, 4rem);
    }

    .hero__subtitle {
        font-size: .95rem;
    }

    .category-heading {
        font-size: 1.4rem;
        margin-top: 2.5rem;
    }

    .about__text h2 {
        font-size: 1.8rem;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .location__map-wrapper {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 480px) {
    .categories__grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        aspect-ratio: 3/4;
    }

    .hero__actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* ---------- Reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}