/* Site header: contact strip + navbar */

.contact-strip {
    background: linear-gradient(90deg, #0a0f1a 0%, #0f172a 50%, #1a2332 100%);
    color: #94a3b8;
    font-size: 0.82rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #d4af37, #fbbf24, #d4af37) 1;
}
.contact-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    flex-wrap: wrap;
}
.contact-strip-tag,
.contact-strip-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.contact-strip-tag {
    color: #fbbf24;
}
.contact-strip-tag i {
    font-size: 0.75rem;
}
.contact-strip-location i {
    color: #d4af37;
    font-size: 0.78rem;
}

.site-header {
    position: relative;
    z-index: 1030;
}

/* Navbar shell */
.custom-navbar {
    background: linear-gradient(180deg, #0f172a 0%, #0a0f1a 100%) !important;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.custom-navbar .navbar-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Text logo */
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    padding: 0;
    margin-right: auto;
    max-width: calc(100% - 100px);
}
.site-logo-mark {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #fbbf24 100%);
    color: #0f172a;
    font-size: 1.25rem;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35);
}
.site-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}
.site-logo-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.site-logo-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: #e2e8f0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Desktop nav links */
.custom-navbar .navbar-nav {
    align-items: center;
}
.custom-navbar .nav-link {
    color: #e2e8f0 !important;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem !important;
    position: relative;
    transition: color 0.25s ease;
}
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link:focus {
    color: #fbbf24 !important;
}
.custom-navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.2rem;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #fbbf24);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.custom-navbar .nav-link:hover::after {
    transform: scaleX(1);
}
.custom-navbar .nav-icon {
    display: none;
}

/* Phone buttons */
.navbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #d4af37 0%, #aa8529 100%);
    color: #0f172a !important;
    text-decoration: none !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}
.navbar-phone--desktop {
    margin-left: 12px;
}
.navbar-phone:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
    color: #0f172a !important;
}
.navbar-phone i {
    font-size: 0.85rem;
}

/* Mobile header actions */
.navbar-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.navbar-quick-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #aa8529 100%);
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.35);
    transition: transform 0.2s ease;
}
.navbar-quick-call:hover {
    transform: scale(1.05);
    color: #0f172a;
    text-decoration: none;
}
.navbar-quick-call i {
    font-size: 0.85rem;
}

/* Custom hamburger */
.custom-toggler {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.8);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.custom-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.35);
}
.custom-toggler[aria-expanded="true"] {
    border-color: #fbbf24;
    background: rgba(212, 175, 55, 0.12);
}
.toggler-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #fbbf24;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.custom-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.custom-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
    opacity: 0;
}
.custom-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel */
.mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 12px;
    padding: 12px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #aa8529 100%);
    color: #0f172a !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}
.mobile-call-btn:hover {
    color: #0f172a !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* Desktop layout */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        flex-basis: auto;
    }
    .custom-navbar .navbar-nav {
        flex-direction: row;
    }
    .site-logo-mark {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
    }
    .site-logo-title {
        font-size: 1.15rem;
    }
    .site-logo-subtitle {
        font-size: 0.78rem;
    }
}

/* Override legacy style.css toggler */
.custom-navbar .navbar-toggler.custom-toggler {
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 8px;
}

/* Mobile layout */
@media (max-width: 991px) {
    .custom-navbar {
        padding: 0.5rem 0;
    }
    .custom-navbar .navbar-container {
        flex-wrap: wrap;
        align-items: center;
    }
    .site-logo {
        max-width: calc(100% - 96px);
    }
    .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        margin-top: 10px;
        padding: 12px 0 4px;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
    .custom-navbar .navbar-nav {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .custom-navbar .nav-item {
        border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    }
    .custom-navbar .nav-item:last-child {
        border-bottom: none;
    }
    .custom-navbar .nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 8px !important;
        font-size: 0.95rem;
    }
    .custom-navbar .nav-link::after {
        display: none;
    }
    .custom-navbar .nav-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: rgba(212, 175, 55, 0.12);
        color: #fbbf24;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    .contact-strip-inner {
        justify-content: center;
        text-align: center;
    }
    .contact-strip-tag {
        font-size: 0.78rem;
    }
}

@media (max-width: 575px) {
    .contact-strip-inner {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.4rem 0;
    }
    .contact-strip-tag,
    .contact-strip-location {
        font-size: 0.75rem;
    }
    .site-logo-mark {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
    }
    .site-logo-title {
        font-size: 0.88rem;
    }
    .site-logo-subtitle {
        font-size: 0.62rem;
        letter-spacing: 0.08em;
    }
    .navbar-quick-call,
    .custom-toggler {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 360px) {
    .site-logo-subtitle {
        display: none;
    }
    .site-logo-title {
        font-size: 0.82rem;
    }
}

/* Footer contact & social */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}
.footer-contact-list li {
    margin-bottom: 14px;
}
.footer-contact-list a {
    color: #b3b3b3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 300;
    transition: all 0.3s ease;
    word-break: break-word;
}
.footer-contact-list a i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    flex-shrink: 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.footer-contact-list a:hover {
    color: #fff;
    transform: translateX(6px);
}
.footer-contact-list a:hover i {
    background: #d4af37;
    color: #0f172a;
}
.footer-contact-list a.footer-contact-whatsapp:hover i {
    background: #25d366;
    color: #fff;
}
.social-icons a.social-jd img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 50%;
}
.social-icons a.social-jd:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #d4af37;
}

@media (max-width: 767px) {
    .footer-contact-list a {
        font-size: 0.88rem;
    }
}
