/* CSS Variables */
:root {
    /* Brand Colors */
    --color-primary: #27301f;
    /* Main dark green */
    --color-primary-dark: #1e2517;
    /* Darker shade for hover */
    --color-secondary: #ebd3b8;
    /* Beige secondary */
    --color-accent: #ebd3b8;
    /* Accent color */

    /* Base Colors */
    --color-dark: #27301f;
    --color-light: #f6efe7;
    --color-text: #27301f;
    --color-text-light: #5f6b55;
    --color-white: #ffffff;
    --color-border: #e4dccf;

    /* Fonts & Effects (unchanged) */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(39, 48, 31, 0.15);
    --shadow-lg: 0 10px 40px rgba(39, 48, 31, 0.2);
}


/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--color-white);
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 30px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: #27301f;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-accent);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    color: var(--color-accent);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
    z-index: 2;
}

.hero-slide-content h1 {
    font-size: 5rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-slide-content h2 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-nav {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 10;
}

.hero-nav-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-white);
    z-index: 10;
}

.hero-scroll span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    opacity: 0.7;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    margin: 0 auto;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 20px;
        opacity: 0.3;
    }
}

/* Introduction Section */
.intro {
    padding: 100px 0;
    background: var(--color-white);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-decoration {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.leaf {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    opacity: 0.3;
    border-radius: 0 50% 0 50%;
}

.leaf.left {
    transform: rotate(-45deg);
}

.leaf.right {
    transform: rotate(135deg);
}

.intro-text {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--color-text-light);
}

.intro-text strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* Section Styles */
.section-title {
    font-size: 2.8rem;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.section-title span {
    color: var(--color-primary);
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: fit-content;
    line-height: 1.8;
    margin: 0 auto 40px;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

/* Journey Section */
.journey {
    padding: 100px 0;
    background: var(--color-light);
}





/* Story Section */
.story {
    padding: 100px 0;
    background: var(--color-white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-images {
    position: relative;
    height: 500px;
}

.story-img-wrapper {
    position: absolute;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.story-img-wrapper:hover {
    transform: scale(1.02);
}

.story-img-wrapper.main {
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
}

.story-img-wrapper.secondary {
    width: 45%;
    height: 40%;
    bottom: 0;
    right: 0;
}

.story-img-wrapper.tertiary {
    width: 35%;
    height: 30%;
    bottom: 15%;
    left: 40%;
    z-index: 2;
}

.story-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    text-align: justify;
}

.story-content h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 30px 0 15px;
}

.story-content p {
    color: var(--color-text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Menu Section */
.menu {
    padding: 100px 0;
    background: var(--color-light);
    overflow: hidden;
}

.menu-carousel {
    margin-top: 50px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-border);
}

.menu-carousel::-webkit-scrollbar {
    height: 8px;
}

.menu-carousel::-webkit-scrollbar-track {
    background: var(--color-border);
    border-radius: 4px;
}

.menu-carousel::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

.menu-track {
    display: flex;
    gap: 30px;
    padding: 0 20px;
    min-width: max-content;
}

.menu-item {
    min-width: 250px;
    text-align: center;
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-10px);
}

.menu-item-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 5px solid var(--color-white);
}

.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item:hover .menu-item-img img {
    transform: scale(1.1);
}

.menu-item h3 {
    font-size: 1.3rem;
    color: var(--color-dark);
}

/* Quality Section */
.quality {
    padding: 100px 0;
    background: var(--color-white);
}

.quality-grid {
    display: grid;
    grid-template-columns: 1.0fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.quality-content p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.quality-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 420px;
}

.quality-img {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.quality-img:first-child {
    grid-column: span 2;
}

.quality-img:hover {
    transform: scale(1.02);
}

.quality-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
}

/* Philosophy Section */
.philosophy {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.philosophy-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    opacity: 0.05;
    z-index: -1;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-text {
    margin-top: 40px;
}

.philosophy-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

/* Locations Section */
.locations {
    padding: 100px 0;
    background: var(--color-light);
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: var(--color-white);
}

.reviews-carousel {
    position: relative;
    margin-top: 50px;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: calc(33.333% - 20px);
    background: var(--color-light);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.review-rating {
    margin-bottom: 15px;
}

.star {
    color: var(--color-accent);
    font-size: 1.2rem;
}

.review-card h3 {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.review-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.author-name {
    font-weight: 600;
    color: var(--color-dark);
}

.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.reviews-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--color-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info p {
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-accent);
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--color-white);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links ul a:hover {
    color: var(--color-accent);
}

.footer-logos {
    display: flex;
    gap: 20px;

}

.footer-logos a {
    height: 150px;
    width: 150px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .story-grid,
    .quality-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .story-content {
        text-align: center;
    }

    .story-images {
        height: 400px;
        order: -1;
    }

    .quality-images {
        margin: 0 auto;
    }

    /* Center Story headings on mobile only */
    @media (max-width: 768px) {

        .story .section-title,
        .contact-info h2,
        .story h3,
        .story-content {
            text-align: center;
        }

    }

    .contact-info h2 {
        text-align: center;
    }

    .contact-info p {
        text-align: center;
    }

    .quality-content {
        text-align: center;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-card {
        min-width: calc(50% - 15px);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .quality {
        text-align: center;
    }

    .quality-images {
        /* align-items: center; */
        margin-top: 30px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-dark);
        flex-direction: column;
        padding: 100px 40px;
        gap: 25px;
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .hero-slide-content h1 {
        font-size: 3rem;
    }

    .hero-slide-content h2 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        min-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logos {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-slide-content h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .timeline-item {
        min-width: 150px;
    }

    .menu-item {
        min-width: 200px;
    }

    .menu-item-img {
        width: 200px;
        height: 200px;
    }

    .contact-form {
        padding: 25px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}






/* Founders Section Layout */
.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.founders-content p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: justify;
}

.founders-image {
    border-radius: 15px;
    max-width: 480px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.founders-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Responsive – ONLY founders */
@media (max-width: 1024px) {
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .founders-content p {
        text-align: center;
    }

    .founders-image {
        order: -1;
        margin: 0 auto;
        text-align: centerF;

        /* image on top for tablet */
    }
}

@media (max-width: 768px) {
    .founders-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .founders-image {
        max-width: 100%;
        margin: 0 auto;
    }
}





/* ---------- FOOTER RESPONSIVE FIX ---------- */

/* Medium Desktop Fix */
@media (max-width: 1280px) {
    .footer-content {
        grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
        gap: 40px;
    }

    .footer-logo img {
        max-width: 120px;
    }
}




/* Tablet */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-logo {
        justify-content: flex-start;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
    }

    .footer-brand {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links ul {
        padding: 0;
    }

    .footer-logo {
        justify-content: center;
        margin: 0 auto;
    }

    .footer-logo img {
        max-width: 120px;
        height: auto;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .footer {
        padding: 60px 0 25px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* Fix large gap before footer on desktop */
@media (min-width: 1024px) {
    .contact {
        padding-bottom: 60px;
    }

    .footer {
        margin-top: 0;
    }
}