/* Global Styles */
:root {
    --primary-color: #ff2d75;
    /*--primary-color: #ff8cc6;*/
    --secondary-color: #7a4343;
    /*--accent-color: #fd8bc4;*/
    --accent-color: #ff4787;
    --light-color: #f8f8f8;
    --dark-color: #1a1a1a;
    --text-color: #333;
    --text-light: #777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.main-header {
    border-bottom: solid 1px #262626;
    background-color: var(--dark-color);
    color: white;
    padding: 0; /* Remove padding from header */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 70px; /* Set a fixed height for the header */
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* Make container take full header height */
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%; /* Take full height of logo container */
    text-decoration: none;
}

.logo-img {
    height: 70px; /* Slightly less than full height for padding */
    width: auto;
    max-width: 200px; /* Prevent too wide on tall headers */
    object-fit: contain;
    padding: 3px 0; /* Small vertical padding */
}

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

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

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.mainhero-content {
    width: 100%;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Button Styles */
.button-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.button-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 45, 117, 0.3);
}

.button-secondary {
    display: inline-block;
    background-color: transparent;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid white;
}

.button-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Featured Models */
.featured-models {
    padding: 80px 0;
    background-color: white;
}

.featured-models h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--secondary-color);
}

.ssmodel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.ssmodel-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.ssmodel-card:hover {
    transform: translateY(-10px);
}

.ssmodel-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.ssmodel-info {
    padding: 20px;
    background-color: white;
}

.ssmodel-info h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.ssmodel-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Membership Benefits */
.membership-benefits {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.membership-benefits h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--secondary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.benefit {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.benefit h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.cta {
    text-align: center;
}

/* Footer Styles */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3, .footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-section p {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 60px;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Models Gallery */
.models-gallery {
    position: relative;
    padding: 60px 0 100px; /* Increased bottom padding for the fade effect */
    overflow: hidden; /* Hide anything that extends beyond */
}

.ssmodel-filters {
    display: none;
    justify-content: center;
    margin-bottom: 50px;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}


.showall-btn {
    position: relative;
    z-index: 2; /* Make sure it appears above the fade */
    margin-top: -50px; /* Pull it up into the fade area */
    background-color: var(--primary-color);
    color: white;
    border: none;
    transition: all 0.3s;
    border-radius: 25px !important;
}

.showall-btn:hover, .showall-btn.active {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 45, 117, 0.3);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    position: relative;
    padding-bottom: 0px; /* Space for the fade effect */
}

.models-grid::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 263px;
    background: linear-gradient( to bottom, rgba(245,245,245,0) 0%, rgba(245, 245, 245, 0.7) 36%, rgba(245, 245, 245, 0.92) 60%, rgb(245, 245, 245) 86% );
    pointer-events: none;
  }

.ssmodel-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.ssmodel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 150px 40px rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
    transition: all 0.5s;
}

.ssmodel-item:hover::before {
    box-shadow: inset 0 0 25px 10px rgba(0, 0, 0, 0.4);
}

.ssmodel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, filter 0.5s; /* Added filter to transition */
    filter: blur(3px); /* Initial blur */
}

.ssmodel-item:hover img {
    transform: scale(1.05);
    filter: blur(0);
}


.ssmodel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.ssmodel-item:hover .ssmodel-overlay {
    transform: translateY(0);
}

.ssmodel-overlay h3 {
    margin-bottom: 5px;
}

.ssmodel-overlay p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.placeholder {
    max-height: 280px;
  }

/* CTA Section */
.cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
}

.cta-section h2 {
    margin-bottom: 20px;
}

/* Membership Plans */
.membership-plans {
    padding: 60px 0;
    padding-top: 45px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.plan-card {
    display:flex;
    flex-direction:column;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s;
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-card.popular {
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.plan-header h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.plan-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-light);
}

.plan-savings {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.plan-features {
    flex-grow: 1;
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.plan-features li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Payment Methods */
.pay-methods {
    padding: 40px 0;
    text-align: center;
    background-color: #f9f9f9;
}

.pay-methods h3 {
    margin-bottom: 20px;
}

.pay-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pay-icons img {
    height: 40px;
    opacity: 1;
}


/* Login Section */
.login-section {
    padding: 100px 0;
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
}

.login-box {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--dark-color);
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

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

    .ssmodel-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}
/* Error Message */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.mainpagebutton:hover{
    background-color: var(--primary-color)!important;
    color: white!important;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

.popup-content input {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.popup-content ol {
    padding-left: 20px;
}

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

.popup-content a {
    word-break: break-all;
}

.pay-section {
    margin-bottom: 40px;
}

.pay-section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.pay-section-title img,
.pay-section-title i {
    margin: 0 5px;
}

/* Plans Grid Adjustment */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.plan-card.invisible{
opacity:0;
pointer-events:none;
}