/* WAXED DETAIL — BRAND COLOURS */
:root {
    --black: #000000;
    --dark-grey: #2B2B2B;
    --grey: #7A7A7A;
    --white: #FFFFFF;
    --blue: #00A3FF;
}

/* GENERAL */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    background: var(--black);
    color: var(--white);
    font-family: "Leelawadee UI", "Segoe UI", sans-serif;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

/* NAVIGATION */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid #252525;
}
.navbar {
    max-width: 1400px;
    margin: auto;
    padding: 22px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo {
    display: block;
    width: auto;
    height: 65px;
    max-width: 220px;
    object-fit: contain;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--blue); }
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--blue);
    margin: 6px 0;
    transition: transform 0.3s, opacity 0.3s;
}

/* HERO */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 5%;
    background: linear-gradient(145deg, #000000 25%, #171A1D 100%);
}
.hero::before {
    content: "";
    position: absolute;
    width: min(55vw, 500px);
    max-height: 75%;
    aspect-ratio: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url("../images/waxed-waterdrop.png") center / contain no-repeat;
    opacity: 0.09;
    z-index: -1;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 1100px; }
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 5rem);
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.2;
}
.hero h1 span, .hero-tagline span { color: var(--blue); }
.hero-tagline {
    margin-top: 24px;
    color: #D0D0D0;
    font-size: clamp(0.85rem, 1.7vw, 1.3rem);
    letter-spacing: 5px;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    margin-top: 45px;
    padding: 15px 38px;
    background: var(--blue);
    color: var(--black);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    border: 1px solid var(--blue);
    transition: background 0.3s, color 0.3s;
}
.btn-primary:hover { background: transparent; color: var(--blue); }

/* SHARED PAGE SECTIONS */
.content-section {
    min-height: 350px;
    padding: 100px 8%;
    border-top: 1px solid #242424;
}
.content-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.content-section h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 3px;
    background: var(--blue);
    margin-top: 15px;
}
.content-section p { color: #BDBDBD; }
.section-label {
    color: var(--blue);
    font-size: 0.75rem;
    letter-spacing: 3px;
    font-weight: 600;
}

/* SERVICES */
.services-section { background: #080808; text-align: center; }
.services-section .section-heading h2::after { margin-left: auto; margin-right: auto; }
.services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 45px 35px;
    max-width: 950px;
    margin: 55px auto 0;
}
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 20px;
    border: 1px solid transparent;
    transition: transform 0.3s;
}
.service-item:hover { transform: translateY(-5px); }
.service-icon {
    display: block;
    width: 125px;
    height: 125px;
    object-fit: contain;
    transition: transform 0.35s ease, filter 0.35s ease;
}
.service-item:hover .service-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(0, 163, 255, 0.3));
}
.service-item h3 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-align: center;
}

/* SERVICE DETAILS PANEL */
.service-details { max-width: 950px; margin: 45px auto 0; text-align: left; }
.service-details[hidden] { display: none; }
.service-details-content {
    position: relative;
    background: #151515;
    border: 1px solid #303030;
    border-top: 3px solid var(--blue);
    padding: 45px;
}
.service-details h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 2px;
    margin: 12px 0;
}
.service-price {
    color: var(--blue) !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}
.service-description { max-width: 750px; line-height: 1.9; margin-bottom: 30px; }
.service-details h4 { font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 15px; }
.service-details ul { list-style: none; margin-bottom: 10px; }
.service-details li { color: #C5C5C5; padding: 7px 0; }
.service-details li::before { content: "✓"; color: var(--blue); margin-right: 12px; }
.service-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--grey);
    font-size: 2rem;
    cursor: pointer;
}
.service-close:hover { color: var(--blue); }

/* OUR WORK GALLERY */
.work-section { background: #000000; }
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 45px;
}
.work-item {
    aspect-ratio: 4 / 3;
    background: #161616;
    overflow: hidden;
    border: 1px solid #292929;
}
.work-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.work-item:hover img { transform: scale(1.05); }

/* ABOUT */
.about-section { background: #101010; }
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 70px;
}
.about-content p {
    max-width: 600px;
    margin-bottom: 22px;
    line-height: 1.9;
    color: #C5C5C5;
}
.about-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: color 0.3s;
}
.about-link:hover { color: var(--white); }
.about-visual { display: flex; align-items: center; justify-content: center; min-height: 320px; }
.about-waterdrop {
    display: block;
    width: 100%;
    max-width: 320px;
    max-height: 320px;
    object-fit: contain;
    opacity: 0.7;
}

/* CONTACT */
.contact-section { background: #080808; text-align: center; }
.contact-container { max-width: 900px; margin: 0 auto; }
.contact-section h2::after { margin-left: auto; margin-right: auto; }
.contact-intro {
    max-width: 600px;
    margin: 0 auto 45px;
    color: #C5C5C5;
    line-height: 1.9;
}
.contact-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}
.contact-item {
    padding: 30px 15px;
    background: #151515;
    border: 1px solid #303030;
    overflow-wrap: anywhere;
}
.contact-label {
    display: block;
    color: var(--blue);
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.contact-item a, .contact-item p { color: var(--white); font-size: 0.95rem; }
.contact-item a:hover { color: var(--blue); }

/* FOOTER */
.site-footer {
    padding: 30px 5%;
    text-align: center;
    border-top: 1px solid #252525;
    color: var(--grey);
    font-size: 0.8rem;
}

/* MOBILE LAYOUT */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 12px 5%;
    }
    .brand-logo { height: 48px; max-width: 170px; }
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 15px 0;
        border-top: 1px solid #292929;
    }
    .nav-links.active { display: flex; }
    .nav-links a {
        display: block;
        width: 100%;
        padding: 14px;
        text-align: center;
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero { min-height: 65vh; padding: 75px 15px; }
    .hero-content { width: 100%; max-width: 100%; }
    .hero h1 {
        font-size: clamp(1.25rem, 5.5vw, 2rem);
        letter-spacing: 0.5px;
        white-space: nowrap;
    }
    .hero-tagline {
        font-size: clamp(0.65rem, 2.5vw, 0.85rem);
        letter-spacing: 1px;
        margin-top: 18px;
        line-height: 2;
        white-space: nowrap;
    }
    .hero::before { width: min(75vw, 320px); max-height: 70%; opacity: 0.13; }
    .hero .btn-primary { margin-top: 35px; padding: 14px 30px; }

    .content-section { padding: 70px 6%; }
    .services-section .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 10px;
    }
    .service-icon { width: 95px; height: 95px; }
    .service-item { padding: 12px 5px; }
    .service-item h3 { font-size: 0.75rem; letter-spacing: 0.5px; }
    .service-details-content { padding: 35px 22px; }

    .work-grid { grid-template-columns: 1fr; }
    .about-container { grid-template-columns: 1fr; gap: 30px; }
    .about-visual { min-height: 180px; }
    .about-waterdrop { max-width: 180px; max-height: 180px; opacity: 0.45; }
    .contact-details { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 360px) {
    .hero h1 { font-size: 1.15rem; }
    .hero-tagline { font-size: 0.6rem; letter-spacing: 0; }
}

/* ACCESSIBILITY: REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn-primary, .nav-links a, .menu-toggle span,
    .service-item, .service-icon, .work-item img, .about-link {
        transition: none;
    }
    .service-item:hover, .service-item:hover .service-icon,
    .work-item:hover img { transform: none; }
}
/* ========================================
   SERVICE SMALL PRINT
======================================== */

.service-smallprint {
    margin-top: 35px;
    padding-top: 18px;
    border-top: 1px solid #333;
}

.service-smallprint h4 {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.service-smallprint p {
    color: #999999;
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
}

/* Mobile adjustments */

@media (max-width: 768px) {
    .service-smallprint {
        margin-top: 25px;
    }

    .service-smallprint p {
        font-size: 12px;
        line-height: 1.7;
    }
}