/* assets/css/style.css - Clean Version */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8fff5 100%);
    color: #1a2f2a;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --primary: #00FFF0;
    --primary-dark: #00d9cc;
    --secondary: #0BDA51;
    --secondary-dark: #09b844;
    --grad-utama: linear-gradient(135deg, #00FFF0 0%, #0BDA51 100%);
    --grad-soft: linear-gradient(120deg, rgba(0,255,240,0.1) 0%, rgba(11,218,81,0.08) 100%);
    --shadow-sm: 0 10px 25px -8px rgba(0,0,0,0.06);
    --shadow-md: 0 20px 35px -12px rgba(0,0,0,0.12);
    --card-radius: 28px;
}

/* ========= CONTAINER ========= */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* ========= HEADER ========= */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(0,255,240,0.5);
    width: 100%;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    gap: 18px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 54px;
    height: 54px;
    background: var(--grad-utama);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.logo-icon i {
    font-size: 30px;
    color: #1a3a2f;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 28px;
}

.logo-text h1 {
    font-size: 1.55rem;
    font-weight: 800;
    background: linear-gradient(120deg, #006b5e, #0BDA51);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
}

.logo-text p {
    font-size: 0.7rem;
    font-weight: 500;
    color: #3a5e52;
}

.nav-menu ul {
    display: flex;
    gap: 36px;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 600;
    color: #1e3a2f;
    transition: 0.25s;
    font-size: 1rem;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    color: #0BDA51;
    border-bottom-color: #00FFF0;
}

.admin-link {
    background: var(--grad-utama);
    padding: 6px 16px !important;
    border-radius: 30px;
    color: #1a3a2a !important;
}

.admin-link:hover {
    background: linear-gradient(135deg, #0BDA51, #00FFF0);
    border-bottom-color: transparent !important;
}

/* Header Responsive */
@media (max-width: 768px) {
    .header-inner {
        padding: 14px 16px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-text p {
        font-size: 0.6rem;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
    }
    
    .logo-icon i {
        font-size: 22px;
    }
    
    .nav-menu {
        display: none;
    }
}

/* ========= HERO SECTION ========= */
.hero-section {
    background: linear-gradient(135deg, rgba(0,255,240,0.08) 0%, rgba(11,218,81,0.05) 100%);
    padding: 80px 0;
    width: 100%;
}

.hero-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-text {
    flex: 1.2;
    padding: 20px 0;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #008b7a, #0BDA51);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2a453c;
    margin-bottom: 28px;
    text-align: justify;
}

.hero-badge {
    display: inline-block;
    background: var(--grad-utama);
    padding: 10px 28px;
    border-radius: 60px;
    font-weight: 600;
    color: #1a3a2a;
    font-size: 0.9rem;
}

.hero-image-area {
    flex: 1;
    min-height: 400px;
    border-radius: 32px;
    overflow: hidden;
}

.hero-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 32px;
}

.img-placeholder-hero {
    width: 100%;
    height: 400px;
    background: var(--grad-utama);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-wrapper {
        padding: 0 16px;
        gap: 30px;
        flex-direction: column;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
    }
    
    .hero-image-area {
        min-height: 250px;
    }
    
    .img-placeholder-hero {
        height: 250px;
    }
}

/* ========= SECTION UMUM ========= */
section {
    padding: 80px 0;
    width: 100%;
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 48px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #006b5e, #0BDA51);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--grad-utama);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: #4a6b5e;
    margin-top: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ========= VISI MISI ========= */
.visimisi-section {
    background: linear-gradient(135deg, #ffffff 0%, rgba(11,218,81,0.03) 100%);
}

.visimisi-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.card-vm {
    flex: 1;
    background: transparent;
    padding: 32px 28px;
    border-radius: var(--card-radius);
    transition: all 0.3s ease;
    min-width: 280px;
}

.card-vm:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
}

.vm-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.vm-header i {
    font-size: 48px;
    background: var(--grad-utama);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    flex-shrink: 0;
}

.vm-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1c4e3f;
    margin: 0;
}

.card-vm p {
    line-height: 1.6;
    color: #2d5546;
    text-align: justify;
    font-size: 1rem;
}

.card-vm ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-vm li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    line-height: 1.6;
    color: #2d5546;
    font-size: 1rem;
    text-align: justify;
}

.card-vm li .check-icon {
    flex-shrink: 0;
    width: 24px;
    color: #0BDA51;
    font-weight: bold;
    margin-top: 2px;
}

.card-vm li .mission-text {
    flex: 1;
}

@media (max-width: 768px) {
    .visimisi-grid {
        padding: 0 16px;
        gap: 24px;
    }
    
    .card-vm {
        padding: 24px 20px;
    }
    
    .vm-header i {
        font-size: 36px;
    }
    
    .vm-header h3 {
        font-size: 1.6rem;
    }
    
    .card-vm p, .card-vm li {
        font-size: 0.9rem;
    }
    
    .card-vm li .check-icon {
        width: 20px;
        font-size: 0.85rem;
    }
}

/* ========= PPDB SECTION ========= */
.ppdb-section {
    background: linear-gradient(135deg, rgba(0,255,240,0.05) 0%, rgba(11,218,81,0.03) 100%);
}

.ppdb-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.ppdb-info {
    flex: 1;
}

.ppdb-info h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0B6e4a;
    margin-bottom: 20px;
}

.ppdb-info p {
    font-size: 1.1rem;
    margin: 16px 0;
    line-height: 1.6;
}

.btn-ppdb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--grad-utama);
    border: none;
    padding: 16px 48px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a3a2f;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(11,218,81,0.3);
    text-decoration: none !important;
}

.btn-ppdb:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, #0BDA51, #00FFF0);
}

.countdown {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a2f, #2a5a48);
    display: inline-block;
    padding: 16px 32px;
    border-radius: 60px;
    color: #00FFF0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .ppdb-wrapper {
        padding: 0 16px;
        flex-direction: column;
        text-align: center;
    }
    
    .ppdb-info h3 {
        font-size: 1.6rem;
    }
    
    .ppdb-info p {
        font-size: 0.95rem;
    }
    
    .btn-ppdb {
        padding: 12px 32px;
        font-size: 0.95rem;
    }
    
    .countdown {
        font-size: 1rem;
        padding: 10px 24px;
    }
}

/* ========= BERITA SECTION ========= */
.berita-section {
    background: white;
}

.berita-header {
    text-align: center;
    margin-bottom: 48px;
}

.berita-header .section-title {
    margin-bottom: 16px;
}

.berita-slider {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    cursor: grab;
    padding-bottom: 20px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 30px;
}

.berita-slider:active {
    cursor: grabbing;
}

.berita-grid {
    display: inline-flex;
    gap: 28px;
    white-space: normal;
    animation: scrollRightToLeft 45s linear infinite;
    will-change: transform;
    padding: 10px 40px;
}

@keyframes scrollRightToLeft {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-45%); }
}

.berita-slider:hover .berita-grid {
    animation-play-state: paused;
}

.berita-card {
    width: 340px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 24px -12px rgba(0,0,0,0.1);
    display: inline-block;
    vertical-align: top;
    transition: 0.3s;
    white-space: normal;
    flex-shrink: 0;
}

.berita-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 36px -12px rgba(0,218,81,0.2);
}

.berita-img {
    height: 200px;
    width: 100%;
    background: var(--grad-utama);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.berita-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.berita-card:hover .berita-img img {
    transform: scale(1.05);
}

.berita-img i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #1a3a2f;
}

.berita-category {
    display: inline-block;
    background: var(--grad-utama);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #1a3a2f;
    margin: 16px 20px 8px;
}

.berita-card h4 {
    font-size: 1.2rem;
    padding: 0 20px 8px;
    font-weight: 700;
    line-height: 1.4;
}

.berita-card p {
    padding: 0 20px 16px;
    color: #4a6b5e;
    font-size: 0.85rem;
    line-height: 1.5;
}

.berita-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px;
}

.berita-meta .date {
    font-size: 0.7rem;
    color: #0BDA51;
    font-weight: 600;
    padding: 0;
}

.read-more {
    color: #0BDA51;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.2s;
}

.read-more:hover {
    color: #00FFF0;
}

.read-more i {
    font-size: 0.7rem;
    transition: 0.2s;
}

.read-more:hover i {
    transform: translateX(3px);
}

.berita-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.berita-footer p {
    font-size: 0.8rem;
    color: #0BDA51;
}

.view-all {
    background: var(--grad-utama);
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    color: #1a3a2f;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.2s;
}

.view-all:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, #0BDA51, #00FFF0);
}

@media (max-width: 768px) {
    .berita-grid {
        padding: 10px 16px;
        gap: 20px;
    }
    
    .berita-card {
        width: 280px;
    }
    
    .berita-img {
        height: 160px;
    }
    
    .berita-card h4 {
        font-size: 1rem;
    }
    
    .berita-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    @keyframes scrollRightToLeft {
        0% { transform: translateX(0%); }
        100% { transform: translateX(-65%); }
    }
}

/* ========= FASILITAS SECTION ========= */
.fasilitas-section {
    background: linear-gradient(135deg, rgba(0,255,240,0.03) 0%, rgba(11,218,81,0.02) 100%);
}

.fasilitas-header {
    text-align: center;
    margin-bottom: 48px;
}

.fasilitas-header .section-title {
    margin-bottom: 16px;
}

.fasilitas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.fas-item {
    background: white;
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid var(--primary);
}

.fas-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.fas-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fas-icon i {
    font-size: 56px;
    background: var(--grad-utama);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.fas-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
}

.fas-item h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #1e3a2f;
}

.fas-item p {
    color: #4a6b5e;
    line-height: 1.5;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .fasilitas-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
        padding: 0 16px;
    }
    
    .fas-item {
        padding: 24px 16px;
    }
    
    .fas-item h3 {
        font-size: 1.2rem;
    }
    
    .fas-icon i {
        font-size: 44px;
    }
    
    .fas-icon img {
        width: 64px;
        height: 64px;
    }
}

/* ========= STATISTIK SECTION ========= */
.statistik-section {
    background: linear-gradient(135deg, #0d2a22 0%, #1a4538 100%);
    color: white;
}

.statistik-header {
    text-align: center;
    margin-bottom: 48px;
}

.statistik-header .section-title {
    background: linear-gradient(135deg, #00FFF0, #0BDA51);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.statistik-header .section-subtitle {
    color: #ceefe7;
}

.statistik-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.stat-item {
    padding: 32px 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #00FFF0;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: #ceefe7;
}

.stat-label i {
    margin-right: 8px;
    color: #0BDA51;
}

@media (max-width: 1024px) {
    .statistik-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .statistik-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 16px;
    }
    
    .stat-item {
        padding: 20px 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .statistik-grid {
        grid-template-columns: 1fr;
    }
}

/* ========= TESTIMONI SECTION ========= */
.testimoni-section {
    background: white;
}

.testimoni-header {
    text-align: center;
    margin-bottom: 48px;
}

.testimoni-slider {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    cursor: grab;
    padding-bottom: 20px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 30px;
}

.testimoni-slider:active {
    cursor: grabbing;
}

.testimoni-grid {
    display: inline-flex;
    gap: 32px;
    white-space: normal;
    animation: testimoniScrollRightToLeft 45s linear infinite;
    will-change: transform;
    padding: 10px 40px;
}

@keyframes testimoniScrollRightToLeft {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-45%); }
}

.testimoni-slider:hover .testimoni-grid {
    animation-play-state: paused;
}

.testimoni-card {
    width: 380px;
    background: #f8fafc;
    border-radius: 24px;
    padding: 28px;
    transition: 0.3s;
    border: 1px solid #e2e8f0;
    display: inline-block;
    vertical-align: top;
    white-space: normal;
    flex-shrink: 0;
}

.testimoni-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 36px -12px rgba(0,218,81,0.2);
    border-color: #0BDA51;
}

.testimoni-content {
    margin-bottom: 24px;
}

.testimoni-content i {
    font-size: 28px;
    color: #0BDA51;
    opacity: 0.5;
    margin-bottom: 16px;
    display: inline-block;
}

.testimoni-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #2d5546;
    text-align: justify;
}

.testimoni-author {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--grad-utama);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.author-avatar i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: #1a3a2f;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.author-avatar:hover img {
    transform: scale(1.05);
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a2f;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.8rem;
    color: #6b8b7e;
    margin-bottom: 4px;
}

.rating {
    display: flex;
    gap: 2px;
}

.testimoni-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.testimoni-footer p {
    font-size: 0.8rem;
    color: #0BDA51;
}

.testimoni-footer .view-all {
    background: var(--grad-utama);
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    color: #1a3a2f;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.2s;
}

@media (max-width: 1024px) {
    .testimoni-card {
        width: 340px;
    }
}

@media (max-width: 768px) {
    .testimoni-section {
        padding: 50px 0;
    }
    
    .testimoni-grid {
        padding: 10px 16px;
        gap: 20px;
    }
    
    .testimoni-card {
        width: 300px;
        padding: 20px;
    }
    
    .testimoni-content p {
        font-size: 0.85rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-avatar i {
        font-size: 28px;
    }
    
    .testimoni-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    @keyframes testimoniScrollRightToLeft {
        0% { transform: translateX(0%); }
        100% { transform: translateX(-65%); }
    }
}

@media (max-width: 480px) {
    .testimoni-card {
        width: 280px;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
    }
    
    .author-avatar i {
        font-size: 24px;
    }
}

/* ========= GALERI SECTION ========= */
.galeri-section {
    background: linear-gradient(135deg, rgba(0,255,240,0.03) 0%, rgba(11,218,81,0.02) 100%);
    width: 100%;
    padding: 60px 0;
}

.galeri-header {
    text-align: center;
    margin-bottom: 48px;
}

.galeri-header .section-title {
    margin-bottom: 16px;
}

/* Galeri Slider - Sama seperti berita */
.galeri-slider {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    cursor: grab;
    padding-bottom: 20px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 30px;
}

.galeri-slider:active {
    cursor: grabbing;
}

.galeri-grid {
    display: inline-flex;
    gap: 24px;
    white-space: normal;
    will-change: transform;
    padding: 10px 40px;
    transition: all 0.3s ease;
}

/* Animation - will be added dynamically by JS if needed */
@keyframes galeriScrollRightToLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-45%);
    }
}

.galeri-slider:hover .galeri-grid {
    animation-play-state: paused;
}

/* Center content when no overflow */
.galeri-grid.center-grid {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    animation: none !important;
}

.galeri-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    width: 280px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: top;
}

.galeri-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.galeri-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00FFF0, #0BDA51);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.galeri-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.galeri-item:hover .galeri-image img {
    transform: scale(1.08);
}

.galeri-image i {
    font-size: 48px;
    color: #1a3a2f;
    margin-top: 100px;
}

.galeri-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.galeri-overlay i {
    font-size: 32px;
    color: white;
    background: rgba(0,0,0,0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeri-item:hover .galeri-overlay {
    opacity: 1;
}

.galeri-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.galeri-item:hover .galeri-title {
    transform: translateY(0);
}

.galeri-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.galeri-footer p {
    font-size: 0.8rem;
    color: #0BDA51;
}

.galeri-footer .view-all {
    background: var(--grad-utama);
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    color: #1a3a2f;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.2s;
}

.galeri-footer .view-all:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, #0BDA51, #00FFF0);
}

/* Responsive */
@media (max-width: 1024px) {
    .galeri-item {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .galeri-grid {
        padding: 10px 16px;
        gap: 16px;
    }
    
    .galeri-item {
        width: 200px;
    }
    
    .galeri-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    @keyframes galeriScrollRightToLeft {
        0% {
            transform: translateX(0%);
        }
        100% {
            transform: translateX(-65%);
        }
    }
}

@media (max-width: 480px) {
    .galeri-item {
        width: 160px;
    }
}

/* ========= FOOTER ========= */
footer {
    background: #0d2a22;
    color: #e0f2e9;
    padding: 60px 0 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 50px;
    padding: 0 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: #00FFF0;
}

.footer-col p, .footer-col a {
    color: #ceefe7;
    line-height: 1.7;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
}

.footer-col a:hover {
    color: #00FFF0;
}

.map-placeholder {
    background: #265a4b;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 16px;
}

.map-placeholder .maps-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.copyright {
    text-align: center;
    border-top: 1px solid #3a7563;
    padding-top: 32px;
    font-size: 0.8rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 40px 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        flex-direction: column;
        gap: 30px;
        padding: 0 16px;
        margin-bottom: 30px;
    }
    
    .footer-col {
        text-align: center;
        min-width: auto;
    }
    
    .footer-col p, .footer-col a {
        justify-content: center;
    }
    
    .desktop-contact {
        display: none;
    }
    
    .mobile-contact {
        display: block;
    }
    
    .contact-row {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin: 8px 0;
    }
    
    .contact-item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.85rem;
        color: #ceefe7;
    }
    
    .separator {
        color: #00FFF0;
        opacity: 0.5;
        font-size: 0.85rem;
    }
    
    .map-placeholder .maps-wrapper {
        height: 180px;
    }
    
    .copyright {
        padding: 24px 16px 0;
    }
}

@media (min-width: 769px) {
    .desktop-contact {
        display: block;
    }
    
    .mobile-contact {
        display: none;
    }
}

/* ========= WHATSAPP FLOAT ========= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: bounce 1.5s ease infinite;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 36px;
    color: white;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float i {
        font-size: 30px;
    }
}

/* ========= MOBILE BOTTOM MENU ========= */
.mobile-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    border-top: 1px solid rgba(0,255,240,0.3);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.98);
    display: none;
}

.mobile-bottom-menu .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #4a6b5e;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 40px;
    flex: 1;
}

.mobile-bottom-menu .menu-item i {
    font-size: 20px;
}

.mobile-bottom-menu .menu-item span {
    font-size: 10px;
    font-weight: 500;
}

.mobile-bottom-menu .menu-item:hover,
.mobile-bottom-menu .menu-item.active {
    color: #0BDA51;
    background: rgba(11,218,81,0.1);
}

.mobile-bottom-menu .menu-item.active {
    position: relative;
}

.mobile-bottom-menu .menu-item.active::before {
    content: '';
    position: absolute;
    top: -2px;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #00FFF0, #0BDA51);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .mobile-bottom-menu {
        display: flex;
    }
    
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .mobile-bottom-menu {
        padding: 6px 8px;
    }
    
    .mobile-bottom-menu .menu-item {
        padding: 4px 6px;
    }
    
    .mobile-bottom-menu .menu-item i {
        font-size: 18px;
    }
    
    .mobile-bottom-menu .menu-item span {
        font-size: 9px;
    }
    
    body {
        padding-bottom: 65px;
    }
}

/* ========= UTILITY CLASSES ========= */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ========= PRINT STYLES ========= */
@media print {
    .whatsapp-float,
    .mobile-bottom-menu,
    .nav-menu {
        display: none !important;
    }
    
    body {
        background: white;
    }
}