/* style.css - with mobile image fixes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2C1810;
    background-color: #FAF6F0;
    line-height: 1.6;
}

h1, h2, h3, h4, .logo {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #FAF6F0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2C1810;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #D4A574;
}

.nav-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-icon {
    position: relative;
    color: #2C1810;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #D4A574;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    align-items: center;
    gap: 2rem;
    padding: 2rem 5%;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #2C1810;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #5C4033;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

/* Buttons */
.btn-primary {
    background: #8B5A2B;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
    cursor: pointer;
}

.btn-primary:hover {
    background: #6B4226;
}

.btn-outline {
    border: 2px solid #8B5A2B;
    color: #8B5A2B;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #8B5A2B;
    color: white;
}

/* Featured Products */
.featured, .products-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2C1810;
}

.section-header p {
    color: #5C4033;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

/* Improved image handling for all devices */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-price {
    color: #8B5A2B;
    font-weight: 600;
    margin: 0.5rem 0;
}

.add-to-cart {
    background: #D4A574;
    color: #2C1810;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.add-to-cart:hover {
    background: #8B5A2B;
    color: white;
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

/* Custom Order Section */
.custom-order-section {
    padding: 4rem 0;
}

.custom-order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.custom-order-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
}

.info-list {
    margin: 2rem 0;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #D4A574;
}

.custom-order-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

/* About Section */
.about-section {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.signature {
    margin-top: 2rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #8B5A2B;
}

/* Process Section */
.process-section {
    background: #F0E8E0;
    padding: 4rem 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.process-step .step-number {
    font-size: 2rem;
    font-weight: 700;
    color: #D4A574;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #2C1810;
    color: #FAF6F0;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #FAF6F0;
    font-size: 1.2rem;
}

.footer-links h4, .footer-newsletter h4 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #D4A574;
    text-decoration: none;
    line-height: 2;
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 30px 0 0 30px;
}

.newsletter-form button {
    background: #D4A574;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #5C4033;
    font-size: 0.8rem;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: white;
    z-index: 1001;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.cart-overlay.show {
    display: block;
}

.cart-header {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 500;
}

.cart-item-price {
    color: #8B5A2B;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    background: #f0f0f0;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
}

.remove-item {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
}

.cart-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 1rem;
}

.checkout-btn {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-icon {
        display: block;
    }
    .hero, .about-grid, .custom-order-grid, .footer-grid, .process-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}