﻿/* =========================
   MAIN NAVBAR
========================= */

.main-navbar {
    position: fixed;
    top: 38px;
    width: 100%;
    z-index: 9999;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1250px;
    margin: auto;
    padding: 12px 24px;
}

/* LOGO */
.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 42px;
}

.brand-name {
    font-family: "Playfair Display", serif;
    font-size: 18px;
}

/* MENU */
.nav-menu {
    display: flex;
    gap: 26px;
    align-items: center;
}

    .nav-menu a {
        text-decoration: none;
        color: #2a2a2a;
        font-size: 15px;
        font-weight: 500;
        position: relative;
        padding-right: 4px;
    }

        .nav-menu a::after {
            content: "";
            position: absolute;
            bottom: -4px;
            left: 0;
            height: 1px;
            width: 0;
            background: #c26b7a;
            transition: 0.3s;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

/* DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 32px;
    left: 0;
    min-width: 260px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s ease;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 8px;
    font-size: 13px;
}

/* SECTION TITLE */
.sub-section-title {
    font-size: 13px;
    font-weight: bold;
    color: #c26b7a;
    margin: 10px 0 5px;
    text-transform: uppercase;
}

/* CTA */
.cta-btn {
    background: linear-gradient(135deg,#c26b7a,#a85a6a);
    color: white;
    padding: 9px 26px;
    border-radius: 25px;
    font-size: 13px;
    text-decoration: none;
}

.cta-btn:hover {
    font-size: 14px;
    color: white;
}

/* MOBILE BUTTON */
.mobile-menu-btn {
    display: none;
    font-size: 25px;
    background: none;
    border: none;
    margin-right: 12px;
}

/* =========================
   MOBILE DRAWER
========================= */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    display: none;
}

    .overlay.active {
        display: block;
    }

.mobile-drawer {
    position: fixed;
    top: 37px;
    right: -320px;
    width: 300px;
    height: calc(100vh - 75px);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(14px);
    padding: 20px;
    transition: 0.35s;
    overflow-y: auto;
    z-index: 9999;
}

.mobile-drawer a {
    display: block !important;
    width: 100%;
    padding: 10px 0;
    text-decoration: none;
    color: #2a2a2a;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ensure no flex inheritance */
.mobile-drawer {
    display: flex;
    flex-direction: column;
}

    .mobile-drawer * {
        float: none !important;
        flex: none !important;
    }

.drawer-group {
    display: flex;
    flex-direction: column;
    margin-left: 5px;
}

.drawer-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #444;
    margin-top: 10px;
    margin-bottom: 5px;
    padding-left: 2px;
}
/* drawer section titles */
.drawer-section {
    display: block;
    margin-top: 15px;
    font-size: 12px;
    font-weight: 600;
    color: #c26b7a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-cta {
    display: block;
    margin-top: 20px;
    text-align: center;
    background: #c26b7a;
    color: white;
    padding: 10px;
    border-radius: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-block;
    }
}

/* ACCORDION BODY */

.accordion-body {
    display: none;
    padding-left: 12px;
}

.accordion.active .accordion-body {
    display: block;
}

/* TOP LEVEL ROWS */

.accordion-header,
.mobile-drawer > a {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,.05);
    cursor: pointer;
}

/* SUBMENU ITEMS */

.accordion-body a {
    display: block;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: none;
}

.drawer-subtitle {
    font-size: 11px;
    color: #c26b7a;
    margin-top: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ACTIVE MENU */

.nav-menu a.active-link {
    color: #c26b7a;
}

    .nav-menu a.active-link::after {
        width: 100%;
    }

/* MOBILE ACTIVE */

.mobile-drawer a.active-link {
    color: #c26b7a;
    font-weight: 600;
}

/* ACTIVE ACCORDION */

.accordion.active > .accordion-header {
    color: #c26b7a;
}

.accordion-header .icon {
    transition: transform 0.3s ease;
}

.accordion.active .icon {
    transform: rotate(45deg);
}

/*for image dropdown in desktop*/
/* =========================
   PROJECT PREVIEW CARDS
========================= */

.project-dropdown {
    width: 340px;
}

.project-card {
    display: flex !important;
    gap: 12px;
    align-items: center;
    padding: 10px !important;
    border-radius: 8px;
    transition: background .25s ease;
}

  /*  .project-card:hover {
        background: rgba(194,107,122,.08);
    }*/

    .project-card img {
        width: 72px;
        height: 56px;
        object-fit: cover;
        border-radius: 6px;
    }

.project-title {
    font-size: 13px;
    font-weight: 600;
    color: #222;
}

.project-desc {
    font-size: 11px;
    color: #777;
    margin-top: 3px;
}

.menu-caret {
    font-size: 19px;
    color: maroon;
    display: inline-block;
    transition: transform 0.25s ease;
}

.dropdown:hover .menu-caret {
    transform: rotate(180deg);
}


/* =========================
   MOBILE DRAWER CLOSE BUTTON
========================= */

.drawer-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.drawer-close {
    background: transparent;
    border: none;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    color: #333;
    cursor: pointer;
    padding: 0 6px;
}

.drawer-close:hover {
    color: #c26b7a;
}

.logo-setting {
    background-color: black;
    transform: scale(1.4);
    padding-left: 16px;
    padding-right: 16px;
    margin-left: 9px;
    border-radius: 4px 4px;
}

.quote-setting {
    transform: scale(1.3);
}

@media (max-width: 992px) {
    .logo-setting {
        transform: scale(1);
    }

    .quote-setting {
        transform: scale(1);
    }

}
/*for TABLETS AND IPAD*/
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-menu-career {
        display: none;
    }

    .nav-menu-blog {
        display: none;
    }
}


.phoneVibration {
    animation: phoneVibrate 3s infinite;
    transform-origin: center center;
}

@keyframes phoneVibrate {
    0%, 90%, 100% {
        transform: translateX(0) rotate(0deg);
    }

    91% {
        transform: translateX(-2px) rotate(-1deg);
    }

    92% {
        transform: translateX(2px) rotate(1deg);
    }

    93% {
        transform: translateX(-2px) rotate(-1deg);
    }

    94% {
        transform: translateX(2px) rotate(1deg);
    }

    95% {
        transform: translateX(-1px) rotate(-0.5deg);
    }

    96% {
        transform: translateX(1px) rotate(0.5deg);
    }

    97% {
        transform: translateX(0) rotate(0deg);
    }
}
