/* ============================================================
   HERO LANDING — truly fullscreen, starts at top:0 behind fixed nav
   ============================================================ */
.hero-landing {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hero-landing-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: hero-slide 16s ease-in-out infinite;
    will-change: opacity, transform;
}
.hero-bg-slide.bg-photo-1 { background-image: url('../assets/images/rak1.jpeg'); animation-delay: 0s; }
.hero-bg-slide.bg-photo-2 { background-image: url('../assets/images/rak3.jpeg'); animation-delay: 8s; }

.hero-landing-filter {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(8, 22, 12, 0.94) 0%,
        rgba(8, 22, 12, 0.55) 38%,
        rgba(8, 22, 12, 0.15) 68%,
        rgba(8, 22, 12, 0.0) 100%
    );
}

/* text — no box, no background, directly on image */
.hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 80px;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    animation: hero-copy-fade 1s ease-out both;
}
.hero-copy .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(194, 213, 196, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    margin-bottom: 18px;
}
.hero-copy h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 5.5vw, 6rem);
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: #ffffff;
    max-width: 820px;
    margin: 0 0 22px 0;
    text-shadow: 0 4px 32px rgba(0,0,0,0.4);
    background: none !important;
    -webkit-text-fill-color: #ffffff;
}
.hero-copy p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(220, 235, 220, 0.85);
    max-width: 540px;
    margin-bottom: 32px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    background: none;
}
.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.35);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    animation: scroll-bounce 2s ease-in-out infinite;
}
.hero-scroll::after {
    content: '';
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
}

@keyframes hero-slide {
    0%, 28%  { opacity: 1; transform: scale(1); }
    33%, 95% { opacity: 0; transform: scale(1.04); }
    100%     { opacity: 0; transform: scale(1.04); }
}
@keyframes hero-copy-fade {
    0%   { opacity: 0; transform: translateY(32px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes scroll-bounce {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50%       { opacity: 0.8; transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   FEATURE STRIP
   ============================================================ */
.feature-strip { padding: 60px 0 16px; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.feature-card {
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.feature-card h3 { margin-bottom: 12px; color: var(--color-primary); }
.feature-card p { color: var(--color-text-light); line-height: 1.7; font-size: 0.92rem; }

.category-strip {
    padding: 40px 24px 22px;
    background: rgba(245, 251, 245, 0.95);
}
.category-strip .section-header {
    max-width: 860px;
    margin: 0 auto 24px;
    text-align: center;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}
.category-card {
    padding: 20px 18px;
    background: #ffffff;
    border: 1px solid rgba(26, 60, 42, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
.category-card h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--color-primary);
}
.category-card p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.5;
}
.category-card small {
    color: var(--color-secondary);
}
@media (max-width: 980px) {
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .category-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   STAFF SECTION
   ============================================================ */
.staff-section { padding: 48px 0 24px; }
.staff-card {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    max-width: 420px;
    margin: 0 auto;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}
.staff-image {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid rgba(26, 60, 42, 0.2);
    flex-shrink: 0;
    margin: 0 auto;
}
.staff-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.staff-info h3 {
    margin: 0 0 8px 0;
    color: var(--color-primary);
    font-size: 1.15rem;
    line-height: 1.3;
}
.staff-info p {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 0.88rem;
    margin-bottom: 6px;
}
.staff-info p:first-of-type {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .feature-grid { grid-template-columns: 1fr; }
    .intro-row { grid-template-columns: 1fr; padding: 32px 28px; }
    .staff-panel {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(26, 60, 42, 0.1);
        padding-left: 0;
        padding-top: 32px;
        margin-top: 8px;
    }
}
@media (max-width: 680px) {
    .hero-copy { padding: 0 24px 64px; }
    .hero-copy h1 { font-size: 2.8rem; }
    .hero-scroll { display: none; }
}

.intro-row {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 40px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--color-primary, #1a3c2a);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.about-panel {
    background: transparent;
    padding: 0;
}
.about-panel .section-header {
    margin-bottom: 16px;
    text-align: left;
    max-width: none;
}
.about-eyebrow {
    display: inline-block;
    color: var(--color-secondary, #c99a3f);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    margin-bottom: 8px;
}
.about-panel .section-header h2 {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 14px;
}
.about-panel .section-header h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 56px;
    background: var(--color-secondary, #c99a3f);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s ease 0.25s;
}
.about-panel .section-header.in-view h2::after {
    transform: scaleX(1);
}
.about-panel p {
    color: var(--color-text-light);
    font-size: 0.98rem;
    line-height: 1.8;
    margin: 0 0 16px 0;
}
.about-panel p:last-child {
    margin-bottom: 0;
}

/* staff photo now lives inside the same card, no separate box */
.staff-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    border-left: 1px solid rgba(26, 60, 42, 0.1);
    padding-left: 40px;
}
.staff-panel .section-header {
    text-align: left;
    margin-bottom: 0;
}
.staff-card {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
    transition: transform 0.4s ease;
}
.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

/* ============================================================
   SCROLL REVEAL — fade + slide as elements enter the viewport
   ============================================================ */
.reveal {
    opacity: 0;
    transition: opacity 0.75s ease, transform 0.75s ease;
    will-change: opacity, transform;
}
.reveal-up {
    transform: translateY(32px);
}
.reveal-right {
    transform: translateX(36px);
}
.reveal.in-view {
    opacity: 1;
    transform: translate(0, 0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .about-panel .section-header h2::after {
        transform: scaleX(1);
        transition: none;
    }
}

/* ============================================================
   NAVBAR — transparent on landing, matches the footer's dark
   green (var(--color-primary)) once scrolled
   ============================================================ */
.glass-nav {
    background: var(--color-primary, #1a3c2a) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.glass-nav .nav-link,
.glass-nav .logo-group span {
    color: #ffffff !important;
}
.glass-nav .nav-link.active {
    color: #ffffff !important;
    opacity: 0.85;
}
.glass-nav .btn-login-pill {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

.glass-nav.nav-top {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom-color: transparent !important;
}
.glass-nav.nav-top .nav-link,
.glass-nav.nav-top .logo-group span {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}