/* ===== RESET AND BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

body.age-restricted {
    overflow: hidden;
    height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== AGE VERIFICATION MODAL ===== */
.age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.age-verification-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 600px;
    width: 100%;
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-verification-header {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
    padding: 25px 30px;
    text-align: center;
}

.age-verification-header h2 {
    font-size: 28px;
    margin: 0;
}

.age-verification-body {
    padding: 40px 30px;
    text-align: center;
}

.warning-icon {
    font-size: 80px;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.age-warning-message {
    font-size: 18px;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 500;
}

.age-disclaimer {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin-bottom: 30px;
    text-align: left;
    border-radius: 0 8px 8px 0;
}

.age-disclaimer p {
    margin: 0;
    color: #555;
    font-size: 15px;
}

.age-verification-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-age-confirm,
.btn-age-deny {
    padding: 18px 30px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-age-confirm {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.btn-age-confirm:hover {
    background: linear-gradient(135deg, #219653 0%, #27ae60 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

.btn-age-deny {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.btn-age-deny:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.age-legal-text {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.6;
}

.age-legal-text a {
    color: #3498db;
    text-decoration: none;
}

.age-legal-text a:hover {
    text-decoration: underline;
}

/* ===== HEADER STYLES ===== */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo a {
    color: white;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a:before {
    content: "🔞";
    font-size: 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.nav-menu li.active a {
    background: #3498db;
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.admin-link a {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.admin-link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* ===== SUB-LOCATION NAVIGATION ===== */
.sub-location-nav {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    padding: 15px 0;
    position: sticky;
    top: 69px;
    z-index: 999;
}

.sub-location-nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.sub-location-nav a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sub-location-nav a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* ===== MAIN CONTENT ===== */
main {
    padding: 40px 0;
    min-height: calc(100vh - 250px);
}

h1 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
}

.listings-info {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #3498db;
}

.listings-info p {
    color: #2c3e50;
    font-size: 16px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.listings-info p:before {
    content: "🔄";
    font-size: 20px;
}

/* ===== LISTINGS GRID ===== */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.listing-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.listing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.listing-card:before {
    content: "🔞";
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 2;
}

.listing-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.verified-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    z-index: 2;
}

.listing-details {
    padding: 25px;
}

.listing-details h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.location, .age, .rate {
    color: #7f8c8d;
    margin-bottom: 8px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location:before {
    content: "📍";
}

.age:before {
    content: "🎂";
}

.rate:before {
    content: "💰";
}

.services {
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.services strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.services p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.contact-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.phone-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.phone-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1c5d8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ===== LOCATION DESCRIPTION ===== */
.location-description {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-top: 40px;
}

.location-description h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
}

.location-description p {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.age-footer-note {
    background: rgba(231, 76, 60, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
    margin-bottom: 25px;
}

.age-footer-note p {
    color: #ecf0f1;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

footer .container > p {
    text-align: center;
    margin: 15px 0;
    color: #bdc3c7;
}

.disclaimer {
    font-size: 13px;
    color: #95a5a6;
    text-align: center;
    margin: 15px 0 30px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-nav a:hover {
    color: #3498db;
}

.footer-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.footer-nav a:hover:after {
    width: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .nav-menu {
        justify-content: center;
        gap: 5px;
    }
    
    .nav-menu a {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .age-verification-content {
        margin: 20px;
    }
    
    .age-verification-header h2 {
        font-size: 24px;
    }
    
    .age-warning-message {
        font-size: 16px;
    }
    
    .btn-age-confirm,
    .btn-age-deny {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .sub-location-nav {
        top: auto;
        position: static;
    }
    
    h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .contact-buttons {
        grid-template-columns: 1fr;
    }
    
    .age-verification-header {
        padding: 20px 15px;
    }
    
    .age-verification-body {
        padding: 30px 20px;
    }
    
    .warning-icon {
        font-size: 60px;
    }
    
    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* ===== NO LISTINGS MESSAGE ===== */
.no-listings {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    font-size: 18px;
    color: #7f8c8d;
}

.no-listings:before {
    content: "😔";
    display: block;
    font-size: 50px;
    margin-bottom: 20px;
}

/* ===== ADMIN LINK IN FOOTER ===== */
.footer-nav a[href*="admin/"] {
    background: rgba(231, 76, 60, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.footer-nav a[href*="admin/"]:hover {
    background: rgba(231, 76, 60, 0.3);
    transform: translateY(-2px);
}

.footer-nav a[href*="admin/"]:after {
    display: none;
}

/* Hide auto-generated text from listings */
.listing-auto-generated,
[class*="auto-generated"],
.is-auto-generated,
.auto-generated-badge,
.badge-auto-generated {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
