/**
 * Model Booking Platform - ModelManagement.com Style
 */

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

/* Base Styles */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
}

/* Logo Styles */
.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 400;
    color: #666;
    vertical-align: super;
    margin-left: 2px;
}

/* Navigation Pills */
.nav-pills-container {
    background: transparent;
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-pill:hover {
    background-color: #f5f5f5;
    color: #1a1a1a;
}

.nav-pill.active {
    background-color: #1a1a1a;
    color: #fff;
}

/* Yellow Button */
.btn-warning {
    background-color: #ffd43b;
    border-color: #ffd43b;
    color: #1a1a1a;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #fcc419;
    border-color: #fcc419;
    color: #1a1a1a;
}

/* Hero Cards Section */
.hero-cards {
    padding: 0.5rem 0 2rem;
}

.hero-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: scale(1.01);
}

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

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

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    color: white;
}

.hero-card-overlay h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-card-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* Grayscale filter for left card */
.hero-card.grayscale img {
    filter: grayscale(100%);
}

/* More Than Models Section */
.more-than-models-wrapper {
    border: 2px dashed #a8d4f0;
    border-radius: 24px;
    padding: 3rem 2rem;
}

.model-type-card {
    text-decoration: none;
}

.model-type-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.model-type-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.model-type-card:hover .model-type-image {
    transform: scale(1.08);
}

.model-type-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
}

.model-type-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.model-type-link {
    font-size: 0.8rem;
    opacity: 0.8;
}

.category-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-circle:hover {
    transform: scale(1.05);
}

/* Model Cards */
.model-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border-radius: 12px;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

.model-card .card-img-top {
    transition: transform 0.3s ease;
}

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

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Stats Section */
.stats-section {
    background-color: #1a1a1a;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: #ffd43b;
    box-shadow: 0 0 0 0.25rem rgba(255, 212, 59, 0.25);
}

/* Gallery Thumbnails */
.gallery-thumb {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
    border-radius: 8px;
}

.gallery-thumb:hover {
    opacity: 1;
    border-color: #ffd43b;
}

/* List Group */
.list-group-item.active {
    background-color: #ffd43b;
    border-color: #ffd43b;
    color: #000;
}

/* Tables */
.table > :not(caption) > * > * {
    padding: 1rem;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Card Shadows */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* Footer */
footer {
    background-color: #1a1a1a;
}

footer a:hover {
    color: #ffd43b !important;
}

/* Alert Custom */
.alert {
    border: none;
    border-radius: 12px;
}

/* Modal */
.modal-content {
    border: none;
    border-radius: 16px;
}

.modal-header {
    border-bottom: 1px solid #eee;
}

.modal-footer {
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-card {
        min-height: 400px !important;
    }
    
    .hero-card-overlay h2 {
        font-size: 1.5rem;
    }
    
    .category-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 575.98px) {
    .hero-card {
        min-height: 350px !important;
    }
    
    .hero-card-overlay {
        padding: 1.5rem;
    }
    
    .hero-card-overlay h2 {
        font-size: 1.25rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* Nav Tabs Pills Style */
.nav-pills .nav-link {
    border-radius: 50px;
    padding: 0.5rem 1rem;
    color: #666;
}

.nav-pills .nav-link.active {
    background-color: #1a1a1a;
    color: #fff;
}

/* Photo credit text */
.photo-credit {
    position: absolute;
    left: 1rem;
    bottom: 5rem;
    transform: rotate(-90deg);
    transform-origin: left bottom;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}

/* Top Rated Models Filter Pills */
.category-filter-pills {
    gap: 0.5rem;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #666;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    color: #1a1a1a;
    background-color: #f0f0f0;
}

.filter-pill.active {
    background-color: #1a1a1a;
    color: #fff;
}

/* Top Rated Model Cards */
.top-rated-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.top-rated-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.top-rated-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

@media (min-width: 992px) {
    .top-rated-image {
        height: 320px;
    }
}

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

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

.top-rated-info {
    padding: 1rem;
}

.top-rated-info h6 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.top-rated-info p {
    font-size: 0.8rem;
}

/* Model Item Transition */
.model-item {
    transition: opacity 0.3s ease;
}

/* Community Stats Cards */
.community-stat-card {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 2rem 1.5rem;
}

/* Safety Icons */
.safety-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonial Slider */
.testimonial-slider {
    position: relative;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.testimonial-image-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonial-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.testimonial-name-overlay {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.testimonial-divider {
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 3px;
    background: #1a1a1a;
}

.quote-mark {
    margin-bottom: -1rem;
}

.testimonial-text {
    line-height: 1.5;
    color: #333;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonial-nav:hover {
    background: #f5f5f5;
    border-color: #999;
}

.testimonial-prev {
    left: -60px;
}

.testimonial-next {
    right: -60px;
}

@media (max-width: 992px) {
    .testimonial-prev {
        left: 10px;
    }
    .testimonial-next {
        right: 10px;
    }
    .testimonial-image {
        height: 300px;
    }
    .testimonial-divider {
        display: none;
    }
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.testimonial-dots .dot.active {
    background: #333;
}
