/* CSS Design System */
:root {
    --bg-cream: #F9F8F4;
    --bg-sage: #E6EBE0;
    --text-charcoal: #333333;
    --primary-green: #4A5D44;
    --primary-green-light: #667866;
    --primary-green-dark: #2c3629;
    --accent-terracotta: #C07A5F;
    --white: #ffffff;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);

    --container-width: 1200px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-charcoal);
    background-color: var(--bg-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-sage);
}

.section-subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.italic {
    font-style: italic;
    font-weight: 400;
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(249, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#main-nav.scrolled {
    height: 70px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    #main-nav.scrolled .logo {
        font-size: 1.1rem;
        gap: 0.1rem;
    }

    #main-nav.scrolled .nav-logo-img {
        transform: scale(0.8);
    }

    .nav-container {
        padding: 0px 1.1rem !important;
    }
}

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

    span {
        line-height: 1.2;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-logo-img {
    height: 60px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-terracotta);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-charcoal);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
    position: relative;
    color: var(--white);
    padding-top: var(--nav-height);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(5px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;

    span.italic {
        font-size: 2.5rem;
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--accent-terracotta);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(192, 122, 95, 0.3);
}

.btn-secondary {
    background-color: var(--primary-green-dark);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-green-light);
}

.btn-product {
    display: block;
    text-align: center;
    padding: 0.8rem;
    border: 1.5px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    width: 100%;
}

.btn-product.link-small {
    padding: 0.6rem;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.product-links {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 1rem;
}

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

/* Mission Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.mission-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.rounded-img {
    border-radius: 4px;
    box-shadow: var(--shadow);
}

/* Collections Section */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: var(--transition);
    transform: translateX(-50%);
}

.tab-btn.active {
    color: var(--text-charcoal);
}

.tab-btn.active::after {
    width: 60%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: grid;
}

.product-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-img-slider-container {
    position: relative;
    height: 350px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.product-img-slider {
    display: flex;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.product-img-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.product-img-slider img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
    transition: var(--transition);
}

.product-card:hover .product-img-slider img {
    transform: scale(1.05);
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .slider-nav {
    opacity: 1;
}

.slider-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    color: var(--primary-green);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--white);
    color: var(--accent-terracotta);
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    pointer-events: none;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    width: 12px;
    border-radius: 4px;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.price {
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
}

/* Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.impact-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.impact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.impact-card p {
    color: #666;
}

/* Footer */
footer {
    background-color: var(--primary-green);
    color: var(--bg-cream);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 50%;
    filter: brightness(1.1);
}

.footer-brand p {
    opacity: 0.8;
}

.footer-newsletter h4,
.footer-links h4 {
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    font-family: var(--font-body);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
}

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

.social-links a {
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.social-links a i {
    font-size: 1.2rem;
    width: 20px;
}

.social-links a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Hero Buttons */
.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

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

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

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--bg-sage);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.process-step h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.process-step p {
    font-size: 0.95rem;
    color: #666;
}

/* Catalogue Page Styles */
.catalogue-header {
    padding-top: 160px;
    padding-bottom: 80px;
    text-align: center;
}

.catalogue-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.catalogue-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #555;
    padding: 0 1rem;
}

.catalogue-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 1px solid var(--primary-green);
    background: transparent;
    color: var(--primary-green);
    border-radius: 40px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active {
    background: var(--primary-green);
    color: var(--white);
}

.filter-btn:hover:not(.active) {
    background: var(--bg-sage);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {

    .grid-2,
    .impact-grid {
        gap: 2rem;
    }

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

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--nav-height);
        flex-direction: column;
        background-color: var(--bg-cream);
        width: 100%;
        height: calc(100vh - var(--nav-height));
        padding: 4rem 2rem;
        gap: 2rem;
        text-align: center;
        transition: 0.5s;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .mission-image {
        order: -1;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 2rem auto;
    border: 1px dashed var(--bg-sage);
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.empty-state h3 {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.empty-state p {
    color: #666;
    line-height: 1.8;
}