:root {
    --leaf-green: #4A7C59;
    --soft-sage: #A8C8A5;
    --cream-white: #FAF8F4;
    --warm-gray: #E0DFDA;
    --charcoal: #2A2A2A;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    --radius-full: 50%;

    --shadow-sm: 0 2px 8px rgba(74, 124, 89, 0.1);
    --shadow-md: 0 4px 16px rgba(74, 124, 89, 0.15);
    --shadow-lg: 0 8px 32px rgba(74, 124, 89, 0.2);

    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 1s cubic-bezier(0.4, 0, 0.2, 1);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--cream-white) 0%, var(--warm-gray) 50%, var(--soft-sage) 100%);
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 20% 30%, rgba(168, 200, 165, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(74, 124, 89, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(224, 223, 218, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-in {
    animation: fadeInUp 0.8s var(--transition-base) forwards;
    opacity: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p { margin-bottom: var(--space-sm); }

a {
    color: var(--leaf-green);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover { color: var(--soft-sage); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 1;
}

header {
    padding: var(--space-md) 0;
    background: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 124, 89, 0.1);
    position: relative;
    z-index: 100;
    transform-origin: top;
    animation: slideDown 0.6s var(--transition-base);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    color: var(--leaf-green);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all var(--transition-fast);
    position: relative;
    z-index: 99;
}

.logo::before {
    content: '🌿';
    font-size: 1.5em;
    animation: float 3s ease-in-out infinite;
}

.logo:hover {
    transform: translateY(-2px);
    color: var(--soft-sage);
}

nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-links {
    display: flex;
    gap: var(--space-xs);
    list-style: none;
}

.nav-links a {
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--leaf-green);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--leaf-green);
    background: rgba(168, 200, 165, 0.1);
}

.nav-links a:hover::after {
    width: 80%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-xs);
    background: transparent;
    border: none;
    z-index: 101;
    position: relative;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--leaf-green);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
    background: url("../gallery/hero-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 200, 165, 0.3) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    background: rgb(250, 248, 244, 0.6);
    padding: var(--space-lg);
}

.hero h1 {
    margin-bottom: var(--space-md);
    color: var(--leaf-green);
    animation: fadeInUp 1s var(--transition-base);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--charcoal);
    margin-bottom: var(--space-lg);
    opacity: 0.9;
    animation: fadeInUp 1.2s var(--transition-base);
}

.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: var(--leaf-green);
    color: var(--cream-white);
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1.4s var(--transition-base);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: all var(--transition-base);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--soft-sage);
    color: var(--charcoal);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--leaf-green);
    color: var(--leaf-green);
}

.btn-secondary:hover {
    background: var(--leaf-green);
    color: var(--cream-white);
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    color: var(--leaf-green);
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--charcoal);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
    background: rgba(250, 248, 244, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(74, 124, 89, 0.1);
}



.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    opacity: 1;
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    transition: transform var(--transition-base);
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card h3 {
    color: var(--leaf-green);
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.card p {
    color: var(--charcoal);
    opacity: 0.8;
    font-size: 0.95rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-meta {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin: var(--space-sm) 0;
}

.badge {
    padding: 0.3rem 0.6rem;
    background: rgba(168, 200, 165, 0.2);
    color: var(--leaf-green);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--leaf-green);
    margin-top: auto;
    padding-top: var(--space-sm);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid rgba(74, 124, 89, 0.2);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--charcoal);
    background: rgba(250, 248, 244, 0.8);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--leaf-green);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
    background: var(--cream-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    cursor: pointer;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: var(--space-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info {
    background: rgba(250, 248, 244, 0.9);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.contact-item:hover {
    background: rgba(168, 200, 165, 0.1);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--leaf-green);
    font-size: 1.5rem;
    min-width: 30px;
}

.contact-item-content h4 {
    color: var(--leaf-green);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-item-content p {
    color: var(--charcoal);
    opacity: 0.8;
    margin: 0;
}

.thankyou-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thankyou-content {
    background: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    animation: fadeInUp 0.8s var(--transition-base);
}

.thankyou-icon {
    font-size: 5rem;
    margin-bottom: var(--space-md);
    animation: pulse 2s ease-in-out infinite;
}

.error-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-content {
    max-width: 600px;
}

.error-number {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    color: var(--soft-sage);
    line-height: 1;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.legal-page {
    padding: var(--space-xl) 0;
}

.legal-content {
    background: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-content h2 {
    color: var(--leaf-green);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
}

.legal-content h3 {
    color: var(--leaf-green);
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
}

.home-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--leaf-green);
    color: var(--cream-white);
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-bottom: var(--space-md);
    transition: all var(--transition-fast);
}

.home-button:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
    background: rgba(250, 248, 244, 0.5);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

th, td {
    padding: var(--space-sm);
    text-align: left;
    border-bottom: 1px solid rgba(74, 124, 89, 0.1);
}

th {
    background: rgba(168, 200, 165, 0.2);
    color: var(--leaf-green);
    font-weight: 600;
}

tr:hover {
    background: rgba(168, 200, 165, 0.05);
}

footer {
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(10px);
    color: var(--cream-white);
    padding: var(--space-lg) 0 var(--space-md);
    margin-top: var(--space-xl);
    border-top: 3px solid var(--leaf-green);
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    list-style: none;
}

.footer-links a {
    color: var(--soft-sage);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--soft-sage);
    transition: width var(--transition-fast);
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: var(--space-sm);
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s var(--transition-fast);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: var(--cream-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s var(--transition-base);
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.popup-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: var(--leaf-green);
    color: var(--cream-white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.popup-close:hover {
    background: var(--soft-sage);
    transform: rotate(90deg);
}

.popup-content h2 {
    color: var(--leaf-green);
    margin-bottom: var(--space-md);
}

.popup-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.category-grid {
    margin-top: var(--space-md);
}

.category-card {
    text-align: center;
    padding: var(--space-lg);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .logo{
        font-size: 1.2rem;
    }

    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        display: none;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(250, 248, 244, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--space-xl) var(--space-md);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-base);
        z-index: 99;
    }

    .nav-links.active {
        right: 0;
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: left;
        padding: var(--space-sm);
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 70vh;
        padding: var(--space-lg) 0;
    }

    .section {
        padding: var(--space-lg) 0;
    }

    .map-container {
        height: 300px;
    }

    .popup-content {
        margin: var(--space-md);
        max-height: 90vh;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .hero {
        min-height: 60vh;
    }

    .card-img {
        height: 180px;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

@media (min-width: 769px) {
    .card {
        animation: fadeInUp 0.8s var(--transition-base) backwards;
    }

    .card:nth-child(1) { animation-delay: 0.1s; }
    .card:nth-child(2) { animation-delay: 0.2s; }
    .card:nth-child(3) { animation-delay: 0.3s; }
    .card:nth-child(4) { animation-delay: 0.4s; }
    .card:nth-child(5) { animation-delay: 0.5s; }
    .card:nth-child(6) { animation-delay: 0.6s; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}