/* ==============================================
   FONTS
   ============================================== */
@import url('https://fonts.googleapis.com/css2?family=Lexend&display=swap');

@font-face {
    font-family: 'TypoRound';
    src: url('../fonts/Typo_Round_Regular_Demo.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ==============================================
   BASE STYLES
   ============================================== */
html,
body {
    font-family: 'Lexend', sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    background-color: #fff;
    color: #060606;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    /* Flexbox layout for sticky footer */
    display: flex;
    flex-direction: column;
}

/* Main content should expand to fill remaining space */
main {
    flex: 1;
}

/* ==============================================
   CONTENT WRAPPER
   ============================================== */
.content {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    z-index: 1;
}

/* Ensure header/nav sticks properly */
header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

header.sticky {
    background: rgba(0, 0, 0, 0.65);
    /* frosted dark */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* ==============================================
   LOGO
   ============================================== */
.dopame-logo {
    width: 100%;
    max-width: clamp(120px, 180px, 200px);
    height: auto;
}

.dopame-logo-header {
    height: 60px;
}

/* ==============================================
   NAVBAR
   ============================================== */
.navbar {
    background: rgba(0, 0, 0, 0.85);
    /* frosted dark */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.navbar.sticky-top {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Hamburger toggle (menu button) -> Circular "Menu" chip */
.menu-toggle {
    position: inherit;
    top: 15px;
    right: 15px;

    width: 60px;
    /* fixed width */
    height: 60px;
    /* fixed height (same as width = circle) */
    border: 2px solid #fff;
    border-radius: 50%;
    /* perfect circle */
    background: transparent;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 0.85rem;
    font-weight: 300;
    /* lighter text */
    letter-spacing: 0.03em;
    text-transform: capitalize;
    cursor: pointer;
    z-index: 2100;
}

.menu-toggle .menu-label {
    /* keeps label crisp & centered; extra hook if you need */
}

/* Keep everything white; subtle interaction without changing color */
.menu-toggle:hover {
    opacity: 0.9;
    /* keep white, just slight feedback */
    background: transparent;
    /* no fill */
}

.menu-toggle:active {
    transform: scale(0.98);
}

.menu-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
    /* accessible focus halo, still white-ish */
}

/* Slightly larger tap target on small screens */
@media (max-width: 768px) {
    .menu-toggle {
        padding: 0.55rem 1rem;
        font-size: 1rem;
    }
}


/* ==============================================
   SIDEBAR MENU (Slide in from RHS)
   ============================================== */
.sidebar {
    position: fixed;
    top: 0;
    right: -30%;
    /* hidden by default */
    width: 30%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.4);
    transition: right 0.4s ease;
    z-index: 2000;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* When open */
.sidebar.open {
    right: 0;
}

/* Close button */
.sidebar .close-btn {
    align-self: flex-end;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.sidebar .close-btn:hover {
    color: #EB654C;
}

/* Sidebar links */
.sidebar .nav-link {
    display: block;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    margin: 1rem 0;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.2s;
    border-radius: 8px;
}

.sidebar .nav-link:hover {
    color: #EB654C;
    padding-left: 8px;
}

.sidebar .nav-link.active {
    color: #EB654C;
    font-weight: bold;
}

/* Sidebar heading */
.sidebar-heading {
    color: #fff;
    /* white for contrast */
    font-weight: 600;
    /* semi-bold */
    margin: 20px 20px 10px;
    /* space above/below */
    font-size: 1.1rem;
}

/* Sidebar links under heading */
.sidebar .nav-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    /* lighter than heading */
    padding: 8px 20px;
    text-decoration: none;
    font-size: 0.95rem;
    margin-left: 10px;
    /* slight indent */
}

.sidebar .nav-link.active {
    color: #EB654C;
    /* keep your highlight color for active link */
    font-weight: 500;
}


/* ==============================================
   TYPOGRAPHY
   ============================================== */
h1,
h2 {
    color: #6A3273;
    /* keep original purple */
    margin: 0 0 1rem;
}

h1 {
    font-family: 'TypoRound', sans-serif;
    font-size: 2rem;
    margin-bottom: 16px;
}

h2 {
    font-size: 1.25rem;
    margin-top: 32px;
    margin-bottom: 12px;
}

p {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    letter-spacing: 0.07em;
    margin-bottom: 12px;
    color: #060606;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ==============================================
   LISTS
   ============================================== */
ul {
    padding-left: 20px;
    margin-bottom: 16px;
    list-style: disc;
}

li {
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: 0.05em;
    color: #060606;
}

/* ==============================================
   MAIN CONTENT
   ============================================== */
main {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.text-box {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    display: inline-block;
    padding: 1rem 2rem;
}

/* ==============================================
   FOOTER
   ============================================== */
footer {
    background: #6A3273;
    /* keep original purple */
    color: #fff;
    padding: 24px;
    margin-top: 60px;
    text-align: center;
}

footer p {
    margin: 4px 0;
    font-size: 14px;
    color: #fff;
}

/* ==============================================
   RESPONSIVE TYPOGRAPHY & SIDEBAR
   ============================================== */
@media (max-width: 768px) {
    .faq-glass-box {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .faq-item {
        padding: 1rem;
    }

    .accordion-button {
        padding: 0.75rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    p,
    li {
        font-size: 14px;
    }

    /* Sidebar takes wider width on small screens */
    .sidebar {
        width: 80%;
        right: -80%;
    }

    .sidebar.open {
        right: 0;
    }
}

@media (max-width: 480px) {
    .faq-wrapper {
        width: 95%;
    }

    .faq-glass-box {
        padding: 1.25rem 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    p,
    li {
        font-size: 13px;
    }
}

@media (min-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    p,
    li {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    #sidebarMenu .close-btn {
        position: sticky;
        top: 0;
        z-index: 10;
        padding: 12px 0;
    }
}

/* Mobile sidebar scroll fix */
@media (max-width: 768px) {
    #sidebarMenu {
        height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 24px;
    }
}