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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    text-decoration: none;
}

.logo h2 {
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.logo a:hover h2 {
    color: #3498db;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-count {
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 1.5rem;
    text-align: center;
    display: inline-block;
}

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #2980b9;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #3498db;
    background: transparent;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #3498db;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

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

.gallery-item-info {
    padding: 1rem;
}

.gallery-item h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.gallery-item p {
    color: #666;
    font-size: 0.9rem;
}

.gallery-item .price {
    font-weight: 600;
    color: #3498db;
    margin-top: 0.5rem;
    display: block;
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form button {
    padding: 1rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #2980b9;
}

.contact-form button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.lightbox-content {
    position: relative;
    margin: 5% auto;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.lightbox-content img {
    max-width: 70%;
    height: auto;
    object-fit: contain;
}

.lightbox-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lightbox-info h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.lightbox-info p {
    margin-bottom: 2rem;
    color: #666;
}

.lightbox-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3498db;
}

.buy-btn {
    padding: 1rem 2rem;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.buy-btn:hover {
    background: #219a52;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Add to Cart Form Styles */
.add-to-cart-form {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.add-to-cart-form h4 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

.cart-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.add-to-cart-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #219a52;
}

.view-cart-btn {
    padding: 0.75rem 1.5rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
}

.view-cart-btn:hover {
    background: #2980b9;
}

.print-options {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.print-option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.print-option:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.print-option input[type="radio"] {
    margin-right: 0.75rem;
}

.print-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: #3498db;
}

.customer-info,
.shipping-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.customer-info h5,
.shipping-info h5 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.customer-info input,
.shipping-info input,
.shipping-info select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.customer-info input:focus,
.shipping-info input:focus,
.shipping-info select:focus {
    border-color: #3498db;
    outline: none;
}

.address-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .cart-link {
        justify-content: center;
    }

    .hamburger {
        display: flex;
    }

    /* Mobile Lightbox Fixes */
    .lightbox-content {
        margin: 2% auto;
        max-width: 95%;
        max-height: 95%;
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .lightbox-content img {
        max-width: 100%;
        max-height: 50vh;
        width: 100%;
        object-fit: contain;
    }

    .lightbox-info {
        padding: 1.5rem;
        flex: none;
        overflow-y: auto;
        max-height: 45vh;
    }

    .lightbox-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
        z-index: 2001;
    }

    .prev, .next {
        top: 25%;
        padding: 0.75rem;
        font-size: 16px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    /* Mobile Cart Form */
    .cart-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .print-options {
        gap: 0.75rem;
    }

    .print-option {
        padding: 1rem;
        font-size: 16px;
    }

    .add-to-cart-btn,
    .view-cart-btn {
        padding: 1rem;
        font-size: 16px;
        text-align: center;
        min-height: 48px;
    }

    .address-row {
        grid-template-columns: 1fr;
    }

    /* Gallery adjustments */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

.card-element {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    margin-bottom: 1rem;
}

.card-errors {
    color: #e74c3c;
    font-size: 14px;
    margin-bottom: 1rem;
    min-height: 20px;
}

.payment-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.submit-payment-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: background 0.3s ease;
}

.submit-payment-btn:hover {
    background: #219a52;
}

.submit-payment-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.cancel-payment-btn {
    padding: 0.75rem 1.5rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cancel-payment-btn:hover {
    background: #c0392b;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hidden {
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .lightbox-content {
        flex-direction: column;
        margin: 10% auto;
        max-height: 80%;
    }
    
    .lightbox-content img {
        max-width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}