* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #000;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    line-height: 1.6;
}

h1, h2 {
    font-weight: 700;
}

h3, h4, h5, h6 {
    font-weight: 700;
}

p {
    font-weight: 300;
}

.navbar a, .btn-primary, button {
    font-weight: 400;
}

.navbar {
    width: 100%;
    background: transparent;
    z-index: 9999;
    position: absolute;
    top: 20px;
    left: 0;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #1D1D1D;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 60px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    width: 90%;
}

.logo img {
    height: 50px;
    display: block;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    gap: 5px;
    align-items: center;
}

.close-menu {
    display: none;
}

.nav-menu a, 
.dropbtn {
    text-decoration: none;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
}

.nav-menu a:hover, 
.nav-menu a.active, 
.dropdown:hover .dropbtn,
.dropdown.active .dropbtn { 
    background-color: #ffffff;
    color: #1d1d1d !important;
    border-radius: 25px; 
}

.dropdown {
    position: relative;
    padding: 10px 0; 
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; 
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 100;
    margin-top: -5px; 
}

.dropdown-content a {
    color: #1d1d1d !important;
    padding: 12px 20px;
    display: block;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
}

.dropdown-content a:hover {
    background-color: #f8f8f8;
    color: #000 !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.hamburger {
    display: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9998;
}

@media (max-width: 900px) {
    .navbar-container {
        padding: 10px 20px;
        border-radius: 40px;
    }

    .hamburger {
        display: block;
    }

    .nav-overlay.active {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #1D1D1D;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 40px 20px;
        transition: 0.4s ease-in-out;
        z-index: 9999;
    }

    .nav-menu.active {
        right: 0;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 25px;
        color: white;
        font-size: 35px;
        cursor: pointer;
    }

    .nav-menu a, .dropdown, .dropbtn {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
    }

    .dropdown {
        padding: 0;
    }

    .dropdown-content {
        position: static;
        display: none;
        transform: none;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        margin-top: 0;
        width: 100%;
        border-radius: 10px;
    }

    .dropdown-content a {
        color: #ffffff !important;
        padding-left: 30px;
        border-bottom: none;
    }

    .dropdown.open .dropdown-content {
        display: block;
    }
}

/* SECTION PEMBUKA */
.pembukasmp {
    position: relative;
    width: 100%;
    min-height: 70vh;
    padding: 80px 0;
    background-image: url("img/mariakatolik-hero-smp.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;        /* tengah vertikal */
    justify-content: center;    /* tengah horizontal */
}

.pembukasmp-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}


.pembukasmp::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

.pembukasmp-text,
.pembukasmp-image {
    position: relative;
    z-index: 2;
}

.pembukasmp-text h1,
.pembukasmp-text p {
    color: #fff;
}

.pembukasmp-text h1 {
    font-size: 40px;
    line-height: 1.3;
}

.pembukasmp-text h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pembukasmp-text p {
    margin-bottom: 25px;
    font-size: 16px;
}

.btn-primarysmp {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primarysmp:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* ===== TENTANG TK ===== */

.tk-tentang-section {
    max-width: 1200px;
    margin: auto;
    padding: 90px 20px;
}

/* HEADER */
.tk-tentang-header {
    text-align: center;
    margin-bottom: 50px;
}

.tk-tentang-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tk-tentang-subtitle {
    font-size: 16px;
    font-weight: 500;
}

/* IMAGE KIRI KANAN */
.tk-tentang-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 40px;
}

.tk-tentang-images img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    height: 360px; 
}

/* TEKS */
.tk-tentang-text {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
}

.tk-tentang-text p {
    margin-bottom: 20px;
}

/* IMAGE TENGAH */
.tk-tentang-image-center {
    display: flex;
    justify-content: center;
    margin-bottom: 70px;
}

.tk-tentang-image-center img {
    width: 100%;
    max-width: 700px;
    border-radius: 8px;
}

/* SEJARAH */
.tk-sejarah {
    max-width: 900px;
    margin: auto;
}

.tk-sejarah-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.tk-sejarah p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .tk-tentang-title {
        font-size: 28px;
    }

    .tk-sejarah-title {
        font-size: 24px;
    }

    .tk-tentang-images img {
        height: 200px;
    }

    .tk-tentang-text {
        font-size: 15px;
    }

    .tk-sejarah p {
        font-size: 15px;
    }
}

/* ===== KONTAK ===== */
.tk-contact-section {
    max-width: 1100px;
    margin: auto;
    padding: 1px 20px 90px 20px;
    text-align: center;
}

.tk-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.tk-contact-card {
    padding: 30px;
    border: 1px solid #eaeaea;
}

.tk-contact-card i {
    font-size: 26px;
    margin-bottom: 10px;
}

/* ===== GALERI ===== */
.tk-gallery-section {
    max-width: 1100px;
    margin: auto;
    padding: 80px 20px 120px;
    text-align: center;
}

.tk-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.tk-gallery-item {
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.tk-gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.tk-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px;
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    .tk-hero-image-row {
        grid-template-columns: 1fr 1fr;
    }

    .tk-visi-misi {
        grid-template-columns: 1fr;
    }

    .tk-contact-grid {
        grid-template-columns: 1fr;
    }

    .tk-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    .tk-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid #eaeaea;
    margin-top: 50px;
}

.mkd-footer {
    background: #0f1115; 
    color: #ffffff;
    margin-top: 0px;
}

.mkd-footer-inner {
    max-width: 1200px;
    margin: auto;
    padding: 70px 20px 50px;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 50px;
    align-items: center;
}

.mkd-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mkd-footer-logo {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mkd-footer-logo img {
    max-width: 85%;
}

.mkd-footer-tagline {
    font-size: 16px;
    line-height: 1.6;
    max-width: 420px;
    color: white;
}

.mkd-footer-divider {
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
}

.mkd-footer-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mkd-footer-card h4 {
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: 600;
    color: white;
}

.mkd-footer-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: white;
}

.mkd-footer-item i {
    font-size: 18px;
    margin-top: 2px;
    color: white;
}

.mkd-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 25px 20px;
    text-align: center;
    font-size: 14px;
    color: white;
}

@media (max-width: 900px) {

    .mkd-footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mkd-footer-divider {
        width: 100%;
        height: 1px;
    }

    .mkd-footer-contact {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mkd-footer-logo {
        width: 120px;
        height: 120px;
    }

    .mkd-footer-tagline {
        font-size: 15px;
    }

    .mkd-footer-bottom {
        font-size: 12px;
    }
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    background-color: #ffffff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    background-color: #36e97d;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .floating-whatsapp {
        width: 52px;
        height: 52px;
        font-size: 26px;
        right: 16px;
        bottom: 16px;
    }
}