/*
 * FakeCastMeXXX Website - Main Stylesheet
 * Modern, responsive design with SEO optimizations
 */

/* Custom Properties (Variables) */
:root {
    /* Color Scheme - Dark Red/Black Theme (different from previous sites) */
    --primary-color: #e94560;
    --secondary-color: #0f3460;
    --accent-color: #16213e;
    --text-color: #f1f1f1;
    --text-dark: #222;
    --bg-dark: #1a1a2e;
    --bg-light: #f8f9fa;
    --bg-secondary: #252a34;
    --border-color: #444;
    
    /* Typography */
    --heading-font: 'Oswald', sans-serif;
    --body-font: 'Roboto', sans-serif;
    
    /* Spacing */
    --section-spacing: 100px;
    --element-spacing: 20px;
    
    /* Effects */
    --border-radius: 4px;
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

.page-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* 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(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 5rem;
}

h2 {
    font-size: 3.8rem;
}

h3 {
    font-size: 2.6rem;
}

h4 {
    font-size: 2.2rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(233, 69, 96, 0.5);
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.4rem 2.8rem;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.6rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.6);
    transform: translateY(-3px);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 6rem;
}

.section-header.left-aligned {
    text-align: left;
    margin-left: 0;
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 0.4rem;
    background-color: var(--primary-color);
    border-radius: 0.2rem;
}

.section-header.left-aligned .section-title::after {
    left: 0;
    transform: none;
}

.section-subtitle {
    font-size: 1.8rem;
    color: #ccc;
    font-weight: 300;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 46, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 1rem 0;
    background-color: rgba(26, 26, 46, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.logo-container {
    z-index: 1001;
}

.logo {
    display: block;
}

.logo-svg {
    color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-list {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--text-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--accent-color) 100%);
    color: var(--text-color);
    overflow: hidden;
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: left;
}

.hero-title {
    font-size: 6rem;
    margin-bottom: 2rem;
    color: #fff;
    line-height: 1.1;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 2.2rem;
    margin-bottom: 4rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 2rem;
}

.hero-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23e94560' fill-opacity='0.2' d='M0,192L48,170.7C96,149,192,107,288,112C384,117,480,171,576,181.3C672,192,768,160,864,144C960,128,1056,128,1152,149.3C1248,171,1344,213,1392,234.7L1440,256L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    opacity: 0.7;
}

/* Features Section */
.features-section {
    background-color: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 4rem;
}

.feature-card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 3.5rem;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.feature-icon {
    width: 8rem;
    height: 8rem;
    background-color: rgba(233, 69, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition);
    color: var(--primary-color);
}

.feature-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-description {
    margin-bottom: 2.5rem;
    color: #ddd;
}

.feature-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    font-size: 1.4rem;
}

.feature-link::after {
    content: "→";
    margin-left: 0.5rem;
    transition: var(--transition);
}

.feature-link:hover::after {
    margin-left: 1rem;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 2rem;
    color: #ddd;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
}

.stat {
    text-align: center;
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-bottom: 3px solid var(--primary-color);
}

.stat-number {
    display: block;
    font-family: var(--heading-font);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.6rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #ddd;
}

.about-image-container {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.about-image-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(15, 52, 96, 0.9) 0%, rgba(15, 52, 96, 0.7) 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.about-image-shape::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23e94560' fill-opacity='0.2' d='M0,32L48,58.7C96,85,192,139,288,144C384,149,480,107,576,101.3C672,96,768,128,864,128C960,128,1056,96,1152,96C1248,96,1344,128,1392,144L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

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

.entertainment-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%231a1a2e' fill-opacity='0.4' d='M0,224L48,218.7C96,213,192,203,288,181.3C384,160,480,128,576,128C672,128,768,160,864,154.7C960,149,1056,107,1152,106.7C1248,107,1344,149,1392,170.7L1440,192L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center bottom;
    opacity: 0.5;
    z-index: 0;
}

.entertainment-content {
    position: relative;
    z-index: 1;
}

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

.resource-card {
    background-color: var(--bg-dark);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.resource-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.resource-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5rem;
    height: 3px;
    background-color: var(--primary-color);
}

.resource-links li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.resource-links li::before {
    content: "→";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.resource-links li a {
    font-weight: 500;
    transition: var(--transition);
}

.resource-links li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.contact-form-container {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 4rem;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #ddd;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.form-submit {
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.info-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-card h4 {
    margin-bottom: 1rem;
}

.info-card p {
    margin-bottom: 0;
    color: #ddd;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(233, 69, 96, 0.1);
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

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

.footer-brand {
    max-width: 350px;
}

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

.footer-logo .logo-svg {
    color: #fff;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
}

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

.footer-links-column h4 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
}

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

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

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-favicon {
    margin-bottom: 1.5rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
    margin-bottom: 0;
}

/* Additional Components */
.card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin: 2rem 0;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.2rem;
    border-radius: 2rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeIn 1s ease forwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.scrolled {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.no-scroll {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1200px) {
    html {
        font-size: 58%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 56%;
    }
    
    .section {
        padding: 8rem 0;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-container {
        min-height: 400px;
        order: -1;
    }
    
    .hero-title {
        font-size: 4.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 54%;
    }
    
    h1 {
        font-size: 4.2rem;
    }
    
    h2 {
        font-size: 3.4rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        padding: 4rem 2rem;
        transition: 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-shape {
        display: none;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links-column {
        text-align: center;
    }
    
    .footer-links-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    html {
        font-size: 52%;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .hero-section {
        min-height: 600px;
    }
    
    .features-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }
}
