/* ===========================
   CSS Variables & Base Styles
   =========================== */
:root {
    /* Colors */
    --color-primary: #1a4d2e;
    --color-secondary: #e67a22;
    --color-accent: #c9a03d;
    --color-bg-light: #fef9f0;
    --color-bg-dark: #0a0a0a;
    --color-text-dark: #1a1a1a;
    --color-text-light: #ffffff;
    --color-text-muted: #6b6b6b;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 20px rgba(201, 160, 61, 0.3);
}

/* 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);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

/* ===========================
   Typography
   =========================== */
.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.2;
}

.section__line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
    margin: 20px auto 0;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn--primary:hover {
    background-color: #143d24;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

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

.btn--outline:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn--gold {
    background: linear-gradient(135deg, var(--color-accent), #d4a942);
    color: var(--color-text-dark);
    font-weight: 600;
}

.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Shine effect */
.btn--shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.btn--shine:hover::before {
    left: 100%;
}

/* ===========================
   Header & Navigation
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-medium);
}

.header.scrolled {
    background-color: rgba(254, 249, 240, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    padding: 12px 0;
}

.header.scrolled .nav__logo,
.header.scrolled .nav__link,
.header.scrolled .nav__toggle svg {
    color: var(--color-primary);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-light);
    transition: var(--transition-fast);
}

.nav__list {
    display: flex;
    gap: 40px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle,
.nav__close {
    display: none;
    color: var(--color-text-light);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1542838132-92c53300491e?w=1920&h=1080&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.5) 0%,
        rgba(10, 10, 10, 0.7) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-text-light);
    padding: 0 24px;
}

.hero__subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero__description {
    font-size: 1.125rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    opacity: 0.7;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* Hero Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

/* ===========================
   Featured Products Section
   =========================== */
.featured {
    background-color: var(--color-bg-light);
}

.featured__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.featured__card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
    opacity: 0;
    transform: translateY(30px);
}

.featured__card.visible {
    opacity: 1;
    transform: translateY(0);
}

.featured__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--color-accent);
}

.featured__image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.featured__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.featured__card:hover .featured__image {
    transform: scale(1.08);
}

.featured__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--color-accent), #d4a942);
    color: var(--color-text-dark);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}

.featured__content {
    padding: 20px;
    text-align: center;
}

.featured__name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.featured__origin {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ===========================
   Products Catalogue Section
   =========================== */
.products {
    background-color: #fff;
}

.products__filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.filter__btn {
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background-color: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    transition: var(--transition-fast);
}

.filter__btn:hover,
.filter__btn.active {
    color: var(--color-text-light);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product__card {
    background-color: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-medium);
}

.product__card.hidden {
    display: none;
}

.product__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.product__image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.product__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.product__card:hover .product__image {
    transform: scale(1.05);
}

.product__quality {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background-color: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product__name {
    padding: 16px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
    text-align: center;
}

.products__more {
    text-align: center;
    margin-top: 50px;
}

.products__more .btn svg {
    transition: var(--transition-fast);
}

.products__more .btn:hover svg {
    transform: translateY(3px);
}

.products__more .btn.expanded svg {
    transform: rotate(180deg);
}

/* ===========================
   About Section
   =========================== */
.about {
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image-wrapper {
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-slow);
}

.about__image-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

.about__image {
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
}

.about__image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent);
    border-radius: 8px;
    z-index: -1;
}

.about__content {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-slow);
}

.about__content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 8px;
}

.about__line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
    margin: 20px 0 30px;
}

.about__text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.about__quote {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-primary);
    padding-left: 20px;
    border-left: 3px solid var(--color-accent);
    margin-top: 30px;
}

.about__quote cite {
    display: block;
    font-size: 0.875rem;
    font-style: normal;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    background-color: #fff;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition-slow);
}

.contact__info.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact__card {
    background-color: var(--color-bg-light);
    padding: 30px;
    border-radius: 8px;
}

.contact__card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.contact__hours {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact__hours li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8e8;
}

.contact__hours li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact__hours .closed {
    color: var(--color-secondary);
    font-weight: 500;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact__details svg {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact__details a:hover {
    color: var(--color-primary);
}

.contact__form-wrapper {
    opacity: 0;
    transform: translateX(30px);
    transition: var(--transition-slow);
}

.contact__form-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact__form {
    background-color: var(--color-bg-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.contact__form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 30px;
}

.form__group {
    margin-bottom: 24px;
}

.form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 160, 61, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__form .btn {
    width: 100%;
}

/* ===========================
   Newsletter Section
   =========================== */
.newsletter {
    background: linear-gradient(135deg, var(--color-primary), #0d3018);
    padding: 80px 0;
}

.newsletter__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.newsletter__text {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter__form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter__input {
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: #fff;
    border: none;
    border-radius: 4px;
    min-width: 280px;
}

.newsletter__input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 160, 61, 0.3);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 80px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.footer__slogan {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__schedule p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer__legal:hover {
    color: var(--color-accent);
}

.footer__photos {
    font-size: 0.75rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
}

/* ===========================
   Mobile Navigation
   =========================== */
@media screen and (max-width: 968px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--color-bg-light);
        padding: 80px 40px;
        transition: var(--transition-medium);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav__menu.active {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav__link {
        color: var(--color-text-dark);
        font-size: 1.25rem;
    }
    
    .nav__toggle,
    .nav__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }
    
    .nav__close {
        position: absolute;
        top: 20px;
        right: 20px;
        color: var(--color-text-dark);
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media screen and (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .featured__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about__grid {
        gap: 50px;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero {
        background-attachment: scroll;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .featured__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .products__filters {
        flex-wrap: wrap;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__image-wrapper {
        order: 1;
    }
    
    .about__content {
        order: 2;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter__wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter__form {
        width: 100%;
        flex-direction: column;
    }
    
    .newsletter__input {
        min-width: auto;
        width: 100%;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer__slogan {
        margin: 0 auto;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 12px;
    }
}

@media screen and (max-width: 480px) {
    .products__grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .contact__form {
        padding: 24px;
    }
    
    .filter__btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* ===========================
   Scroll Animations
   =========================== */
[data-aos] {
    opacity: 0;
    transition: var(--transition-slow);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos].visible {
    opacity: 1;
    transform: translate(0);
}
