/* ===== Nuviora Minimalist Luxury Design ===== */
/* Color Palette: Deep Charcoal (#1a1a1a), Warm Gold (#d4af37), Off-White (#f9f7f4), Sage (#a8b8a8) */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: #1a1a1a;
    background-color: #f9f7f4;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a1a1a;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* ===== Header ===== */
.header {
    background-color: #f9f7f4;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #d4af37;
}

.logo-img {
    height: 30px; /* Adjust as needed */
    margin-right: 10px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #1a1a1a;
}

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: #1a1a1a;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: #d4af37;
}

.lang-toggle {
    padding: 0.5rem 1rem;
    border: 1px solid #1a1a1a;
    background-color: transparent;
    color: #1a1a1a;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background-color: #d4af37;
    border-color: #d4af37;
    color: #f9f7f4;
}

@media (max-width: 768px) {
    .nav-link {
        display: none;
    }
    
    .nav {
        gap: 0.5rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
}

/* ===== Hero Section ===== */
.hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    color: #f9f7f4;
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .hero {
        height: 70vh;
        padding: 4rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* ===== Button Styles ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #d4af37;
    color: #1a1a1a;
}

.btn-primary:hover {
    background-color: #c9a02f;
    transform: scale(1.02);
}

/* ===== About Section ===== */
.about {
    padding: 3rem 0;
    background-color: #f9f7f4;
}

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

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.about-text {
    padding: 1rem;
}

.about-para {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

/* ===== Products Preview Section (Home Page) ===== */
.products-preview {
    padding: 3rem 0;
    background-color: #a8b8a8;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.product-card {
    background-color: #f9f7f4;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #1a1a1a;
    display: block;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.product-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* ===== Products Page (Category List) ===== */
.products-page {
    padding: 3rem 0;
    background-color: #f9f7f4;
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.page-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 3rem;
}

.product-card-large {
    background-color: #f9f7f4;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #1a1a1a;
    display: block;
}

.product-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.product-card-large img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.view-gallery {
    display: block;
    text-align: right;
    font-weight: 600;
    color: #d4af37;
    margin-top: 1rem;
}

/* ===== Product Category Pages (Gallery) ===== */
.product-category-page {
    padding: 3rem 0;
    background-color: #f9f7f4;
}

.back-to-products {
    display: inline-block;
    margin-bottom: 2rem;
    color: #1a1a1a;
    font-weight: 600;
}

.back-to-products:hover {
    color: #d4af37;
}

.category-page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.category-page-desc {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 300px; /* Fixed height for consistent grid */
    object-fit: cover;
    cursor: pointer;
}

.item-details {
    padding: 1rem;
    font-size: 0.95rem;
    color: #555;
}

.products-cta {
    text-align: center;
    padding: 2rem;
    background-color: #a8b8a8;
    border-radius: 8px;
    margin-top: 3rem;
}

.products-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.products-cta p {
    margin-bottom: 1.5rem;
    color: #333;
}

/* ===== Contact Section ===== */
.contact {
    padding: 3rem 0;
    background-color: #f9f7f4;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.contact-info p {
    font-size: 1rem;
}

.contact-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    background-color: #1a1a1a;
    color: #f9f7f4;
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #d4af37;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section a {
    color: #f9f7f4;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d4af37;
}

.social-link {
    display: inline-block;
}

/* ===== Lightbox Modal ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #d4af37;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

/* ===== Responsive Design ===== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid-large {
        grid-template-columns: 1fr;
    }
    
    .nav {
        gap: 0.25rem;
    }
    
    .product-item img {
        height: 200px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}
