﻿/* General.css – Complete and Revised (Including Responsive Nav) */


/*─────────────────────────────────────────────────────────────────────────*/
/* Global Reset & Base Styles                                             */
/*─────────────────────────────────────────────────────────────────────────*/
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    background-color: #000;
}

/*─────────────────────────────────────────────────────────────────────────*/
/* Nav Bar with Fixed Height                                               */
/*─────────────────────────────────────────────────────────────────────────*/
nav {
    background-color: #000;
    height: 70px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/*─────────────────────────────────────────────────────────────────────────*/
/* Logo on the Left                                                        */
/*─────────────────────────────────────────────────────────────────────────*/
/* Fluidly shrink from 200px down to 120px as viewport narrows */
.nav-logo {
    width: clamp(120px, 15vw, 200px);
    height: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;


    /* added to prevent extending past screen */
    max-width: 100vw;
    box-sizing: border-box;
}


.nav-logo-link:hover .nav-logo {
    transform: scale(1.1);
}

/*─────────────────────────────────────────────────────────────────────────*/
/* Account                                                                 */
/*─────────────────────────────────────────────────────────────────────────*/

.nav-login-btn {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: transparent;
    border: 2px solid #f2a365;
    border-radius: 6px;
    padding: 8px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .nav-login-btn:hover {
        background-color: #f2a365;
        color: #000;
    }

.nav-login-section {
    display: flex;
    align-items: center;
}

.nav-login-btn, .account-icon {
    font-size: 14px;
    cursor: pointer;
}

    .account-icon img {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: transparent;
        border: 2px solid #f2a365;
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    }

@media (max-width: 768px) {
    .nav-login-section {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.account-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.account-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-sizing: border-box;
    box-shadow: 0 2px 8px #fff;
    padding: 0;
    transition: box-shadow 0.3s;
}

    .account-icon:hover, .account-icon:focus {
        box-shadow: 0 0 18px 1px #fff, 0 2px 8px #fff;
    }


    .account-icon img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: transparent;
        border: none;
        display: block;
    }

.account-dropdown .dropdown-content {
    position: absolute;
    right: 0;
    left: auto;
    min-width: 260px;
    background-color: #111;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    margin-top: 8px;
    padding: 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;



    /*transform: translateY(10px);*/
    transform: none;
    top: 100%;

    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    text-align: center;
}
    .account-dropdown .dropdown-content li span.dropdown-signedin {
        color: #bbb !important; /* grey for 'Signed in' */
        font-size: 12px;
        font-weight: 400;
        margin-top: 0;
        margin-bottom: 2px;
        padding-top: 0;
        padding-bottom: 0;
        letter-spacing: 0.01em;
        display: block;
        cursor: default;
    }

    .account-dropdown .dropdown-content li span.dropdown-email {
        color: #f2a365 !important; /* orange for email */
        font-size: 16px;
        font-weight: 400;
        margin-top: 0;
        margin-bottom: 5px;
        padding-top: 0;
        padding-bottom: 0;
        display: block;
        cursor: default;
    }

    .account-dropdown .dropdown-content.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        /*transform: translateY(0);*/
    }

    .account-dropdown .dropdown-content li {
        padding: 0;
        margin: 0;
        border-bottom: 1px solid #222;
        list-style: none;
    }

        .account-dropdown .dropdown-content li button.signout-bt {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            width: 100%;
            text-align: center;
            padding: 14px 0;
        }

        .account-dropdown .dropdown-content li button.signout-btn:hover {
            background: #e74c3c;
            color: #fff;
        }

        .account-dropdown .dropdown-content li:last-child {
            border-bottom: none;
        }

        .account-dropdown .dropdown-content li a,
        .account-dropdown .dropdown-content li span,
        .account-dropdown .dropdown-content li button {
            display: block;
            width: 100%;
            padding: 14px 0;
            color: #fff;
            background: none;
            border: none;
            text-align: center !important;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            text-decoration: none;
            transition: background 0.2s, color 0.2s;
            letter-spacing: 0.01em;
        }

        .account-dropdown .dropdown-content li span {
            font-size: 15px;
            color: #f2a365;
            font-weight: 600;
            padding-bottom: 0;
        }

        .account-dropdown .dropdown-content li .dropdown-email {
            font-size: 13px;
            color: #bbb;
            font-weight: 400;
            padding-bottom: 0;
            margin-bottom: 0;
            margin-top: -8px;
        }

        .account-dropdown .dropdown-content li a:hover,
        .account-dropdown .dropdown-content li button:hover {
            background: #f2a365;
            color: #000;
        }

@media (max-width: 768px) {
    .account-dropdown {
        width: 100%;
        justify-content: center;
    }

        .account-dropdown .dropdown-content {
            position: fixed;
            left: 50%;
            top: 70px;
            right: auto;
            transform: translate(-50%, 0);
            min-width: 90vw;
            width: 90vw;
            margin: 0;
            box-shadow: 0 8px 24px rgba(0,0,0,0.25);
            border-radius: 14px;
            text-align: center;
        }

            .account-dropdown .dropdown-content.show {
                transform: translate(-50%, 0);
            }
}

/*─────────────────────────────────────────────────────────────────────────*/
/* Desktop Navigation Menu                                                 */
/*─────────────────────────────────────────────────────────────────────────*/
.menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between; /* distribute items */
    flex-wrap: nowrap; /* keep on one row */
    white-space: nowrap;
}

    .menu li {
        position: relative;
        flex: 1 1 auto; /* allow items to shrink/grow */
        min-width: 0; /* enable flex shrink */
        margin: 0 6px;
    }

        .menu li.dropdown {
            flex: 0 1 auto; /* dropdown toggles only shrink as needed */
        }

        .menu li a {
            display: block;
            text-decoration: none;
            color: #fff;
            font-weight: bold;
            font-size: clamp(12px, 1.2vw, 15px);
            padding: 8px 10px;
            border-radius: 5px;
            transition: transform 0.3s ease, color 0.3s ease;
            position: relative;
        }

            .menu li a::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                width: 0;
                height: 2px;
                background: #f2a365;
                transition: width 0.3s ease;
            }

            .menu li a:hover {
                transform: translateY(-3px);
                color: #f2a365;
            }

                .menu li a:hover::after {
                    width: 100%;
                }

/*─────────────────────────────────────────────────────────────────────────*/
/* Dropdown Menu                                                           */
/*─────────────────────────────────────────────────────────────────────────*/
.dropdown .dropdown-content {
    position: absolute;
    left: 0;
    background-color: #111;
    min-width: 200px;
    padding: 8px 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1050;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown .dropdown-content li {
    margin: 6px 0;
}

    .dropdown .dropdown-content li a {
        padding: 12px 24px;
        color: #fff;
        font-size: 15px;
        border-radius: 4px;
        transition: background-color 0.3s ease;
        display: block;
        text-decoration: none;
    }

        .dropdown .dropdown-content li a:hover {
            background-color: #f2a365;
            color: #000;
        }

/*─────────────────────────────────────────────────────────────────────────*/
/* Hamburger Button (Hidden on Desktop)                                     */
/*─────────────────────────────────────────────────────────────────────────*/
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: none;
    z-index: 2000;
    padding: 0;
}

.hamburger, .hamburger::before, .hamburger::after {
    width: 40px;
    height: 4px;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

    .hamburger::before,
    .hamburger::after {
        content: "";
        position: absolute;
    }

    .hamburger::before {
        top: -10px;
    }

    .hamburger::after {
        top: 10px;
    }

/*─────────────────────────────────────────────────────────────────────────*/
/* Intermediate Breakpoint – pre-shrink at ~1000px                         */
/*─────────────────────────────────────────────────────────────────────────*/
@media (max-width: 1000px) {
    .menu li a {
        font-size: 14px;
        padding: 6px 8px;
    }
}

/*─────────────────────────────────────────────────────────────────────────*/
/* Mobile Styles (Hamburger)                                               */
/*─────────────────────────────────────────────────────────────────────────*/
@media (max-width: 768px) {
    .menu-toggle {
        display: block !important;
    }

    .menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #000;
        text-align: center;
        z-index: 9999;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 1s ease, transform 1s ease;
        display: none;
    }

        .menu.show {
            display: flex !important;
            opacity: 1;
            transform: translateY(0);
        }

        .menu li {
            margin: 10px 0;
            opacity: 0;
            transform: translateX(-20px);
            animation: slideInLeft 0.4s ease forwards;
        }

    .dropdown .dropdown-content {
        position: static;
        display: none;
        background-color: #111;
        margin: 6px 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.4s ease;
        max-height: 0;
        border-radius: 4px;
    }

        .dropdown .dropdown-content.show {
            display: block;
            opacity: 1;
            max-height: 400px;
        }
}

/*─────────────────────────────────────────────────────────────────────────*/
/* Keyframes for Mobile Menu Animation                                      */
/*─────────────────────────────────────────────────────────────────────────*/
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/*─────────────────────────────────────────────────────────────────────────*/
/* Keyframes for Calendly Button Glow                                       */
/*─────────────────────────────────────────────────────────────────────────*/
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(242,163,101, 0.5);
        background-color: transparent;
    }

    30% {
        box-shadow: 0 0 16px 8px rgba(242,163,101, 0.5);
    }

    60% {
        box-shadow: 0 0 24px 12px rgba(242,163,101, 0.6);
    }
}

/*─────────────────────────────────────────────────────────────────────────*/
/* Calendly Button Styling                                                  */
/*─────────────────────────────────────────────────────────────────────────*/
.menu li > a.calendly-btn {
    display: inline-block;
    padding: 8px 18px;
    font-weight: bold;
    font-size: 15px;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    background-color: transparent;
    color: #f2a365;
    border: 2px solid #f2a365;
    animation: glowPulse 5s ease-in-out infinite;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

    .menu li > a.calendly-btn:hover {
        animation: none;
        background-color: #f2a365;
        color: #000 !important;
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(242,163,101,0.5);
    }

/*─────────────────────────────────────────────────────────────────────────*/
/* Typography & Footer Styling                                              */
/*─────────────────────────────────────────────────────────────────────────*/
p, h1, h2, h3, footer, footer a {
    color: aliceblue;
}

footer {
    text-align: center;
}


/*─────────────────────────────────────────────────────────────────────────*/
/* Exit popup on layout for the site                                           */
/*─────────────────────────────────────────────────────────────────────────*/

.exit-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.exit-popup-content {
    position: relative;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    text-align: center;
    width: 80%;
    max-width: 500px;
}

.exit-popup-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

#exit-popup-book-btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #f2a365;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 15px;
}

    #exit-popup-book-btn:hover {
        background-color: #d18452;
    }
.exit-popup-content h2,
.exit-popup-content p {
    color: #222; /* dark color for contrast */
}

.exit-popup-content strong {
    color: #f2a365; /* highlight color matching your brand */
}

/*─────────────────────────────────────────────────────────────────────────*/
/* mobile calendly button                                         */
/*─────────────────────────────────────────────────────────────────────────*/

.mobile-cta-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    background-color: #f2a365;
    color: white;
    padding: 14px 18px;
    font-size: 16px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    display: none; /* initially hidden, shown by JS */
}

@media (max-width: 768px) {
    .mobile-cta-btn {
        padding: 14px 18px;
        font-size: 16px;
    }
}


