/* ============================== */
/*        Body, Font, Etc         */
/* ============================== */

    *,
    *::before,
    *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    @font-face {
        font-family: 'Montserrat';
        src: url('/fonts/Montserrat-VariableFont_wght.woff2') format('woff2-variations');
        font-weight: 100 900;
        font-style: normal;
        font-display: swap;
    }

    @font-face {
        font-family: 'Bonzai';
        src: url('/fonts/bonzai.ttf') format('truetype');
        font-weight: 100 900;
        font-style: normal;
        font-display: swap;
    }

    html {
        overflow-y: scroll;
        scroll-behavior: smooth;
        scroll-padding-top: 130px;
    }

    body {
        font-family: 'Arial', sans-serif;
        background-color: #0a0a0a;
        color: #ffffff;
        line-height: 1.6;
    }

/* ============================== */
/*         Navigation Menu        */
/* ============================== */

    /* Navbar */
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        transition: all 0.3s ease;
        font-family: 'Montserrat', sans-serif;
    }

    .navbar.scrolled {
        background: rgba(53, 53, 53, 0.774);
        backdrop-filter: blur(10px);
    }

    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100px;
    }

    .nav-menu {
        display: flex;
        list-style: none;
        gap: 0;
        background-color: rgb(0, 0, 0);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        border: 1px solid rgb(63, 63, 63);
    }

    .nav-item {
        position: relative;
    }

    .nav-link {
        color: #fff;
        text-decoration: none;
        padding: 20px 25px;
        display: block;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: .9rem;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-link:hover {
        color: #ff0000;
        background: rgba(0, 0, 0, 0.644);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, #ffffff, #cfcfcf);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

    /* Dropdown Menu */
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #ffffff;
        min-width: 240px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-item {
        padding: 12px 20px;
        color: #000000;
        background-color: white;
        text-transform: uppercase;
        font-family: 'Montserrat', sans-serif;
        font-weight: 500;
        text-decoration: none;
        font-size: clamp(.9, 2vw, 1rem);
        display: block;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.575);
    }

    .dropdown-item:hover {
        background: rgb(196, 196, 196);
        color: #ff0000;
        padding-left: 30px;
    }
    
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: none;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
        background-color: rgb(53, 53, 53);
        padding: 10px;
        border-radius: 5px;
    }

    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: #fff;
        margin: 3px 0;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Logo */
    .logo {
        display: flex;
        align-items: center;
        padding-left: 50px;
        text-decoration: none;
        color: #000000;
        font-size: 6rem;
        font-weight: bold;
        /* gap: 1.6rem; space between the two images */
        transform: scale(2);  /* this makes it 5x bigger */
    }

    .logo img {
        width: clamp(8rem, 9vw, 10rem);
        padding-right: 30px;
        height: auto;
    }

/* ============================== */
/*             Footer             */
/* ============================== */

    .footer {
        background: #131313;
        padding: 2rem;
        border-top: 1px solid #333;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        font-size: clamp(1rem, 2vw, 1rem);
        text-transform: uppercase;
    }

    .footer-container {
        justify-content: center;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 50px;
    }

    .footer-left {
        padding: 0;
        text-align: center;
    }

    .footer-center {
        padding-top: 0px;
    }

    .footer-right {
        padding-left: 0;
        padding-top: 20px;
    }

    .footer-logo img {
        height: 60px; /* or adjust as needed */
        width: auto;  /* maintain aspect ratio */
    }

    .footer-social img {
        padding-top: 10px;
        padding-bottom: 10px;
        height: 40px;
        width: auto;
        display: inline-block;
    }

    .footer a {
        color: rgb(255, 24, 24);
        text-decoration: none;
    }

    .footer a:hover {
        color: rgba(255, 89, 89, 0.726);
        text-decoration: none;
    }

    .footer-copyright {
        text-align: center;
        padding-top: 50px;
        color: rgb(160, 50, 50);
    }

    .hover-image img:last-child {
        display: none;
    }

    .hover-image:hover img:first-child {
        display: none;
    }

    .hover-image:hover img:last-child {
        display: inline;
    }

/* ============================== */
/*      Scroll Down Notifier      */
/* ============================== */

    .scroll-indicator {
        position: fixed;
        font-family: 'Montserrat', sans-serif;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
        opacity: 0.4;
        transition: opacity 0.3s ease;
        pointer-events: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .scroll-indicator:hover {
        opacity: 0.7;
    }

    .scroll-arrows {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: -5px;
    }

    .scroll-arrow {
        width: 30px;
        height: 30px;
        border: 2px solid #ff0000;
        border-top: none;
        border-left: none;
        transform: rotate(45deg);
        animation: moveDown 1.5s infinite;
    }

    .scroll-arrow:nth-child(2) {
        animation-delay: 0.2s;
    }

    .scroll-arrow:nth-child(3) {
        animation-delay: 0.4s;
    }

    .scroll-text {
        color: #ff0000;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 0px;
        font-weight: 600;
        animation: moveDownText 1.5s infinite;
    }
    
    /* Hide indicator when scrolled */
    .scroll-indicator.hidden {
        opacity: 0;
        pointer-events: none;
    }

/* ============================== */
/*     Vehicle Size Img Opener    */
/* ============================== */

    .vehicle-img-link {
        cursor: pointer;
        max-width: 100%;
        height: auto;
        color: white;
        font-family: 'Montserrat', sans-serif;
        text-decoration: underline;
        border-radius: 6px;
        transition: transform 0.2s ease;
    }

    .vehicle-img-link:hover {
        color: rgb(216, 33, 33);
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 9999;
        top: 0; left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
    }

    .modal img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 8px;
        box-shadow: 0 0 20px rgba(0,0,0,0.5);
    }

    .modal.open {
        display: flex;
    }

/* ============================== */
/*         Package Content        */
/* ============================== */

/* Hero Image is in each Package html (ex. exterior, interior, etc) */

    /* Hero Section - contains the navbar */
    .hero {
        height: 50vh;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 1400px;
        width: 100%;
        margin: 0 auto;
        padding: 120px 1rem 4rem;
        z-index: 2;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 5rem);
        font-weight: 500;
        line-height: 0.9;
        font-family: 'Montserrat', sans-serif;
        text-transform: uppercase;
        color: rgb(255, 255, 255);
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); /* strong shadow for readability */
    }

    .button-bar {
        background-color: rgb(27, 27, 27);
        padding: 1rem;
        text-align: center;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: .3rem; /* adds space between buttons */
    }

    .button-bar a {
        padding: .7rem;
        max-height: 3rem;
        width: fit-content;
        font-size: clamp(.8rem, 2vw, 1rem);
        font-family: 'Montserrat', sans-serif;
        text-transform: uppercase;
        font-weight: 700;
        background-color: rgba(0, 0, 0, 0);
        color: rgb(255, 243, 243);
        border: .1rem solid rgb(255, 0, 0);
        border-radius: 5px;
        align-self: center;
        text-decoration: none;
    }

    .button-bar a:hover {
        background-color: rgb(255, 0, 0);
        color: rgb(255, 255, 255);
        transition: .3s ease;
    }

    .button-bar a:active {
        transform: translateY(5px);
    }

    /* Package Section */
    .package {
        padding: 5rem 0;
        display: flex;
        align-items: start;
        justify-content: center;
    }

    .package-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto 1px;
        gap: 30px;
        width: clamp(100px, 80vw, 900px);
        margin: 0 auto;
        padding: 3rem;
        flex-direction: column;
        align-items: start;
        text-align: start;
        background: rgb(27, 27, 27);
        border: 1px solid rgba(255, 255, 255, 0.493);
    }

    .package-container-coating {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto 1px;
        gap: 30px;
        width: clamp(100px, 80vw, 900px);
        margin: 0 auto;
        padding: 3rem;
        flex-direction: column;
        align-items: start;
        text-align: start;
        background: rgb(27, 27, 27);
        border: 1px solid rgba(255, 255, 255, 0.493);
    }

    .package-prices {
        text-align: left;
        align-items: start;
        width: clamp(150px, 30vw, 300px);
    }
    
    .package-prices th {
        font-size: clamp(.8rem, 2vw, 1rem);
        padding: 10px;
        color: white;
    }

    .package-prices td {
        padding: 10px;
        font-size: clamp(.8rem, 2vw, 1rem);
        color: rgb(255, 255, 255);
    }

    .package-features {
        text-align: left;
        align-items: start;
        max-width: 150px;
        min-width: 100px;
    }

    .package-features td {
        border-left: 1px solid rgb(255, 0, 0);
        padding: 10px;
        color: white;
        font-size: clamp(.45rem, 1vw, 1rem);
        background-color: rgba(0, 0, 0, 0.658);
    }

    .package-title {
        display: inline-block;
        width: fit-content;
        font-size: clamp(1.2rem, 6vw, 2.5rem);
        font-weight: 600;
        padding: .5rem;
        border-bottom: 5px solid rgb(0, 0, 0);
        line-height: 1.2;
        color: rgb(255, 255, 255);
        text-shadow: 0 0 30px rgba(121, 121, 121, 0.5);
        letter-spacing: 3px;
        font-family: 'Montserrat', sans-serif;
        text-transform: uppercase;
    }

    .package-title2 {
        font-size: clamp(1.5rem, 2vw, 2rem);
        font-weight: 400;
        line-height: 1.2;
        color: rgb(255, 255, 255);
        width: fit-content;
        background-color: rgba(253, 253, 253, 0);
        border-radius: 10px;
        padding: 10px;
        letter-spacing: 3px;
        font-family: 'Montserrat', sans-serif;
        text-transform: uppercase;
    }

    .package-subtitle {
        font-size: clamp(1.3rem, 2vw, 1.5rem);
        font-weight: 300;
        line-height: 1.2;
        color: rgb(255, 255, 255);
        width: fit-content;
        background-color: rgba(253, 253, 253, 0);
        border-radius: 10px;
        padding: 20px 0px;
        letter-spacing: 3px;
        font-family: 'Montserrat', sans-serif;
        text-transform: uppercase;
    }

    .package-description {
        font-size: clamp(.8rem, 2vw, 1rem);
        grid-column: 2;
        grid-row: 4;
        color: #ffffff;
        line-height: 1.6;
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        letter-spacing: 0.05em;
    }

    .package-description2 {
        font-size: clamp(.7rem, 2vw, .8rem);
        grid-column: 2;
        grid-row: 4;
        color: #ffffff;
        line-height: 1.6;
        font-family: 'Montserrat', sans-serif;
        font-weight: 300;
        font-style: italic;
        text-align: center;
        letter-spacing: 0.05em;
        grid-column: span 2; 
        grid-row: 4;
    }

    .package-table-wrapper {
        overflow-x: auto;
        width: 100%;
    }

    .package-features-list {
        list-style: none;       /* Remove default bullets */
        padding: 0;
        margin: 0;
        font-family: 'Montserrat', sans-serif;
        font-size: clamp(.8rem, 2vw, 1rem);
    }

    .package-features-list li {
        display: flex;
        align-items: flex-start; /* Align bullet with top of text */
        gap: 0.5rem;
        border-bottom: 2px solid rgba(0, 0, 0, 0.199);
        margin-bottom: .5rem;
    }

    .package-list-bullet {
        width: 1rem;  /* Adjust size as needed */
        height: clamp(.8rem, 2vw, 1rem);
        background-image: url('/images/emojis/red-diamond.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        flex-shrink: 0;
        margin-top: 0.2em; /* Optional: fine-tune vertical alignment */
    }

    .package-list-bullet-2 {
        width: 1rem;  /* Adjust size as needed */
        height: clamp(.5rem, 2vh, .8rem);
        background-image: url('/images/emojis/red-plus.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        flex-shrink: 0;
        margin-top: 0.2em; /* Optional: fine-tune vertical alignment */
    }

    .package-request-button {
        grid-column: 1;
        grid-row: 5;
        padding: 1rem;
        min-width: 10rem;
        min-height: 2rem;
        font-size: clamp(.7rem, 2vw, 1rem);
        font-family: 'Montserrat', sans-serif;
        text-transform: uppercase;
        text-decoration: none;
        width: fit-content;
        font-weight: 700;
        background-color: rgb(15, 15, 15);
        color: rgb(255, 0, 0);
        border: .20rem solid rgb(255, 0, 0);
        border-radius: 10px;
    }

    .package-request-button:hover {
        color: rgb(255, 250, 250);
        background-color: red;;
        border: .20rem solid rgba(255, 0, 0, 0.541);
        transition: .3s ease;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {

        .package-description2 {
            grid-column: 1;
        }

        .package-container-coating,
        .package-container {
            display: flex;
        }

        .package-title {
            width: clamp(170px, 42vw, 275px);
        }

        .modal img {
            max-height: 75%;
        }
    }

/* ============================== */
/*            Animations          */
/* ============================== */

    @keyframes moveDown {
        0% {
            transform: translateY(-10px) rotate(45deg);
            opacity: 0;
        }
        50% {
            opacity: 1;
        }
        100% {
            transform: translateY(20px) rotate(45deg);
            opacity: 0;
        }
    }

    @keyframes moveDownText {
        0% {
            transform: translateY(-10px);
            opacity: 0;
        }
        50% {
            opacity: 1;
        }
        100% {
            transform: translateY(20px);
            opacity: 0;
        }
    }

    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }


    /* Tablet Responsive */
    @media (max-width: 1024px) {
        .nav-container {
            padding: 0 1rem;
        }

        .nav-menu {
            position: fixed;
            top: 0px;
            left: -100%;
            width: 100%;
            height: 100vh;
            background: #1a1a1a;
            flex-direction: column;
            transition: left 0.3s ease;
            padding: 20px 0;
            overflow-y: auto;
        }

        .nav-menu.active {
            left: 0;
        }

        .nav-item {
            top: 80px;
            width: 100%;
        }

        .nav-link {
            padding: 15px 25px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mobile-menu-toggle {
            display: flex;
        }

        .dropdown-menu {
            position: static;
            opacity: 0;
            visibility: hidden;
            transform: none;
            box-shadow: none;
            background: rgba(0, 0, 0, 0.3);
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            max-height: 300px;
        }
        
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        
        .footer-container {
            flex-direction: column;
            gap: 1.5rem;
        }

        .footer-social {
            flex-wrap: wrap;
            justify-content: center;
        }

    }

    /* Small Mobile */
    @media (max-width: 480px) {
        .package-request-button {
            place-self: center;
        }

        .modal img {
            max-height: 65%;
        }
        
    }

    /* Small Mobile */
    @media (max-width: 320px) {

    }
    
