/* @import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

/* ===== Global Styles ===== */
:root {
    --lightPurple: #876ca0;
    --burntOrange: #ad6650;
    --muteGreen: #f6f5ea;
}

body {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    box-sizing: border-box;
}

#bodyWrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== Main Content Styles ===== */
#heroImgContainer {
    margin-bottom: 2rem;
}

#heroImgContainer img{
    width: 100%;
}

.hero-overlay-text {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--lightPurple); /* or your preferred color */
    font-size: 3rem;
    font-weight: bold;
    pointer-events: none;
    text-align: center;
}

.hero-overlay-button {
    position: absolute;
    top: 72.5%; /* adjust as needed */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    
}

.hero-btn {
    display: inline-block;
    background: #aa93be;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s;
}

.hero-btn:hover {
    background: #8c6fae;
}

#heroImgContainer2 {
    /* margin-top: 2rem; */
    position: relative;
    margin: 0 4%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* aligns items to the left */
    min-height: 300px; /* adjust as needed */
    padding: 5rem;
}

#heroImgContainer2 img{
    width: 100%;
    max-width: 800px; /* adjust as needed */
    transform: translateX(25%); /* shift image left */
    z-index: 1;
    position: relative;}

.hero-overlay-text2 {
    position: absolute;
    left: 50%; /* shift overlay right */
    top: 50%;
    transform: translateY(-50%);
    color: var(--lightPurple);
    background: var(--muteGreen); /* optional: makes text readable */
    padding: 1.2rem 2rem;
    font-size: 2rem;
    font-weight: bold;
    z-index: 2;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    white-space: pre-line;
}

.hero-overlay-text2 a {
    color: var(--lightPurple);
    text-decoration: none;
}

/* ==== Tablet Queries ==== */
@media (min-width: 601px) and (max-width: 1024px) {
/* ==== Main Body ==== */
    main {
        margin-top: 10px; /* Adjusted for sticky header */
    }

    #heroImgContainer {
        /* margin: 2rem 2vw 2rem 2vw; Add vertical margin */
        padding: 1rem 0;
        min-height: 250px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    #heroImgContainer2 {
        margin: 2rem 2vw 2rem 2vw; /* Add vertical margin */
        padding: 1rem 0;
        min-height: 250px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    #heroImgContainer img,
    #heroImgContainer2 img {
        max-width: 100%;
        width: 100%;
        height: auto;
        margin-bottom: 1.5rem; /* Space below image */
        transform: none;
        position: relative;
        z-index: 1;
    }

    .hero-overlay-text,
    .hero-overlay-text2 {
        position: relative; /* Remove absolute positioning for mobile */
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
        background: var(--muteGreen);
        color: var(--lightPurple);
        border-radius: 0.25rem;
        box-shadow: none;
        width: 90vw;
        max-width: 95vw;
        text-align: center;
        z-index: 2;
    }

    .hero-overlay-text2 {
        margin-top: 1rem;
        left: 0;

    }

    .hero-overlay-button {
        position: relative;
        margin-bottom: 1.5rem;
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
    }
}

/* ==== Mobile Queries ==== */
@media (max-width: 600px) {
/* ==== Main Body ==== */
    main {
        margin-top: 10px; /* Adjusted for sticky header */
    }

    #heroImgContainer,
    #heroImgContainer2 {
        margin: 2rem 2vw 2rem 2vw; /* Add vertical margin */
        padding: 1rem 0;
        min-height: 250px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    #heroImgContainer img,
    #heroImgContainer2 img {
        max-width: 100%;
        width: 100%;
        height: auto;
        margin-bottom: 1.5rem; /* Space below image */
        transform: none;
        position: relative;
        z-index: 1;
    }

    .hero-overlay-text,
    .hero-overlay-text2 {
        position: relative; /* Remove absolute positioning for mobile */
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
        background: var(--muteGreen);
        color: var(--lightPurple);
        border-radius: 0.25rem;
        box-shadow: none;
        width: 90vw;
        max-width: 95vw;
        text-align: center;
        z-index: 2;
    }

    .hero-overlay-text2 {
        margin-top: 1rem;
        left: 0; /* Reset left position */
        transform: none; /* Reset transform */
    }

    .hero-overlay-button {
        position: relative;
        margin-bottom: 1.5rem;
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
    }
}