/* =====================================================================
   GLOBAL RESET + PAGE STRUCTURE
   ===================================================================== */
/* FULL SCREEN BACKGROUND — FIX FOR ALL PAGES */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: url("bigdream-bg.jpg") no-repeat center center fixed !important;
    background-size: cover !important;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main, section {
    flex: 1;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* =====================================================================
   BACKGROUND (DARK ALWAYS)
   ===================================================================== */
body {
    background: url("bigdream-bg.jpg") no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    color: #e5e7eb;
    position: relative;
    animation: bgFade 1.4s ease-in-out;
}

/* Dark Overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: -1;
}

/* Noise Texture */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: url('noise.png') repeat;
    opacity: 0.06;
    z-index: -1;
    pointer-events: none;
}

/* =====================================================================
   HEADER
   ===================================================================== */
/* NAVIGATION RESPONSIVE FIX */
header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* nav links layout */
nav {
    display: flex;
    gap: 12px;
}

nav a {
    padding: 8px 18px;
    border-radius: 22px;
    font-size: 15px;
}

/* MOBILE MENU FIX */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 14px;
        padding: 6px 14px;
        margin: 4px;
    }
}


/* =====================================================================
   HERO
   ===================================================================== */
/* Hero responsive */
.hero h2 {
    font-size: 32px;
}

.hero p {
    font-size: 18px;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .hero p {
        font-size: 15px;
    }

    .quick-links {
        flex-wrap: wrap;
        gap: 8px;
    }

    .quick-links a {
        padding: 6px 14px;
        font-size: 14px;
    }
}


@keyframes typing { from { width: 0; } to { width: 100%; } }

/* =====================================================================
   CONTENT WRAPPER
   ===================================================================== */
.content {
    flex: 1;
    padding-bottom: 80px;
}

/* =====================================================================
   FORMS + BUTTONS
   ===================================================================== */
.goal-form {
    background: rgba(2, 6, 23, 0.85);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #1e293b;
}

.goal-form input,
.goal-form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 14px;
    border-radius: 6px;
    border: 1px solid #334155;
    background: rgba(15, 23, 42, 0.85);
    color: white;
}

.goal-form button {
    background: #38bdf8;
    border-radius: 6px;
    padding: 10px 15px;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

/* =====================================================================
   QUOTES
   ===================================================================== */
/* FULL-WIDTH MOTIVATION BAR */
/* FULL-WIDTH MOTIVATION BAR */
.quotes-slider {
    width: 100%;
    background: rgba(4, 12, 28, 0.82);
    padding: 35px 0;
    text-align: center;
    backdrop-filter: blur(6px);
    margin: 60px 0;
    border-top: 1px solid rgba(56,189,248,0.15);
    border-bottom: 1px solid rgba(56,189,248,0.15);
    border-radius: 0;
}

/* Title */
.quotes-slider h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #38bdf8;
}

/* Quote text */
.quotes-slider p {
    font-size: 18px;
    color: #fbbf24;
}



/* =====================================================================
   SOCIAL ICONS
   ===================================================================== */
.social-circle {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-bottom: 10px;
}

.social-circle a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.6);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
}

.social-circle a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-circle a:hover {
    transform: translateY(-4px) scale(1.12);
    background: rgba(56, 189, 248, 0.45);
    box-shadow: 0 0 12px #38bdf8;
}

/* =====================================================================
   ABOUT PAGE
   ===================================================================== */
.about-card {
    background: rgba(30,41,59,0.55);
    border: 1px solid rgba(56,189,248,0.3);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 18px;
    animation: fadeUp 0.8s ease-out;
}

.profile-preview {
    background: rgba(17,24,39,0.55);
    border: 1px solid rgba(56,189,248,0.4);
    padding: 25px;
    border-radius: 14px;
    margin-top: 25px;
}

/* =====================================================================
   ⭐⭐ PROFILE PAGE (B + D STYLE) — FINAL MERGED
   ===================================================================== */

/* Banner */
.profile-banner {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(56,189,248,0.2), rgba(15,23,42,0.8));
    backdrop-filter: blur(6px);
}

/* Profile Box */
.profile-box {
    max-width: 650px;
    background: rgba(15,23,42,0.75);
    margin: -70px auto 40px;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 0 18px rgba(56,189,248,0.3);
    border: 1px solid rgba(56,189,248,0.35);
    animation: fadeUp 1s ease-out;
}

/* Avatar */
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(56,189,248,0.25);
    border: 2px solid rgba(56,189,248,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -70px auto 10px;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Name + Bio */
.profile-name {
    text-align: center;
    font-size: 28px;
    color: #38bdf8;
    margin-bottom: 5px;
}

.profile-bio {
    text-align: center;
    color: #e5e7eb;
    font-size: 15px;
    margin-bottom: 20px;
}

/* Form */
.profile-form label {
    color: #38bdf8;
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

.profile-form input,
.profile-form textarea {
    width: 100%;
    padding: 12px;
    background: rgba(17,24,39,0.7);
    border: 1px solid rgba(56,189,248,0.4);
    border-radius: 8px;
    color: white;
    outline: none;
    margin-top: 6px;
}

.profile-form input:focus,
.profile-form textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
}

/* Buttons */
.btn-row {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.btn-save {
    background: #38bdf8;
    color: black;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.btn-cancel {
    background: rgba(56,189,248,0.15);
    color: #38bdf8;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #38bdf8;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 600px) {

    .profile-box {
        margin: -60px 15px 40px;
        padding: 25px;
    }

    .profile-avatar {
        width: 95px;
        height: 95px;
        font-size: 26px;
        margin-top: -55px;
    }

    .btn-row {
        flex-direction: column;
    }

    .btn-row button {
        width: 100%;
    }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
footer {
    margin-top: auto;
    background: rgba(2,6,23,0.85);
    backdrop-filter: blur(6px);
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}


.footer-content {
    max-width: 900px;
    margin: auto;
}

.footer-text {
    font-size: 14px;
    margin-top: 10px;
    color: #d1d5db;
}

.footer-links {
    margin-top: 6px;
    font-size: 13px;
}

.footer-links a {
    color: #38bdf8;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}
footer img {
    width: 40px;
    height: 40px;
}

/* MOBILE */
@media (max-width: 768px) {
    footer {
        padding: 20px 8px;
    }

    .social-circle {
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-links a {
        font-size: 14px;
    }

    footer img {
        width: 32px;
        height: 32px;
    }
}

/* =====================================================================
   ANIMATIONS
   ===================================================================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bgFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
