:root {
    --primary-green: #2e8b57;
    --bright-green: #3cb371;
    --light-green: #90ee90;
    --gold: #ffd700;
    --cream: #fffdd0;
    --dark-brown: #5c4033;
    --white: #ffffff;
    --black: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--cream);
    color: var(--dark-brown);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.top-bar {
    background-color: var(--dark-brown);
    color: var(--cream);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

.top-bar a {
    color: var(--gold);
    text-decoration: none;
    margin-left: 1rem;
}

.top-bar a:hover {
    text-decoration: underline;
}

.main-nav {
    background-color: var(--primary-green);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* New centered logo styling */
.logo-centered {
    text-align: center;
    padding: 20px 0;
    width: 100%;
}

.logo-centered img {
    height: 250px;
    width: auto;
    max-width: 100%;
    display: inline-block;
}

/* Adjust navigation layout */
.main-nav .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-menu {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 15px 0;
    background-color: var(--primary-green);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .logo-centered img {
        height: 200px;
    }

    .nav-menu {
        flex-wrap: wrap;
        padding: 10px;
    }

    .nav-menu li {
        margin: 5px;
    }
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    margin-right: 10px;
}

.logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    position: relative;
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--gold);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    list-style: none;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    margin: 0;
    border-bottom: 1px solid #eee;
}

.dropdown-menu a {
    color: var(--dark-brown);
    display: block;
    padding: 0.8rem 1rem;
}

.dropdown-menu a:hover {
    background-color: var(--light-green);
    color: var(--dark-brown);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--gold);
    color: var(--dark-brown);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--bright-green);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--dark-brown);
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--gold);
    color: var(--dark-brown);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    color: var(--dark-brown);
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0.5rem 0;
}

.add-to-cart {
    width: 100%;
    padding: 0.6rem;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: var(--bright-green);
}

/* Cart Dropdown */
.cart-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    width: 350px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}

.cart-dropdown.show {
    display: block;
}

.cart-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 15px;
}

.cart-total {
    padding: 15px;
    font-weight: bold;
    text-align: right;
    border-top: 1px solid #eee;
}

/* About Page */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
}

.about-content {
    padding: 4rem 0;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: var(--dark-brown);
    color: var(--cream);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--gold);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--gold);
    color: var(--dark-brown);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}
/* Products Pages */
.products-header {
    background-color: var(--primary-green);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.products-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.products-grid .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.no-products {
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-info {
    background-color: var(--light-green);
    padding: 2rem;
    border-radius: 8px;
}

.contact-details li, .business-hours li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-details i, .business-hours i {
    margin-right: 1rem;
    color: var(--primary-green);
    width: 20px;
    text-align: center;
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
}


.form-submit {
    margin-top: 2rem;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    background: #4CAF50;
    color: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transform: translateX(200%);
    transition: transform 0.3s ease;
    z-index: 1000;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: #f44336;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Prevent double clicks */
.add-to-cart {
    pointer-events: auto;
}

.add-to-cart[disabled] {
    opacity: 0.7;
    pointer-events: none;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    color: white;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.3s ease;
    max-width: 300px;
}

.notification.success {
    background: #4CAF50;
    opacity: 1;
    transform: translateY(0);
}

.notification.error {
    background: #F44336;
    opacity: 1;
    transform: translateY(0);
}

.notification.fade-out {
    opacity: 0;
    transform: translateY(-30px);
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Cart Count */
.cart-count {
    background: #f44336;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8em;
    margin-left: 5px;
}

/* Button Loading State */
.btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.payment-methods {
    margin: 20px 0;
}
.method {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}
.method > div {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}
.method input[type="radio"]:checked ~ div {
    display: block;
}
.card-input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

/* Ripple effect for buttons */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Enhanced spinner */
.spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

/* Cart icon in header */
.cart-icon {
    transition: transform 0.3s ease;
    position: relative;
}

.cart-count {
    transition: transform 0.3s ease;
}

/* Product card hover effect */
.product-card {
    transition: all 0.3s ease, transform 0.5s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Add to your main stylesheet */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 4px;
    color: white;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-20px);
    animation: notificationIn 0.3s ease-out forwards;
}

.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #F44336;
}

@keyframes notificationIn {
    to { opacity: 1; transform: translateY(0); }
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

