/* CSS Styles */
:root {
    --primary: #6b3e26;
    --secondary: #d4a76a;
    --light: #f8f1e5;
    --dark: #2c1608;
    --accent: #a0522d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
}

header {
    background-color: var(--primary);
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Base Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 30px; /* Default for mobile */
    width: auto;
}

.logo-text {
    font-size: 30px;
    font-weight: bold;
    color: #fff; /* Adjust color */
}

/* Tablet View (768px and up) */
@media (min-width: 768px) {
    .logo-img {
        height: 40px; /* Slightly larger */
    }
}

/* Desktop View (1024px and up) */
@media (min-width: 1024px) {
    .logo-img {
        height: 70px; /* Larger for desktop */
    }
}

/* Mobile: Hide text if screen is too small (optional) */
@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    /* If you want only the logo (no text) on mobile */
    .logo-img {
        height: 35px; /* Adjust if needed */
    }
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary);
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary);
    color: var(--dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    font-weight: bold;
}


.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1493925410384-84f842e616fb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

.btn {
    background-color: var(--secondary);
    color: var(--dark);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background-color: #e8c48a;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    min-height: 60vh;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
    margin: 0.5rem auto;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.price-options {
    display: flex;
    gap: 8px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.price-option {
    background: #f8f1e5;
    border: 1px solid #d4a76a;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    flex-grow: 1;
    text-align: center;
}

.price-option .size {
    font-weight: bold;
    color: #6b3e26;
    display: block;
}

.price-option .price {
    color: #a0522d;
    font-weight: bold;
}

.variant-select {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #d4a76a;
    border-radius: 4px;
    background: white;
    color: #2c1608;
    font-size: 0.9rem;
}

/* Cart Item Styles */
.cart-item {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 1rem;
}

.cart-item-size {
    color: #666;
    font-size: 0.9rem;
    margin: 4px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .price-options {
        flex-direction: column;
        gap: 6px;
    }
    
    .price-option {
        text-align: left;
        padding: 8px 12px;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item-image {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }
}

.product-image {
    height: 200px;
    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-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-price {
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.add-to-cart {
    width: 100%;
    padding: 0.7rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: var(--accent);
}

.cart-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
}

.cart-modal.open {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background-color: var(--primary);
    color: white;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 1rem;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    background-color: #eee;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quantity {
    margin: 0 0.5rem;
}

.remove-item {
    color: #ff6b6b;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
}

.cart-total {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.2rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.checkout-btn:hover {
    background-color: var(--accent);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.team {
    margin-top: 3rem;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid var(--light);
}

/* Contact Page Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details div {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-details i {
    margin-right: 1rem;
    color: var(--accent);
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.map {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

footer {
    background-color: var(--primary);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-column h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--secondary);
}

.copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}


/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-img {
    max-height: 80vh;
    max-width: 100%;
    border: 3px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -10px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.lightbox-caption {
    color: white;
    padding: 15px 0;
    font-size: 1.2em;
    margin-top: 10px;
}



/* Terms & Conditions Page Styles */
.terms-page {
    padding: 80px 0;
    background-color: var(--light-color);
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.last-updated {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-style: italic;
    font-size: 0.9rem;
}

.terms-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    line-height: 1.7;
}

.terms-section {
    margin-bottom: 2.5rem;
}

.terms-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    padding-bottom: 0.5rem;
    position: relative;
}

.terms-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.terms-list {
    margin-left: 1.5rem;
    margin-top: 0.8rem;
    line-height: 1.8;
}

.terms-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.50rem;
}

.terms-list li::before {
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.highlight-box {
    background-color: rgba(212, 167, 106, 0.1);
    padding: 1.2rem;
    border-left: 3px solid var(--secondary-color);
    margin: 1.5rem 0;
    border-radius: 0 5px 5px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .terms-page {
        padding: 60px 0;
    }
    
    .terms-content {
        padding: 1.8rem;
    }
    
    .terms-section {
        margin-bottom: 2rem;
    }
    
    .terms-section h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .terms-page {
        padding: 50px 0 40px;
    }
    
    .terms-content {
        padding: 1.5rem;
        box-shadow: none;
        border-radius: 0;
    }
    
    .terms-section {
        margin-bottom: 1.8rem;
    }
    
    .terms-section h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .terms-list {
        margin-left: 1rem;
    }
    
    .terms-list li {
        padding-left: 1rem;
    }
    
    .highlight-box {
        padding: 1rem;
        margin: 1.2rem 0;
    }
}



/* Checkout Page Styles */
.checkout-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.order-summary, .customer-info, .payment-methods {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.order-summary h3, .customer-info h3, .payment-methods h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-info h4 {
    margin-bottom: 0.5rem;
}

.checkout-item-info p {
    color: #666;
    font-size: 0.9rem;
}

.checkout-item-price {
    font-weight: bold;
    color: #6b3e26;
}

.order-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-weight: bold;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option.active {
    border-color: #6b3e26;
    background-color: #f9f5f2;
}

.payment-option i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.payment-option:hover {
    border-color: #6b3e26;
}

.upi-details {
    margin: 2rem 0;
    text-align: center;
}

.qr-code {
    margin: 0 auto 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    display: inline-block;
}

.qr-code img {
    width: 200px;
    height: 200px;
}

.upi-id {
    font-family: monospace;
    background: #f5f5f5;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
    margin-top: 0.5rem;
}

.place-order-btn {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.place-order-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.place-order-btn i {
    font-size: 20px;
}


/* Order Success Message */
.order-success {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.success-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    animation: fadeIn 0.3s ease;
}

.success-content i {
    color: #25D366;
    font-size: 50px;
    margin-bottom: 20px;
}

.success-content h3 {
    color: #25D366;
    margin-bottom: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}


/* UPI Notification */
.upi-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { bottom: -50px; opacity: 0; }
    to { bottom: 20px; opacity: 1; }
}

/* Make clickable elements obvious */
#qr-code:hover, .upi-id:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

.qr-code, .upi-id {
    transition: transform 0.2s ease;
}