/* ===============================
   TEENTALKS OFFICIAL THEME
================================= */

:root {
    --primary-red: #FF3B0A;
    --cream: #F5E6C8;
    --black: #000000;
    --white: #ffffff;
    --dark-grey: #111111;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: var(--black);
    color: var(--white);
}

/* ===============================
   NAVBAR
================================= */

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--cream);
}

.nav-buttons .btn {
    margin-left: 15px;
}

/* ===============================
   BUTTONS
================================= */

.btn {
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s ease;
    font-weight: 500;
}

.primary {
    background: var(--primary-red);
    color: var(--white);
}

.primary:hover {
    background: #e33205;
    transform: translateY(-3px);
}

.secondary {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.secondary:hover {
    background: var(--primary-red);
    color: var(--white);
}

.large {
    padding: 14px 28px;
}

/* ===============================
   HERO SECTION
================================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Background image layer */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    animation: smoothSlider 32s infinite;
    z-index: 1;
}

/* Dim overlay layer */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.65);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 0 20px;
}

.hero h1 {
    font-size: 60px;
    letter-spacing: 4px;
    color: var(--cream);
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    max-width: 600px;
}

/* Smooth Image Loop */
@keyframes smoothSlider {
    0% { background-image: url('../resources/images/banner1.png'); }
    20% { background-image: url('../resources/images/banner1.png'); }

    25% { background-image: url('../resources/images/banner2.png'); }
    45% { background-image: url('../resources/images/banner2.png'); }

    50% { background-image: url('../resources/images/banner3.png'); }
    70% { background-image: url('../resources/images/banner3.png'); }

    75% { background-image: url('../resources/images/banner4.png'); }
    95% { background-image: url('../resources/images/banner4.png'); }

    100% { background-image: url('../resources/images/banner1.png'); }
}

/* ===============================
   ABOUT SECTION
================================= */

.about {
    padding: 120px 20px;
    text-align: center;
    background: var(--black);
}

.about h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--cream);
}

.about p {
    max-width: 800px;
    margin: auto;
    line-height: 1.8;
    color: #cccccc;
}

/* ===============================
   FEATURES
================================= */

.features {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    background: var(--black);
}

.feature-card {
    background: var(--dark-grey);
    padding: 30px;
    width: 280px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
    transition: 0.3s ease;
}

.feature-card h3 {
    color: var(--cream);
    margin-bottom: 15px;
}

.feature-card p {
    color: #cccccc;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(255, 59, 10, 0.3);
}

/* ===============================
   FOOTER
================================= */

footer {
    background: #111;
    text-align: center;
    padding: 40px;
    color: var(--cream);
    border-top: 2px solid var(--primary-red);
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 768px) {

    .navbar {
        padding: 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

}

/* ===============================
   AUTH FORM
================================= */

.form-container {
    min-height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-container h2 {
    color: var(--cream);
    margin-bottom: 20px;
}

form {
    background: #111;
    padding: 40px;
    border-radius: 12px;
    width: 350px;
    display: flex;
    flex-direction: column;
}

form input {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: none;
    background: #222;
    color: white;
}

form input:focus {
    outline: 2px solid var(--primary-red);
}

.message {
    margin-bottom: 15px;
    color: var(--primary-red);
}