/*=========================
GLOBAL RESET
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
background:#fff;
font-family:Arial, Helvetica, sans-serif;
}




/* =========================
   TOP BAR
========================= */
.top-bar {
    background: #fb8601;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    font-size: 14px;
}

.top-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    gap: 10px;
}

.top-left span {
    display: flex;
    align-items: center;
    color: #210303;
    font-size: 15px;
    gap: 8px;
}

#phones {
    color: #333;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 15px;
    text-decoration: none;
}

#phones:hover {
    color: #ccc;
}

#phone {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #210303;
    font-size: 20px;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 17px;
    margin-left: 33px;
}

.social-icons a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #ccc;
}


/* =========================
   NAVBAR - DESKTOP
========================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 110px;
    padding: 0 30px;

    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);

    transition: all 0.2s ease;
}

.logo {
    display: flex;
    flex-direction: column; /* Places items vertically */
    align-items: center;    /* Centers slogan under logo */
}

.logo img {
    width: 100px; /* Adjust as needed */
    height: auto;
}

.logo span {
    margin-bottom: 5px;

    font-size: 14px;
    color: #ffd501;
    font-style: italic;
}



.logo img:hover {
    transform: scale(1.03);
}


/* =========================
   NAV LINKS - DESKTOP
========================= */
.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 35px;

    list-style: none;
    margin: 0;
    padding: 0;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fb8601;
}

.nav-links a.active {
    color: #ffffff;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: #f4c430;
    transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* CONTACT BUTTON */
.contact-btn {
    background: #f4c430;
    color: #000 !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-btn::after {
    display: none;
}

.contact-btn:hover {
    background: #ffffff;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244,196,48,0.35);
}


/* =========================
   DROPDOWN - DESKTOP
========================= */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    padding: 8px 0;
    list-style: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f4c430;
    color: #000;
}


/* =========================
   HAMBURGER - DESKTOP HIDDEN
========================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.35s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}


/* =========================
   MOBILE — max 768px
========================= */
@media (max-width: 768px) {

    /* HIDE TOP BAR */
    .top-bar {
        display: none;
    }

    /* NAVBAR */
    .navbar {
        padding: 0 20px;
        height: 70px;
    }

    .logo img {
        height: 50px;
        width: auto;
    }
    .logo span {
    margin-bottom: 5px;

    font-size: 10px;
    color: #ffd501;
    font-style: italic;
}

    /* SHOW HAMBURGER */
    .menu-toggle {
        display: flex;
    }

    /* MOBILE MENU PANEL */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 50vh;

        background: rgba(0, 0, 0, 0.97);
        border-radius: 0 0 10px 10px;

        flex-direction: column;
        justify-content: flex-start;
        align-items: center;

        padding-top: 15px;
        padding-left: 0;
        padding-right: 0;
        gap: 2px;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0;
        margin: 0;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links li a {
        font-size: 16px;
        font-weight: 500;
        padding: 10px 18px;
        color: white;
        display: inline-block;
        border-radius: 8px;
        transition: all 0.25s ease;
    }

    .nav-links li a:hover {
        background: rgba(255,255,255,0.08);
        transform: scale(1.05);
    }

    /* STAGGERED ANIMATION */
    .nav-links.active li:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0.05s; }
    .nav-links.active li:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.10s; }
    .nav-links.active li:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.15s; }
    .nav-links.active li:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.20s; }
    .nav-links.active li:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:0.25s; }
    .nav-links.active li:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:0.30s; }
    .nav-links.active li:nth-child(7) { opacity:1; transform:translateY(0); transition-delay:0.35s; }

    /* DROPDOWN MOBILE */
    .nav-links li.dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links li.dropdown > a {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        padding-left: 0;
        min-width: 100%;
        text-align: center;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        color: #fff !important;
        display: block;
        text-align: center;
        padding: 6px 0;
    }

    .contact-btn {
        padding: 12px 24px !important;
        border-radius: 30px !important;
        font-size: 15px !important;
    }
}


/* ACTIVE line */
.nav-links a.active {
    color: #ffffff;           /* keep text white and visible */
    position: relative;
    padding: 7px 11px;
    border-radius: 20px;
    background: transparent;  /* ← no background */
}

/* ANIMATED OUTLINE ONLY */
.nav-links a.active::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 2px solid #f4c430;
    animation: cycleOutline 1.5s linear infinite;
}

@keyframes cycleOutline {
    0% {
        clip-path: inset(0 100% 0 0);        /* starts from left */
    }
    25% {
        clip-path: inset(0 0 0 0);           /* fully visible */
    }
    50% {
        clip-path: inset(0 0 0 0);           /* hold */
    }
    75% {
        clip-path: inset(0 0 0 100%);        /* disappears to right */
    }
    100% {
        clip-path: inset(0 100% 0 0);        /* resets */
    }
}

/* REMOVE OLD UNDERLINE ON ACTIVE */
.nav-links a.active::after {
    display: none;
}
