/* --- CSS STYLES --- */
:root {
    --primary-color: #2c3e50;
    --accent-color: #d4a373;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --text-color: #333;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-artistic: 'Alex Brush', cursive;
    --nav-height: 80px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); line-height: 1.6; color: var(--text-color); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--primary-color); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 5%;
    background: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--nav-height);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo { display: flex; align-items: center; }
.logo img { max-height: 80px; width: auto; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.cta-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    transition: 0.3s;
}
.cta-btn:hover { background: var(--accent-color); }

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.4)),
                url('images/frontpage.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; color: white; }
.hero-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    transition: 0.3s;
    display: inline-block;
}
.hero-btn:hover { background: #b08456; }

/* Sections */
.section { padding: 4rem 1rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 2rem; }

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}
.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    padding: 0.8rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: bold;
}
.filter-btn:hover { background: #eee; }
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Gallery Grid */
/* Gallery Grid */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
        
/* 1. We move the hover animation to the parent container */
.gallery-item { 
    display: block; 
    position: relative; 
    transition: transform 0.3s ease; /* Smooth transition added here */
    cursor: pointer;
} 

/* 2. The entire box (image/video + icon) scales together */
.gallery-item:hover { 
    transform: scale(1.03); 
    z-index: 2; /* Ensures the zoomed photo pops over its neighbors */
}

/* 3. Give images and videos standard dimensions without individual animations */
.gallery-item img, 
.gallery-item video { 
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    display: block; 
}

.gallery-item.show { animation: fadeIn 0.5s ease; }
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }

/* The Icon Styling */
.media-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6); 
    color: white;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 1rem;
    z-index: 10;
    pointer-events: none; 
}

/* Pagination Styles */
.pagination-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.page-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: bold;
}
.page-btn:hover { background: #eee; }
.page-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border: 3px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

/* About Section */
.about-bg { background-color: #000000; color: #ffffff; }
.about-container {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
}
.about-image { flex: 0 0 350px; }
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 15px 15px 0 var(--accent-color);
}
.about-text { flex: 1; }
.about-text h2 { color: #ffffff; }
.about-text p {
    font-family: var(--font-artistic);
    font-size: 2rem;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}
.contact-info {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent-color);
    text-align: left;
}
.contact-info h3 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.info-item { margin-bottom: 1.5rem; }
.info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}
.social-link {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: underline;
}
.contact-form {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-color);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: white;
}
.form-group select {
    border-left: 5px solid var(--accent-color);
    cursor: pointer;
}

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

/* Mobile */
.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; background: #333; margin: 5px 0; }

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

    .about-container { flex-direction: column; text-align: center; }
    .about-image { flex: none; width: 80%; max-width: 300px; }

    .contact-wrapper { flex-direction: column; gap: 2rem; }
    .contact-info, .contact-form { width: 100%; }
}