/* ====================================
site.css COMPLETO - TICO POOLS NJ
Copiar y reemplazar todo
==================================== */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ROOT */
:root {
    --primary-blue: #007bff;
    --light-blue: #38bdf8;
    --dark-blue: #0f172a;
    --black: #000;
    --white: #fff;
    --gray: #d1d5db;
    --transition: all 0.3s ease;
}

/* BODY */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: #111;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 100px;
}

/* LINKS */
a {
    text-decoration: none;
}

/* IMAGES */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* CONTAINER */
.container-max {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* ===========================
   NAVBAR
=========================== */
#navScroll {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    z-index: 999;
    transition: var(--transition);
}

    /* NAV CONTAINER */
    #navScroll .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

/* LOGO */
.logo-navbar {
    height: clamp(60px, 8vw, 110px);
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

    /* LOGO HOVER */
    .logo-navbar:hover {
        transform: scale(1.04);
    }

/* NAVBAR MENU */
.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    list-style: none;
}

/* NAV ITEMS */
.nav-item {
    display: inline-block;
}

/* LINKS */
.nav-link {
    color: var(--white) !important;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

    /* UNDERLINE EFFECT */
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0%;
        height: 2px;
        left: 0;
        bottom: -5px;
        background: var(--light-blue);
        transition: var(--transition);
    }

    /* HOVER */
    .nav-link:hover {
        color: var(--light-blue) !important;
    }

        .nav-link:hover::after {
            width: 100%;
        }

/* ===========================
   MAIN
=========================== */
main {
    min-height: 80vh;
}

/* ===========================
   FOOTER
=========================== */
.footer-custom {
    background: var(--dark-blue);
    color: var(--white);
    font-size: 0.9rem;
    margin-top: 50px;
}

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
    background: var(--primary-blue);
    border: none;
    transition: var(--transition);
}

    .btn-primary:hover {
        background: var(--light-blue);
    }

/* ===========================
   RESPONSIVE
=========================== */

/* TABLET */
@media (max-width: 992px) {
    body {
        padding-top: 90px;
    }

    .logo-navbar {
        height: 75px;
    }

    .navbar-nav {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.95rem;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    #navScroll {
        padding: 8px 0;
    }

    .logo-navbar {
        height: 60px;
    }

    .navbar-nav {
        gap: 10px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .footer-custom {
        font-size: 0.8rem;
        padding: 15px;
    }
}

/* SMALL MOBILE */
@media (max-width: 576px) {
    body {
        padding-top: 75px;
    }

    .logo-navbar {
        height: 50px;
    }

    .navbar-nav {
        gap: 8px;
    }

    .nav-link {
        font-size: 0.8rem;
    }
}


.offcanvas {
    width: 260px !important;
    background: #0f172a !important;
}

.offcanvas-title {
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
}

.offcanvas .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

    .offcanvas .nav-link:hover {
        color: #38bdf8 !important;
        padding-left: 8px;
    }

.navbar-toggler:focus {
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 75px !important;
    }

    .offcanvas {
        width: 230px !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 60px !important;
    }

    .offcanvas {
        width: 220px !important;
    }
}

