/* 
 * JumaSex - Main Stylesheet
 * Modern, responsive design with SEO optimization
 */

/* Base & Reset Styles */
:root {
    /* Color Variables */
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --accent-color: #a8dadc;
    --light-color: #f1faee;
    --dark-color: #2b2d42;
    --text-color: #333;
    --text-light: #f8f9fa;
    --bg-color: #ffffff;
    --bg-alt-color: #f8f9fa;
    --border-color: #e1e4e8;
    
    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-spacing: 6rem;
    --container-padding: 2rem;
    
    /* Shadow */
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-med: 0.5s ease;
}

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

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 2rem;
}

/* Container & Layout */
.container {
    width: 100%;
    max-width: 128rem;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--section-spacing) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header p {
    max-width: 60rem;
    margin: 0 auto;
    font-size: 1.8rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header & Navigation */
.main-header {
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-med);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-svg {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 2.5rem;
}

.nav-list li a {
    font-weight: 500;
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-list li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 60rem;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color), rgba(29, 53, 87, 0.8));
    color: var(--text-light);
    padding-top: 8rem;
}

.hero-content {
    text-align: center;
    max-width: 80rem;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 5.6rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Features Section */
.features {
    background-color: var(--bg-alt-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.feature-card {
    background-color: var(--bg-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-med);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: 2rem;
}

.feature-card h3 {
    margin-bottom: 1.5rem;
}

.feature-card p {
    color: #666;
}

/* Entertainment Section */
.entertainment {
    background-color: var(--bg-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.resources-category h3 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.resources-list li {
    margin-bottom: 1.5rem;
}

.resources-list li a {
    display: block;
    padding: 1rem 1.5rem;
    background-color: var(--bg-alt-color);
    border-radius: 4px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.resources-list li a:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Premium Section */
.premium {
    background: linear-gradient(to bottom, var(--bg-alt-color), var(--bg-color));
}

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

.premium-card {
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-med);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.premium-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.premium-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.premium-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-light);
    padding: 2.5rem 2rem;
    text-align: center;
}

.premium-header h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.price {
    font-size: 3.6rem;
    font-weight: 700;
}

.price span {
    font-size: 1.8rem;
    font-weight: 400;
}

.premium-features {
    padding: 3rem 2rem;
}

.premium-features ul li {
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
}

.premium-features ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.premium-card .btn-primary,
.premium-card .btn-secondary {
    display: block;
    margin: 0 2rem 2rem;
}

/* About Section */
.about {
    background-color: var(--bg-color);
}

.about-content {
    display: flex;
    justify-content: center;
}

.about-text {
    max-width: 80rem;
}

/* Contact Section */
.contact {
    background-color: var(--bg-alt-color);
}

.contact-form-container {
    max-width: 60rem;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--bg-color);
    padding: 4rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 2rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 1.6rem;
    transition: border var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(168, 218, 220, 0.3);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding-top: 5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    flex-basis: 100%;
    max-width: 20rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    flex-grow: 1;
    justify-content: space-between;
}

.footer-column h4 {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: var(--accent-color);
}

.footer-column ul li a:hover {
    color: var(--light-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
}

.footer-favicon {
    display: flex;
    align-items: center;
}

/* Responsive Design */

@media (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .hero-content h1 {
        font-size: 4.8rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 8rem;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-med);
    }
    
    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list li {
        margin: 1.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .resources-grid,
    .premium-plans {
        grid-template-columns: 1fr;
    }
    
    .premium-card.featured {
        transform: none;
    }
    
    .premium-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 52%;
    }
    
    .hero-content h1 {
        font-size: 3.6rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
