/* --- Reusable Grid Image Formatter --- */
.grid-image 
{
    width: 100%;             /* Fills its container cell */
    height: auto;            /* Standard default */
    aspect-ratio: 3 / 4;    /* Force a vertical aspect ratio. Switch to 1/1 for square, 4/3 for horizontal. */
    object-fit: cover;       /* This is the magic. It zooms and centers, cropping the excess. */
    object-position: center; /* Ensures we don't accidentally crop off a head. Usually keep at center. */
}

:root {
    --primary-beige: #f9f7f2;
    --text-dark: #2c2c2c;
    --accent-gold: #c5a358;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-beige);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

.serif { font-family: 'Cormorant Garamond', serif; }

/* --- Navigation --- */

/* --- Navigation (Cleaned & Optimized) --- */

/* 1. Navbar Base (Shared) */
.navbar {
    position: fixed;
    top: 0; 
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #eee;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo { height: 35px; }

/* 2. Desktop Navigation (Default) */
.nav-menu { 
    display: flex; /* Always show on desktop */
    gap: 40px;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: #333;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-item:hover { color: #d4af37; } /* Gold accent */

.hamburger {
    display: none; /* Hide on desktop */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #333;
    transition: 0.3s;
}

/* 3. Mobile Navigation (768px and below) */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show hamburger on mobile */
    }

    .nav-menu {
        display: none; /* Hide links initially on mobile */
        position: absolute;
        top: 65px; /* Adjust based on navbar height */
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        gap: 0; /* Stack items vertically */
    }

    /* Shows when JavaScript toggles 'active' class */
    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        padding: 15px 0;
        width: 100%;
        display: block;
    }
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 10s ease-out; 
}
.hero-dim { position: absolute; inset: 0; background: rgba(0,0,0,0.15); }

.hero-section:hover .hero-img { transform: scale(1.12); }

.hero-text { position: relative; z-index: 10; color: white; text-align: center; padding: 0 20px; }
.hero-text p { font-size: 10px; letter-spacing: 5px; text-transform: uppercase; margin-bottom: 20px; }
.hero-text h1 { font-size: clamp(2.5rem, 7vw, 6rem); margin: 0 0 40px 0; font-weight: 300; }
.btn-outline { 
    display: inline-block; color: white; border: 1px solid white; padding: 15px 40px; 
    text-decoration: none; font-size: 10px; text-transform: uppercase; letter-spacing: 3px; 
    transition: background 0.5s, color 0.5s; 
}
.btn-outline:hover { background: white; color: black; }

/* --- LK Philosophy, ignore the pun hahaha --- */
.philosophy { padding: 100px 24px 200px 24px; text-align: center; background: white; }
.philosophy-inner { max-width: 800px; margin: 0 auto; }
.philosophy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 30px; font-weight: 300; }
.philosophy p { color: #666; line-height: 1.8; font-weight: 300; margin-bottom: 40px; }
.divider { width: 50px; height: 1px; background: #ddd; margin: 0 auto; }

/* --- Portfolio Grid section is fucking hard fuck you new CSS, padding doesnt work eventough top and bot are the same px --- */
.portfolio-container 
{ 
    margin-top: -80px;
    padding: 10px 40px 10px 40px; 
    background-color: #f4f1ea; /* Seamlessly connects to the Philosophy section above */
    width: 100%;
    box-sizing: border-box;
    /* Your subtle shadow makes it float */
    box-shadow: 0px -10px 40px rgba(0, 0, 0, 0.05); 
    position: relative; /* Ensures it sits above the background */
    z-index: 10;

}

.align-bottom 
{
    align-self: end; /* this is to align that bitchass portfolio pics */
}


.grid-layout 
{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    max-width: 1400px; /* Restricts only the grid items */
    margin: 0 auto;    /* Centers the grid within the white background */
}

@media (min-width: 768px) { .grid-layout { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) 
{ 
    .grid-layout { grid-template-columns: repeat(3, 1fr); } 
    .wide { grid-column: span 2; }
}

.portfolio-card {
   position: relative;
    width: 100%;
    height: 100%; /* Forces the card to fill the row height */
    overflow: hidden;
}

.portfolio-card img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 10s ease-out, filter 0.6s ease;
}

/* --- ty gemini , fuck CSS --- */
.portfolio-card.classic 
{ 
    aspect-ratio: 3 / 2; /* Classic 35mm photography ratio */
}

/* --- ty gemini again, fuck CSS --- */
.portfolio-card.fit-height
{
    aspect-ratio: auto;   
    justify-self: start;  
}

.portfolio-card.fit-height img 
{
    height: 100%;         
    width: auto;          
    aspect-ratio: 3 / 4;  
}

.portfolio-card.wide { aspect-ratio: 16 / 9; }
.portfolio-card.tall { aspect-ratio: 3 / 4; }

/* ima Hover da powoah */
.portfolio-card:hover img 
{
    transform: scale(1.15);
    filter: brightness(0.4);
}

.overlay 
{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 10;
}

.portfolio-card:hover .overlay { opacity: 1; }

.overlay p { color: white; font-size: 2rem; margin: 0; }


/* --- Mobile Portfolio Standardization --- */
@media (max-width: 767px) {
    .portfolio-card.wide, 
    .portfolio-card.tall, 
    .portfolio-card.fit-height {
        aspect-ratio: 4 / 5; /* A standard Instagram portrait size */
        height: auto;
    }
}



/* --- before video cut out, because transition betweent the portfolio and video cut looks dull and sucks--- */
.philosophy2 { padding: 50px 24px 50px 24px; text-align: center; background: white; }
.philosophy-inner2 { max-width: 800px; margin: 0 auto; }
.philosophy2 h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 30px; font-weight: 300; }
.philosophy2 p { color: #666; line-height: 1.8; font-weight: 300; margin-bottom: 40px; }
.philosophy2 p.tight 
{
     margin-bottom: 5px; 
}
.divider { width: 50px; height: 1px; background: #ddd; margin: 0 auto; }


/* --- Video Section --- */
.video-section 
{
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-section video {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    z-index: -1;
}

.video-dim { position: absolute; inset: 0; background: rgba(0,0,0,0.3); z-index: 0; }
.video-text { position: relative; z-index: 10; text-align: center; color: white; }
.video-text h2 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 300; margin-bottom: 10px; }
.video-text p { font-size: 10px; letter-spacing: 5px; text-transform: uppercase; font-weight: 300; }

/* --- Editorial Grid --- */
.editorial-section { padding: 80px 24px; background: #f4f1ea; text-align: center; }
.editorial-header { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 40px; }

.ed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

@media (min-width: 768px) { .ed-grid { grid-template-columns: repeat(4, 1fr); } }

.ed-item img {
    width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
    filter: grayscale(100%); transition: filter 0.7s; cursor: pointer;
}

.ed-item:hover img { filter: grayscale(0%); }

.social-link { text-decoration: none; color: var(--text-dark); display: inline-flex; flex-direction: column; align-items: center; }
.social-link img { height: 40px; margin-bottom: 15px; opacity: 0.8; transition: opacity 0.3s; }
.social-link:hover img { opacity: 1; }
.social-link span { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; border-bottom: 1px solid var(--text-dark); padding-bottom: 4px; }

/* --- Footer --- */
.footer {
    padding: 60px 40px; background: white; border-top: 1px solid #eee;
    display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center;
}

@media (min-width: 768px) {
    .footer { flex-direction: row; justify-content: space-between; text-align: left; }
}

.footer-brand h3 { font-size: 1.2rem; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 5px 0; }
.footer-brand p { font-size: 10px; color: #999; letter-spacing: 1px; text-transform: uppercase; margin: 0; }
.footer-links a { text-decoration: none; color: #666; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; transition: color 0.3s; margin: 0 15px; }
.footer-links a:hover { color: black; }
.footer-copy { font-size: 10px; color: #aaa; letter-spacing: 2px; text-transform: uppercase; }

/* this is for portfolio.html */
/* Classic photography ratio for uniform grids */
.portfolio-card.rect { aspect-ratio: 3 / 2; }


/* --- Wedding blog-ish--- */
.story-container 
{
    max-width: 1000px; 
    margin: 30px auto 30px auto; /* Added 100px of margin to the bottom */
    padding: 60px 24px;
    background: white; 
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.05);
}
.story-row {
    margin-bottom: 4px; /* Matches the thin 4px gap of your vertical pairs */
}

.img-full {
    width: 100%;
    height: auto;
    display: block;
}

/* The Vertical Pair Pairing */
.img-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px; /* Reduced from 20px for a thin, editorial border */
}

@media (max-width: 768px) {
    .img-split { grid-template-columns: 1fr; } 
}

.img-split img 
{
    width: 100%;
    aspect-ratio: 3 / 4;     /* to adjust ratio */
    object-fit: cover;       /* fixing the damn short image not properly align */
    object-position: center; /* focus to subject */
    display: block;
}

.story-caption {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    text-align: center;
    margin-top: 20px;
    font-weight: 300;
}

/* --- Story Text Blocks (Kitcheners Style) --- */
.story-text-block {
    max-width: 850px;
    margin: 0 auto 60px auto;
    text-align: left;
    padding: 0 20px;
}

.story-text-block h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--text-dark);
    margin: 0 0 20px 0;
    font-weight: 400;
}

.story-text-block p 
{
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin: 0 0 30px 0;
    font-weight: 300;
}

/* --- Story to Picture Gap --- */
.picture-gap 
{
    margin-top: 60px; /* Adjust this number to increase or decrease the gap */
}

/* --- kindwords --- */
.kindwords 
{ 
    padding: 100px 24px; 
    background-color: #f9f8f6; /* Soft off-white to match the reference */
}

.kindwords-inner 
{ 
    max-width: 1000px; 
    margin: 0 auto; 
}

/* Header & Line Flexbox */
.kindwords-header
 { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
    margin-bottom: 60px; 
}

.kindwords-header h2 
{ 
    font-size: 2rem; 
    margin: 0; 
    font-weight: 300; 
    letter-spacing: 2px;
}

.header-line 
{ 
    flex: 1; /* Forces the line to stretch and fill the remaining space */
    height: 1px; 
    background-color: #333; 
}

/* 2-Column Grid Layout */
.kindwords-content 
{ 
    display: grid; 
    grid-template-columns: 1fr; /* Stacks on mobile */
    gap: 40px; 
}

/* Desktop sizing */
@media (min-width: 768px) 
{
    .kindwords-content 
    { 
        grid-template-columns: 300px 1fr; /* Image is 300px, text takes the rest */
        gap: 60px; 
        align-items: center;
    }
}

/* Image Formatting */
.kindwords-image img 
{ 
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover; 
    aspect-ratio: 4 / 5; /* Ensures a perfect portrait crop */
}

/* Text Formatting */
.kindwords-text 
{ 
    display: flex; 
    flex-direction: column; 
}

.quote-large 
{ 
    font-size: clamp(2rem, 3.5vw, 3rem); 
    line-height: 1.2; 
    color: #222; 
    margin: 0 0 30px 0; 
    font-weight: 300; 
}

.quote-body 
{ 
    color: #555; 
    line-height: 1.8; 
    font-weight: 300; 
    margin: 0 0 40px 0; 
}

.quote-author 
{ 
    font-family: 'Montserrat', sans-serif; 
    font-size: 0.85rem; 
    letter-spacing: 3px; 
    text-transform: uppercase; 
    color: #222; 
    margin: 0; 
    font-weight: 500;
}

/* --- Vendor Credits Section --- */
.vendor-credits {
    max-width: 850px;
    margin: 60px auto 0 auto; /* Matches your story-text-block spacing */
    padding: 0 20px;
    text-align: center; 
}

.vendor-credits h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.vendor-list {
    list-style: none; /* Removes the default bullet points */
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    line-height: 2; /* Gives the text nice breathing room */
    color: #444;
}

.vendor-list li strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* The Link Styling */
.vendor-list a 
{
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #444; /* Creates the clean editorial underline */
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.vendor-list a:hover 
{
    color: var(--accent-gold); /* Changes to your gold color on hover */
    border-bottom-color: var(--accent-gold);
}

/* video containerrrrr */
.video-container 
{
    position: relative;
    width: 100%;
    max-width: 1000px; /* Forces it to match your main story container width */
    margin: 0 auto 4px auto; /* Centers it and keeps your 4px bottom gap */
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000; /* Hides any weird white flashes while loading */
}

.video-container iframe 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Commercial Grid Styling */
.commercial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px; /* Adjust spacing between photos here */
    margin: 40px auto;
    max-width: 1200px; /* Adjust based on your layout preference */
    padding: 0 20px;
}

.commercial-grid img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Your Commercial Grid Fix */
    .commercial-grid 
    {
        grid-template-columns: repeat(2, 1fr);
    }
