/* =================================
   GOOGLE FONT
================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');


/* =================================
   UNIVERSAL CSS
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f8f8;
    color: #171717;
    transition: background 0.3s ease, color 0.3s ease;
}


/* =================================
   HEADER & NAVBAR
================================= */

.header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    width: 100%;
    min-height: 75px;
    padding: 0 7%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}


/* LOGO */

.logo {
    text-decoration: none;
    color: #171717;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
}

.logo span {
    color: #e50914;
}


/* NAVIGATION */

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-left: 50px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #444444;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e50914;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -7px;
    background: #e50914;
    transition: 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


/* NAVBAR ACTIONS */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.theme-btn,
.menu-btn {
    background: transparent;
    border: none;
    outline: none;
    font-size: 19px;
    cursor: pointer;
    color: #222222;
    transition: 0.3s ease;
}

.theme-btn:hover {
    color: #e50914;
    transform: rotate(20deg);
}


/* PROFILE BUTTON */

.profile-container {
    position: relative;
}

.profile-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #e50914;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

.profile-btn:hover {
    background: #b80710;
    transform: scale(1.05);
}


/* PROFILE DROPDOWN */

.profile-menu {
    position: absolute;
    top: 55px;
    right: 0;
    width: 175px;
    padding: 8px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s ease;
}

.profile-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 7px;
    transition: 0.2s ease;
}

.profile-menu a:hover {
    background: #f3f3f3;
    color: #e50914;
}

.dropdown-divider {
    height: 1px;
    background: #eeeeee;
    margin: 5px 0;
}

.menu-btn {
    display: none;
}


/* =================================
   MAIN CONTENT
================================= */

.main-content {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.main-content h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 15px;
}

.main-content h1 span {
    color: #e50914;
}

.main-content p {
    color: #777777;
    font-size: 15px;
}


/* =================================
   HOME HERO SECTION
================================= */

.hero {
    min-height: 85vh;
    padding: 60px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background: #f8f8f8;
    transition: background 0.3s ease;
}


/* HERO CONTENT */

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-size: clamp(35px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: #e50914;
}

.hero-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #777777;
    margin-bottom: 30px;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.explore-btn,
.learn-btn {
    padding: 13px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.explore-btn {
    background: #e50914;
    color: #ffffff;
}

.explore-btn:hover {
    background: #b80710;
    transform: translateY(-3px);
}

.learn-btn {
    border: 1px solid #e50914;
    color: #e50914;
}

.learn-btn:hover {
    background: #e50914;
    color: #ffffff;
}


/* =================================
   HERO IMAGE
================================= */

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.hero-image img {
    display: block;
    width: 100%;
    max-width: 550px;
    height: 530px;
    object-fit: contain;
    opacity: 1;
    visibility: visible;
    mix-blend-mode: multiply;
    filter: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}


/* =================================
   DARK MODE
================================= */

body.dark {
    background: #101010;
    color: #ffffff;
}


/* NAVBAR DARK */

body.dark .navbar {
    background: #1a1a1a;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

body.dark .logo {
    color: #ffffff;
}

body.dark .logo img {
    background: #ffffff;
    border-radius: 8px;
    padding: 2px 8px;
}

body.dark .nav-links a {
    color: #dddddd;
}

body.dark .nav-links a:hover,
body.dark .nav-links a.active {
    color: #e50914;
}

body.dark .theme-btn,
body.dark .menu-btn {
    color: #ffffff;
}


/* DROPDOWN DARK */

body.dark .profile-menu {
    background: #242424;
}

body.dark .profile-menu a {
    color: #eeeeee;
}

body.dark .profile-menu a:hover {
    background: #383838;
    color: #e50914;
}

body.dark .dropdown-divider {
    background: #444444;
}


/* MAIN DARK */

body.dark .main-content p {
    color: #aaaaaa;
}


/* HERO DARK */

body.dark .hero {
    background: #101010;
}

body.dark .hero-content h1 {
    color: #ffffff;
}

body.dark .hero-content p {
    color: #aaaaaa;
}


/* =================================
   DARK MODE IMAGE FIX
================================= */

body.dark .hero-image {
    background: transparent !important;
}

body.dark .hero-image img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;

    /* Image visible rahegi */
    mix-blend-mode: normal !important;

    background: transparent !important;
    filter: none !important;
    box-shadow: none !important;
}


/* =================================
   RESPONSIVE DESIGN
================================= */

@media (max-width: 768px) {

    .navbar {
        min-height: 70px;
        padding: 0 5%;
    }

    .logo {
        font-size: 21px;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        margin-left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 25px 0;
        background: #ffffff;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.3s ease;
    }

    body.dark .nav-links {
        background: #1a1a1a;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-actions {
        gap: 13px;
    }

    .menu-btn {
        display: block;
        font-size: 21px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 55px 5%;
        gap: 35px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        height: 300px;
        max-width: 100%;
    }
}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .logo {
        font-size: 18px;
    }

    .nav-actions {
        gap: 9px;
    }

    .profile-btn {
        width: 36px;
        height: 36px;
    }
}




