/* ==========================================
   JIMA MODELS - PREMIUM MODEL PORTFOLIO
   Professional Portfolio Page Design
   ========================================== */

/* Back Button */
.back-button {
    position: fixed;
    top: 100px;
    left: 30px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark, #2A2520);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}
.back-button:hover {
    background: var(--gold, #D4AF37);
    color: #000;
    transform: translateX(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}
.back-button i {
    transition: transform 0.3s ease;
}
.back-button:hover i {
    transform: translateX(-3px);
}

/* Loading State */
.portfolio-loading {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-beige, #F5F0E6) 0%, var(--soft-beige, #FAF7F2) 100%);
}
.portfolio-loading i {
    font-size: 4rem;
    color: var(--gold, #D4AF37);
    margin-bottom: 2rem;
    animation: pulse 1.5s infinite;
}
.portfolio-loading p {
    color: var(--text-medium, #5A5248);
    font-size: 16px;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* ============================================
   MODEL HERO SECTION - CINEMATIC
   ============================================ */
.model-hero {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: linear-gradient(135deg, #1a1715 0%, #2A2520 50%, #3A342F 100%);
    position: relative;
    overflow: hidden;
}
.model-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 40%);
    pointer-events: none;
}
.model-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(26, 23, 21, 0.8), transparent);
    pointer-events: none;
}

/* Hero Image Side */
.hero-image-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 60px;
}
.hero-main-image {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3/4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 175, 55, 0.2);
    animation: imageReveal 1s ease-out;
}
@keyframes imageReveal {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-main-image .placeholder-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold, #D4AF37) 0%, #8B7F72 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-main-image .placeholder-icon i {
    font-size: 100px;
    color: rgba(255, 255, 255, 0.3);
}

/* Hero Badges */
.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold, #D4AF37);
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    z-index: 10;
}
.hero-availability {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}
.availability-status {
    display: flex;
    align-items: center;
    gap: 10px;
}
.availability-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    animation: blink 2s infinite;
}
.availability-dot.busy { background: #f59e0b; }
.availability-dot.unavailable { background: #ef4444; animation: none; }
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.availability-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark, #2A2520);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.availability-label {
    font-size: 11px;
    color: var(--text-light, #8B7F72);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Content Side */
.hero-content-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 60px 80px 40px;
    position: relative;
    z-index: 2;
}
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold, #D4AF37);
    margin-bottom: 20px;
    font-weight: 600;
}
.hero-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold, #D4AF37);
}
.hero-name {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 15px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: -0.02em;
    animation: textReveal 0.8s ease-out 0.2s both;
}
@keyframes textReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-tagline {
    font-size: 18px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-family: 'Cormorant Garamond', serif;
    animation: textReveal 0.8s ease-out 0.4s both;
}
.hero-bio {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 35px;
    max-width: 480px;
    animation: textReveal 0.8s ease-out 0.6s both;
}

/* Quick Stats */
.hero-quick-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    animation: textReveal 0.8s ease-out 0.8s both;
    flex-wrap: wrap;
}
.quick-stat {
    text-align: center;
    padding: 15px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.quick-stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}
.quick-stat-value {
    font-size: 26px;
    font-weight: 300;
    color: var(--gold, #D4AF37);
    font-family: 'Cormorant Garamond', serif;
    line-height: 1;
}
.quick-stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

/* Social & CTA */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: textReveal 0.8s ease-out 1s both;
}
.hero-social {
    display: flex;
    gap: 10px;
}
.hero-social a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.hero-social a:hover {
    background: var(--gold, #D4AF37);
    border-color: var(--gold, #D4AF37);
    color: #000;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    background: linear-gradient(135deg, var(--gold, #D4AF37) 0%, #C9A227 100%);
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}
.hero-cta:hover {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.5);
}
.hero-cta i {
    transition: transform 0.3s ease;
}
.hero-cta:hover i {
    transform: scale(1.1);
}

/* ============================================
   PORTFOLIO GALLERY SECTION
   ============================================ */
.portfolio-section {
    padding: 100px 0;
    background: var(--white, #FFFFFF);
}
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--warm-beige, #E8DFD0);
}
.gallery-item:nth-child(3n+2) { aspect-ratio: 4/5; }
.gallery-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.gallery-item:hover::before { opacity: 1; }
.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}
.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--warm-beige, #E8DFD0) 0%, var(--soft-beige, #FAF7F2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-placeholder i {
    font-size: 50px;
    color: var(--gold, #D4AF37);
    opacity: 0.4;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-beige, #F5F0E6) 0%, var(--soft-beige, #FAF7F2) 100%);
}
.video-section .section-header {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 30px;
}
.video-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #000;
    margin: 0 auto;
}
.video-wrapper video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* ============================================
   MODEL DETAILS SECTION
   ============================================ */
.details-section {
    padding: 100px 0;
    background: var(--white, #FFFFFF);
}
.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.detail-card {
    background: var(--soft-beige, #FAF7F2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold, #D4AF37), var(--light-gold, #E8DCC8));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.detail-card:hover::before { transform: scaleX(1); }
.detail-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--warm-beige, #E8DFD0);
}
.detail-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold, #D4AF37) 0%, #C9A227 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}
.detail-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark, #2A2520);
}
.detail-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.detail-stat {
    padding: 14px;
    background: var(--white, #FFFFFF);
    border-radius: 10px;
    transition: all 0.2s ease;
}
.detail-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.detail-stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light, #8B7F72);
    margin-bottom: 4px;
}
.detail-stat-value {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark, #2A2520);
}

/* Rate Highlight */
.rate-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: linear-gradient(135deg, var(--gold, #D4AF37) 0%, #C9A227 100%);
    border-radius: 12px;
    margin-top: 18px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}
.rate-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.rate-value {
    font-size: 22px;
    font-weight: 700;
    color: #000;
}

/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
}
.tag {
    padding: 7px 14px;
    background: var(--white, #FFFFFF);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-dark, #2A2520);
    font-weight: 500;
    transition: all 0.2s ease;
}
.tag:hover {
    background: var(--gold, #D4AF37);
    color: #000;
}
.tag.work-category {
    background: var(--gold, #D4AF37);
    color: #000;
}

/* Special Info */
.special-info {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--warm-beige, #E8DFD0);
}
.special-info p {
    font-size: 13px;
    color: var(--text-medium, #5A5248);
    line-height: 1.6;
    margin-bottom: 8px;
}
.special-info p:last-child { margin-bottom: 0; }
.special-info strong { color: var(--text-dark, #2A2520); }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}
.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.lightbox-close:hover {
    background: var(--gold, #D4AF37);
    border-color: var(--gold, #D4AF37);
    color: #000;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.lightbox-nav:hover {
    background: var(--gold, #D4AF37);
    border-color: var(--gold, #D4AF37);
    color: #000;
}
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }
.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ============================================
   BOOKING MODAL
   ============================================ */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 37, 32, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.booking-modal.active { display: flex; }
.booking-modal-content {
    background: var(--white, #FFFFFF);
    border-radius: 24px;
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: slideUp 0.4s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.booking-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--warm-beige, #E8DFD0);
    border: none;
    border-radius: 50%;
    color: var(--text-dark, #2A2520);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.booking-modal-close:hover {
    background: var(--gold, #D4AF37);
    transform: rotate(90deg);
}
.booking-header {
    text-align: center;
    margin-bottom: 30px;
}
.booking-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    color: var(--text-dark, #2A2520);
    margin-bottom: 8px;
}
.booking-header p {
    color: var(--text-medium, #5A5248);
    font-size: 15px;
}
.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.booking-form .form-group {
    margin-bottom: 18px;
}
.booking-form label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark, #2A2520);
    margin-bottom: 8px;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--warm-beige, #E8DFD0);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white, #FFFFFF);
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--gold, #D4AF37);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}
.booking-form textarea {
    min-height: 100px;
    resize: vertical;
}
.booking-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--gold, #D4AF37) 0%, #C9A227 100%);
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.booking-submit:hover {
    background: linear-gradient(135deg, #2A2520 0%, #3A342F 100%);
    color: var(--gold, #D4AF37);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(42, 37, 32, 0.3);
}
.booking-success {
    text-align: center;
    padding: 40px 20px;
}
.booking-success i {
    font-size: 60px;
    color: #22c55e;
    margin-bottom: 20px;
}
.booking-success h3 {
    font-size: 24px;
    color: var(--text-dark, #2A2520);
    margin-bottom: 10px;
}
.booking-success p {
    color: var(--text-medium, #5A5248);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .model-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-image-section {
        padding: 100px 30px 40px;
    }
    .hero-main-image {
        max-width: 340px;
    }
    .hero-content-section {
        padding: 40px 30px 80px;
        text-align: center;
    }
    .hero-label::before { display: none; }
    .hero-quick-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
    .hero-bio { margin-left: auto; margin-right: auto; }
    .details-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .back-button {
        top: 80px;
        left: 15px;
        padding: 10px 18px;
        font-size: 12px;
    }
    .hero-name { font-size: 38px; }
    .hero-quick-stats { gap: 12px; }
    .quick-stat { padding: 12px 18px; }
    .quick-stat-value { font-size: 22px; }
    .details-grid { grid-template-columns: 1fr; }
    .portfolio-gallery { grid-template-columns: 1fr 1fr; gap: 15px; }
    .booking-form .form-row { grid-template-columns: 1fr; }
    .lightbox-nav { display: none; }
    .lightbox-content { max-width: 95%; }
    .video-wrapper { border-radius: 12px; }
}
@media (max-width: 480px) {
    .portfolio-gallery { grid-template-columns: 1fr; }
    .hero-quick-stats { flex-direction: column; align-items: center; }
    .quick-stat { width: 100%; max-width: 200px; }
}
