/* Single Model Page Styles */

/* Page Background */
.single-model {
    background-color: #000; /* Black background */
    color: #fff; /* White text for contrast */
    padding: 20px 0;
}

/* Hero Section */
.single-model .hero {
    text-align: center;
    padding: 20px;
    background-color: #000;
    color: #fff;
}

.single-model .hero .model-image-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.single-model .hero-buttons a {
    display: inline-block;
    margin: 10px 5px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    background: #d4af37;
    color: #000;
}

.single-model .hero-buttons a:hover {
    background: #b08c28;
    color: #fff;
}

/* About Section */
.single-model #about-model {
    padding: 20px;
    background: transparent;
    color: #fff;
}

.single-model #about-model h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #d4af37;
}

.single-model #about-model p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Gallery Section */
.single-model .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 05px;
    justify-content: center;
    align-items: center;
    padding: 0 05px; /* Add padding on both sides for a consistent look */
}

.single-model .gallery-item img {
    width: 100%;
    height: 450px; /* Consistent height */
    object-fit: cover; /* Scale image to fill the container */
    border: 1px solid #444;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .single-model .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media (max-width: 480px) {
    .single-model .gallery-grid {
        grid-template-columns: 1fr; /* 1 column on small screens */
    }
}


/* Details Section */
.single-model .model-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #111;
    color: #fff;
}

.single-model .model-details-table td {
    border: 1px solid #444;
    padding: 10px;
}

/* Pricing Section */
.single-model .price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #111;
    color: #fff;
}

.single-model .price-table td,
.single-model .price-table th {
    border: 1px solid #333;
    padding: 10px;
}

.single-model .price-table th {
    background: #222;
}

/* General Styling for Similar Profiles Section */
.similar-profiles {
    margin: 20px 0;
    font-family: 'Montserrat', sans-serif;
}

.similar-profiles h2 {
    font-size: 2em;
    color: #000;
    margin-bottom: 10px;
    text-align: center;
     font-family: 'Montserrat', sans-serif;
}

.similar-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Minimum width of 300px per card */
    gap: 05px; /* Space between cards */
    justify-content: center; /* Center-align grid items */
    padding: 0 05px; /* Add padding on both sides for a consistent look */
}

.similar-profile-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for better aesthetics */
    text-align: center;
    max-width: 320px; /* Limit the maximum width of each card */
    margin: 0 auto; /* Center-align the card within its container */
}

.similar-profile-card:hover {
    transform: translateY(-5px); /* Hover effect */
}

.similar-profile-card img {
    width: 100%; /* Full width of the container */
    height: auto;
    object-fit: cover; /* Ensure the image fits proportionally */
    border-radius: 5px;
}

.similar-profile-card h3 {
    font-size: 1.2em;
    margin: 08px 0;
    color: #333;
    font-weight: bold;
}

.similar-profile-card p {
    font-size: 0.9em;
    color: #666;
    margin: 10px 0;
}

/* Tags Styling */
.similar-profile-card .profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.similar-profile-card .tag-item {
    background-color: #f0f0f0;
    color: #333;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    transition: background-color 0.3s, color 0.3s;
}

.similar-profile-card .tag-item:hover {
    background-color: #0073e6;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .similar-profiles-grid {
        grid-template-columns: repeat(2, 1fr); /* Two items per row on medium screens */
    }
}

@media (max-width: 768px) {
    .similar-profiles-grid {
        grid-template-columns: 1fr; /* One item per row on smaller screens */
        padding: 0 15px; /* Reduce padding on smaller screens */
    }

    .similar-profile-card {
        max-width: 90%; /* Ensure the card does not stretch to full screen */
        margin: 0 auto; /* Center the card */
    }
}
