
/* RESET DASAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f7f9fc;
    color: #172033;
    line-height: 1.6;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 8%;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
top: 0;
z-index: 10000;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #102a43;
}

.logo span {
    display: block;
    font-size: 11px;
    letter-spacing: 4px;
    color: #1685d4;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

nav a:hover {
    color: #1685d4;
}

/* HERO */
.hero {
    min-height: 520px;
    padding: 120px 8%;
    background: linear-gradient(120deg, #102a43, #176b9c);
    color: white;
}

.hero > p:first-child {
    color: #71d4ff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    max-width: 700px;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 22px;
}

.hero h1 + p {
    max-width: 550px;
    color: #d9e8f3;
    font-size: 17px;
    margin-bottom: 32px;
}

/* BUTTON */
.button {
    display: inline-block;
    background: #19a5df;
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.button:hover {
    background: #087eb5;
    transform: translateY(-2px);
}

/* GENERAL SECTION */
section:not(.hero) {
    padding: 85px 8%;
    text-align: center;
}

section h2 {
    color: #102a43;
    font-size: 32px;
    margin-bottom: 15px;
}

section:not(.hero) p {
    color: #64748b;
}

/* FOOTER */
footer {
    background: #102a43;
    color: #d9e8f3;
    padding: 25px 8%;
    text-align: center;
    font-size: 13px;
}

/* MOBILE */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 18px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        padding: 90px 7%;
        min-height: 450px;
    }

    .hero h1 {
        font-size: 34px;
    }

    section:not(.hero) {
        padding: 65px 7%;
    }
}

/* SERVICES SECTION */
.services {
    background: #f7f9fc;
}

.section-desc {
    margin-bottom: 40px;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.service-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 5px 25px rgba(16, 42, 67, 0.06);
    border: 1px solid #edf1f5;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(16, 42, 67, 0.12);
}

.service-icon {
    font-size: 38px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #102a43;
    font-size: 19px;
    margin-bottom: 12px;
}

.service-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

/* RESPONSIVE SERVICES */
@media (max-width: 768px) {
    .service-container {
        grid-template-columns: 1fr;
    }
}

/* ABOUT DEARTS */
.about {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    background: #ffffff;
    padding: 100px 8% !important;
    text-align: left !important;
}

.about-label {
    color: #1685d4 !important;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: 40px;
    line-height: 1.2;
    max-width: 550px;
    margin-bottom: 25px;
}

.about-description {
    color: #64748b;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.about-content .button {
    margin-top: 15px;
}

.about-highlight {
    background: linear-gradient(145deg, #102a43, #176b9c);
    min-height: 300px;
    border-radius: 16px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(16, 42, 67, 0.15);
}

.about-highlight span {
    color: #71d4ff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.about-highlight h3 {
    font-size: 29px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-highlight p {
    color: #c8e5f5 !important;
    font-size: 13px;
    letter-spacing: 1px;
}

/* ABOUT MOBILE */
@media (max-width: 768px) {
    .about {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 65px 7% !important;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .about-highlight {
        min-height: 250px;
        padding: 30px;
    }
}


/* WHY CHOOSE DEARTS */
.why-us {
    background: #102a43;
    padding: 90px 8% !important;
    text-align: center;
}

.why-heading > p {
    color: #71d4ff !important;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.why-heading h2 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 15px;
}

.why-heading span {
    display: block;
    color: #c8ddec;
    font-size: 15px;
    margin-bottom: 45px;
}

.why-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    background: #194466;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 30px 22px;
    border-radius: 12px;
    text-align: left;
    transition: 0.3s;
}

.why-card:hover {
    transform: translateY(-7px);
    background: #205477;
}

.why-icon {
    font-size: 35px;
    margin-bottom: 20px;
}

.why-card h3 {
    color: #ffffff;
    font-size: 17px;
    margin-bottom: 12px;
}

.why-card p {
    color: #c8ddec !important;
    font-size: 13px;
    line-height: 1.8;
}

/* WHY CHOOSE MOBILE */
@media (max-width: 900px) {
    .why-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .why-container {
        grid-template-columns: 1fr;
    }

    .why-heading h2 {
        font-size: 29px;
    }
}


/* GALLERY SECTION */
.gallery {
    background: #f7f9fc;
    padding: 90px 8% !important;
    text-align: center;
}

.gallery-heading > p {
    color: #1685d4 !important;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.gallery-heading h2 {
    color: #102a43;
    font-size: 36px;
    margin-bottom: 15px;
}

.gallery-heading span {
    display: block;
    color: #64748b;
    font-size: 15px;
    margin-bottom: 45px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 5px 25px rgba(16, 42, 67, 0.06);
    border: 1px solid #edf1f5;
    transition: 0.3s;
}

.gallery-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(16, 42, 67, 0.12);
}

.gallery-image {
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #dceefa, #b5d9ee);
    font-size: 65px;
}

.gallery-info {
    padding: 25px;
}

.gallery-info h3 {
    color: #102a43;
    font-size: 19px;
    margin-bottom: 10px;
}

.gallery-info p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

/* GALLERY MOBILE */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }

    .gallery-heading h2 {
        font-size: 29px;
    }
}


/* GALLERY IMAGE */
.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}


/* =================================
   DEARTS RESPONSIVE DESIGN
   LAPTOP, TABLET & MOBILE
================================= */

/* Mencegah halaman melebar ke samping */
html, body {
    width: 100%;
    overflow-x: clip;
}

img {
    max-width: 100%;
}

/* LAPTOP / DESKTOP */
@media (min-width: 1024px) {
    header {
        padding-left: 8%;
        padding-right: 8%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .service-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-container {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* TABLET */
@media (min-width: 601px) and (max-width: 1023px) {
    header {
        padding: 20px 5%;
    }

    nav {
        gap: 16px;
    }

    .hero {
        padding: 90px 6%;
    }

    .hero h1 {
        font-size: 40px;
    }

    .service-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* MOBILE */
@media (max-width: 600px) {

    header {
        padding: 18px 5%;
        gap: 15px;
    }

    .logo {
        font-size: 21px;
        text-align: center;
    }

    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        min-height: auto;
        padding: 85px 7%;
    }

    .hero > p:first-child {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .hero h1 + p {
        font-size: 15px;
    }

    .button {
        padding: 13px 22px;
        font-size: 14px;
    }

    section:not(.hero) {
        padding: 60px 6% !important;
    }

    section h2 {
        font-size: 27px;
    }

    /* SERVICES */
    .service-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        padding: 28px 22px;
    }

    /* WHY CHOOSE DEARTS */
    .why-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-heading h2 {
        font-size: 28px;
    }

    .why-card {
        padding: 25px;
    }

    /* GALLERY */
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-heading h2 {
        font-size: 28px;
    }

    .gallery-card img {
        width: 100%;
        height: 230px;
        object-fit: cover;
    }

    /* ABOUT */
    .about {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left !important;
    }

    .about-content h2 {
        font-size: 31px;
    }

    .about-highlight {
        min-height: 230px;
        padding: 28px;
    }

    /* FOOTER */
    footer {
        padding: 25px 6%;
        font-size: 12px;
    }
}

/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    background: #25D366;
    color: white;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.floating-wa:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
}

.area-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px;
}

.area-list li {
    margin-bottom: 8px;
    color: #555;
}


/* FAQ Section */
.faq {
    padding: 70px 8%;
    background: #f5f7fa;
}

.faq h2 {
    text-align: center;
    margin-bottom: 12px;
}

.faq-description {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
}

.faq-container {
    max-width: 850px;
    margin: auto;
}

.faq-item {
    background: white;
    margin-bottom: 12px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
    font-weight: bold;
    cursor: pointer;
    color: #222;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
    margin-top: 15px;
}

.faq-item[open] summary {
    color: #0077cc;
}

/* Floating FAQ Button */
.floating-faq {
    position: fixed;
    right: 25px;
    bottom: 90px;
    z-index: 9999;
    background: #102D46;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.floating-faq:hover {
    background: #1b4566;
    transform: translateY(-3px);
}


/* FAQ Popup */
.floating-faq {
    border: none;
    cursor: pointer;
}

.faq-popup {
    display: none;
    position: fixed;
    right: 25px;
    bottom: 160px;
    width: 400px;
    max-width: calc(100% - 40px);
    max-height: 75vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    z-index: 9998;
}

.faq-popup.active {
    display: block;
}

.faq-popup-header {
    background: #102D46;
    color: white;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.faq-popup-header h2 {
    font-size: 17px;
    margin: 0;
}

.faq-popup-header button {
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
}

.faq-popup-content {
    padding: 12px;
}

.faq-popup .faq-item {
    margin-bottom: 10px;
    padding: 14px;
    box-shadow: none;
    border: 1px solid #eeeeee;
}

@media (max-width: 600px) {
    .faq-popup {
        right: 15px;
        bottom: 145px;
        width: auto;
        left: 15px;
        max-width: none;
        max-height: 70vh;
    }

    .faq-popup-content {
        padding: 10px;
    }
}


/* PROFESSIONAL NAVY FOOTER */
.site-footer {
    background: #102D46;
    color: #ffffff;
    padding: 55px 8% 20px;
    text-align: left;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: auto;
    padding-bottom: 35px;
}

.footer-brand h2 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 0;
}

.footer-brand span {
    color: #70CFFF;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 4px;
}

.footer-brand p {
    color: #D5E4EF !important;
    margin-top: 18px;
    font-size: 14px;
}

.footer-contact h3 {
    color: #ffffff;
    margin-bottom: 18px;
}

.footer-contact p {
    color: #D5E4EF !important;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.8;
}

.footer-contact a {
    color: #70CFFF;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #B9CCDC !important;
    font-size: 12px;
}

/* FOOTER MOBILE */
@media (max-width: 600px) {
    .site-footer {
        padding: 45px 7% 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand h2 {
        font-size: 25px;
    }
}
