:root {
    --color-bg: #fdfaf6;
    --color-primary: #5c1a25; /* Dark Red / Burgundy */
    --color-primary-light: #7a2c3a;
    --color-secondary: #54624b; /* Dark Olive Green */
    --color-text-dark: #332b26;
    --color-text-light: #6e645e;
    --color-border: #e6dfd5;
    --color-white: #ffffff;
    --color-cream: #f4ede4;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

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

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

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text-dark);
}

.text-light {
    color: var(--color-white) !important;
}

/* Animations */
.scroll-anim {
    opacity: 0;
    will-change: transform, opacity;
}

.fade-in {
    transform: translateY(0);
}

.fade-in-up {
    transform: translateY(40px);
}

.fade-in-down {
    transform: translateY(-40px);
}

.slide-in-left {
    transform: translateX(-50px);
}

.slide-in-right {
    transform: translateX(50px);
}

.is-visible {
    opacity: 1;
    transform: translate(0) !important;
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Buttons */
.btn {
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-dark);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-cream);
}

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

.btn-light:hover {
    background-color: var(--color-cream);
    transform: translateY(-2px);
}

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

.btn-light-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.explore-link {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.explore-link i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.explore-link:hover i {
    transform: translateX(5px);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 5%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-logo-box {
    width: 60px;
    height: 60px;
    border: 2px dashed rgba(74, 59, 50, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-text-dark);
}

.logo-img {
    height: 90px;
}

/* Hero Section */
.hero {
    display: flex;
    padding: 100px 5% 60px 10%;
    min-height: 90vh;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 10;
    max-width: 500px;
}

.hero .subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #a58356; /* Gold-ish */
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.hero .subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: #a58356;
}

.hero .title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero .description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 55%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%);
    mask-image: linear-gradient(to right, transparent, black 15%);
}

.curved-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Features Bar */
.features-bar {
    display: flex;
    justify-content: space-between;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 25px 8%;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
    opacity: 0.8;
}

.feature-text h5 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Collections */
.collections {
    padding: 80px 5%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: #a58356;
}

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

.collection-card {
    text-align: center;
    cursor: pointer;
}

.collection-card:hover .img-wrapper img {
    transform: scale(1.05);
}

.collection-card .img-wrapper {
    overflow: hidden;
    margin-bottom: 20px;
    background-color: var(--color-cream);
    aspect-ratio: 1;
}

.collection-card .img-wrapper.dome {
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collection-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.collection-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Gourmet Banner */
.gourmet-banner {
    display: flex;
    background-color: var(--color-primary);
    margin: 40px 5%;
    align-items: center;
    overflow: hidden;
}

.banner-content {
    flex: 1;
    padding: 60px;
}

.banner-content .subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.banner-content .title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.banner-content .description {
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner-image {
    flex: 1;
    height: 100%;
    min-height: 400px;
}

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

/* Artisan Stories */
.artisan-stories {
    padding: 80px 5%;
    display: flex;
    gap: 40px;
}

.stories-header {
    flex: 0 0 250px;
}

.stories-header h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.stories-header p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.stories-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.story-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.story-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.story-card .img-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

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

.story-text h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.story-text p {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Favorites & Seasonal */
.favorites-seasonal {
    padding: 40px 5%;
    display: flex;
    gap: 30px;
}

.favorites-section {
    flex: 2;
}

.seasonal-section {
    flex: 1;
    background-color: var(--color-secondary);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    overflow: hidden;
}

.favorites-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.favorites-marquee {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
}

.favorites-marquee:hover {
    animation-play-state: paused;
}

.favorites-marquee .product-card {
    min-width: 300px;
    width: 300px;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

.product-card {
    background-color: var(--color-cream);
    padding: 15px;
    transition: var(--transition-smooth);
}

.product-card:hover {
    background-color: var(--color-white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 15px;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.product-details h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-details p {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.product-details .price {
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-btn {
    background: transparent;
    border: 1px solid #dcd3c6;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cart-btn i {
    width: 16px;
    height: 16px;
    stroke: var(--color-text-dark);
}

.cart-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.cart-btn:hover i {
    stroke: var(--color-white);
}

.seasonal-content {
    position: relative;
    z-index: 2;
}

.seasonal-content .subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.seasonal-content .title {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.seasonal-content p {
    font-size: 0.9rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.seasonal-img {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 70%;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1;
}

/* Testimonials */
.testimonials {
    padding: 60px 5%;
}

.testimonials .section-header.center {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.testimonials .section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.quote-icon {
    margin-top: 15px;
    width: 32px;
    height: 32px;
    stroke: #a58356;
    opacity: 0.5;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    text-align: center;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .author {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.testimonial-card .stars {
    color: #a58356;
    font-size: 0.9rem;
}

/* Circle Banner */
.circle-banner {
    display: flex;
    background-color: var(--color-primary);
    margin: 40px 5%;
    padding: 40px;
    align-items: center;
    justify-content: space-between;
}

.circle-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.circle-logo {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-white);
}

.circle-text .subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.circle-text h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.circle-text p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.circle-features {
    display: flex;
    gap: 30px;
}

.cf-item {
    text-align: center;
    color: var(--color-white);
}

.cf-item i {
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
    opacity: 0.8;
    stroke-width: 1.5;
}

.cf-item span {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: var(--color-cream);
    padding: 80px 5% 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.footer-brand .address {
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons i {
    width: 20px;
    height: 20px;
    stroke: var(--color-text-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.social-icons i:hover {
    stroke: var(--color-primary);
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

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

.footer-newsletter h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-newsletter p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.subscribe-form {
    display: flex;
    border-bottom: 1px solid var(--color-text-dark);
}

.subscribe-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}

.subscribe-form button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.subscribe-form button i {
    width: 18px;
    height: 18px;
    stroke: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .hero .title { font-size: 3.5rem; }
    .collections-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: repeat(3, 1fr); }
    .circle-banner { flex-direction: column; text-align: center; gap: 30px; }
}

@media (max-width: 900px) {
    .hero { flex-direction: column; padding-top: 120px; text-align: center; }
    .hero-content { margin: 0 auto; margin-bottom: 40px; }
    .hero-buttons { justify-content: center; }
    .hero-image { position: relative; width: 100%; height: 400px; }
    .hero-image img { mask-image: none; -webkit-mask-image: none; }
    
    .features-bar { flex-direction: column; gap: 20px; align-items: center; text-align: center; }
    
    .gourmet-banner { flex-direction: column; }
    .banner-image { width: 100%; }
    
    .artisan-stories { flex-direction: column; }
    .stories-header { text-align: center; }
    .stories-grid { grid-template-columns: 1fr; }
    
    .favorites-seasonal { flex-direction: column; }
    .favorites-grid { grid-template-columns: 1fr; }
    .seasonal-img { position: relative; width: 100%; bottom: 0; right: 0; border-radius: 10px; margin-top: 20px; box-shadow: none; }
    
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .collections-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .subscribe-form { margin: 0 auto; max-width: 300px; }
    .social-icons { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}
