/* Navy & Pastel Yellow Theme */
:root {
    --navy: #0f1b3d;
    --navy-mid: #1a2d5a;
    --navy-light: #263f73;
    --yellow: #f5e6a3;
    --yellow-bright: #f0d264;
    --yellow-pale: #fdf8e8;
    --cream: #faf6ee;
    --warm-white: #fcfaf5;
    --text: #1a1a2e;
    --text-muted: #5a5a72;
    --font-display: 'Georgia', 'Noto Serif Khmer', serif;
    --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --radius: 2px;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--warm-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }

.section-label {
    font-family: var(--font-body);
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--navy-light);
    margin-bottom: .75rem;
    position: relative;
    display: inline-block;
    padding-left: 2.5rem;
}
.section-label::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 2rem; height: 1px;
    background: var(--yellow-bright);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: .9rem 2rem;
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    transition: all .35s var(--ease);
    cursor: pointer;
    border: none;
}

.btn--primary {
    background: var(--yellow-bright);
    color: var(--navy);
}
.btn--primary:hover {
    background: var(--navy);
    color: var(--yellow);
}

.btn--outline {
    background: transparent;
    color: var(--yellow);
    border: 1px solid var(--yellow);
}
.btn--outline:hover {
    background: var(--yellow);
    color: var(--navy);
}

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    transition: all .4s var(--ease);
}
.nav--scrolled {
    background: rgba(15, 27, 61, .95);
    backdrop-filter: blur(12px);
    padding: .75rem 2rem;
    box-shadow: 0 4px 30px rgba(0,0,0,.15);
}
.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.nav__logo-kh {
    font-size: 1.2rem;
    color: var(--yellow);
    font-family: var(--font-display);
}
.nav__logo-en {
    font-size: .6rem;
    letter-spacing: .35em;
    color: var(--yellow-pale);
    text-transform: uppercase;
}
.nav__links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}
.nav__links a {
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    transition: color .3s;
    position: relative;
}
.nav__links a:hover { color: var(--yellow); }
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--yellow-bright);
    transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
    background: var(--yellow-bright) !important;
    color: var(--navy) !important;
    padding: .55rem 1.4rem !important;
}
.nav__cta:hover {
    background: var(--yellow) !important;
}
.nav__cta::after { display: none !important; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none; border: none;
    cursor: pointer;
    padding: 4px;
}
.nav__toggle span {
    width: 24px; height: 2px;
    background: var(--yellow);
    transition: all .3s;
}
.nav__toggle--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle--active span:nth-child(2) { opacity: 0; }
.nav__toggle--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
}
.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
    linear-gradient(135deg, rgba(15,27,61,.92) 0%, rgba(15,27,61,.7) 40%, rgba(15,27,61,.4) 100%);
}
.hero__content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding-top: 6rem;
}
.hero__tagline {
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hero__tagline::before {
    content: '';
    width: 3rem; height: 1px;
    background: var(--yellow-bright);
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1.5rem;
}
.hero__title span {
    color: var(--yellow);
    font-style: italic;
}
.hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    z-index: 2;
}
.hero__scroll span {
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--yellow);
    writing-mode: vertical-rl;
}
.hero__scroll-line {
    width: 1px;
    height: 4rem;
    background: linear-gradient(to bottom, var(--yellow-bright), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: .3; transform: scaleY(.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

.marquee {
    background: var(--navy);
    padding: 1rem 0;
    overflow: hidden;
    border-top: 3px solid var(--yellow-bright);
    border-bottom: 3px solid var(--yellow-bright);
}
.marquee__track {
    display: flex;
    gap: 3rem;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}
.marquee__track span {
    font-family: var(--font-display);
    font-size: .85rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--yellow);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3rem;
}
.marquee__track span::after {
    content: '\2022';
    color: var(--yellow-bright);
    font-size: .5rem;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.about {
    padding: 7rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about__images {
    position: relative;
}
.about__img--main {
    width: 80%;
    aspect-ratio: 3/4;
    overflow: hidden;
}
.about__img--main img { transition: transform .6s var(--ease); }
.about__img--main:hover img { transform: scale(1.04); }

.about__img--accent {
    position: absolute;
    bottom: -2rem;
    right: 0;
    width: 55%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 6px solid var(--warm-white);
    box-shadow: -12px 12px 40px rgba(15,27,61,.12);
}

.about__badge {
    position: absolute;
    top: -1.5rem;
    right: 2rem;
    background: var(--navy);
    color: var(--yellow);
    padding: 1.2rem 1.5rem;
    text-align: center;
    line-height: 1.2;
}
.about__badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
}
.about__badge-label {
    font-size: .6rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.about__desc {
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 500px;
}

.about__stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(15,27,61,.1);
}
.about__stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--navy);
}
.about__stat-label {
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.services {
    background: var(--navy);
    padding: 7rem 2rem;
}
.services__header {
    max-width: 1280px;
    margin: 0 auto 3.5rem;
}
.services .section-label { color: var(--yellow); }
.services .section-label::before { background: var(--yellow-bright); }
.services .section-title { color: #fff; }

.services__grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--navy-mid);
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    position: relative;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,.25);
}
.service-card__img {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}
.service-card__img img {
    transition: transform .6s var(--ease);
}
.service-card:hover .service-card__img img {
    transform: scale(1.06);
}
.service-card__number {
    position: absolute;
    top: .75rem;
    right: .75rem;
    font-family: var(--font-display);
    font-size: .75rem;
    font-style: italic;
    color: var(--yellow);
    background: rgba(15,27,61,.6);
    padding: .25rem .6rem;
    backdrop-filter: blur(6px);
}
.service-card__body {
    padding: 1.5rem;
}
.service-card__body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--yellow);
    margin-bottom: .5rem;
}
.service-card__body p {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
}

.gallery {
    padding: 7rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}
.gallery__header { margin-bottom: 3rem; }

.gallery__mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
}
.gallery__item {
    overflow: hidden;
    position: relative;
}
.gallery__item img {
    transition: transform .5s var(--ease);
}
.gallery__item:hover img {
    transform: scale(1.05);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.gallery__item {
    cursor: pointer;
    transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.gallery__mosaic--has-expanded .gallery__item:not(.gallery__item--expanded) {
    opacity: 0;
    pointer-events: none;
    transform: scale(.96);
}
.gallery__item--expanded {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(15, 27, 61, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: lbFadeIn .35s var(--ease) both;
}
.gallery__item--expanded img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    animation: lbZoomIn .4s var(--ease) both;
}
@keyframes lbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes lbZoomIn {
    from { opacity: 0; transform: scale(.9); }
    to { opacity: 1; transform: scale(1); }
}

.pricing {
    background: var(--cream);
    padding: 7rem 2rem;
}
.pricing__header {
    max-width: 1280px;
    margin: 0 auto 3rem;
    text-align: center;
}
.pricing__header .section-label {
    padding-left: 0;
}
.pricing__header .section-label::before { display: none; }

.pricing__table-wrap {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}
.pricing__table {
    width: 100%;
    border-collapse: collapse;
}
.pricing__table thead {
    background: var(--navy);
}
.pricing__table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--yellow);
    font-weight: 500;
}
.pricing__table td {
    padding: .9rem 1.5rem;
    font-size: .9rem;
    border-bottom: 1px solid rgba(15,27,61,.08);
}
.pricing__table tbody tr {
    transition: background .25s;
}
.pricing__table tbody tr:hover {
    background: var(--yellow-pale);
}
.pricing__highlight {
    background: var(--yellow-pale) !important;
}
.pricing__highlight td {
    font-weight: 600;
    color: var(--navy);
}
.pricing__note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: .8rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact {
    padding: 7rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.contact__detail {
    margin-bottom: 2rem;
}
.contact__detail-label {
    display: block;
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--navy-light);
    margin-bottom: .4rem;
    position: relative;
    padding-left: 1.5rem;
}
.contact__detail-label::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 1rem; height: 1px;
    background: var(--yellow-bright);
}
.contact__detail p {
    color: var(--text-muted);
    font-size: .95rem;
}
.contact__detail a {
    transition: color .3s;
}
.contact__detail a:hover {
    color: var(--navy);
}

.contact__map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background: var(--cream);
    border: 2px dashed rgba(15,27,61,.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.contact__map-placeholder span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--navy-light);
}
.contact__map-placeholder p {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: .25rem;
}

.footer {
    background: var(--navy);
    padding: 3.5rem 2rem;
}
.footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}
.footer__logo-kh {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--yellow);
}
.footer__logo-en {
    display: block;
    font-size: .65rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--yellow-pale);
    margin-bottom: .25rem;
}
.footer__tagline {
    font-size: .8rem;
    color: rgba(255,255,255,.35);
    margin-bottom: 2rem;
}
.footer__links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.footer__links a {
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    transition: color .3s;
}
.footer__links a:hover { color: var(--yellow); }
.footer__copy {
    font-size: .7rem;
    color: rgba(255,255,255,.25);
}

@media (max-width: 900px) {
    .nav__toggle { display: flex; }
    .nav__links {
        position: fixed;
        top: 0; right: -100%;
        width: 280px;
        height: 100dvh;
        background: var(--navy);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right .4s var(--ease);
        box-shadow: -8px 0 30px rgba(0,0,0,.3);
    }
    .nav__links--open { right: 0; }
    .nav__links a {
        font-size: .95rem;
        padding: .5rem 0;
    }
    .nav__cta {
        margin-top: 1rem;
        text-align: center;
        padding: .75rem 1.4rem !important;
    }

    .hero { min-height: 100dvh; }
    .hero__content { padding-top: 7rem; padding-bottom: 4rem; }

    .about { padding: 4rem 1.25rem; }
    .about__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about__images { max-width: 100%; }
    .about__img--accent { bottom: -1rem; }

    .services { padding: 4rem 1.25rem; }
    .services__header { margin-bottom: 2.5rem; }

    .gallery { padding: 4rem 1.25rem; }
    .gallery__mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    .gallery__item--tall { grid-row: span 2; }
    .gallery__item--wide { grid-column: span 1; }

    .pricing { padding: 4rem 1.25rem; }

    .contact { padding: 4rem 1.25rem; }
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .contact__map-placeholder { min-height: 280px; }
}

@media (max-width: 600px) {
    .nav { padding: 1rem 1rem; }
    .nav--scrolled { padding: .6rem 1rem; }

    .hero__title { font-size: 2rem; }
    .hero__sub { font-size: .95rem; }
    .hero__tagline { font-size: .65rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn {
        text-align: center;
        width: 100%;
        padding: 1rem 2rem;
    }
    .hero__scroll { display: none; }

    .section-title { font-size: 1.6rem; margin-bottom: 1rem; }
    .section-label { font-size: .7rem; }

    .about__img--main { width: 100%; }
    .about__img--accent { width: 50%; }
    .about__badge {
        top: auto;
        bottom: -1rem;
        right: auto;
        left: 0;
        padding: .9rem 1.2rem;
    }
    .about__badge-number { font-size: 1.3rem; }
    .about__stats { gap: 1.2rem; }
    .about__stat-num { font-size: 1.2rem; }

    .services__grid { grid-template-columns: 1fr; }
    .service-card__body { padding: 1.2rem; }
    .service-card__body h3 { font-size: 1.05rem; }

    .gallery__mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .gallery__item--tall { grid-row: span 1; }
    .gallery__item--wide { grid-column: span 1; }
    .gallery__item--expanded { padding: .75rem; }
    .gallery__item--expanded img {
        max-width: 96vw;
        max-height: 85vh;
    }

    .pricing__table th,
    .pricing__table td {
        padding: .65rem .6rem;
        font-size: .78rem;
    }
    .pricing__table th:nth-child(2),
    .pricing__table td:nth-child(2) {
        display: none;
    }

    .contact__detail p { font-size: .9rem; }
    .contact__map-placeholder { min-height: 220px; }

    .footer { padding: 2.5rem 1.25rem; }
    .footer__links { gap: 1.2rem; }
    .footer__links a { font-size: .7rem; }

    .marquee__track span { font-size: .75rem; }
}

@media (max-width: 380px) {
    .hero__title { font-size: 1.7rem; }
    .hero__content { padding-left: 1rem; padding-right: 1rem; }
    .about__stats { flex-direction: column; gap: 1rem; }
    .btn { font-size: .75rem; padding: .85rem 1.5rem; }
}

@media (hover: none) {
    .service-card:hover { transform: none; box-shadow: none; }
    .service-card:hover .service-card__img img { transform: none; }
    .about__img--main:hover img { transform: none; }
    .gallery__item:hover img { transform: none; }
    .service-card:active { transform: scale(.98); }
    .gallery__item:active { opacity: .85; }
}
