:root {
    --bg-color: #f4f1ea;
    /* Warm cream/off-white */
    --text-color: #2c2c2c;
    /* Soft charcoal */
    --primary-color: #6fa958;
    /* Custom Green */
    --primary-hover: #5a8a47;
    --secondary-color: #36611a;
    /* Fresh bright green */
    --card-bg: #ffffff;
    --font-main: 'Outfit', sans-serif;
    /* Keeping Outfit as it's clean, but could swap if needed */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Glassmorphism Utility */
.glass {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

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

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

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.5px;
    /* Tighter for a friendlier look */
    color: #1a1a1a;
}

.highlight {
    color: var(--primary-color);
    font-style: italic;
    /* A bit of personality */
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    /* Smoother transition */
    border-radius: 12px;
}

.navbar.scrolled {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}


.nav-links a.btn-primary {
    color: #fff;
    padding: 0.8rem 2rem;
    /* Ensure padding override if needed */
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    /* Softer, less techy corners */
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
    display: inline-block;
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--text-color);
    margin-left: 1rem;
    transition: all 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--text-color);
    color: #fff;
}

/* Hero Section */
.hero {
    height: 90vh;
    /* Slightly less imposing */
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #e0e0e0;
    /* Fallback */
    /* Dynamic BG image set in JS or via update */
    background: url('images/bg.png') no-repeat center center/cover;
    padding-top: 100px;
    /* Add spacing below navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle gradient to help with white bg transition */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(244, 241, 234, 1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 3rem;
    color: var(--text-color);
    /* Glass Effect */
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    /* Dark text */
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    /* More space for buttons */
    font-weight: 500;
    color: #4a4a4a;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

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

/* Features / About Layout */
.section-padding {
    padding: 6rem 5%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: none;
    /* No borders, cleaner look */
}

.icon-glow {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
}

/* Location Section */
.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.location-info {
    padding: 4rem;
}

.location-info .address {
    font-size: 1.2rem;
    margin: 1rem 0 2rem;
    color: #444;
}

.hours h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.hours-list {
    list-style: none;
    margin-bottom: 2rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed #eee;
    padding-bottom: 0.5rem;
    color: #555;
}

.location-map {
    background: #dedede;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    font-size: 3rem;
    color: #999;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stars {
    color: #f1c40f;
    font-size: 0.9rem;
}

.review-date {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.review-author {
    font-weight: 700;
    color: var(--text-color);
    text-align: right;
}

/* Footer */
.footer {
    padding: 4rem 0;
    background: #fff;
    margin-top: 4rem;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-color);
    margin-left: 1.5rem;
    font-size: 1.2rem;
    transition: color 0.3s;
}

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

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

    /* Navbar Mobile Fix */
    .navbar {
        width: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo img {
        height: 40px !important;
        /* Smaller logo on mobile */
        margin-right: 8px !important;
    }

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

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .location-wrapper {
        grid-template-columns: 1fr;
    }

    .location-info {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .social-links {
        margin-top: 0.5rem;
    }
}

/* Utility */
.text-center {
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.modal-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

/* Highlighted image in modal */
.modal-grid img.highlight-view {
    border: 4px solid var(--primary-color);
    transform: scale(1.02);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
    cursor: pointer;
    /* Clickable indication */
}

.gallery-item:hover {
    transform: scale(1.02);
}

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

/* Image Slider Modal (Fullpage) */
.slider-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.slider-modal.active {
    display: flex;
}

.slider-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 90%;
}

.slider-image-container {
    max-width: 85%;
    max-height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-image-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.slider-prev,
.slider-next {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    padding: 2rem;
    transition: transform 0.2s, color 0.2s;
    user-select: none;
}

.slider-prev:hover,
.slider-next:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.close-slider {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 3001;
    transition: color 0.2s;
}

.close-slider:hover {
    color: var(--primary-color);
}

.slider-counter {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: 600;
}