* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8f8f6;
    color: #111;
    line-height: 1.7;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 80px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 248, 246, 0.9);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: #f8f8f6;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.logo {
    font-weight: 500;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #111;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* HERO */
.hero {
    height: 70vh;
    background: url('../images/hero.webp') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.60);
}

.hero-text {
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.hero-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-text p {
    margin-top: 20px;
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background: white;
    color: black;
}

/* STATEMENT */
.statement {
    padding: 100px 20px;
    text-align: center;
    max-width: 800px;
    margin: auto;
    font-size: 1.2rem;
}

/* CAPTION ABOVE PORTFOLIO */
.portfolio-intro {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 20px auto;
}

.caption {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #555;
    font-style: italic;
}

/* PORTFOLIO & GRID */
.portfolio {
    padding: 60px 20px 100px;
    text-align: center;
}

.portfolio h2 {
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
}

/* MASONRY LAYOUT (The "Pinterest" Look) */
.grid {
    /* Remove the old grid display */
    column-count: 3; /* Creates 3 vertical columns */
    column-gap: 20px; /* Space between columns */
    max-width: 1200px;
    margin: 0 auto;
}

.grid a {
    display: block;
    margin-bottom: 20px; /* Space between bottom of one image and top of next */
    break-inside: avoid; /* Prevents an image from being chopped between columns */
    overflow: hidden;
    border-radius: 4px;
}

.grid img {
    width: 100%;
    height: auto; /* IMPORTANT: Lets image find its natural height */
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    cursor: pointer;
}

.grid img:hover {
    transform: scale(1.03); /* A subtler, smoother zoom looks more premium */
    opacity: 0.95;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .grid {
        column-count: 2; /* 2 columns on tablets */
    }
}

@media (max-width: 600px) {
    .grid {
        column-count: 1; /* 1 column on phones */
    }
}

.grid a[data-glightbox]:hover::after {
    content: attr(data-glightbox);
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 1rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 4px;
}

/* CTA */
.cta {
    padding: 120px 20px;
    text-align: center;
    background: #111;
    color: white;
}

.cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
}

.btn-dark {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: white;
    color: black;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.btn-dark:hover {
    opacity: 0.7;
}

/* FOOTER */
footer {
    padding: 30px;
    text-align: center;
    font-size: 0.85rem;
    background: #f0f0ee;
}

/* FADE-IN ANIMATION */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-text h2 { font-size: 2.5rem; }
    .hero-text p { font-size: 1rem; }
    
    /* Make navbar friendly for mobile */
    .navbar { 
        padding: 20px; 
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        gap: 20px;
    }

    .portfolio { padding: 40px 20px 80px; }
}
/* CONTACT FORM STYLES */
.contact-section {
    padding: 100px 20px;
    background: #111;
    color: white;
    text-align: center;
}

.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-section p {
    margin-bottom: 20px;
    color: #ccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sign-off {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.3rem;
    margin-bottom: 40px !important;
    color: #fff !important;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid #444;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    padding: 15px;
    background: white;
    color: black;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    opacity: 0.8;
}

/* Page specific header spacing */
.page-spacing {
    padding-top: 120px; 
}

/* ABOUT PAGE STYLES */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #444;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        padding: 60px 20px;
        text-align: center;
    }
}