/* Storefront Design System - Vanilla CSS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary-green: #1b3a24;
    --primary-green-hover: #142a1a;
    --accent-gold: #c5a880;
    --accent-gold-hover: #b3946b;
    --sand-bg: #fef4e7;
    --sand-light: #fdfaf5;
    --text-dark: #2c302e;
    --text-light: #fefefe;
    --border-color: #e8ded2;
    --white: #ffffff;
    --success-green: #2e7d32;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', sans-serif;
    
    --shadow-soft: 0 4px 20px rgba(27, 58, 36, 0.05);
    --shadow-medium: 0 10px 30px rgba(27, 58, 36, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .brand-title {
    font-family: var(--font-serif);
}

/* Header & Navigation */
.navbar {
    background-color: rgba(253, 250, 245, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-green);
}

.brand-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.brand-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.cart-trigger {
    background-color: var(--primary-green);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(27, 58, 36, 0.15);
}

.cart-trigger:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-1px);
}

.cart-badge {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 58, 36, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--sand-bg);
}

/* General Layout Section */
.section {
    padding: 100px 5%;
}

.section-title {
    font-size: 38px;
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 16px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 60px auto;
    font-weight: 500;
}

/* Promo Banner Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold);
}

.promo-card h3 {
    font-size: 22px;
    color: var(--primary-green);
}

.promo-card p {
    font-size: 14px;
    color: var(--text-dark);
}

/* About Us Section */
.story-container {
    background-color: var(--sand-bg);
    border-radius: 20px;
    padding: 60px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    border: 1px solid var(--border-color);
}

.story-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
    white-space: pre-line;
}

/* Garden Stories Card Slider/Grid */
.gardens-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1200px;
    margin: 60px auto 0 auto;
}

.garden-row {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.garden-row:nth-child(even) {
    flex-direction: row-reverse;
}

.garden-image {
    flex: 1;
    max-width: 500px;
    height: 330px;
    object-fit: cover;
    border-radius: 12px;
}

.garden-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.garden-content h4 {
    font-size: 24px;
    color: var(--primary-green);
}

.garden-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

.team-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s ease;
}

.team-card:hover {
    transform: translateY(-3px);
}

.team-card .name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-green);
}

.team-card .title {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card .desc {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Product Catalogue & Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.product-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
}

.product-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-green);
}

.product-card-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.product-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-green);
}

.product-card-desc {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.6;
    flex: 1;
}

.product-card-actions {
    margin-top: 8px;
}

.btn-add-cart {
    width: 100%;
    background-color: var(--primary-green);
    color: var(--text-light);
    border: none;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

/* Activity Registration Form & Grid */
.activity-booking-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-medium);
}

/* Shopping Cart Side Drawer Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(27, 58, 36, 0.5);
    z-index: 998;
    display: none;
}

.cart-overlay.open {
    display: block;
}

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

.cart-title {
    font-size: 20px;
    color: var(--primary-green);
    font-weight: 700;
}

.cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.cart-items {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-green);
}

.cart-item-price {
    font-size: 13px;
    color: var(--text-dark);
}

.cart-item-remove {
    color: var(--danger-color, #ef4444);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    align-self: flex-start;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--sand-light);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-green);
}

/* Alert styling for Shop */
.shop-alerts {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.shop-alert {
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

.shop-alert-success {
    background-color: var(--primary-green);
}

.shop-alert-error {
    background-color: #ef4444;
}

@keyframes slideIn {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Contact Info Styling */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 40px auto 0 auto;
}

.contact-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item h5 {
    font-size: 18px;
    color: var(--primary-green);
    font-weight: 700;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background-color: var(--primary-green);
    color: var(--text-light);
    text-align: center;
    padding: 40px 20px;
    font-size: 13px;
    border-top: 5px solid var(--accent-gold);
}

.footer p {
    margin-bottom: 8px;
}

.footer a {
    color: var(--accent-gold);
    text-decoration: none;
}
