/* ==================== CSS Variables ==================== */
:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --primary-light: #e3f2fd;
    --success-color: #43a047;
    --success-dark: #2e7d32;
    --warning-color: #f57c00;
    --danger-color: #e91e63;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --header-height: 56px;
    --bottom-nav-height: 65px;
    --sidebar-width: 280px;
}

/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Prompt', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== Sidebar Overlay ==================== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ==================== Sidebar ==================== */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-white);
    z-index: 1000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
    min-height: 56px;
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.sidebar-title {
    flex: 1;
}

.sidebar-title h6 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.sidebar-title small {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.sidebar-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.25rem;
}

.sidebar-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.sidebar-user {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.user-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.user-info {
    flex: 1;
}

.user-name {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

/* LINE Login Button */
.btn-line {
    background-color: #00c300;
    border: 1px solid #00c300;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-line:hover {
    background-color: #00a000;
    border-color: #00a000;
    color: #fff;
}

.btn-line .line-icon {
    width: 16px;
    height: 16px;
}

.sidebar-user .user-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-user .user-info .btn {
    width: 100%;
    font-size: 0.8rem;
    padding: 6px 12px;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.nav-section {
    padding: 4px 0;
}

.nav-section-title {
    padding: 12px 16px 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    margin: 2px 8px;
    color: var(--text-dark);
    gap: 12px;
    transition: all 0.2s;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.sidebar-nav .nav-link:hover {
    background: var(--bg-light);
}

.sidebar-nav .nav-link.active {
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 500;
}

.sidebar-nav .nav-link i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    opacity: 0.8;
}

.sidebar-nav .nav-link.active i {
    opacity: 1;
}

.sidebar-footer {
    padding: 12px 16px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
}

/* ==================== Main Content ==================== */
.main-content {
    min-height: 100vh;
    background: var(--bg-light);
}

/* ==================== App Header ==================== */
.app-header {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-top {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    height: var(--header-height);
    gap: 8px;
}

.btn-menu {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.2s;
}

.btn-menu:hover {
    background: var(--bg-light);
}

.header-brand {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.header-title {
    display: flex;
    flex-direction: column;
}

.title-main {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.2;
}

.title-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    gap: 4px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}

.btn-icon:hover {
    background: var(--bg-light);
}

.badge-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--danger-color);
    border-radius: 50%;
    border: 2px solid white;
}

/* ==================== Desktop Top Navbar ==================== */
.desktop-navbar {
    display: none;
    background: var(--primary-dark);
    padding: 0;
    position: relative;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.navbar-dropdown {
    position: relative;
}

.navbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

.navbar-item:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.navbar-dropdown:hover .navbar-item {
    background: rgba(255,255,255,0.1);
    border-bottom-color: white;
}

.navbar-item i.bi-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.navbar-dropdown:hover .navbar-item i.bi-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Panel */
.dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 480px;
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
}

.navbar-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.panel-content {
    display: flex;
    padding: 24px;
    gap: 32px;
}

.panel-section {
    flex: 1;
    min-width: 200px;
}

.panel-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.panel-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.panel-link:hover {
    background: var(--primary-light);
}

.panel-link i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 2px;
}

.panel-link div {
    display: flex;
    flex-direction: column;
}

.panel-link span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.3;
}

.panel-link small {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.panel-link:hover span {
    color: var(--primary-color);
}

/* Navbar Search */
.navbar-search {
    display: flex;
    align-items: center;
    margin-left: auto;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    overflow: hidden;
}

.search-input {
    background: transparent;
    border: none;
    padding: 8px 12px;
    color: white;
    font-size: 0.85rem;
    width: 160px;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-input:focus {
    background: rgba(255,255,255,0.1);
}

.search-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}

.search-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* ==================== Hero Slider ==================== */
.hero-slider {
    padding: 0;
}

.heroSwiper {
    width: 100%;
}

.heroSwiper .swiper-slide {
    padding: 12px;
}

.slide-content {
    border-radius: var(--radius-lg);
    padding: 24px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    position: relative;
}

/* Slide link wrapper */
.slide-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.slide-link:hover .slide-content {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Overlay for background images */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.slide-text {
    flex: 1;
    z-index: 1;
    max-width: 75%;
    text-align: center; /* Default to center alignment */
}

/* Text alignment classes for slider */
.slide-text.text-align-left {
    text-align: left;
    margin-right: auto;
}

.slide-text.text-align-right {
    text-align: right;
    margin-left: auto;
}

/* Fly in/out animations for slider text */
@keyframes flyInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flyInFromRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flyInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flyInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flyOutToLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-80px);
    }
}

@keyframes flyOutToRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(80px);
    }
}

@keyframes flyOutToTop {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-50px);
    }
}

@keyframes flyOutToBottom {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(50px);
    }
}

/* Initial state - hidden */
.swiper-slide .slide-text .slide-badge,
.swiper-slide .slide-text h3,
.swiper-slide .slide-text p {
    opacity: 0;
}

/* Active slide - animate in with staggered delay */
.swiper-slide-active .slide-text .slide-badge {
    animation: var(--fly-in-animation, flyInFromLeft) 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

.swiper-slide-active .slide-text h3 {
    animation: var(--fly-in-animation, flyInFromLeft) 0.6s ease-out forwards;
    animation-delay: 0.25s;
}

.swiper-slide-active .slide-text p {
    animation: var(--fly-in-animation, flyInFromLeft) 0.6s ease-out forwards;
    animation-delay: 0.4s;
}

/* Leaving slide - animate out */
.swiper-slide-prev .slide-text .slide-badge,
.swiper-slide-prev .slide-text h3,
.swiper-slide-prev .slide-text p,
.swiper-slide-next .slide-text .slide-badge,
.swiper-slide-next .slide-text h3,
.swiper-slide-next .slide-text p {
    animation: var(--fly-out-animation, flyOutToRight) 0.4s ease-in forwards;
}

.slide-badge {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.slide-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
    text-shadow:
        -1px -1px 0 rgba(0,0,0,0.8),
        1px -1px 0 rgba(0,0,0,0.8),
        -1px 1px 0 rgba(0,0,0,0.8),
        1px 1px 0 rgba(0,0,0,0.8),
        0 0 5px rgba(0,0,0,0.5);
}

.slide-text p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
    text-shadow:
        -1px -1px 0 rgba(0,0,0,0.6),
        1px -1px 0 rgba(0,0,0,0.6),
        -1px 1px 0 rgba(0,0,0,0.6),
        1px 1px 0 rgba(0,0,0,0.6),
        0 0 2px rgba(0,0,0,0.4);
}

.slide-image {
    font-size: 5rem;
    opacity: 0.3;
    position: absolute;
    right: 16px;
    bottom: -10px;
}

.heroSwiper .swiper-pagination {
    bottom: 20px !important;
}

.heroSwiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 8px;
    height: 8px;
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

/* ==================== Quick Services ==================== */
.quick-services {
    padding: 0 0 12px;
    margin-top: -8px;
}

.service-card {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: var(--radius-md);
    color: white;
    gap: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.service-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.service-success {
    background: linear-gradient(135deg, var(--success-color), var(--success-dark));
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.service-info {
    display: flex;
    flex-direction: column;
}

.service-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.service-desc {
    font-size: 0.7rem;
    opacity: 0.9;
}

/* ==================== Service Menu Grid ==================== */
.service-menu {
    padding: 16px 0;
    background: white;
    margin-bottom: 8px;
}

.service-menu-row {
    padding: 16px 0;
    background: white;
    margin-bottom: 8px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.service-menu-row .menu-grid {
    grid-template-columns: repeat(5, 1fr);
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 4px;
    text-align: center;
    transition: transform 0.2s;
}

.menu-item:hover {
    transform: scale(1.05);
}

.menu-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.menu-icon-lg {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: white;
    position: relative;
}

.menu-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger-color);
    color: white;
    font-size: 0.55rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.menu-label {
    font-size: 0.75rem;
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 500;
}

/* ==================== News Section ==================== */
.news-section {
    padding: 16px 0;
    background: white;
    margin-bottom: 8px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.section-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.news-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
}

.news-image {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.news-image i {
    font-size: 2.5rem;
    opacity: 0.5;
}

.news-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255,255,255,0.25);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 500;
    color: white;
}

.news-body {
    padding: 12px;
}

.news-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.news-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 4px 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card-link:hover {
    text-decoration: none;
}

.news-card-link:hover .news-card {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.news-pinned {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 193, 7, 0.9);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ==================== Events Section ==================== */
.events-section {
    padding: 16px 0;
    background: white;
    margin-bottom: 8px;
}

.events-list {
    display: grid;
    gap: 12px;
}

.event-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.event-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.event-date {
    min-width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.event-date.holiday-bg {
    background: linear-gradient(135deg, var(--danger-color), #c2185b);
}

.event-day {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.65rem;
    opacity: 0.9;
}

.event-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.event-time,
.event-location {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.event-time i,
.event-location i {
    font-size: 0.7rem;
}

/* Events Responsive */
@media (min-width: 768px) {
    .events-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .events-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==================== Executive Schedule Section ==================== */
.schedule-section {
    padding: 16px 0;
    background: white;
    margin-bottom: 8px;
}

.schedule-list {
    display: grid;
    gap: 12px;
}

.schedule-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.schedule-item:hover {
    box-shadow: var(--shadow-sm);
}

.schedule-avatar {
    flex-shrink: 0;
}

.schedule-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

.schedule-content {
    flex: 1;
    min-width: 0;
}

.schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 4px;
}

.schedule-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.schedule-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.schedule-activity {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border-color);
}

.schedule-activity:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-time {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 55px;
}

.activity-title {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Schedule Responsive */
@media (min-width: 768px) {
    .schedule-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .schedule-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==================== Gallery Section ==================== */
.gallery-section {
    padding: 16px 0;
    background: white;
    margin-bottom: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.gallery-item.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 8px;
}

.gallery-placeholder i {
    font-size: 2rem;
    opacity: 0.7;
}

.gallery-placeholder span {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    padding: 0 8px;
}

/* ==================== Contact Section ==================== */
.contact-section {
    padding: 16px 0;
}

.contact-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-info {
    flex: 1;
}

.contact-info h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==================== App Footer - Modern Minimal ==================== */
.app-footer {
    background: var(--text-dark);
    color: white;
    padding: 20px 0 16px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: white;
}

.footer-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-address {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 12px;
    line-height: 1.5;
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 16px 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* Footer Mobile */
@media (max-width: 576px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        gap: 16px;
    }
}

/* ==================== Bottom Spacer ==================== */
.bottom-spacer {
    height: calc(var(--bottom-nav-height) + 16px);
}

/* ==================== Bottom Navigation ==================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.bottom-nav-item i {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-item.active i {
    font-weight: bold;
}

.bottom-nav-center {
    position: relative;
    margin-top: -20px;
}

.center-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
    margin-bottom: 4px;
}

.nav-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    background: var(--danger-color);
    color: white;
    font-size: 0.6rem;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ==================== Responsive - Tablet ==================== */
@media (min-width: 768px) {
    .main-content {
        max-width: 768px;
        margin: 0 auto;
    }

    .bottom-nav {
        max-width: 768px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .slide-content {
        min-height: 200px;
    }

    .slide-text h3 {
        font-size: 1.5rem;
    }

    .menu-grid {
        grid-template-columns: repeat(8, 1fr);
    }

    .service-menu-row .menu-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ==================== Responsive - Desktop ==================== */
@media (min-width: 992px) {
    .bottom-nav {
        display: none;
    }

    .bottom-spacer {
        height: 0;
    }

    /* Sidebar stays hidden on desktop, toggle to show */
    .sidebar {
        left: -100%;
        width: 300px;
    }

    .sidebar.open {
        left: 0;
    }

    .main-content {
        margin-left: 0;
        max-width: 100%;
    }

    /* Center content on large screens */
    .main-content {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Show Desktop Navbar */
    .desktop-navbar {
        display: block;
    }

    /* Hide Quick Services and Service Menu on Desktop */
    .quick-services,
    .service-menu,
    .service-menu-row {
        display: none;
    }

    /* Larger slider on desktop */
    .heroSwiper .swiper-slide {
        padding: 0;
    }

    .slide-content {
        min-height: 280px;
        border-radius: 0;
    }

    .slide-overlay {
        border-radius: 0;
    }

    .slide-text {
        max-width: 55%;
    }

    .slide-text h3 {
        font-size: 2rem;
    }

    /* Gallery grid on desktop */
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==================== Utilities ==================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #0d47a1);
    color: white;
}

/* ==================== PWA Install Banner ==================== */
.pwa-install-banner {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + 16px);
    left: 16px;
    right: 16px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 99;
    display: none;
}

.pwa-install-banner.show {
    display: flex;
}

/* ==================== Animations ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.news-card,
.gallery-item {
    animation: fadeIn 0.5s ease-out;
}

/* ==================== Swiper Customization ==================== */
.swiper {
    width: 100%;
    height: 100%;
}

.newsSwiper .swiper-slide {
    width: auto;
}

/* ==================== Logo Placeholder ==================== */
.logo-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.logo-placeholder-sm {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
}

.sidebar-logo .logo-placeholder,
.footer-logo + .logo-placeholder {
    background: white;
    color: var(--primary-color);
}

/* ==================== User Avatar Logged In ==================== */
.user-avatar-logged {
    background: linear-gradient(135deg, var(--primary-color), #38b2ac) !important;
    color: white !important;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-user .user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

/* Sidebar Quick Access */
.sidebar-quick-access {
    padding: 0 16px 16px;
}

.quick-access-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.quick-access-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
    color: white;
}

.quick-access-btn i {
    font-size: 1.1rem;
}

/* ==================== User Menu Dropdown ==================== */
.user-menu-wrapper {
    position: relative;
}

.btn-user-menu {
    position: relative;
}

.user-avatar-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #38b2ac);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #38b2ac);
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* User Profile Image Styles */
.user-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.dropdown-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

/* Sidebar Profile Image */
.user-avatar-profile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

/* User Icon Button Profile Image */
.user-icon-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.dropdown-user-info {
    flex: 1;
    min-width: 0;
}

.dropdown-user-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-user-username {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.dropdown-user-role {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

.user-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.user-dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.user-dropdown-item.text-danger {
    color: #dc3545;
}

.user-dropdown-item.text-danger:hover {
    background: #fff5f5;
    color: #dc3545;
}

.user-dropdown-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.user-dropdown-guest {
    padding: 20px 16px;
    text-align: center;
}

.user-dropdown-guest i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.user-dropdown-guest p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}


/* Hide footer on small screens (xs, sm, md) - show bottom nav instead */
@media (max-width: 991.98px) {
    .app-footer {
        display: none !important;
    }
}
