/* ========================
   RESET & GLOBAL
======================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(135deg, #0f172a, #020617);
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}


/* ========================
   NAVBAR
======================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.nav-links {
    display: flex;
}

.nav-links a {
    margin: 0 15px;
    color: #94a3b8;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #22c55e;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 10px;
}

.login-btn {
    padding: 8px 16px;
    border-radius: 6px;
    color: #cbd5f5;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.join-btn {
    padding: 10px 18px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    transition: 0.3s;
}

.join-btn:hover {
    transform: scale(1.05);
}


/* ========================
   HERO (HOME PAGE)
======================== */

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    cursor: pointer;
}


/* ========================
   CONTAINER
======================== */

.container {
    padding: 40px 60px;
}


/* ========================
   CARDS (GLOBAL)
======================== */

.card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}


/* ========================
   CLIENTS PAGE
======================== */

.flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(#64748b, #334155);
}

.client-info {
    flex: 1;
}

.client-info h3 {
    margin-bottom: 5px;
}

.client-info p {
    color: #94a3b8;
    font-size: 14px;
}

.badge {
    background: #22c55e;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}


/* ========================
   PROFILE PAGE
======================== */

.profile-card {
    display: flex;
    align-items: center;
    gap: 25px;
}

.profile-card .avatar {
    width: 90px;
    height: 90px;
}

.profile-details p {
    color: #94a3b8;
    margin-top: 5px;
}


/* ========================
   WALLET PAGE
======================== */

.wallet-box {
    max-width: 400px;
}

.wallet-box h2 {
    margin-bottom: 10px;
}

.wallet-box p {
    color: #94a3b8;
}

input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
    background: #020617;
    color: #fff;
}


/* ========================
   LOGIN PAGE
======================== */

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
}

.login-box {
    width: 320px;
}


/* ========================
   FOOTER
======================== */

.footer {
    text-align: center;
    padding: 20px;
    color: #64748b;
}


/* ========================
   📱 MOBILE
======================== */

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-actions {
        width: 100%;
        flex-direction: column;
    }
    .login-btn,
    .join-btn {
        width: 100%;
        text-align: center;
    }
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .container {
        padding: 20px;
    }
    .flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .login-box {
        width: 90%;
    }
}


/* ========================
   📲 TABLET
======================== */

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero img {
        margin-top: 20px;
        width: 80%;
    }
    .container {
        padding: 30px;
    }
}


/* ========================
   💻 LARGE SCREEN
======================== */

@media (min-width: 1200px) {
    .container,
    .hero {
        max-width: 1200px;
        margin: auto;
    }
}


/* SLIDER CONTAINER */

.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    /* width > height feel */
    overflow: hidden;
}


/* BACKGROUND SLIDES */

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slideShow infinite;
}


/* MULTIPLE IMAGES */

.slide:nth-child(1) {
    background-image: url('https://picsum.photos/1200/800?1');
    animation-delay: 5s;
}

.slide:nth-child(2) {
    background-image: url('https://picsum.photos/1200/800?2');
    animation-delay: 3s;
}

.slide:nth-child(3) {
    background-image: url('https://picsum.photos/1200/800?3');
    animation-delay: 6s;
}


/* ANIMATION */

@keyframes slideShow {
    0% {
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    30% {
        opacity: 1;
    }
    38% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}


/* TEXT OVERLAY */

.overlay-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 500px;
}

.overlay-content h1 {
    font-size: 42px;
}

.overlay-content p {
    margin: 15px 0;
    color: #cbd5f5;
}


/* DARK OVERLAY FOR READABILITY */

.hero-slider::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }
    .overlay-content {
        left: 20px;
        right: 20px;
        text-align: center;
    }
    .overlay-content h1 {
        font-size: 26px;
    }
}


/* ========================
   TOP BAR
======================== */

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 20px 60px;
    flex-wrap: wrap;
}


/* ========================
   TABS (Clients / Playboy)
======================== */

.tabs {
    display: flex;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 10px;
    overflow: hidden;
}

.tab {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
}

.tab.active {
    background: #22c55e;
    color: #fff;
}


/* ========================
   SEARCH BOX
======================== */

.search-box input {
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    width: 220px;
    background: #020617;
    color: #fff;
}


/* ========================
   CONTROLS
======================== */

.controls {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* LOCATION */

.location {
    padding: 8px 10px;
    border-radius: 6px;
    background: #020617;
    color: #fff;
    border: none;
}


/* ========================
   TOGGLE SWITCH
======================== */

.switch {
    position: relative;
    width: 45px;
    height: 22px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    background: #64748b;
    border-radius: 20px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.3s;
}

.slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.switch input:checked+.slider {
    background: #22c55e;
}

.switch input:checked+.slider:before {
    transform: translateX(22px);
}


/* ========================
   BOOK BUTTON
======================== */

.book-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    margin-left: auto;
    /* pushes button to right */
}

.book-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}

@media (max-width: 768px) {
    .book-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }
    .card.flex {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ========================
   TOP BAR
======================== */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
}

.topbar input {
    width: 300px;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #020617;
    color: #fff;
}

.top-icons span {
    margin-left: 15px;
    font-size: 18px;
    cursor: pointer;
}


/* ========================
   COVER IMAGE
======================== */

.cover {
    height: 250px;
    background: url('https://picsum.photos/1200/400') center/cover;
    border-radius: 0 0 20px 20px;
}


/* ========================
   PROFILE HEADER
======================== */

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 60px;
    margin-top: -40px;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #0f172a;
    background: url('https://picsum.photos/200') center/cover;
}

.profile-info h2 {
    margin-bottom: 5px;
}

.profile-info p {
    color: #94a3b8;
}


/* EDIT BUTTON */

.edit-btn {
    margin-left: auto;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    background: #22c55e;
    color: #fff;
    cursor: pointer;
}


/* ========================
   POST BOX
======================== */

.post-box textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #020617;
    color: #fff;
    resize: none;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.post-actions button {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
}

.post-btn {
    background: #22c55e;
    padding: 8px 15px;
    border-radius: 8px;
    color: #fff;
}


/* ========================
   POST FEED
======================== */

.post-user {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.mini-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #334155;
}

.post img {
    width: 100%;
    border-radius: 10px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }
    .topbar input {
        width: 100%;
    }
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .edit-btn {
        margin: 10px 0 0 0;
    }
}


/* =========================
   LOGIN WRAPPER
========================= */

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
}


/* =========================
   LOGIN CARD
========================= */

.login-card {
    width: 350px;
    padding: 30px;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    text-align: center;
}

.login-card h2 {
    margin-bottom: 5px;
}

.subtext {
    color: #94a3b8;
    margin-bottom: 20px;
}


/* INPUTS */

.login-card input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
    background: #020617;
    color: #fff;
}


/* =========================
   CAPTCHA BOX
========================= */

.captcha-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #020617;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
}

.captcha-text {
    font-size: 18px;
    letter-spacing: 4px;
    font-weight: bold;
    color: #22c55e;
}

.refresh {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 18px;
}


/* LOGIN BUTTON */

.login-btn-main {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn-main:hover {
    transform: scale(1.05);
}


/* SMALL TEXT */

.small {
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
}

@media (max-width: 768px) {
    .login-card {
        width: 90%;
    }
}