/* Global Smooth Scrolling for Navigation Links */
html {
    scroll-behavior: smooth;
}

/* --- Basic Reset & Body --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f4;
    line-height: 1.6;
}

/* --- Header & Navigation Bar --- */
header {
    background-color: #000000;
    color: #ffffff;
    padding: 1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* --- Logo Styling --- */
.logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.logo-icon {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    color: #ffffff;
    line-height: 1;
}

.logo-icon-img {
    height: 40px;
    width: auto;
}

.logo-subtext {
    font-size: 0.85rem;
    color: #E63946;
    font-weight: 700;
}

/* --- Navigation Menu (Desktop View) --- */
.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    background-color: #E63946;
    color: #ffffff;
}

/* --- Hamburger Menu & Close Button (Hidden on Desktop) --- */
.menu-toggle {
    display: none;
}

.menu-icon,
.menu-close-button {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

/* --- Main Content Sections --- */

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px);
    position: relative;
    background-image: url('../images/generic.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    text-align: center;
}

.content-section {
    padding: 6rem 2rem;
    text-align: center;
    min-height: 50vh;
}

.content-section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 900;
}

.content-section p {
    max-width: 850px;
    margin: 0 auto 1.5rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Alternating Section Colors */
#pricing {
    background-color: #000000;
    color: #ffffff;
}

#services {
    background-color: #ffffff;
    color: #000000;
}

#about {
    background-color: #000000;
    color: #ffffff;
}

#contact {
    background-color: #ffffff;
    color: #000000;
}

#terms {
    background-color: #000000;
    color: #ffffff;
}

.red-text {
    color: #E63946;
}

/* --- CTA Container (Holds Email Now button) --- */
.cta-container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* --- Call to Action Button (White BG, Red Text) --- */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;

    background-color: #ffffff;
    color: #E63946;
    border: 3px solid #E63946;

    padding: 1rem 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-button .icon-email, .icon-calendar {
    width: 28px;
    height: 28px;
    fill: #E63946;
    transition: fill 0.3s ease;
    vertical-align: middle; /* Aligns the icon with the middle of the text */
    margin-bottom: 5px;
}

.text {
    font-size: 1rem;
}

.cta-button:hover,
.cta-button:focus {
    background-color: #E63946;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.cta-button:hover .icon-email, .cta-button:hover .icon-calendar {
    fill: #ffffff;
}

/* --- Scroll Down Button (Pricing) --- */
.scroll-down-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);

    padding: 0.75rem 1.5rem;

    background-color: #E63946;
    color: #ffffff;
    border: 2px solid #ffffff;

    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

    margin-top: 0;
    margin-bottom: 0;
}

.scroll-down-button:hover {
    background-color: #ffffff;
    color: #E63946;

    transform: translate(-50%, -2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.scroll-down-button .arrow-down {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.scroll-down-button:hover .arrow-down {
    fill: #E63946;
}

/* --- Service List Styles --- */
.services-list-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 900px;
    margin: 2rem auto 0 auto;
    text-align: left;
}

.services-list-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list-container li {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

/* Custom Red Bullet Point */
.services-list-container li::before {
    content: '•';
    color: #E63946;
    font-size: 1.5em;
    line-height: 0.8;
    position: absolute;
    left: 0;
    top: 0.1rem;
}

/* --- Service Packages Subsection --- */
.service-packages-subsection {
    margin-top: 3rem;
    text-align: center;
}

.service-packages-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.service-packages-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-package-box {
    border: 2.5px solid #E63946;
    border-radius: 18px;
    padding: 2rem 2.5rem;
    background: #fff;
    max-width: 350px;
    min-width: 260px;
    box-shadow: 0 2px 12px rgba(230, 57, 70, 0.06);
    text-align: left;
    margin-bottom: 2rem;
}

#services .service-package-box {
    background: #f9f9f9;
}

.service-package-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.service-package-price {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #222;
}

.service-package-desc {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

/* Responsive for Service Packages */
@media (max-width: 768px) {

    /* ...existing code... */
    .service-packages-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .service-package-box {
        width: 100%;
        max-width: 400px;
        min-width: 0;
        padding: 1.2rem 1rem;
    }
}

/* --- Responsive Design (Mobile: max-width 768px) --- */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .logo-container {
        align-items: center;
    }

    /* --- Hamburger Menu Styles (Open Button) --- */
    .menu-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
    }

    .menu-toggle:checked~.menu-icon {
        display: none;
    }

    .menu-icon span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #ffffff;
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }

    /* --- Close Button Styling --- */
    .menu-close-button {
        display: none;
        position: absolute;
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        line-height: 50px;
        text-align: center;
        background-color: #E63946;
        color: #FFFFFF;
        font-size: 1.5rem;
        font-weight: 700;
        border-radius: 8px;
        cursor: pointer;
        z-index: 1005;
    }

    .menu-toggle:checked~.menu-close-button {
        display: block;
    }

    /* --- Mobile Nav List (Hidden by default) --- */
    .main-nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .main-nav li {
        margin: 1.5rem 0;
        width: auto;
        text-align: center;
    }

    .main-nav a {
        display: block;
        width: auto;
        font-size: 1.5rem;
        padding: 1rem;
    }

    .menu-toggle:checked~ul {
        display: flex;
    }

    .hero {
        height: calc(100vh - 80px);
        min-height: 0;
        justify-content: start;
    }

    .cta-container {
        margin-top: 20vh;
    }

    .cta-button .icon-email {
        width: 22px;
        height: 22px;
    }

    .text {
        font-size: 0.8rem;
    }

    .content-section {
        padding: 4rem 1rem;
    }

    .content-section h2 {
        font-size: 2.5rem;
    }

    /* New Responsive Service List Style */
    .services-list-container {
        flex-direction: column;
        gap: 0;
        padding: 0 1rem;
    }

    .scroll-down-button {
        bottom: 150px;
    }
}

/* Fixed Email Now Button */
#book-now-container.fixed-email {
    position: fixed;
    top: 6rem;
    right: 2rem;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

#book-now-container.fixed-email .cta-button {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments for Small Screens */
@media (max-width: 768px) {
    #book-now-container.fixed-email {
        top: -3rem;
        right: 0.4rem;
    }

    #book-now-container.fixed-email .cta-button {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
}

/* Center Email Button in Contact Us Section */
.center-email-button {
    justify-content: center;
}