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

/* Base & Reset Styles */
:root {
    /* Color Variables - Purple/Violet Theme */
    --primary-color: #6d28d9;      /* Purple-700 */
    --primary-light: #8b5cf6;      /* Purple-600 */
    --primary-dark: #5b21b6;       /* Purple-800 */
    --secondary-color: #10b981;    /* Emerald-600 */
    --secondary-light: #34d399;    /* Emerald-500 */
    --secondary-dark: #059669;     /* Emerald-700 */
    --accent-color: #a78bfa;       /* Purple-400 */
    --bg-color: #ffffff;
    --bg-alt-color: #f9fafb;       /* Gray-50 */
    --bg-dark-color: #111827;      /* Gray-900 */
    --text-color: #1f2937;         /* Gray-800 */
    --text-light: #f3f4f6;         /* Gray-100 */
    --text-muted: #6b7280;         /* Gray-500 */
    --border-color: #e5e7eb;       /* Gray-200 */
    
    /* Typography */
    --heading-font: 'Outfit', sans-serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-spacing: 100px;
    --container-padding: 1.5rem;
    
    /* Shadow */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-short: 0.2s ease-in-out;
    --transition-medium: 0.3s ease-in-out;
    --transition-long: 0.5s ease-in-out;
}

* {
    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;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-short);
}

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

img, svg {
    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(--text-color);
}

h1 {
    font-size: 4.8rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3.6rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 2rem;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: 1.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.section-header p {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin: 0 auto;
    max-width: 70%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.6rem;
    text-align: center;
    transition: all var(--transition-short);
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

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

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

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

.site-header.scrolled {
    padding: 1.5rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo-svg {
    display: block;
}

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

.nav-menu li {
    margin-left: 3rem;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu li a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-short);
}

.nav-menu li a:not(.btn):hover::after {
    width: 100%;
}

.nav-menu li a:not(.btn):hover {
    color: var(--primary-color);
}

.nav-menu li a.btn {
    margin-left: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--text-color);
    margin: 6px 0;
    transition: all var(--transition-short);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 70rem;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 8rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color), var(--primary-light));
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    color: var(--text-light);
    text-align: center;
    max-width: 80rem;
    margin: 0 auto;
    z-index: 2;
}

.hero-content h1 {
    font-size: 5.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-content .lead {
    font-size: 2rem;
    margin-bottom: 3.5rem;
    opacity: 0.9;
}

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

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

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

.feature-card {
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background-color: rgba(109, 40, 217, 0.1); /* Primary color with opacity */
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 1.5rem;
}

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

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

.resource-category {
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.resource-category h3 {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--primary-color);
}

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

.resource-list li a {
    display: block;
    padding: 1.5rem;
    background-color: var(--bg-alt-color);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-weight: 500;
    transition: all var(--transition-short);
    border: 1px solid transparent;
}

.resource-list li a:hover {
    background-color: rgba(109, 40, 217, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

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

.premium-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236d28d9' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.plan-card {
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
    position: relative;
}

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

.plan-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}

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

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-bottom-left-radius: var(--radius-md);
}

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

.plan-header h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 2.6rem;
}

.price {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

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

.plan-features {
    padding: 3.5rem 3rem;
}

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

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

.plan-card .btn {
    display: block;
    margin: 0 3rem 3rem;
}

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

.about-content {
    max-width: 90rem;
    margin: 0 auto;
}

.about-text {
    font-size: 1.7rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

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

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

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

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

.form-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark-color);
    color: var(--text-light);
    padding: 6rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

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

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 2px;
    background-color: var(--primary-light);
}

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

.footer-column ul li a {
    color: var(--text-light);
    opacity: 0.7;
    transition: all var(--transition-short);
}

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

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

.copyright p {
    margin-bottom: 0;
    opacity: 0.7;
}

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

/* Responsive Design */

@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .section-header p {
        max-width: 90%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .plan-card.popular {
        transform: scale(1.02);
    }
    
    .plan-card.popular:hover {
        transform: scale(1.02) translateY(-10px);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 100;
    }
    
    .main-nav .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 40rem;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-medium);
        box-shadow: var(--shadow-lg);
        z-index: 90;
    }
    
    .main-nav .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .nav-menu li a.btn {
        margin-top: 2rem;
    }
    
    .hero-content h1 {
        font-size: 4.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 30rem;
    }
    
    .resources-grid,
    .membership-plans {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 52%;
    }
    
    .hero-content h1 {
        font-size: 3.6rem;
    }
    
    .section-header h2 {
        font-size: 3.2rem;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
    
    .about-text {
        font-size: 1.6rem;
    }
    
    .feature-card,
    .resource-category {
        padding: 2.5rem;
    }
}
