
/* =========================================
   GOOGLE FONTS
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');


/* =========================================
   ROOT COLORS
========================================= */

:root {

    --primary-color: #0F172A;
    --secondary-color: #134E4A;

    --accent-color: #F59E0B;
    --highlight-color: #FACC15;

    --light-bg: #F8FAFC;
    --white: #FFFFFF;

    --text-color: #1E293B;
    --gray-color: #64748B;

}


/* =========================================
   GLOBAL STYLES
========================================= */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {

    font-family: 'Poppins', sans-serif;

    background: var(--light-bg);

    color: var(--text-color);

    line-height: 1.7;

}

a {

    text-decoration: none;

}

img {

    max-width: 100%;
    display: block;

}


/* =========================================
   NAVBAR
========================================= */

.navbar {

    background:
    linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color)
    );

    padding: 15px 0;

    box-shadow:
    0 5px 15px rgba(0,0,0,0.08);

}

.navbar-brand {

    font-size: 28px;
    font-weight: 700;

    color: var(--white) !important;

}

.nav-link {

    color: var(--white) !important;

    margin-left: 18px;

    font-weight: 500;

    position: relative;

    transition: all 0.3s ease;

}

.nav-link::after {

    content: '';

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0%;
    height: 3px;

    background: var(--highlight-color);

    transition: width 0.4s ease;

}

.nav-link:hover::after {

    width: 100%;

}

.nav-link:hover {

    color: var(--highlight-color) !important;

}


/* =========================================
   HERO SECTION
========================================= */

.hero-section {

    min-height: 90vh;

    background:
    linear-gradient(
        rgba(15,23,42,0.85),
        rgba(19,78,74,0.85)
    ),
    url('../images/hero.jpg');

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 60px 20px;

}

.hero-section h1 {

    font-size: 60px;
    font-weight: 700;

    color: var(--white);

    animation: slideDown 1s ease;

}

.hero-section p {

    font-size: 22px;

    color: #E2E8F0;

    animation: fadeIn 2s ease;

}


/* =========================================
   BUTTONS
========================================= */

.btn {

    border-radius: 12px;

    padding: 12px 24px;

    font-weight: 600;

    transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

}

.btn-primary {

    background: var(--accent-color);

    border: none;

}

.btn-primary:hover {

    background: #ea9207;

}

.btn-warning {

    background: var(--highlight-color);

    border: none;

    color: #000;

}

.btn:hover {

    transform: translateY(-5px);

    box-shadow:
    0 12px 25px rgba(0,0,0,0.18);

}


/* =========================================
   SEARCH BAR
========================================= */

.input-group {

    border-radius: 15px;

    overflow: hidden;

    box-shadow:
    0 10px 25px rgba(0,0,0,0.1);

    transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

}

.input-group:hover {

    transform: scale(1.01);

    box-shadow:
    0 15px 35px rgba(0,0,0,0.15);

}

.form-control {

    border: none;

    padding: 15px;

    transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;

}

.form-control:hover,
.form-control:focus {

    border-color: var(--accent-color);

    box-shadow:
    0 0 12px rgba(245,158,11,0.3);

}


/* =========================================
   SECTION TITLES
========================================= */

section h2 {

    font-size: 38px;

    font-weight: 700;

    margin-bottom: 15px;

}


/* =========================================
   CARDS
========================================= */

.card {

    border: none;

    border-radius: 22px;

    overflow: hidden;

    background: var(--white);

    position: relative;

    transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;

}

.card:hover {

    transform:
    translateY(-12px)
    scale(1.02);

    box-shadow:
    0 20px 45px rgba(0,0,0,0.18);

}

.card::before {

    content: '';

    position: absolute;

    top: 0;
    left: -120%;

    width: 100%;
    height: 100%;

    background:
    linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );

    transition: 0.8s;

}

.card:hover::before {

    left: 120%;

}

.card img {

    height: 240px;

    object-fit: cover;

    transition: transform 0.5s ease;

}

.card:hover img {

    transform: scale(1.08);

}

.card-body {

    padding: 25px;

}

.card h4 {

    font-weight: 700;

    margin-bottom: 15px;

    transition: color 0.3s ease;

}

.card:hover h4 {

    color: var(--accent-color);

}

.card p {

    color: var(--gray-color);

}


/* =========================================
   FEATURE BOX
========================================= */

.feature-box {

    background: var(--white);

    border-radius: 20px;

    padding: 40px 30px;

    transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;

}

.feature-box:hover {

    transform: translateY(-10px);

    box-shadow:
    0 18px 35px rgba(0,0,0,0.12);

}


/* =========================================
   NEWSLETTER
========================================= */

.newsletter-section {

    background:
    linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color)
    );

}


/* =========================================
   AUTH PAGES
========================================= */

.auth-card {

    border: none;

    border-radius: 25px;

    overflow: hidden;

}

.auth-card .card-body {

    padding: 40px;

}


/* =========================================
   DASHBOARD
========================================= */

.dashboard-card {

    background: var(--white);

    padding: 30px;

    border-radius: 20px;

    transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

}

.dashboard-card:hover {

    transform: translateY(-10px);

    box-shadow:
    0 20px 40px rgba(0,0,0,0.15);

}


/* =========================================
   FOOTER
========================================= */

footer {

    background: var(--primary-color);

    color: var(--white);

    padding: 40px 0;

}

footer p {

    margin-bottom: 0;

}

.social-icons a {

    width: 45px;
    height: 45px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.1);

    color: white;

    margin-right: 10px;

    transition:
    transform 0.3s ease,
    background 0.3s ease;

}

.social-icons a:hover {

    background: var(--accent-color);

    transform:
    translateY(-5px)
    rotate(8deg);

}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes slideDown {

    from {

        opacity: 0;
        transform: translateY(-50px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}

@keyframes fadeIn {

    from {

        opacity: 0;

    }

    to {

        opacity: 1;

    }

}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media(max-width: 992px) {

    .hero-section h1 {

        font-size: 42px;

    }

}

@media(max-width: 768px) {

    .hero-section {

        min-height: 75vh;

    }

    .hero-section h1 {

        font-size: 34px;

    }

    .hero-section p {

        font-size: 18px;

    }

    .input-group {

        width: 100% !important;

    }

    section h2 {

        font-size: 30px;

    }

}

@media(max-width: 576px) {

    .hero-section h1 {

        font-size: 28px;

    }

    .navbar-brand {

        font-size: 22px;

    }

    .card img {

        height: 200px;

    }

}


/* =========================================
   SMOOTH SCROLL
========================================= */

html {

    scroll-behavior: smooth;

}

.playroom-hero {

    background: linear-gradient(
        135deg,
        #F59E0B,
        #FACC15
    );

    color: white;

    padding: 80px 20px;

    text-align: center;

    border-radius: 20px;

    margin-bottom: 50px;

}
.form-check {

    padding: 12px;

    border-radius: 10px;

    margin-bottom: 8px;

    transition: 0.3s ease;

}

.form-check:hover {

    background: rgba(245,158,11,0.1);

}

.form-check-input {

    cursor: pointer;

}

.form-check-label {

    cursor: pointer;

    font-weight: 500;

}

.alert-success {

    font-size: 20px;

    text-align: center;

}