/* Global Styles */
:root {
    --primary-color: #ff2d75;
    /*--primary-color: #ff8cc6;*/
    --secondary-color: #2d2d2d;
    /*--accent-color: #fd8bc4;*/
    --accent-color: #ff6b9e;
    --light-color: #f8f8f8;
    --dark-color: #1a1a1a;
    --text-color: #333;
    --text-light: #777;
    --accent: #ff2d75;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --light-gray: #e9ecef;
    --medium-gray: #adb5bd;

}

* {
    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;
    justify-content: center !important;
}

.mainhero-content {
    width: 100%;
}

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

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

/* Button Styles */
.btn-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;
}

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

.btn-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;
}

.btn-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);
}

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

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

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

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

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

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

.model-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 */
}

.model-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;
  }

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

.model-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;
}

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

.model-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 */
}

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


.model-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;
}

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

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

.model-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;
    }

    .model-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;
}

.latest-files-section {
    padding: 4rem 0;
}

.file-search-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex-grow: 1;
    max-width: 500px;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
}

.filter-options select {
    padding: 0.8rem 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    background-color: white;
}

.files-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.files-list {
    max-height: 500px;
    overflow-y: auto;
}

.file-name-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-grow: 1;
    min-width: 0; /* Allows text overflow to work */
}

.file-item {
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.file-item:last-child {
    border-bottom: none;
}

.file-name {
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-type {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    flex-shrink: 0; /* Prevents the type from shrinking */
}

.load-more-container {
    text-align: center;
    padding: 1rem;
    border-top: 1px solid var(--light-gray);
}

.no-results {
    padding: 2rem;
    text-align: center;
    color: var(--medium-gray);
}

@media (max-width: 768px) {
    .file-search-container {
        flex-direction: column;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .file-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .file-name {
        max-width: 100%;
    }
    .file-name-container {
        width: 100%;
    }
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0; /* Prevents the button from shrinking */
}


.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    white-space: nowrap;
}


/* File Download Notice */
.file-download-notice {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.download-icon {
    font-size: 2rem;
    color: var(--accent);
}

.notice-content {
    flex-grow: 1;
}

.notice-content p {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.requested-filename {
    background-color: white;
    padding: 0.75rem;
    border-radius: calc(var(--border-radius) / 2);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.filename-text {
    color: var(--dark);
    font-weight: 500;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.error-message {
    background-color: #fff5f5;
    border-left: 3px solid var(--danger);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: var(--danger);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.error-message p {
    margin-bottom: 0.5rem;
}

.error-message p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .file-download-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .filename-text {
        max-width: 250px;
    }
}

.files-load-init {
    text-align: center;
    padding: 2rem;
}

.loading-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    display: inline-block;
    vertical-align: middle;
}

.filebtn {
    text-decoration: none;
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.filebtn-primary {
    background-color: var(--primary);
    color: white;
}

.filebtn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.filebtn-outline {
    background-color: transparent;
    border: 1px solid var(--accent);
    color: #eee;
}

.filebtn-outline:hover {
    background-color: var(--accent) !important;
    color: white !important;
}

.filebtn-accent {
    background-color: var(--accent);
    color: white !important;
}

.filebtn-accent:hover {
    color: white;
    background-color: --var(accnet);
    transform: translateY(-2px);
}

/* Add to style.css */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}

.contact-error-message {
    background-color: #fff5f5;
    color: #ec3b3b;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #e6c3c3;
}

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

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