/* 
    Dr. Rodrigo Mercado - Premium Design System
    Colors: Black & Gold
    Typography: Century Gothic
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

:root {
    --gold-primary: #bb8c1f;
    --gold-secondary: #a1791a;
    --gold-gradient: linear-gradient(135deg, #bb8c1f 0%, #e1b44d 50%, #a1791a 100%);
    --black-primary: #000000;
    --black-secondary: #0a0a0a;
    --black-tertiary: #1a1a1a;
    --text-white: #ffffff;
    --text-muted: #d1d1d1;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--black-primary);
    color: var(--text-white);
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, 'Montserrat', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gold-primary);
}

/* Typography Helpers */
.text-gold {
    color: var(--gold-primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.bg-gold {
    background: var(--gold-gradient) !important;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--black-primary);
    border: none;
    font-weight: 700;
    padding: 12px 30px;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    border-radius: 10px;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    color: var(--black-primary);
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(217, 197, 163, 0.2);
    padding: 0.8rem 0;
}

/* Top Bar */
.top-bar {
    background-color: var(--black-secondary);
    border-bottom: 1px solid rgba(217, 197, 163, 0.1);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-item {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.top-bar-item:last-child {
    margin-right: 0;
}

.top-bar-item i {
    color: var(--gold-primary);
    margin-right: 8px;
}

.top-bar-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.top-bar-item a:hover {
    color: var(--gold-primary);
}

@media (max-width: 991px) {
    .top-bar {
        display: none;
        /* Hide on mobile to keep it clean, or we can stack it */
    }
}

.navbar-brand img {
    height: 70px;
    /* filter: brightness(0) invert(1); */
}

.nav-link {
    color: var(--text-white) !important;
    font-weight: 400;
    margin: 0 10px;
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary) !important;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 20%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%), url('../../uploads/drrodrigo.jpg');
    background-size: cover;
    background-position: center top;
    position: relative;
    overflow: hidden;
}

.hero-img {
    max-height: 85vh;
    filter: drop-shadow(0 10px 50px rgba(217, 197, 163, 0.15));
    transition: var(--transition-smooth);
}

.hero-img:hover {
    transform: scale(1.02);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Service Cards */
.service-card {
    background: var(--black-tertiary);
    border: 1px solid rgba(217, 197, 163, 0.1);
    padding: 50px 30px;
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    text-align: center;
}

.service-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-10px);
}

.service-card img {
    width: 120px;
    height: 120px;
    margin-bottom: 25px;
    object-fit: contain;
}

.service-card a i {
    font-size: 1rem;
    /* Smaller arrow size */
    vertical-align: middle;
}

.service-card img {
    /* filter: brightness(0) invert(0.8) sepia(1) saturate(2) hue-rotate(350deg); */
}

/* FAQ Accordion */
.accordion-item {
    background-color: var(--black-secondary) !important;
    border: 1px solid rgba(217, 197, 163, 0.2) !important;
    margin-bottom: 10px;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--black-secondary) !important;
    color: var(--gold-primary) !important;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: var(--gold-primary) !important;
    color: var(--black-primary) !important;
}

.accordion-body {
    color: var(--text-muted);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

.p-4.border.border-gold {
    border-radius: 10px;
}

.img-fluid.border.border-gold {
    border-radius: 10px;
}

.sticky-top.p-4.bg-black.border.border-gold {
    border-radius: 10px;
}

/* Map Section */
.map-section {
    line-height: 0;
    overflow: hidden;
    border-top: 2px solid var(--gold-primary);
}

.map-section iframe {
    filter: grayscale(0.2) contrast(1.1);
    transition: var(--transition-smooth);
}

.map-section:hover iframe {
    filter: grayscale(0) contrast(1);
}

.footer-logo {
    height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Mega Menu Styles */
@media (min-width: 992px) {
    .navbar-nav .dropdown {
        position: static;
    }

    .navbar-nav .dropdown-menu {
        width: 100%;
        left: 0;
        right: 0;
        top: 100%;
        background-color: var(--black-secondary);
        border: none;
        border-bottom: 3px solid var(--gold-primary);
        padding: 40px 0;
        border-radius: 0;
        margin-top: 0;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--black-secondary);
        padding: 20px;
        margin-top: 10px;
        border: 1px solid rgba(187, 140, 31, 0.2);
        border-radius: 15px;
    }

    .dropdown-menu {
        background-color: var(--black-tertiary) !important;
        border: 1px solid rgba(187, 140, 31, 0.1) !important;
        padding: 20px !important;
    }

    .megamenu-title {
        margin-top: 15px;
    }

    .navbar-toggler {
        border-color: rgba(187, 140, 31, 0.5) !important;
        padding: 8px;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(187, 140, 31, 0.25) !important;
    }
}

.megamenu-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(187, 140, 31, 0.2);
    padding-bottom: 10px;
}

.megamenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.megamenu-list li a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 0;
    display: block;
    transition: var(--transition-smooth);
}

.megamenu-list li a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    cursor: pointer;
}

a.glightbox {
    text-decoration: none;
}

.gallery-item img {
    transition: var(--transition-smooth);
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}