:root {
    --primary: #4A7C59;     /* Sage green */
    --secondary: #8B9D83;   /* Muted green */
    --accent: #E8B87B;      /* Chamomile flower */
    --text-dark: #2C3E2D;   /* Dark green */
    --text-light: #F5F5F5;  /* Off white */
    --background: #FAFAFA;  /* Light background */
    --text-color: #F5F5F5;  /* Off white */
}

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

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

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

/* Navigation */
nav {
    background-color: var(--primary);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Header */
header {
    position: relative;
    height: 100vh;
    background: var(--primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.9) 0%, rgba(139, 157, 131, 0.8) 100%);
    z-index: 1;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 45%, var(--secondary) 45%, var(--secondary) 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, var(--accent) 45%, var(--accent) 55%, transparent 55%),
        url('images/header.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    animation: backgroundZoom 20s infinite alternate ease-in-out;
}

@keyframes backgroundZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    padding: 3rem;
    width: 90%;
    max-width: 800px;
    background: rgba(74, 124, 89, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    animation: fadeIn 1s ease-out;
    margin-top: 4rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    pointer-events: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 2rem;
        margin-top: 2rem;
    }
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--background);
}

h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 1rem auto;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-text {
    text-align: justify;
}

.highlight {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.production-details,
.distribution,
.collaboration {
    margin: 2rem 0;
}

.production-details h3,
.distribution h3,
.collaboration h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.production-details ul {
    list-style-position: inside;
    margin: 1rem 0;
}

.motto {
    text-align: center;
    font-style: italic;
    color: var(--primary);
    margin-top: 2rem;
    font-size: 1.2rem;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background-color: var(--secondary);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.8rem 2rem;
    border: none;
    background: var(--primary);
    color: var(--text-light);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--accent);
}

.gallery-content > div {
    display: none;
}

.gallery-content > div.active {
    display: block;
}

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

.image-gallery .lightbox {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-gallery .lightbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.video-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.video-item h3 {
    color: var(--text-color);
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-item {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .video-gallery,
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Video Page Styles */
.video-section {
    padding: 120px 0 60px;
    background: var(--background);
}

.video-section h1 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.video-gallery-justified {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    flex-wrap: wrap;
    max-width: 1600px;
    margin: 0 auto;
}

.video-gallery-justified .video-item {
    flex: 0 1 800px;
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.video-gallery-justified .video-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #2C3E2D, #4A6B4A) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.video-gallery-justified .video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(44, 62, 45, 0.2);
}

.video-gallery-justified .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    background: #000;
    outline: 3px solid #2C3E2D;
    outline-offset: -3px;
}

.video-gallery-justified .video-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 17px;
    background: linear-gradient(45deg, #2C3E2D, #4A6B4A);
    z-index: -1;
}

.video-gallery-justified .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 12px;
}

.video-gallery-justified h3 {
    color: var(--text-dark);
    text-align: center;
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 1rem;
}

.video-gallery-justified h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #2C3E2D;
    border-radius: 2px;
}

@media (max-width: 1024px) {
    .video-gallery-justified .video-item {
        flex: 0 1 700px;
    }
}

@media (max-width: 768px) {
    .video-gallery-justified {
        padding: 1rem;
        gap: 2rem;
    }
    
    .video-gallery-justified .video-item {
        flex: 0 1 100%;
        padding: 1.5rem;
    }
    
    .video-section {
        padding: 100px 0 40px;
    }
    
    .video-section h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.contact-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-info {
    flex: 0 1 700px;
}

.map-container {
    flex: 1;
    height: auto;
    min-height: unset;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.contact-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        flex: auto;
    }
    
    .map-container {
        height: 250px;
    }
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 1rem 0;
    text-align: center;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
    }

    .nav-links.active {
        right: 0;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Lightbox styles */
.lightbox {
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.lightbox img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.lightbox::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox:hover::after {
    opacity: 1;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    cursor: pointer;
}

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

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    border: 3px solid var(--accent);
    border-radius: 10px;
}
