:root {
    --bg-color: #ffffff;
    --accent-bg: #f8f5f2;
    --text-color: #333;
}

body {
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* --- HEADER --- */
.main-header { text-align: center; padding: 40px 20px 10px; }
.main-logo { max-width: 400px; width: 100%; height: auto; }
.star-divider { color: #ddd; margin: 10px 0; letter-spacing: 5px; }
.tagline { font-family: 'Lato', sans-serif; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; color: #666; }

/* --- THE "YOUR FIX" GALLERY --- */
.gallery-strip { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    padding: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.gallery-item {
    flex: 1;                /* All boxes stay equal width */
    height: 450px; 
    overflow: hidden;       /* This is the "mask" */
    border-radius: 4px;
    cursor: pointer;
    background-color: #000; /* Dark background helps colors pop if there's a gap */
    
    /* CENTERING LOGIC */
    display: flex;
    justify-content: center;
    align-items: center;
    
    transition: box-shadow 0.4s ease;
}

.gallery-thumb { 
    /* YOUR CUSTOM FIX */
    height: 112%;           /* Per your testing, this removes the "crunch" */
    width: auto;            /* Keeps original proportions */
    flex-shrink: 0;         /* Vital: tells flexbox NOT to squish the width */
    
    /* SMOOTHING HACKS */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0); 
    
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* NEW HOVER EFFECT (No stretching) */
.gallery-item:hover { 
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.gallery-item:hover .gallery-thumb {
    /* Instead of the box getting wider, the image just zooms in slightly */
    transform: scale(1.1) translateZ(0); 
}

.hidden { display: none; }
.honey-field { display: none !important; }

/* --- BUTTONS --- */
.cta-buttons { display: flex; justify-content: center; margin: 20px 0 50px; }
.btn-outline, .btn-solid {
    height: 50px;
    padding: 0 35px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid black;
    transition: all 0.3s ease;
}
.btn-outline { background: white; color: black; margin-right: 15px; }
.btn-solid { background: black; color: white; }
.btn-outline:hover, .btn-solid:hover { transform: translateY(-4px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); }
.full-width { width: 100%; margin-top: 15px; }

/* --- ABOUT & FORM --- */
.about-section { background-color: var(--accent-bg); padding: 50px 20px 80px; }
.form-section { padding: 50px 20px 80px; max-width: 850px; margin: 0 auto; }
.script-font { font-family: 'Allison', cursive; font-size: 4.5rem; text-align: center; margin: 0 auto 25px; }
.about-container { display: flex; max-width: 900px; margin: 0 auto; align-items: center; gap: 50px; }
.profile-pic img { width: 280px; height: 280px; border-radius: 50%; object-fit: cover; }

.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; flex: 1; text-align: left; }
.field label { font-family: 'Lato', sans-serif; font-size: 0.75rem; text-transform: uppercase; margin-bottom: 5px; }
input, textarea { padding: 12px; border: 1px solid #ddd; font-family: 'Lato', sans-serif; border-radius: 0; font-size: 1rem; }

/* --- MODALS --- */
.modal-overlay { display: none; position: fixed; z-index: 3000; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.98); justify-content: center; align-items: center; }
.modal-content { max-width: 550px; padding: 60px; text-align: center; position: relative; }
.close-x { position: absolute; top: 20px; right: 25px; font-size: 30px; cursor: pointer; color: #999; }
.serif-heading { font-size: 3rem; margin-bottom: 20px; }

#lightbox { background: rgba(0,0,0,0.96); }
.lightbox-content { max-width: 88%; max-height: 88%; object-fit: contain; }
.close-lightbox, .prev, .next { position: absolute; color: white; font-size: 35px; cursor: pointer; user-select: none; }
.close-lightbox { top: 25px; right: 40px; }
.prev { left: 30px; } .next { right: 30px; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .about-container, .form-row { flex-direction: column; }
    .about-text { text-align: center; }
    .gallery-strip { flex-wrap: wrap; }
    .gallery-item { flex: none; width: 48%; height: 220px; margin-bottom: 10px; }
    .cta-buttons { flex-direction: column; gap: 15px; align-items: center; }
    .btn-outline { margin-right: 0; }
}