/* --- GENERAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #fff;
    color: #333;
    line-height: 1.6;
}

/* --- HEADER --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    border-bottom: 1px solid #ccc;
}

.header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #c00;
}

/* Phase 1 color red */
.header nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header button,
.header a {
    background: none;
    border: none;
    cursor: pointer;
    color: #c00;
    font-weight: bold;
    font-size: 1rem;
}

.menu-dropdown {
    position: relative;
}

.menu-btn {
    font-size: 1.5rem;
}

.menu-content {
    display: none;
    position: absolute;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    min-width: 150px;
    z-index: 10;
    flex-direction: column;
}

.menu-content a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #333;
}

.menu-dropdown:hover .menu-content {
    display: flex;
}

/* --- HERO --- */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: #f8f8f8;
}

.hero h1 {
    font-size: 2.5rem;
    color: #c00;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
}

/* --- MODELS GRID --- */
.models-section {
    padding: 2rem;
}

.models-section h2 {
    margin-bottom: 1rem;
    color: #c00;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.model-card {
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    background: #fff;
    transition: 0.3s;
    position: relative;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.model-card h3 {
    margin-bottom: 0.5rem;
}

.model-card p {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    color: #555;
}

/* --- BADGES --- */
.premium-badge {
    background: #c00;
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.75rem;
    position: absolute;
    top: 10px;
    left: 10px;
}

.verified-badge {
    background: #0a0;
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.75rem;
    position: absolute;
    top: 10px;
    right: 10px;
}

.video-icon {
    display: block;
    margin-top: 0.5rem;
    color: #c00;
    font-weight: bold;
}

/* --- FAVORITE BUTTON --- */
.model-card button {
    margin-top: 0.5rem;
    padding: 0.4rem 0.6rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    background: #fff;
    color: #c00;
    border: 1px solid #c00;
    border-radius: 5px;
    transition: 0.3s;
}

.model-card button:hover {
    background: #c00;
    color: #fff;
}

/* --- BOOKING SECTION --- */
.booking-section {
    padding: 2rem;
    border-top: 1px solid #ccc;
}

.booking-section h2 {
    color: #c00;
    margin-bottom: 1rem;
}

.booking-section input,
.booking-section button {
    padding: 0.5rem;
    margin-right: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.booking-section button {
    background: #c00;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.booking-section button:hover {
    background: #900;
}

/* --- MODAL --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 400px;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 1.5rem;
    color: #c00;
}

/* --- NOTIFICATIONS --- */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #c00;
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 5px;
    display: none;
    z-index: 200;
}

.notification.show {
    display: block;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 1.5rem;
    background: #f8f8f8;
    border-top: 1px solid #ccc;
    color: #555;
}

/* --- RESPONSIVE --- */
@media(max-width:768px) {
    .models-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

.whatsapp-btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: #25D366;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}

.agency-badge {
    background: #000;
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.75rem;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.chat-box {
    background: #111;
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 0.5rem;
}

.chat-message {
    margin-bottom: 0.5rem;
    color: #fff;
}

.model-card {
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    width: 250px;
    color: white;
}

.model-image {
    position: relative;
}

.model-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.model-info {
    padding: 10px;
}

.model-price {
    color: #ff2a2a;
    font-weight: bold;
}

.premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    padding: 4px 8px;
    font-size: 12px;
}

.verified-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: green;
    padding: 4px 8px;
    font-size: 12px;
}

.agency-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: purple;
    padding: 4px 8px;
    font-size: 12px;
}

/* --- ADDED SAFE UTILITIES --- */

.center-box {
    text-align: center;
    padding: 50px;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #c00;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #900;
}

.btn.secondary {
    background: #555;
}