/* ================ ROOT VARIABLES ================ */
:root {
    /* Warm Art Deco Colors */
    --primary-color: #C17817;     /* Warm copper */
    --secondary-color: #2C1810;   /* Rich brown */
    --accent-color: #D4AF37;      /* Warm gold */
    --background-color: #FDF6E3;  /* Cream */
    --text-color: #2C1810;        /* Dark brown */
    
    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Lato', sans-serif;
    
    /* Spacing */
    --spacing-sm: 1.25rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
}

/* ================ BASE STYLES ================ */
body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

/* ================ NAVIGATION ================ */
.art-deco-nav {
    background-color: var(--secondary-color);
    padding: 1rem var(--spacing-md);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid var(--accent-color);
}

.logo {
    font-family: var(--heading-font);
    color: var(--accent-color);
    font-size: 2.2rem;
    letter-spacing: 2px;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--accent-color);
    background-color: rgba(212, 175, 55, 0.1);
}

.art-deco-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.art-deco-nav a {
    color: var(--background-color);
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.art-deco-nav a:hover {
    color: var(--accent-color);
}

/* ================ HERO SECTION ================ */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(44, 24, 16, 0.85), rgba(44, 24, 16, 0.85)),
                url('../images/hazelnut-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--background-color);
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
}

.hero-section h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-content {
    max-width: 800px;
    margin: var(--spacing-md) auto;
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
    border: 1px solid var(--accent-color);
}

.about-content p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ================ CONTACT SECTION ================ */
.contact-section {
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: var(--background-color);
}

.contact-section h2 {
    font-family: var(--heading-font);
    color: var(--secondary-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
}

.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.contact-info {
    aspect-ratio: 1;
    padding: var(--spacing-md);
    background: rgba(253, 246, 227, 0.05);
    border-radius: 8px;
    border: 1px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-container {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--accent-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    color: var(--background-color);
    text-align: center;
    padding: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 350px;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .address-block p {
        font-size: 1rem;
    }
}

/* ================ VIDEO SECTION ================ */
.video-section {
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: var(--background-color);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.section-title h2 {
    font-family: var(--heading-font);
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
}

.title-line {
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

.video-item {
    position: relative;
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
    margin-bottom: var(--spacing-md);
    border: 2px solid var(--accent-color);
}

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

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-item video::-webkit-media-controls {
    opacity: 0;
    transition: opacity 0.3s;
}

.video-item:hover video::-webkit-media-controls {
    opacity: 1;
}

.video-caption {
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: var(--spacing-sm);
    color: var(--background-color);
    font-family: var(--body-font);
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.video-item:hover .video-caption {
    transform: translateY(0);
}

/* Update responsive styles */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ================ GALLERY SECTION ================ */
.gallery-section {
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: var(--background-color);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
    padding: 0 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--background-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--body-font);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

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

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

.image-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: scale(1.03);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
}

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

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .gallery-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Add to the existing CSS */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

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

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid var(--accent-color);
}

.lightbox-caption {
    color: var(--background-color);
    text-align: center;
    margin-top: var(--spacing-sm);
    font-family: var(--body-font);
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--background-color);
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

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

/* Add smooth sliding effect */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-item {
    animation: slideIn 0.3s ease forwards;
}

/* Update filter buttons container */
.gallery-filters {
    position: relative;
    padding-bottom: 2px;
}

.gallery-filters::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--secondary-color);
    opacity: 0.2;
}

/* Add slider buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
}

.prev-btn {
    left: -60px;
}

.next-btn {
    right: -60px;
}

/* Update the logo styles */
.art-deco-nav .logo {
    font-family: var(--heading-font);
    color: var(--accent-color);
    font-size: 2.2rem;
    letter-spacing: 2px;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--accent-color);
    text-decoration: none;
    display: inline-block;
    line-height: 1;
}

.art-deco-nav .logo:hover {
    color: var(--accent-color);
    background-color: rgba(212, 175, 55, 0.1);
}

/* Custom Video Player Styles */
.custom-video-player {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
}

.custom-video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-video-player:hover .video-controls {
    opacity: 1;
}

.video-controls button {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-controls button:hover {
    background-color: rgba(212, 175, 55, 0.2);
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent-color);
    border-radius: 2px;
    width: 0%;
}