/* style.css */

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #e0e0e0; 
    background-color: #0a0a0a; 
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo { font-size: 1.2rem; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: #ccc; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: #fff; border-bottom: 1px solid #fff; }

/* Page Specific Containers */
.page-content {
    padding-top: 100px; /* Space for fixed nav */
    min-height: 100vh;
}

/* --- UPDATED HOME PAGE STYLES (SLIDER) --- */
/* --- UPDATED HOME PAGE STYLES (FIT & TITLES) --- */
.hero-slider { 
    height: 100vh; 
    width: 100%; 
    position: relative; 
    overflow: hidden;
    background-color: #0a0a0a; /* Black background for letterboxing */
}

.slide {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    opacity: 0; 
    transition: opacity 1s ease-in-out;
    z-index: 1;
    
    /* NEW: Flex layout to stack Image and Title */
    display: flex;
    flex-direction: column; 
    justify-content: center; /* Center vertically */
    align-items: center;     /* Center horizontally */
    padding-top: 80px;       /* Push down below the Nav Bar */
    padding-bottom: 20px;
}

.slide.active { 
    opacity: 1; 
    z-index: 5;
}

/* THE IMAGE: "Actual View" (Not enlarged/cropped) */
.slide img {
    max-width: 90%;      /* Don't touch the edges of the screen */
    max-height: 75vh;    /* Leave 25% of screen height for header/footer/title */
    width: auto;         /* Maintain aspect ratio */
    height: auto;        /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the whole photo is seen */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Nice depth effect */
}

/* THE TITLE: Space below image */
.slide-caption {
    margin-top: 25px;    /* Space between photo and text */
    color: #ffffff;
    text-align: center;
    max-width: 800px;
    z-index: 10;
}

.slide-caption h2 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Remove old hero-content styles if you want the clean look */
.hero-content { display: none; }

/* --- GALLERY PAGE STYLES --- */
.gallery-header { text-align: center; padding: 40px 0; }
.gallery-header h1 { font-weight: 300; text-transform: uppercase; letter-spacing: 4px; }

.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 15px;
    padding: 0 50px 50px 50px;
}
.gallery-item { display: block; overflow: hidden; height: 400px; } /* Fixed height for masonry feel */
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    opacity: 0.8; transition: all 0.4s ease; filter: grayscale(30%);
}
.gallery-item img:hover {
    opacity: 1; filter: grayscale(0%); transform: scale(1.05); cursor: pointer;
}

/* --- CONTACT PAGE STYLES --- */
.contact-wrapper {
    display: flex; justify-content: center; align-items: center; height: 80vh;
}
.contact-container {
    max-width: 900px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
    background: #111; padding: 50px; border: 1px solid #222;
}
.contact-info h2 { margin-bottom: 20px; font-weight: 300; text-transform: uppercase; }
.contact-info p { margin-bottom: 15px; color: #bbb; }

.email-widget form { display: flex; flex-direction: column; gap: 15px; }
.email-widget input, .email-widget textarea {
    padding: 15px; border: 1px solid #333; background: #1a1a1a;
    color: #fff; font-family: inherit; outline: none; transition: border-color 0.3s;
}
.email-widget input:focus, .email-widget textarea:focus { border-color: #666; }
.email-widget button {
    padding: 15px; background: #fff; color: #000; border: none; cursor: pointer;
    text-transform: uppercase; letter-spacing: 1px; font-weight: bold;
    transition: background 0.3s;
}
.email-widget button:hover { background: #ccc; }

/* Lightbox */
.lightbox {
    display: none; position: fixed; z-index: 2000; padding-top: 50px;
    left: 0; top: 0; width: 100%; height: 100%; overflow: auto;
    background-color: rgba(0, 0, 0, 0.95); backdrop-filter: blur(5px);
    align-items: center; justify-content: center;
}
.lightbox-content {
    margin: auto; display: block; max-width: 90%; max-height: 85vh;
    border: 1px solid #333; animation-name: zoom; animation-duration: 0.3s;
}
.close {
    position: absolute; top: 20px; right: 35px; color: #f1f1f1;
    font-size: 40px; font-weight: 300; cursor: pointer; z-index: 2001;
}
@keyframes zoom { from {transform:scale(0.9); opacity: 0;} to {transform:scale(1); opacity: 1;} }

/* Mobile */
@media (max-width: 768px) {
    nav { padding: 20px; } 
    .hero-content h1 { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: 1fr; padding: 20px; } 
    .contact-container { grid-template-columns: 1fr; padding: 20px; }
}

