:root {
    --emerald: #2e7d32;
    --sapphire: #1a237e;
    --ruby: #b71c1c;
    --plum: #4a148c;
    --teal: #004d40;
    --cream: #faf8f5;
    --charcoal: #2c2c2c;
    --soft-white: #ffffff;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 3rem;
}

body {
    font-family: 'Lora', serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--charcoal);
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
                url('/assets/lorem-ipsum/main.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}

.header {
    background-color: var(--soft-white);
    padding: var(--spacing-md) var(--spacing-sm);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--emerald), var(--teal), var(--sapphire));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.nav-links a {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.nav-links a:hover {
    color: var(--emerald);
    transform: translateY(-2px);
}

.hero {
    position: relative;
    padding: var(--spacing-xl) var(--spacing-sm);
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
                url('/assets/lorem-ipsum/main.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--soft-white);
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    font-style: italic;
    opacity: 0.95;
}

.main-content-card {
    background: var(--soft-white);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.4);
    margin-top: -60px;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 10;
}

.featured-product {
    padding: var(--spacing-xl) var(--spacing-sm);
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    flex-wrap: wrap;
}

.featured-image {
    flex: 1 1 500px;
    min-height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-info {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.featured-highlights {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    color: var(--emerald);
    font-weight: 500;
    margin: 0;
}

.featured-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 3rem;
    color: var(--charcoal);
    line-height: 1.2;
}

.featured-copy {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
}


.featured-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    color: var(--soft-white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 30px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start;
}

.featured-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

.collection {
    padding: var(--spacing-xl) var(--spacing-sm);
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--charcoal);
    position: relative;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--ruby), var(--plum));
    margin: var(--spacing-sm) auto 0;
    border-radius: 2px;
}

.products {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
}

.product-card {
    background: var(--soft-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.7s ease;
    flex: 1 1 300px;
    max-width: 400px;
}

.product-card:nth-child(1):hover { box-shadow: 0 12px 50px rgba(46, 125, 50, 0.5); }
.product-card:nth-child(2):hover { box-shadow: 0 12px 50px rgba(26, 35, 126, 0.5); }
.product-card:nth-child(3):hover { box-shadow: 0 12px 50px rgba(183, 28, 28, 0.5); }
.product-card:nth-child(4):hover { box-shadow: 0 12px 50px rgba(74, 20, 140, 0.5); }
.product-card:nth-child(5):hover { box-shadow: 0 12px 50px rgba(0, 77, 64, 0.5); }
.product-card:nth-child(6):hover { box-shadow: 0 12px 50px rgba(46, 125, 50, 0.5); }
.product-card:nth-child(7):hover { box-shadow: 0 12px 50px rgba(26, 35, 126, 0.5); }
.product-card:nth-child(8):hover { box-shadow: 0 12px 50px rgba(183, 28, 28, 0.5); }
.product-card:nth-child(9):hover { box-shadow: 0 12px 50px rgba(74, 20, 140, 0.5); }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.product-image {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.product-info {
    padding: var(--spacing-md);
}

.product-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.75rem;
    color: var(--charcoal);
    margin-bottom: var(--spacing-xs);
}

.product-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

.product-detail {
    padding: var(--spacing-xl) var(--spacing-sm);
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.product-gallery {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.product-main-image {
    width: 100%;
    height: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-start;
}

.thumbnail {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--emerald);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.product-detail-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 3rem;
    color: var(--charcoal);
    line-height: 1.2;
}

.product-detail-copy {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.product-features-section h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: var(--spacing-sm);
}

.product-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.product-features-list li {
    font-size: 1.1rem;
    color: var(--emerald);
    padding-left: var(--spacing-md);
    position: relative;
}

.product-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.product-meta {
    padding: var(--spacing-md);
    background-color: var(--soft-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-note {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.related-products {
    padding: var(--spacing-xl) var(--spacing-sm);
    max-width: 1400px;
    margin: 0 auto;
}

.stockists {
    padding: var(--spacing-xl) var(--spacing-sm);
    color: var(--soft-white);
}

.stockists .section-title {
    color: var(--soft-white);
}

.stockists .section-title::after {
    background: var(--soft-white);
}

.stockist-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
}

.stockist-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-align: center;
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.stockist-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.stockist-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.85rem;
    margin-bottom: var(--spacing-xs);
}

.stockist-location {
    font-size: 1.1rem;
    opacity: 0.9;
    font-style: italic;
}

.about {
    padding: var(--spacing-xl) var(--spacing-sm);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
}

.footer {
    color: var(--soft-white);
    text-align: center;
    padding: var(--spacing-md);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
    }

    .nav {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .nav-links {
        justify-content: center;
        gap: var(--spacing-sm);
    }

    .hero {
        min-height: 50vh;
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .featured-container {
        flex-direction: column;
    }

    .featured-image {
        min-height: 400px;
    }

    .featured-name {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .product-card {
        flex: 1 1 100%;
        max-width: 500px;
    }

    .product-detail-container {
        flex-direction: column;
    }

    .product-main-image {
        height: 400px;
    }

    .product-detail-name {
        font-size: 2.2rem;
    }

    .stockist-card {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .featured-name {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .product-name {
        font-size: 1.3rem;
    }

    .product-detail-name {
        font-size: 1.8rem;
    }

    .stockist-name {
        font-size: 1.5rem;
    }

    .product-thumbnails {
        overflow-x: auto;
    }

    .thumbnail {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }
}
