/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-gold: #d4af37;
    --dark-gold: #b8941f;
    --light-gold: #f4e8c1;
    --dark-bg: #1a1a1a;
    --light-bg: #f9f9f9;
    --text-dark: #333;
    --text-light: #777;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-gold);
    margin: 10px auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-gold);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline:hover {
    background-color: var(--primary-gold);
    color: var(--white);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 20px;
    position: relative;
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: 15px;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1001;
    transition: left 0.3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

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

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.mobile-nav-links li {
    margin-bottom: 15px;
}

.mobile-nav-links a {
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.mobile-nav-overlay.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 20px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.about p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 18px;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 36px;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.stat p {
    font-size: 16px;
    color: var(--text-light);
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.product-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-gold);
    color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-gold);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

/* Product Image Placeholders */
.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: linear-gradient(45deg, #f9f9f9 25%, transparent 25%, transparent 75%, #f9f9f9 75%, #f9f9f9),
                linear-gradient(45deg, #f9f9f9 25%, transparent 25%, transparent 75%, #f9f9f9 75%, #f9f9f9);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    border: 1px solid #eee;
    position: relative;
}

.product-img:hover {
    transform: scale(1.05);
}

.product-img::after {
    content: "Click to view larger";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-size: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-img:hover::after {
    opacity: 1;
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-title {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.4;
}

.product-price {
    color: var(--primary-gold);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
    clear: both;
}

.product-rating {
    color: #ffc107;
    margin-bottom: 5px;
    font-size: 14px;
}

.order-btn {
    width: 100%;
    background-color: var(--dark-bg);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.order-btn:hover {
    background-color: var(--primary-gold);
}

/* Order Section */
.order-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.order-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.order-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.order-form h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
    text-align: center;
}

/* Contact Info Styles */
.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 18px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary-gold);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 16px;
}

/* Form styles */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #ddd;
    background: transparent;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 16px;
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Fix for pre-filled fields - labels stay above */
.form-group input:valid + label,
.form-group textarea:valid + label,
.form-group input[readonly] + label,
.form-group label.active {
    top: -20px !important;
    font-size: 12px !important;
    color: var(--primary-gold) !important;
}

/* Ensure readonly fields have proper styling */
.form-group input[readonly] {
    background-color: #f9f9f9;
    border-bottom: 2px solid #eee;
    color: var(--text-dark);
    font-weight: 600;
    padding-top: 8px;
}

.form-note {
    background-color: var(--light-gold);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--text-dark);
    border-left: 4px solid var(--primary-gold);
}

.form-note i {
    color: var(--primary-gold);
    margin-right: 8px;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 16px;
    padding: 10px;
}

/* Success Message Styles */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.success-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.success-content i {
    font-size: 50px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-content h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.success-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.social-icons {
    display: flex;
    margin-top: 15px;
}

.social-icon {
    margin-right: 10px;
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-gold);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-gold);
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 992px) {
    .order-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .order-form-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .about-stats {
        gap: 20px;
    }
    
    .order-content {
        grid-template-columns: 1fr;
    }
    
    .order-form-container {
        padding: 20px;
    }
    
    .order-form h2 {
        font-size: 24px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: -50px;
        right: 10px;
    }
    
    #lightbox-image {
        max-height: 70vh;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 50vh;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .product-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .order-form-container {
        padding: 15px;
    }
    
    .success-content {
        padding: 30px 20px;
        margin: 15px;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    #lightbox-image {
        max-height: 60vh;
    }
}

@media (max-width: 400px) {
    .logo {
        font-size: 20px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}