/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --bg-primary: #0a0806;
    --bg-secondary: #14100c;
    --text-primary: #f5f5f5;
    --text-secondary: #b3b0ab;
    --accent-gold: #e5b85c;
    --accent-gold-hover: #d4a345;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-speed: 0.3s;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Base overlay to give a trucking/gritty vibe behind everything */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('assets/tent-bg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.8;
    /* Increased opacity to show the tent background */
    z-index: -1;
    pointer-events: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    align-items: center;
    text-align: center;
    margin-top: -40px;
    /* Slight offset for centering visually */
}

.logo-container {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out forwards;
}

.main-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.2));
    transition: filter var(--transition-speed) ease;
}

.main-logo:hover {
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.5));
}

.headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.8);
    background: linear-gradient(180deg, #fff 40%, #a3a3a3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-headline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 400;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all var(--transition-speed);
    cursor: pointer;
}

.primary-btn {
    background-color: var(--accent-gold);
    color: #000;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.primary-btn:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.secondary-btn {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    background: linear-gradient(to right, rgba(20, 20, 20, 0.95), transparent);
    padding: 100px 40px;
    border-left: 5px solid var(--accent-gold);
    margin: 0 -20px;
    /* offset container padding */
}

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

.about-text h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.about-text p {
    font-size: 1.1rem;
    color: #ccc;
}

.about-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inset 0 0 40px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 5s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

/* ==========================================================================
   Subscribe Section
   ========================================================================== */
.subscribe {
    text-align: center;
    align-items: center;
    min-height: 60vh;
}

.subscribe-content {
    background-color: var(--bg-secondary);
    padding: 60px 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 700px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.subscribe-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.subscribe-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.email-input {
    flex: 1;
    padding: 15px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    outline: none;
    transition: border-color var(--transition-speed);
}

.email-input:focus {
    border-color: var(--accent-gold);
}

.submit-btn {
    padding: 15px 30px;
    background-color: var(--accent-gold);
    color: #000;
    border: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color var(--transition-speed);
}

.submit-btn:hover {
    background-color: var(--accent-gold-hover);
}

.hidden {
    display: none;
}

.form-feedback {
    margin-top: 20px;
    color: #4caf50 !important;
    font-weight: 600;
    animation: fadeIn 0.5s ease-out;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 40px 20px;
    text-align: center;
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color var(--transition-speed);
}

.social-links a:hover {
    color: var(--accent-gold);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
        min-height: auto;
        opacity: 1;
        /* Fix for mobile content visibility */
        transform: none;
        /* Fix for mobile content visibility */
    }

    .hero {
        margin-top: 0;
        padding-top: 40px;
    }

    .main-logo {
        max-width: 250px;
    }

    .headline {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .sub-headline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-container {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about {
        padding: 60px 20px;
        margin: 0;
        border-left: none;
        border-top: 3px solid var(--accent-gold);
    }

    .subscribe-form {
        flex-direction: column;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}