/* ===== CSS Variables ===== */
:root {
    --color-white: #ffffff;
    --color-off-white: #faf9f7;
    --color-beige: #f5f0e8;
    --color-gray: #6b6b6b;
    --color-dark-gray: #2d2d2d;
    --color-black: #1a1a1a;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
    background: var(--color-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition), opacity var(--transition);
}

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
}

.logo-icon {
    font-size: 1.25rem;
    color: var(--color-black);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-black);
}

.nav-menu a:hover {
    opacity: 0.7;
}

.amazon-shop-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-black);
}

.amazon-shop-link:hover {
    opacity: 0.8;
}

.amazon-logo {
    height: 32px;
    width: auto;
    display: block;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-align: center;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
}

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

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

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

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

.btn-hero-dark {
    background: var(--color-black);
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-hero-dark:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.btn-dark {
    background: var(--color-black);
    color: var(--color-white);
    border: 2px solid var(--color-black);
}

.btn-dark:hover {
    background: var(--color-dark-gray);
    border-color: var(--color-dark-gray);
}

.btn-gray {
    background: var(--color-gray);
    color: var(--color-white);
    border: 2px solid var(--color-gray);
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Features Section ===== */
.features {
    background: var(--color-dark-gray);
    color: var(--color-white);
    padding: 4rem 2rem;
}

.features-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

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

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.feature-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ===== Featured Collections ===== */
.collections {
    padding: 5rem 2rem;
    background: var(--color-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}



.collections-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.collection-card {
    background: var(--color-white);
    overflow: hidden;
    border-radius: 4px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.5rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    min-height: 40px;
    overflow: hidden;
}

.card-content p {
    font-size: 0.8rem;
    color: var(--color-gray);
    line-height: 1.5;
    margin-bottom: 4rem;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

.card-content p:hover {
    -webkit-line-clamp: unset;
    overflow: visible;
    background: var(--color-white);
    z-index: 10;
    position: relative;
    padding-right: 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

.card-content .btn {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 5;
    width: auto;
    white-space: nowrap;
}

/* ===== Brand Story ===== */
.story {
    background: var(--color-beige);
    padding: 5rem 2rem;
}

.story-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image {
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
}

.story-content {
    padding: 1rem 0;
}

.story-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-gray);
    margin-bottom: 0.75rem;
}

.story-content h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.story-content p {
    margin-bottom: 1rem;
    color: var(--color-gray);
    line-height: 1.8;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.story-author span {
    font-size: 0.9rem;
    font-weight: 500;
}



/* ===== Footer ===== */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.footer-brand .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.footer-brand p {
    margin: 0.75rem 0 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
}

.social-links a:hover {
    color: var(--color-white);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column h4 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-column > div {
    display: flex;
    gap: 2rem;
}

.footer-column a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: var(--color-white);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    .nav-menu {
        display: none;
    }

    .story-container {
        grid-template-columns: 1fr;
    }

    .story-image {
        order: -1;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
