/* 1. Global Setup */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #fff; 
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden; 
}

/* 2. Navigation & Framed Logo */
.sub-nav {
    padding: 20px 40px;
    display: grid; 
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.back-btn {
    text-decoration: none;
    color: #888;
    font-size: 13px;
    text-transform: lowercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
    justify-self: start; 
}

.insta-nav {
    text-decoration: none;
    color: #888;
    font-size: 13px;
    text-transform: lowercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
    justify-self: end;
}

.back-btn:hover, .insta-nav:hover { color: #000; }

.nav-brand-box {
    position: relative;
    background-color: transparent; 
    /* Force a specific size so they CANNOT be different */
    height: 44px; 
    padding: 0 30px; /* Padding only on the sides now */
    border-radius: 8px; 
    border: none; 
    display: flex;
    align-items: center; /* Centers text vertically */
    justify-content: center;
    justify-self: center;
}

.nav-brand-box::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0; /* Align frame to the forced box size */
    border: 1px solid #000;
    border-radius: 5px;
    pointer-events: none;
}

.nav-brand-box h2 {
    font-family: 'Cormorant Garamond', serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-right: -0.2em;
    line-height: 1; /* Keep text tight inside the 44px box */
}

/* 3. Intro Section */
.wedding-intro {
    padding: 100px 20px 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.wedding-intro h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;
    margin: 20px 0;
    color: #000;
}

.intro-divider {
    width: 40px;
    height: 1px;
    background: #000;
    margin: 30px auto;
}

.intro-description {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

/* 4. Main Content Container */
.content-container {
    max-width: 900px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    text-align: center;
}

/* Video Section */
.video-wrapper {
    width: 100%;
    margin-bottom: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    line-height: 0;
}

video { 
    width: 100%; 
    height: auto; 
    display: block; 
}

/* 5. Pricing & Packages */
.subtitle {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 11px;
    color: #888;
    margin-bottom: 10px;
}

.intro-text h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 40px;
    text-align: center;
}

.price-list {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 0; /* Slightly increased padding for breathing room */
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #1a1a1a;
}

/* Remove the border from the very last item in the list */
.price-item:last-child {
    border-bottom: none;
}

.service-info {
    text-align: left;
    max-width: 75%;
}

.service-title {
    display: block;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 6px;
}

.service-detail {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

.price {
    font-weight: 400;
    font-size: 16px;
    padding-left: 20px;
    white-space: nowrap;
    margin-top: 2px; /* Aligns price better with the title text */
}


/* 6. Inclusions Section (2x2 Grid Style) */
.inclusions-section {
    margin: 80px auto;
    max-width: 600px;
    text-align: center;
}

.inclusions-section h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 500;
}

.inclusions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.inclusions-grid span {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid #eee;
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.inclusion-note {
    margin-top: 25px;
    font-size: 12px;
    color: #aaa;
    font-style: italic;
}

/* 1. The Reviews Section - Set to 40px bottom padding */
.wedding-reviews {
    width: 100%;
    padding: 80px 20px 40px 20px; 
    background-color: #ffffff;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.wedding-reviews .reviews-grid {
    display: grid;
    /* This is the exact math from your Jazz CSS */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px 40px;
    max-width: 1200px; /* Exact match to Jazz */
    margin: 60px auto 0;
}

.wedding-reviews .review-card {
    padding: 0 20px;
    text-align: center;
}

.wedding-reviews .review-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px; /* Match Jazz size */
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.wedding-reviews .review-author {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: #d4af37;
    opacity: 0.9;
}

/* Mobile Tweak - Matching Jazz */
@media (max-width: 768px) {
    .wedding-reviews .reviews-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .wedding-reviews .review-text {
        font-size: 18px;
    }
}

/* 2. The Contact Section - Syncing with Jazz */
.wedding-contact {
    /* REMOVED the 80px top margin that was causing the huge gap */
    margin: 0 auto 150px auto; 
    padding-top: 60px; 
    border-top: 1px solid #f0f0f0;
    text-align: center;
    max-width: 700px; 
}

.wedding-contact h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* 7. Contact Section & Form */
.wedding-contact {
    margin: 80px auto 150px auto; 
    /* Increased to 60px to match the Jazz gap you liked */
    padding-top: 60px; 
    border-top: 1px solid #f0f0f0;
    text-align: center;
    max-width: 700px; 
}

.wedding-contact .subtitle {
    /* Ensure no extra top margin is pushing it further down */
    margin-top: 0; 
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 11px;
    margin-bottom: 15px; 
    display: block;
}

.wedding-contact h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 30px;
}

/* The note below the heading */
.contact-note {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px auto; /* This creates the gap between text and form */
    padding: 0 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Input & Textarea Styling - Exact Match to Jazz */
.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border-radius: 4px;
    background-color: #fafafa;
    transition: border-color 0.3s;

    /* FONT MATCHING */
    color: #1a1a1a !important; 
    font-weight: 600 !important; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Match the Placeholder text weight */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    font-weight: 600;
    color: #999;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: #000;
    background-color: #fff;
}

/* Submit Button styling remains the same */
.contact-form .contact-button {
    display: inline-block;
    cursor: pointer;
    align-self: center;
    margin-top: 30px;
    width: 100%;
    max-width: 280px;
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #1a1a1a;
    padding: 18px 40px;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form .contact-button:hover {
    background-color: #fff;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* 8. Instagram Strip */
.insta-integration {
    margin-top: 120px;
    padding-bottom: 80px;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.insta-handle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: #000;
    text-decoration: none;
    font-style: italic;
    display: block;
    margin-bottom: 40px;
    transition: opacity 0.3s;
}

.insta-handle:hover { opacity: 0.7; }

.insta-strip-container {
    width: 100%;
    padding: 0 10px;
}

.insta-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 12px;
    width: 100%;
}

.insta-photo {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.insta-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.insta-photo:hover img {
    transform: scale(1.05);
}

/* 9. Mobile Responsiveness */
@media (max-width: 900px) {
    .sub-nav { padding: 15px 20px; }
    .insta-nav { display: none; }
    
    .insta-strip {
        display: flex;
        overflow-x: auto;
        padding: 0 20px;
        gap: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .insta-photo {
        flex: 0 0 70%; 
        scroll-snap-align: start;
    }

    .insta-strip::-webkit-scrollbar {
        display: none; 
    }
    
    .wedding-contact h2 {
        font-size: 32px;
    }

    .wedding-intro {
        padding: 60px 20px 40px 20px;
    }
}

.site-footer {
    background-color: #1a1a1a; 
    color: #b0b0b0; 
    padding: 20px 15px; 
    font-size: 0.85rem; 
    font-family: sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

/* Styled credit line */
.footer-credits {
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

/* This subtly accents the label 'Visuals by:' */
.footer-credits::first-line {
    color: #ffffff; 
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #ffffff;
}

.copyright {
    margin: 0;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-bottom {
        flex-direction: row;
        width: auto;
        gap: 20px;
    }
}

/* A touch more breathing room for the perfect balance */
.wedding-contact {
    padding-bottom: 70px !important; 
    margin-bottom: 0 !important;
}

.contact-form {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site-footer {
    padding-top: 20px !important; 
}