﻿/* ========================================
   ELDIA MONTESSORI - MODERN WEBSITE
======================================== */

:root {
    --eldia-orange: #ff7900;
    --eldia-blue: #2563eb;
    --eldia-navy: #102f55;
    --eldia-green: #22c55e;
    --eldia-yellow: #facc15;
    --eldia-pink: #fb7185;
    --eldia-text: #334155;
    --eldia-light: #f8fafc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    color: var(--eldia-text);
    background: white;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

button,
a {
    transition: all .25s ease;
}

/* ========================================
   ANNOUNCEMENTS
======================================== */

.eldia-announcement {
    height: 42px;
    display: flex;
    align-items: center;
    background: var(--eldia-navy);
    color: white;
    overflow: hidden;
}

.announcement-label {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    background: var(--eldia-orange);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    z-index: 2;
}

.announcement-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.announcement-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: announcementScroll 28s linear infinite;
}

    .announcement-track span {
        font-size: 13px;
        font-weight: 700;
    }

@keyframes announcementScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.announcement-content:hover .announcement-track {
    animation-play-state: paused;
}

/* ========================================
   TOP BAR
======================================== */

.eldia-topbar {
    background: #fff7ed;
    border-bottom: 1px solid #ffedd5;
    padding: 9px 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-contact,
.topbar-social {
    display: flex;
    align-items: center;
    gap: 22px;
}

    .topbar-contact a {
        font-size: 12px;
        font-weight: 700;
        color: #475569;
    }

    .topbar-contact i {
        color: var(--eldia-orange);
        margin-right: 7px;
    }

    .topbar-social a {
        color: var(--eldia-navy);
        font-size: 15px;
    }

        .topbar-social a:hover {
            color: var(--eldia-orange);
        }

/* ========================================
   NAVIGATION
======================================== */

.eldia-header {
    position: relative;
    z-index: 1000;
    background: white;
    box-shadow: 0 5px 25px rgba(15,23,42,.06);
}

.eldia-navbar {
    min-height: 90px;
    padding: 10px 0;
    background: white;
}

.eldia-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 20px;
}

.eldia-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--eldia-navy);
    line-height: 1.3;
}

.brand-text small {
    color: var(--eldia-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.eldia-navbar .nav-link {
    font-size: 13px;
    font-weight: 800;
    color: #334155;
    padding: 12px 11px !important;
}

    .eldia-navbar .nav-link:hover,
    .eldia-navbar .nav-link:focus {
        color: var(--eldia-orange);
    }

/* DROPDOWN */

.eldia-navbar .dropdown-menu {
    border: 0;
    border-radius: 14px;
    padding: 10px;
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(15,23,42,.12);
}

.eldia-navbar .dropdown-item {
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

    .eldia-navbar .dropdown-item:hover {
        background: #fff7ed;
        color: var(--eldia-orange);
    }

    .eldia-navbar .dropdown-item i {
        margin-right: 8px;
    }

/* ADMISSION BUTTON */

.eldia-admission-btn {
    background: var(--eldia-orange);
    color: white;
    border-radius: 50px;
    padding: 13px 20px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(255,121,0,.22);
}

    .eldia-admission-btn:hover {
        background: #e66d00;
        color: white;
        transform: translateY(-2px);
    }

    .eldia-admission-btn i {
        margin-right: 6px;
    }

/* ========================================
   FOOTER
======================================== */

.eldia-footer {
    background: #102f55;
    color: #cbd5e1;
    padding: 75px 0 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

    .footer-brand img {
        width: 65px;
        height: 65px;
        object-fit: contain;
    }

    .footer-brand h3 {
        color: white;
        font-size: 20px;
        font-weight: 900;
        margin: 0;
    }

.footer-about p {
    font-size: 14px;
    line-height: 1.9;
}

.footer-title {
    color: white;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 25px;
}

.footer-links,
.footer-contact {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .footer-links li {
        margin-bottom: 14px;
    }

    .footer-links a {
        color: #cbd5e1;
        font-size: 14px;
    }

        .footer-links a:hover {
            color: var(--eldia-yellow);
            padding-left: 5px;
        }

    .footer-contact li {
        display: flex;
        gap: 12px;
        margin-bottom: 18px;
        font-size: 14px;
    }

    .footer-contact i {
        color: var(--eldia-orange);
        margin-top: 4px;
    }

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

    .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255,255,255,.1);
        color: white;
    }

        .footer-social a:hover {
            background: var(--eldia-orange);
        }

.footer-bottom {
    margin-top: 55px;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

    .footer-bottom p {
        margin: 0;
        font-size: 13px;
    }

/* ========================================
   BACK TO TOP
======================================== */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: var(--eldia-orange);
    color: white;
    box-shadow: 0 5px 20px rgba(0,0,0,.2);
    cursor: pointer;
    z-index: 999;
    display: none;
}

    .back-to-top.show {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .back-to-top:hover {
        background: var(--eldia-blue);
    }

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .announcement-track {
        animation: none;
        padding-left: 0;
    }
}
