/* GLOBAL RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    padding-top: 120px;
}


/* COLORS */

.bg-black {
    background-color: #000000;
}

.bg-yellow {
    background-color: #F0FF70;
}

.bg-pink {
    background-color: #FFF9FC;
}

.bg-white {
    background-color: #FFFFFF;
}


/* HEADER */

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 120px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background-color: #000000;
}

.header-left {
    display: flex;
    align-items: center;
    min-width: 100px;
}

.logo {
    width: 90px;
    height: 100px;
}

.header-right {
    display: flex;
    align-items: center;
    min-width: 150px;
    justify-content: flex-end;
}

#who_we_are .hero,
#upcoming_events .hero,
#past_events .hero {
    align-items: flex-start;
    text-align: left;
}

.brand-title {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    /* tighter line height for small text */
}


/* NAVIGATION (INSIDE BLACK HEADER)*/


/* Navigation containers */

#main-nav,
#who-are-we-nav,
#what-we-do-nav,
#past-events-nav,
#upcoming-events-nav,
#admin-log-off-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-grow: 1;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
}


/* Navigation buttons */

.btn-nav {
    padding: 10px 20px;
    min-width: 120px;
    height: 40px;
    border-radius: 999px;
    background-color: #F0FF70;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #000000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-nav:hover {
    transform: scale(0.98);
}

.btn-nav:active {
    transform: scale(0.95);
}


/* Login page buttons stay white */

#login_page .btn-nav {
    background-color: #F0FF70;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: none;
}


/* ========================================
MOBILE NAVIGATION 
======================================== */


/* Hamburger icon - hidden on desktop, shown on mobile */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    padding-bottom: 8px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: #FFFFFF;
    display: block;
    border-radius: 2px;
}


/* Mobile dropdown menu - appears BELOW header */

.mobile-dropdown {
    display: none;
    background-color: #000000;
    padding: 20px 24px 16px 24px;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    position: fixed;
    top: 120px;
    left: 0;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mobile-dropdown.active {
    display: flex;
}


/* Mobile navigation buttons */

.btn-nav-mobile {
    width: 100%;
    height: 48px;
    padding: 12px 24px;
    background-color: #F0FF70;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.btn-nav-mobile:hover {
    transform: scale(0.98);
}

.btn-nav-mobile:active {
    transform: scale(0.95);
}


/* ========================================
MOBILE RESPONSIVE 
======================================== */

@media screen and (max-width: 768px) {
    /* Body padding for mobile header */
    body {
        padding-top: 80px;
    }
    /* Header adjustments for mobile */
    #site-header {
        min-height: 80px;
        height: 80px;
        padding: 12px 16px;
        justify-content: space-between;
        align-items: stretch;
    }
    /* Logo stays top-left */
    .header-left {
        align-self: flex-start;
    }
    .logo {
        width: 50px;
        height: 60px;
    }
    /* HIDE brand title on mobile */
    .header-right {
        display: none;
    }
    /* Mobile dropdown - appears below header */
    .mobile-dropdown {
        top: 80px;
        padding: 20px 24px 16px 24px;
    }
    /* Show hamburger icon at bottom-right */
    .mobile-menu-toggle {
        display: flex;
        align-self: flex-end;
    }
    /* Hide ALL desktop navigation bars on mobile */
    #main-nav,
    #who-are-we-nav,
    #what-we-do-nav,
    #past-events-nav,
    #upcoming-events-nav,
    #admin-log-off-nav {
        display: none !important;
    }
    /* Hero section adjustments */
    .hero-title {
        font-size: 32px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-hero {
        width: 100%;
    }
    /* Testimonials stack vertically */
    .testimonials-list {
        flex-direction: column;
        gap: 16px;
    }
    .testimonial-card {
        width: 100%;
        max-width: 390px;
    }
    /* Partner logos smaller */
    .partner-logo {
        width: 80px;
        height: 50px;
    }
    .partners-track {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
    /* Footer stacks vertically */
    #site-footer {
        flex-direction: column;
        gap: 24px;
        padding: 32px 24px;
    }
    /* Gallery single column */
    .gallery {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
    }
    /* Page banner adjustments */
    .page-banner {
        padding: 20px;
    }
    .page-banner h1 {
        font-size: 28px;
    }
    /* Who We Are adjustments */
    .unknownface {
        width: 120px;
    }
    /* Content blocks */
    .content-block {
        padding: 24px;
        margin: 24px 16px;
    }
    /* Login page adjustments */
    .login-container {
        padding: 40px 24px 32px;
        margin: 16px;
    }
    .login-logo {
        width: 44px;
    }
}


/* HERO SECTION */

.hero {
    width: 100%;
    padding: 64px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-hero {
    padding: 16px 24px;
    border-radius: 12px;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-hero:hover {
    background-color: #f5f5f5;
}


/* Make non-home page text align left */
#who_we_are .hero,
#upcoming_events .hero,
#past_events .hero {
    align-items: flex-start;
    text-align: left;
}


/* TESTIMONIALS */
#testimonials {
    width: 100%;
    padding: 64px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.testimonials-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.testimonials-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
}

.testimonials-list {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 32px;
    width: max-content;
    min-width: max-content;
    animation: marquee-reverse 25s linear infinite;
    will-change: transform;
}

.testimonial-card {
    min-width: 390px;
    max-width: 390px;
    padding: 24px;
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    flex: 0 0 auto;
}

@keyframes marquee-reverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.testimonial-text {
    font-size: 14px;
    margin-bottom: 16px;
}

.testimonial-author-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #E8F5E9;
}

.testimonial-author {
    font-size: 16px;
    font-weight: 500;
}

.testimonial-role {
    font-size: 12px;
    color: #666666;
}

#what_we_do .testimonial-card {
    margin: 40px auto;
}

/* PARTNERS */
#partners {
    width: 100%;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partners-title {
    font-size: 16px;
    margin-bottom: 24px;
}

.partners-list {
    width: 100%;
    display: flex;
    justify-content: center;
}

.partners-track {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.partner-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    display: inline-block;
    width: 180px;
    height: 120px;
    object-fit: contain;
}


/* FOOTER */
#site-footer {
    width: 100%;
    padding: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-footer {
    width: 90px;
    height: 90px;
}

.footer-center {
    display: flex;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
}

.footer-right {
    display: flex;
}

.btn-admin {
    padding: 12px 24px;
    border-radius: 24px;
    background-color: transparent;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
}

.btn-admin:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* ========== PAGES (hidden by default) ========== */
#who_we_are,
#what_we_do,
#upcoming_events,
#past_events {
    display: none;
    padding: 0;
    min-height: 50vh;
}


/* ============== Login page stuff ============== */
.input-field {
    padding: 12px 24px;
    min-width: 140px;
    height: 48px;
    border-radius: 999px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.input-warning {
    font-size: 16px;
    color: red;
}

#login_page {
    min-height: 100vh;
    width: 100%;
    background-color: #F0FF70;
    display: flex;
    align-items: center;
    justify-content: center;
}

#login_page .btn-nav {
    width: 180px;
    margin: 0 auto;
    height: 42px;
    padding: 0px 20px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 12px;
}

#login_page .btn-nav:hover {
    background-color: #F0FF70;
}

.login-container {
    background-color: #FFFFFF;
    padding: 72px 56px 56px;
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.login-logo {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 50px;
    height: auto;
}

.login-card h1 {
    margin-top: 24px;
    font-size: 28px;
    font-weight: 700;
}

.login-card h3 {
    margin-bottom: 32px;
    font-size: 16px;
    font-weight: 400;
    color: #444;
}

.login-formatting {
    width: 100%;
    gap: 12px;
    align-items: stretch;
}

.login-formatting .btn {
    width: 100%;
}

.login-formatting button {
    margin-top: 8px;
}

#hero_admin {
    width: 100%;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.admin-hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

#management_buttons {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    padding: 48px;
    box-sizing: border-box;
    align-items: center;
}

.btn-management {
    padding: 12px 24px;
    width: 280px;
    max-width: 100%;
    height: 48px;
    border-radius: 12px;
    background-color: #F0FF70;
    border: 1px solid #000000;
    color: #000000;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
}

#edit_home_page,
#add_new_event {
    padding: 64px 24px;
    min-height: 50vh;
}

.input_detail {
    display: flex important;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.admin-input-field {
    padding: 12px 24px;
    max-width: 200px;
    height: 48px;
    border-radius: 999px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.preview-stack {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (max-width: 480px) {
    .login-card {
        padding: 40px 24px 32px;
        margin: 16px;
    }
    .login-logo {
        width: 44px;
    }
}


/* ============== Events stuff ============== */
.page-banner {
    padding: 32px 60px;
}


/* background supplied by .bg-yellow on the element */
.page-banner h1 {
    margin: 0;
    font-size: 40px;
    font-weight: 500;
}

.gallery {
    padding: 30px 60px;
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 350px));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
}

.gallery img {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 9 / 16; /* Instagram Reels-style vertical */
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.gallery-item {
    display: flex;
    flex-direction: column;
}

.gallery-item figcaption {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
}

.join-page {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.join-page-animation {
    background-color: #F0FF70;
    border: none;
    border-radius: 999px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.join-page-animation:hover {
    transform: scale(0.94);
}

@media (max-width: 700px) {
    .gallery {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
    }
    .page-banner {
        padding: 20px;
    }
    .page-banner h1 {
        font-size: 28px;
    }
}

/* === Who We Are styles (adapted to site tokens) === */

.who-we-are-main {
    margin-top: 10px;
    position: relative;
    z-index: 1;
    color: #000;
    padding: 40px;
}

.who-intro {
    text-align: left;
    padding-bottom: 24px;
}

.unknownface {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    display: block;
    margin: 0 auto 12px;
}

.image-wrapper {
    width: 100%;
    max-width: 1232px;
    aspect-ratio: 1232 / 200;
    overflow: hidden;
    border-radius: 12px;
    margin: 20px auto;
}

.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.vision .image {
    object-position: center 30%;
}

.fade {
    color: #000000;
}

#who_we_are .hero .fade,
#who_we_are .who-intro .fade {
    color: #00000099;
}

#who_we_are,
#what_we_do {
    color: #000000;
}

#what_we_do p,
#what_we_do li {
    color: #000000 !important;
}

@media (max-width: 700px) {
    .unknownface {
        width: 120px;
        height: 120px;
    }
}


/* what we do */

.what-we-do-image {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.what-we-do-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
}

.content-block {
    max-width: 800px;
    padding: 32px;
    margin: 40px auto;
    text-align: left;
}

.content-block h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.content-block p {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
}

.quote-block {
    max-width: 800px;
    padding: 32px;
    margin: 40px auto;
    text-align: center;
}

.quote-block h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}

@media (max-width: 700px) {
    .content-block {
        padding: 24px;
        margin: 24px 16px;
    }
}


/* Manage testimonials */

#manage_testimonials .gallery,
#manage_partners .gallery,
#manage_events .gallery {
    display: flex;
    justify-content: center;
    padding: 0;
}
/* WhatsApp management page - single column on all screens */
#manage_whatsapp .gallery {
    display: flex;
    justify-content: center;
    padding: 0;
    grid-template-columns: none;
}

#manage_whatsapp .gallery img {
    width: 400%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

#manage_whatsapp .gallery-item {
    padding: 24px 0;
    max-width: 400px;
    width: 100%;
}

#manage_testimonials .gallery img,
#manage_partners .gallery img,
#manage_events .gallery img {
    width: 100%;
    max-width: 420px;
    object-fit: contain;
}

#manage_testimonials .gallery-item,
#manage_partners .gallery-item,
#manage_events .gallery-item {
    padding: 24px 0;
}
.events-filter{
    margin-top: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.2);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
}

.button-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 16px;
}

.testimonial-textbox {
    width: 100%;
    max-width: 420px;
    min-height: 200px;
    margin: 16px auto 0;
    padding: 14px 16px;
    font-family: 'Inter', Arial, sans-serid;
    font-size: 15px;
    line-height: 1.5;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    resize: vertical;
}

.testimonial-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px auto 0;
    width: 60%;
    max-width: 420px;
}
.whatsapp-input {
    width: 100%;
    max-width: 420px;
    height: 48px;
    margin: 16px auto 0;
    padding: 12px 16px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.whatsapp-input:focus {
    outline: none;
    border-color: #F0FF70;
    box-shadow: 0 0 0 3px rgba(240, 255, 112, 0.3);
}
.whatsapp-label {
    width: 100%;
    max-width: 420px;
    margin: 16px auto 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    text-align: center;
}

/* ==========MODAL SYSTEM=============== */


/* Modal overlay - dark background */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}


/* When modal is active */

.modal-overlay.active {
    display: flex;
}


/* Modal container - the popup box */

.modal-container {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    position: relative;
}


/* Prevent body scroll when modal is open */

body.modal-open {
    overflow: hidden;
}


/* Modal header */

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
}


/* Close button (X) */

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666666;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #000000;
}


/* Modal body */

.modal-body {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
}


/* Modal buttons container */

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}


/* Primary button (yellow) */

.modal-btn-primary {
    background-color: #F0FF70;
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    min-width: 120px;
    height: 44px;
}

.modal-btn-primary:hover {
    background-color: #e0ef60;
}


/* Secondary button (white with border) */

.modal-btn-secondary {
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #CCCCCC;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    min-width: 120px;
    height: 44px;
}

.modal-btn-secondary:hover {
    background-color: #F5F5F5;
}


/* =======TOASTS (NOTIFICATIONS)======= */

.toast-area {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2000;
}

.toast {
    min-width: 260px;
    max-width: 360px;
    background: #FFFFFF;
    color: #000;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-left: 6px solid #6C757D;

    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.toast-msg {
    font-size: 14px;
    color: #333;
}

/* Success toast - green border */
.toast-success {
    border-left-color: #28A745;
}

/* Error toast - red border */
.toast-error {
    border-left-color: #DC3545;
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    color: #666;
}

/* ==========ADMIN-SPECIFIC STYLES============= */

/* Hide hamburger menu in admin mode */
body.admin-mode .mobile-menu-toggle {
    display: none !important;
}

/* Hide Instagram icon in footer for admin */
body.admin-mode .footer-center {
    display: none !important;
}

/* Admin mobile adjustments */
@media (max-width: 768px) {
    body.admin-mode #site-header {
        justify-content: space-between;
    }
    
    body.admin-mode .header-left {
        flex: 1;
    }
    
    body.admin-mode #site-footer {
        justify-content: space-between;
        padding: 24px 16px;
    }
}
/* ==========ADMIN MOBILE RESPONSIVENESS============= */

/* Admin navigation buttons - mobile */
@media (max-width: 768px) {
    body.admin-mode #admin-nav {
        display: flex !important;
        flex-direction: row;
        gap: 8px;
        padding: 12px 16px;
        align-items: center;
        justify-content: flex-end;
    }
    
    body.admin-mode #admin-nav .btn-nav {
        min-width: 100px;
        max-width: 140px;
        height: 44px;
        font-size: 15px;
        padding: 10px 16px;
    }
    
    /* Admin management pages - button rows */
    body.admin-mode .button-row {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    body.admin-mode .button-row .btn-nav {
        flex: 1 1 calc(50% - 4px);
        min-width: 120px;
        max-width: 180px;
        height: 44px;
        font-size: 14px;
        padding: 10px 16px;
    }
    
    /* Admin action buttons */
    body.admin-mode .testimonial-action-buttons {
        width: 90%;
        max-width: none;
    }
    
    body.admin-mode .testimonial-action-buttons .btn-nav {
        width: 100%;
        height: 48px;
        font-size: 15px;
    }
    
    /* Gallery items in admin pages */
    body.admin-mode .gallery {
        padding: 20px 16px;
    }
    
    body.admin-mode .gallery-item {
        padding: 16px 0;
        width: 100%;
    }
    
    body.admin-mode .gallery img {
        max-width: 100%;
        height: auto;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .modal-container {
        max-width: 360px;
        padding: 20px;
    }
    .modal-actions {
        flex-direction: column;
    }
    .modal-btn-primary,
    .modal-btn-secondary {
        width: 100%;
    }
}
