:root {
    --primary-gold: #c5a059;
    --secondary-gold: #e5c585;
    --dark-bg: #111111;
    --card-bg: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Playfair Display', serif; /* Elegant font for headings */
}

/* Override Bootstrap's text-muted to ensure readability on dark backgrounds */
.text-muted {
    color: var(--text-muted) !important;
}

/* Fix for dark placeholders on visitor pages */
::placeholder {
    color: #888 !important;
    opacity: 1 !important; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12-18 */
    color: #888 !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: var(--primary-gold);
}

.navbar {
    background-color: #000;
    border-bottom: 1px solid var(--primary-gold);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-gold) !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-link {
    color: var(--text-light) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 10px 12px !important;
    transition: color 0.3s;
}

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

.top-bar {
    background-color: #000;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 5px 0;
    border-bottom: 1px solid #333;
}

.top-bar a {
    color: var(--primary-gold);
    text-decoration: none;
}

.touch-target-icon {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.touch-target-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.navbar-toggler {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.form-select,
.btn,
.footer .text-light.me-3 {
    min-height: 44px;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.pexels.com/photos/19689233/pexels-photo-19689233.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--secondary-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.btn-gold {
    background-color: var(--primary-gold);
    color: #000;
    border: none;
    padding: 10px 25px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-gold:hover {
    background-color: var(--secondary-gold);
    color: #000;
    transform: translateY(-2px);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-top {
    transition: transform 0.5s;
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-img-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card:hover .card-img-overlay {
    opacity: 1;
}

/* New Faces Horizontal Scroll */
.horizontal-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
    width: 100%;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.new-face-card {
    min-width: 250px;
    max-width: 250px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.new-face-card:hover {
    transform: translateY(-5px);
}

.scroll-nav-btn {
    background-color: rgba(0,0,0,0.5);
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    position: absolute;
}

.scroll-left {
    left: 10px;
}

.scroll-right {
    right: 10px;
}

/* =========================================
   Lightbox Styles (Restored)
   ========================================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none; /* Managed by JS */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: var(--primary-gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    pointer-events: none;
    z-index: 10000;
}

.lightbox-prev,
.lightbox-next {
    color: rgba(255, 255, 255, 0.7);
    font-size: 3rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary-gold);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-nav {
        padding: 0 10px;
    }
    .lightbox-prev, .lightbox-next {
        font-size: 2rem;
    }
}

/* Scroll Margin for New Faces Section to account for sticky navbar */
#new-faces {
    scroll-margin-top: 140px; /* Adjust based on navbar height */
    min-height: 80vh; /* Ensure section is tall enough to be scrolled to top if possible */
}

/* =========================================
   Accordion Styles (Dark Theme)
   ========================================= */
.accordion-item {
    background-color: var(--card-bg) !important;
    border: 1px solid #333 !important;
    color: var(--text-light) !important;
}

.accordion-button {
    background-color: var(--card-bg) !important;
    color: var(--primary-gold) !important;
    font-weight: bold;
    box-shadow: none !important; /* Remove default focus shadow */
}

.accordion-button:not(.collapsed) {
    background-color: rgba(197, 160, 89, 0.15) !important; /* Low opacity gold */
    color: var(--primary-gold) !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: var(--primary-gold) !important;
}

/* Adjust accordion arrow icon color to match gold */
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c5a059'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c5a059'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-body {
    background-color: var(--card-bg) !important;
    color: var(--text-light) !important; /* Force readable text color */
    border-top: 1px solid #333 !important;
}

.accordion-body p {
    color: var(--text-light) !important; /* Ensure paragraphs are also readable */
}

/* =========================================
   Escort Card Restored Styles
   ========================================= */

.escort-card {
    background-color: var(--card-bg); /* Use variable for consistency */
    border: none;
    margin-bottom: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.escort-card:hover {
    transform: translateY(-5px);
}

.escort-details {
    padding: 15px;
    text-align: center;
    border: 1px solid #333;
    border-top: none;
    background-color: var(--card-bg);
}

.escort-name {
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.escort-nationality {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Availability Tags */
.escort-availability {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.outlined-tag {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 2px 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    background: transparent;
}

/* Price Button */
.escort-price-btn {
    background-color: var(--primary-gold);
    color: #000;
    padding: 8px 0;
    font-weight: bold;
    width: 100%;
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.escort-price-btn:hover {
    background-color: var(--secondary-gold);
    text-decoration: none;
    color: #000;
}

/* New Badge */
.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-gold);
    color: #000;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 2;
    text-transform: uppercase;
}

/* Zoom Icon */
.zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #fff;
    font-size: 1.5rem;
    z-index: 5;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.zoom-icon:hover {
    opacity: 1;
    color: var(--primary-gold);
    background: rgba(0,0,0,0.8);
}

/* =========================================
   Card Hover Effect (Second Image)
   ========================================= */
.card-img-wrapper {
    position: relative;
    overflow: hidden;
    /* Ensure aspect ratio or height if needed, usually handled by img */
}

.card-img-top {
    width: 100%;
    height: 400px; /* Fixed height for consistency */
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
}

.escort-card:hover .secondary-img {
    opacity: 1;
}

/* Ensure badges/icons stay on top */
.new-badge, .zoom-icon {
    z-index: 10;
}

/* =========================================
   Footer Styles
   ========================================= */
.footer {
    background-color: #000;
    padding: 60px 0 30px;
    border-top: 1px solid #333;
    color: #fff;
    font-size: 0.95rem;
}

.footer h5 {
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-link {
    display: block; /* Fixes the inline link issue */
    color: #ccc;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--primary-gold);
    padding-left: 5px; /* Subtle movement */
}

.footer .text-muted {
    color: #999 !important;
}

.footer .contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer .contact-info i {
    color: var(--primary-gold);
    width: 20px;
    text-align: center;
}

/* Custom X icon: same style/weight as other social icons */
.icon-x {
    display: inline-block;
    font-size: 1.4rem; /* aproxima do .fa-lg */
    font-weight: 700;
    line-height: 1;
}

/* Fix Card Spacing/Margins if needed */
.escort-card-wrapper {
    padding-left: 10px;
    padding-right: 10px;
}

/* New Faces Spacing */
.new-face-card-wrapper {
    flex: 0 0 auto;
    width: 280px;
    margin-right: 20px;
}
