/* Main Stylesheet for bduoko.in - Exact Original Design Preserved */
/* ============================================ */

/* CSS Variables */
:root {
    --primary-color: #8B0000;
    --primary-dark: #660000;
    --secondary-color: #D4AF37;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #ddd;
    --white: #ffffff;
    --black: #000000;
    --container-max-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 30px;
}

/* Header Styles */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 0;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Mobile Menu - FIXED (FIX #2) */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10001;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 10000;
}

.mobile-nav.active {
    right: 0;
    display: block;
}

.mobile-nav ul {
    list-style: none;
    margin-top: 40px;
}

.mobile-nav ul li {
    margin-bottom: 20px;
}

.mobile-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-nav .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(139, 0, 0, 0.8);
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Hero Section with Search Inside */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    font-size: 18px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Search Container Inside Hero */
.hero-section .search-container {
    max-width: 600px;
    margin: 30px auto 0;
    padding: 0 15px;
}

.hero-section .search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin-bottom: 15px;
}

.hero-section .search-input,
.hero-section .search-select {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

.hero-section .search-btn {
    background: var(--secondary-color);
    color: var(--black);
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.hero-section .search-btn:hover {
    background: #B8941F;
}

.hero-section .search-info {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-section .search-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-section .search-input,
    .hero-section .search-select {
        min-width: 100%;
        flex: none;
    }
    
    .video-player {
        height: 250px;
    }
    
    .maroon-content-box {
        padding: 20px;
    }
    
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .floating-buttons {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
}

/* Search Section */
.search-section {
    background: var(--bg-light);
    padding: 40px 0;
    border-bottom: 2px solid var(--border-color);
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-form {
    display: flex;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-select {
    padding: 15px 20px;
    border: none;
    background: var(--white);
    font-size: 16px;
    color: var(--text-color);
    cursor: pointer;
    outline: none;
    border-left: 1px solid var(--border-color);
}

.search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
}

.search-info {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-content {
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Video Sections */
.video-section {
    position: absolute;
    height: 400px;
    background: var(--black);
    margin: 10px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139,0,0,0.8), rgba(102,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.video-overlay h3 {
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Pre-Video Section */
.pre-video-section {
    background: var(--black);
    color: var(--white);
    padding: 30px 0;
    text-align: left;
}

.pre-video-section h2 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-align: left;
}

/* Video Sections in Maroon Containers */
.video-section-container {
    background: var(--black);
    padding: 10px 0;
}

.maroon-video-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 10px;
    margin: 0px 0px;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    border: 2px solid var(--secondary-color);
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background: var(--black);
}

/* Content Sections in Maroon Containers */
.content-section-maroon {
    background: var(--black);
    padding: 10px 10px;
    color: var(--white);
}

.maroon-content-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 10px;
    margin: 0px 0px;
    border-radius: 10px;
    border: 2px solid var(--secondary-color);
}

.maroon-content-box h2,
.maroon-content-box h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.maroon-content-box p {
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.6;
}

.maroon-content-box ul {
    color: var(--white);
    margin-left: 10px;
}

.maroon-content-box li {
    margin-bottom: 10px;
}

/* Original Content Sections - Keep for compatibility */
.content-section {
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    color: var(--white);
    padding: 0px 0px;
    margin: 30px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), transparent, var(--secondary-color));
}

.content-section h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.content-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    color: var(--secondary-color);
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    opacity: 0.95;
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.data-table th {
    background: rgba(0,0,0,0.3);
    font-weight: bold;
    color: var(--secondary-color);
}

.data-table tbody tr:hover {
    background: rgba(255,255,255,0.1);
}

/* Model Profiles Grid */
.models-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(7, 1fr);
    gap: 15px;
    margin-top: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.model-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    position: relative;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.model-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

.model-info {
    padding: 15px;
    text-align: center;
}

.model-name {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.model-age {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 14px;
}

.verified-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: green;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 15px;
    font-weight: bold;
}

.rating {
    color: var(--secondary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.call-btn,
.whatsapp-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.call-btn {
    background: var(--primary-color);
    color: var(--white);
}

.whatsapp-btn {
    background: green;
    color: var(--white);
}

.call-btn:hover,
.whatsapp-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Banner Images */
.banner-section {
    margin: 20px 0;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Table Container for Mobile Responsiveness */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border-radius: var(--border-radius);
}

/* FAQ Section - FIXED Full Answers Display (FIX #1) */
.faq-section {
    margin: 40px 0;
}

.faq-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 100%);
    color: var(--white);
    border: none;
    padding: 18px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.3) 100%);
    color: var(--secondary-color);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: var(--transition);
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

/* FAQ Answer - FIXED to Show Full Content (FIX #1) */
.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(255,255,255,0.05);
}

.faq-answer.active {
    padding: 20px 24px;
    max-height: none !important; /* Allow full expansion */
    height: auto !important; /* Ensure auto height */
    overflow: visible !important; /* Show all content */
}

.faq-answer p {
    margin: 0;
    color: rgba(255,255,255,0.9);
    line-height: 1.8; /* Better readability */
    font-size: 15px; /* Slightly larger text */
    white-space: pre-wrap; /* Preserve line breaks */
    word-wrap: break-word; /* Handle long words */
}

/* Tags Section */
.tags-section {
    background: var(--bg-light);
    padding: 40px 0;
    text-align: center;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.tag {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.2);
}

.tag:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
    border-color: var(--secondary-color);
}

/* Service Areas */
.service-areas {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
    position: relative;
}

.service-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), transparent, var(--secondary-color));
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.area-btn {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 12px 18px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 14px;
    backdrop-filter: blur(5px);
}

.area-btn:hover {
    background: var(--secondary-color);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    border-color: var(--white);
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 0 20px 0;
    text-align: center;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 14px;
    color: #999;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}

.floating-btn {
    flex: 1;
    padding: 20px;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.floating-call {
    background: var(--primary-color);
    color: var(--white);
}

.floating-whatsapp {
    background: green;
    color: var(--white);
}

.floating-btn:hover {
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: var(--border-radius);
    }
    
    .search-input,
    .search-select,
    .search-btn {
        border-radius: 0;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        font-size: 14px;
        min-width: 500px;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--border-radius);
        margin: 15px -15px;
        padding: 0 15px;
    }
    
    .content-section {
        margin: 5px 0;
        padding: 30px 0;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Mobile FAQ Full Display */
    .faq-answer.active {
        max-height: none !important;
        height: auto !important;
        padding: 15px 20px !important;
    }
}

@media (max-width: 480px) {
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .floating-btn {
        padding: 15px;
        font-size: 16px;
    }
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Admin Panel Styles */
.admin-panel {
    background: var(--bg-light);
    min-height: 100vh;
    padding: 20px 0;
}

.admin-nav {
    background: var(--white);
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.admin-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--primary-color);
    color: var(--white);
}

.admin-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139,0,0,0.1);
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-success {
    background: #28a745;
    color: var(--white);
}

.btn-danger {
    background: #dc3545;
    color: var(--white);
}

.btn-secondary {
    background: #6c757d;
    color: var(--white);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.d-none { display: none; }
.d-block { display: block; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
/* ========================================
   ACCESSIBILITY - Screen Reader Only Class  
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
