/* 1. VARIABLES */
:root {
    --bg-cream: #fff9f0;
    --gold: #e3a34c;
    --dark-gold: #8b6b43;
    --black: #1a1a1a;
    --font-main: 'Poppins', sans-serif;
    --font-script: 'Caveat', cursive;
}

/* 2. GLOBAL STYLES */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

body {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F0 50%, #FFE9C2 100%);
    background-attachment: fixed;
    color: var(--black);
    font-family: var(--font-main);
    margin: 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* 4. HEADER & NAVIGATION */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Spreads Logo, Nav, and Button apart */
    padding: 20px 5%;
    background-color: var(--bg-cream);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
}

.logo {
    flex: 1; /* Gives the logo container equal weight to the button container */
}

.nav {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex: 2; /* Takes up more space to stay centered */
}

.nav a {
    text-decoration: none;
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--gold);
}

/* Container for the button to balance the logo */
.header-cta-container {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Pushes button to the far right */
}

/* 4. HERO SECTION & GAP CLOSURE */
.hero-section {
    
    padding: 0px 5% 0px 5%; /* Reduced bottom padding to close gap */
}

.profile-img {
    width: 391px;
    height: 299px;
    object-fit: cover;
    margin: 40px auto 0;
    display: block;
    border-radius: 10px;
}

/* 5. SECTIONS & DIVIDERS */
.sub-section {
    padding: 30px 5%; /* Balanced padding for all sections */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: transparent;
}

#about.sub-section {
    padding-top: 40px; /* Reduced top padding to meet the divider line */
}

.section-divider {
    width: 60%;
    max-width: 400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto;
    opacity: 0.4;
}
/* 6. CONTENT CONTAINERS */
.about-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    /* Removed text-align: center to allow for justification */
}

.testimonial-container, .contact-container {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.3);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* 7. TYPOGRAPHY */

.main-title {
    margin: 20px 0;
    font-weight: 500;
    font-size: 3.5rem;
    line-height: 1.1;
    text-align: center; /* Ensures the main title stays centered */
}

.sub-title {
    margin-top: 20px;
    margin-bottom: 0px; 
    font-weight: 500;
    font-size: 3.5rem;
    line-height: 1.1;
    text-align: center; /* Keeps section titles centered */
}

.serif-gold {
    color: var(--gold);
    font-weight: 600;
}

.script-black {
    font-family: var(--font-script);
    font-size: 1.3em;
    color: var(--black);
    position: relative;
    top: 5px;
    display: inline-block;
}

/* The "Safety Net" for justified and centered text blocks */
.description, .about-text {
    max-width: 700px;       /* Keeps the text from stretching too wide */
    margin-left: auto;      /* Centers the block on the page */
    margin-right: auto;     /* Centers the block on the page */
    font-weight: 300;
    line-height: 1.6;
    color: #444;
    text-align: justify;    /* Creates the clean edges on left and right */
    text-justify: inter-word;
}

.testimonial-quote {
    font-size: 1.4rem;
    line-height: 1.8;
    font-weight: 300;
    font-style: italic;
    text-align: center;     /* Testimonials usually look better centered */
}

/* Ensures bold words pop as discussed earlier */
strong, b {
    font-weight: 700;
    color: var(--black);
}


/* 8. PACKAGES GRID */

/* 1. Desktop View: Show the line only here */
@media (min-width: 769px) {
    .packages-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: relative;
        gap: 40px;
    }

    /* The Vertical Line - only exists on desktop */
    .packages-grid::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 10%;
        bottom: 10%;
        width: 1px;
        background-color: rgba(227, 163, 76, 0.3);
        transform: translateX(-50%);
    }
}

/* 8. PACKAGES GRID */

/* Desktop View (Side-by-Side) */
@media (min-width: 769px) {
    .packages-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: relative;
        gap: 60px;
        border-top: 1px solid rgba(227, 163, 76, 0.1); /* Subtle top line */
        padding-top: 40px;
    }

    /* The Vertical Divider - No crossing lines */
    .packages-grid::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 1px;
        background-color: rgba(227, 163, 76, 0.2);
        transform: translateX(-50%);
    }

    /* Remove any borders on individual cards that create the 'box' or 'cross' */
    .package-card {
        border: none !important;
    }
}

/* Mobile View (Stacked) */
@media (max-width: 768px) {
    .packages-grid {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    /* Kill the vertical line on mobile */
    .packages-grid::after {
        display: none !important;
    }

    /* Add a simple separator between cards on mobile only */
    .package-card.border-sides {
        border-bottom: 1px solid rgba(227, 163, 76, 0.2) !important;
        padding-bottom: 40px;
    }
}
/* 9. BUTTONS (Merged & Cleaned) */
.cta-button-filled {
    background-color: var(--gold);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button-filled:hover {
    background-color: var(--dark-gold);
    transform: translateY(-2px);
}

.top-cta {
    border: 1.5px solid var(--gold);
    color: var(--black);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.top-cta:hover {
    background-color: var(--gold);
    color: white;
}

.submit-button {
    background-color: var(--gold);
    color: white;
    border: none;
    padding: 15px 60px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--dark-gold);
}

/* 10. FORM INPUTS */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    align-items: center;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    max-width: 600px;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-main);
}

/* 11. CALENDAR EMBED */
.calendar-embed-container {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 12. RESPONSIVE DESIGN */
@media (max-width: 900px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
    .border-sides {
        border: none;
        border-top: 1px solid rgba(227, 163, 76, 0.2);
        border-bottom: 1px solid rgba(227, 163, 76, 0.2);
    }
    .main-title, .sub-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .calendar-embed-container {
        padding: 5px;
        height: 600px;
    }
    iframe {
        height: 550px;
    }
}
/* Ensuring bold keywords are clearly visible */
strong, b {
    font-weight: 700; /* This makes the bold words stand out against the light text */
    color: var(--black); /* Ensures they stay dark and readable */
}
/* Styling the Bullet Points */
.expect-list-container {
    max-width: 600px; /* Limits width so it stays centered as a block */
    margin: 30px auto;
    text-align: left; /* Aligns the text to the left for readability */
}

.expect-list {
    list-style: none; /* Removes default black bullets */
    padding-left: 0;
}

.expect-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 300;
    color: #444;
}

/* Creating custom gold bullets */
.expect-list li::before {
    content: "•";
    color: var(--gold);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}
/* 13. HIDDEN ELEMENTS */
.contact-header, .divider, .contact-line {
    display: none;
}

.description, .about-text {
    max-width: 700px;       /* Limits the width of the text block */
    margin-left: auto;      /* Centers the block itself */
    margin-right: auto;     /* Centers the block itself */
    text-align: justify;    /* Stretches the text inside the block */
    text-justify: inter-word;
    font-weight: 300;
    line-height: 1.6;
}

/* 15. LEGAL PAGES STYLING */
.legal-content {
    max-width: 800px;
    margin: 40px auto;
    text-align: justify; /* Consistent with your brand preference */
    line-height: 1.8;
    padding: 0 20px;
    color: #444;
}

.legal-content h3 {
    color: var(--gold);
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: left; /* Keep headers left-aligned */
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
    list-style-type: square;
    color: var(--dark-gold); /* Subtle brand touch on bullets */
}

/* Aligning all "What to Expect" text blocks */
.sub-section p, 
.section-label {
    max-width: 700px;       /* Matches the width of your bottom paragraph */
    margin-left: auto;      /* Centers the block */
    margin-right: auto;     /* Centers the block */
    text-align: justify;    /* Gives it those clean edges you like */
    text-justify: inter-word;
}

/* Keeps the "YOU AND I..." label centered if you prefer that look */
.section-label {
    text-align: center; 
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* 17. MOBILE NAVIGATION (BURGER MENU) */

/* Hide burger on Desktop */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    transition: 0.3s;
}

/* 17. MOBILE NAVIGATION & HEADER */
@media (max-width: 768px) {
    
    /* ADD THIS: Pushes the whole page down so it doesn't hide under the menu */
    body {
        padding-top: 80px !important; 
    }

    /* Header Container */
    .header {
        padding: 10px 15px !important;
        height: 80px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: fixed;
        width: 100%;
        box-sizing: border-box; /* Ensures padding doesn't push header off screen */
        top: 0;
        left: 0; /* Ensures it starts at the very edge */
        background: var(--bg-cream);
        z-index: 1000;
    }

    /* Shrink the logo */
    .logo img {
        height: 30px !important;
        width: auto !important;
        flex-shrink: 0;
    }

    /* The Call Button */
    .top-cta {
        padding: 8px 12px !important;
        font-size: 0.7rem !important;
        margin: 0 auto !important; /* Forces it to the center of the available space */
        white-space: nowrap;
        display: inline-block !important;
    }

    /* THE BURGER BUTTON */
    .mobile-menu-btn {
        display: flex !important; /* Force show */
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 2001;
        flex-shrink: 0;
        margin-right: 50px;
    }

    /* THE VISIBLE LINES */
    .mobile-menu-btn span {
        display: block !important;
        width: 25px;
        height: 2px;
        background-color: #333 !important; /* Solid dark color */
        transition: 0.3s ease;
    }

    /* The Slide-out Nav Menu */
    .nav {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden */
        height: 100vh;
        width: 80%;
        background: var(--bg-cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        box-shadow: -10px 0 20px rgba(0,0,0,0.1);
        transition: 0.4s ease-in-out;
        z-index: 1500;
    }

    .nav.active {
        right: 0; /* Slide in */
    }
}