/* Eden's Fault - Shared Stylesheet */
/* Import this on every page alongside the page-specific stylesheet */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background: #0a0a0a;
    min-height: 100vh;
    color: #d4d4d4;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;

    background:

        /* heavy dark vignette */
        radial-gradient(circle at center,
            rgba(0,0,0,0) 35%,
            rgba(0,0,0,0.75) 100%
        ),

        /* rust stains */
        radial-gradient(circle at 15% 30%, rgba(139,69,19,0.15), transparent 30%),
        radial-gradient(circle at 85% 70%, rgba(120,40,20,0.12), transparent 50%),
        radial-gradient(circle at 40% 90%, rgba(100,30,10,0.10), transparent 70%),

        /* cracked concrete lines */
        repeating-linear-gradient(
            75deg,
            rgba(255,255,255,0.02) 0px,
            rgba(255,255,255,0.02) 1px,
            transparent 1px,
            transparent 9px
        ),

        repeating-linear-gradient(
            -60deg,
            rgba(0,0,0,0.35) 0px,
            rgba(0,0,0,0.35) 2px,
            transparent 2px,
            transparent 14px
        ),

        /* deep dirt layer */
        repeating-linear-gradient(
            0deg,
            rgba(0,0,0,0.25) 0px,
            rgba(0,0,0,0.25) 3px,
            transparent 7px,
            transparent 12px
        ),

        /* atmospheric colour (matches your palette) */
        radial-gradient(circle at 20% 50%, rgba(139,69,19,0.1), transparent 0.5%),
        radial-gradient(circle at 80% 80%, rgba(34,139,34,0.07), transparent 0.9%),
        radial-gradient(circle at 40% 20%, rgba(178,34,34,0.07), transparent 80%);

    background-blend-mode: overlay;
    animation: pulse 10s ease-in-out infinite;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;

    background-image:
        repeating-radial-gradient(
            circle,
            rgba(255,255,255,0.02) 0px,
            rgba(255,255,255,0.02) 1px,
            transparent 1px,
            transparent 4px
        );

    mix-blend-mode: overlay;
    opacity: 0.35;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== LOGO (standardized across all pages) ===== */
.logo-container {
    position: relative;
    margin-bottom: 40px;
}

.logo-container img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.9)) drop-shadow(0 0 25px rgba(139,69,19,0.4));
}

.logo-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('Eden_s_Fault_Logo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 70%;
    background-attachment: fixed;
    opacity: 0.40;
    z-index: 0;
    pointer-events: none;
}

/* ===== NAVIGATION ===== */
.main-nav {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 200px;
}

.nav-link {
    color: #f0e6d2;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 20px;
    background: rgba(139, 69, 19, 0.2);
    border: 1px solid #8b4513;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: block;
    text-align: left;
}

.nav-link:hover {
    background: rgba(139, 69, 19, 0.4);
    transform: translateX(5px);
}

/* ===== PARENTAL ADVISORY ===== */
/* Standardised: 120px across all pages */
.parental-advisory {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 120px !important;
    max-width: 120px;
    height: auto;
    z-index: 100;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.7));
    transition: transform 0.3s ease;
}

.parental-advisory:hover {
    transform: scale(1.05);
}

.parental-advisory img {
    width: 100% !important;
    max-width: 120px;
    height: auto !important;
    display: block;
}

/* ===== DIVIDER ===== */
/* Standardised: 3px height, 200px width */
.divider {
    width: 300px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8b4513, transparent);
    margin: 0 auto;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    background: rgba(139, 69, 19, 0.1);
    border: 2px solid #8b4513;
}

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

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #c4c4c4;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;

    background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
    color: #f0e6d2;
    border: 1px solid #a0522d;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.8),
        0 0 10px rgba(139,69,19,0.4);

    position: relative;
    overflow: hidden;

    transition: all 0.3s ease;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );

    transform: skewX(-20deg);
    transition: 0.6s;
}

.cta-button:hover::before {
    left: 140%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.03);

    box-shadow:
        0 12px 35px rgba(0,0,0,0.9),
        0 0 20px rgba(139,69,19,0.6);
}

.cta-button.secondary {
    background: transparent;
    color: #8b4513;
    border: 2px solid #8b4513;
}

.cta-button.secondary:hover {
    background: rgba(139, 69, 19, 0.2);
    color: #f0e6d2;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 30px 20px;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid rgba(139, 69, 19, 0.3);
    position: relative;
    z-index: 1;
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 768px) {
    .parental-advisory {
        width: 80px !important;
        max-width: 80px;
        top: 15px;
        right: 15px;
    }

    .logo-container img {
        max-width: 100%;
    }

    .main-nav {
        display: none; /* Hide on mobile - pages use hamburger menus */
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}