/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

/* CSS Variables - Teal Brand Colors */
:root {
    --primary-teal: #6EA49C;
    --dark-teal: #396663;
    --secondary-cream: #F5F5DC;
    --accent-light: #B8D4D1;
    --accent-warm: #E8F2F1;
    --text-dark: #2F2F2F;
    --text-light: #666;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

.logo-image {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--dark-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 0.65rem;
    text-align: center;
    line-height: 1.1;
    padding: 8px;
    font-family: Georgia, serif;
    position: relative;
}

.logo-image img {
	width: 250%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-light);
}

/* Cart Icon in Navigation */
.cart-icon {
    position: relative;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s;
}

.cart-icon:hover {
    background: rgba(255,255,255,0.2);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%236EA49C" width="1200" height="600"/><circle fill="%23396663" cx="200" cy="150" r="30" opacity="0.7"/><circle fill="%23B8D4D1" cx="800" cy="200" r="25" opacity="0.6"/><circle fill="%23E8F2F1" cx="400" cy="400" r="35" opacity="0.5"/><circle fill="%23F5F5DC" cx="900" cy="450" r="20" opacity="0.8"/></svg>');
    background-image: url("img/hero-min.jpg");
	background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Call-to-Action Button */
.cta-button {
    background: var(--dark-teal);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Section Styles */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 3rem;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-light);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    background: linear-gradient(45deg, var(--accent-light), var(--accent-light), var(--accent-warm));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-teal);
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-teal);
}

.add-to-cart-btn {
    background: var(--primary-teal);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: inherit;
}

.add-to-cart-btn:hover {
    background: var(--dark-teal);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    text-decoration: none;
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

/* Ensure link buttons look identical to actual buttons */
a.add-to-cart-btn:visited {
    color: white;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    background: var(--primary-teal);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.close-cart:hover {
    background: rgba(255,255,255,0.2);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: var(--accent-warm);
    margin-bottom: 0.5rem;
    border-radius: 8px;
}

.cart-item-info h4 {
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cart-item-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--primary-teal);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: var(--dark-teal);
}

.quantity-display {
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.remove-item {
    background: #ff4444;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.remove-item:hover {
    background: #cc0000;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--accent-light);
    background: var(--accent-warm);
}

.cart-total {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-teal);
    margin-bottom: 1rem;
    text-align: center;
}

.checkout-btn {
    width: 100%;
    background: var(--dark-teal);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 0.5rem;
}

.checkout-btn:hover {
    background: var(--primary-teal);
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.clear-cart-btn {
    width: 100%;
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.clear-cart-btn:hover {
    background: var(--text-light);
    color: white;
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.empty-cart p {
    margin-bottom: 1rem;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Testimonials Section */
.testimonials {
    background: var(--accent-warm);
    padding: 4rem 2rem;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-teal);
}

/* Order Form */
.order-form {
    background: linear-gradient(135deg, var(--accent-warm), white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem auto;
    max-width: 700px;
}

.order-form h3 {
    color: var(--primary-teal);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-teal);
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--accent-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cart-summary {
    background: var(--accent-warm);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.cart-summary h4 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.cart-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(110, 164, 156, 0.2);
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-teal);
    padding-top: 1rem;
    border-top: 2px solid var(--primary-teal);
    margin-top: 1rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--accent-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 1.2rem; /* Smaller title on mobile */
    }

    .logo-image {
        width: 50px; /* Slightly smaller logo image too */
        height: 50px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-teal);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        z-index: 200;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links a:hover {
        background: rgba(255,255,255,0.1);
    }

    .nav-right {
        gap: 1rem;
    }

    .cart-icon {
        /* Cart icon stays visible on mobile */
        position: relative;
    }

    header {
        position: sticky;
        top: 0;
        z-index: 150;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .product-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .add-to-cart-btn {
        width: 100%;
    }
}

/* Success Animation */
@keyframes addToCartSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.add-to-cart-btn.success {
    animation: addToCartSuccess 0.3s ease;
    background: #28a745 !important;
}