/* ============================================================
   Singapore Adventure Explorer — Main Stylesheet
   Palette: Deep Jungle #0d2818 | Vibrant Green #4caf50
            Electric Orange #ff8c00 | White #ffffff
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #0d2818;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

a { color: #4caf50; text-decoration: none; transition: color 0.2s; }
a:hover { color: #ff8c00; }

img { max-width: 100%; height: auto; display: block; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Container ────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Navigation ───────────────────────────────────────────── */
.navbar {
    background: rgba(13, 40, 24, 0.97);
    border-bottom: 3px solid #ff8c00;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.9rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.nav-logo span { color: #ff8c00; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    background: #ff8c00;
    color: #ffffff;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1560179707-f14e90ef3623?w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 40, 24, 0.88) 0%,
        rgba(13, 40, 24, 0.65) 50%,
        rgba(255, 140, 0, 0.25) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-content {}

.hero-badge {
    display: inline-block;
    background: #ff8c00;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero-title {
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-title span { color: #4caf50; }

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.hero-free-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid #4caf50;
    color: #4caf50;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

/* ── Lead Form ────────────────────────────────────────────── */
.lead-form-card {
    background: rgba(13, 40, 24, 0.95);
    border: 2px solid #4caf50;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lead-form-card h2 {
    color: #ff8c00;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.lead-form-card .form-intro {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(76, 175, 80, 0.4);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    width: 100%;
}

.form-group input:focus {
    border-color: #4caf50;
    background: rgba(255,255,255,0.12);
}

.form-group input::placeholder { color: rgba(255,255,255,0.35); }

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ff8c00, #e67e00);
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    letter-spacing: 0.03em;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.55);
    color: #ffffff;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #4caf50;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    border: 2px solid #4caf50;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-align: center;
}

.btn-secondary:hover {
    background: #4caf50;
    color: #ffffff;
}

#form-success {
    display: none;
    background: rgba(76, 175, 80, 0.15);
    border: 2px solid #4caf50;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
    color: #4caf50;
    font-weight: 600;
}

.privacy-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    margin-top: 0.75rem;
    text-align: center;
}

/* ── Section Shared ───────────────────────────────────────── */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: rgba(255,255,255,0.03);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 140, 0, 0.4);
    color: #ff8c00;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.section-header h2 { color: #ffffff; margin-bottom: 0.75rem; }
.section-header p { color: rgba(255,255,255,0.65); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ── Module Cards (6-grid) ────────────────────────────────── */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.module-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(76, 175, 80, 0.25);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4caf50, #ff8c00);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.module-card:hover {
    transform: translateY(-6px);
    border-color: rgba(76, 175, 80, 0.6);
    box-shadow: 0 16px 50px rgba(0,0,0,0.35);
}

.module-card:hover::before { transform: scaleX(1); }

.module-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.module-number {
    display: inline-block;
    background: rgba(255, 140, 0, 0.15);
    color: #ff8c00;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.module-card h3 {
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.module-card p {
    color: rgba(255,255,255,0.62);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* ── Photo Gallery ────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(13,40,24,0.92));
    padding: 1.5rem 1.25rem 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    transform: translateY(4px);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ── Contact Page Specific ────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.company-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 14px;
    padding: 2.5rem;
}

.company-card h2 {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.company-detail {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.company-detail strong {
    color: #4caf50;
    min-width: 110px;
    flex-shrink: 0;
}

.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    transition: background 0.2s, transform 0.15s;
}

.wa-btn:hover {
    background: #1ebe5d;
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-form-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 14px;
    padding: 2.5rem;
}

.contact-form-card h2 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-form-card .form-intro {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.form-group textarea {
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(76, 175, 80, 0.4);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
    width: 100%;
    resize: vertical;
    min-height: 120px;
}

.form-group textarea:focus {
    border-color: #4caf50;
    background: rgba(255,255,255,0.12);
}

.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }

/* ── Legal Pages ──────────────────────────────────────────── */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.legal-content h1 {
    color: #ff8c00;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.legal-content .last-updated {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    color: #4caf50;
    font-size: 1.15rem;
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(76, 175, 80, 0.25);
}

.legal-content p, .legal-content li {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.75;
}

.legal-content ul, .legal-content ol {
    margin: 0.5rem 0 1rem 1.5rem;
}

.legal-content li { margin-bottom: 0.4rem; }

/* ── Disclaimer Box ───────────────────────────────────────── */
.disclaimer-box {
    background: rgba(255, 140, 0, 0.08);
    border: 1px solid rgba(255, 140, 0, 0.35);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin: 3rem 0 0;
}

.disclaimer-box p {
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    line-height: 1.65;
    margin: 0;
}

.disclaimer-box strong { color: #ff8c00; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
    background: #050f0a;
    border-top: 2px solid rgba(76, 175, 80, 0.2);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: #ff8c00;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    transition: color 0.2s;
}
.footer-col ul a:hover { color: #4caf50; }

.footer-company-info {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
}

.footer-links a {
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: #4caf50; }

/* ── WhatsApp Float ───────────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background: #25d366;
    color: #ffffff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1.5rem;
}

.wa-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.65);
    color: #ffffff;
}

/* ── Cookie Banner ────────────────────────────────────────── */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(5, 15, 10, 0.97);
    border-top: 2px solid rgba(76, 175, 80, 0.4);
    padding: 1.25rem 1.5rem;
    z-index: 998;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
}

#cookie-banner a { color: #4caf50; text-decoration: underline; }

#cookie-banner button {
    background: #4caf50;
    color: #ffffff;
    border: none;
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

#cookie-banner button:hover { background: #3d9140; }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, rgba(13,40,24,1) 0%, rgba(13,40,24,0.85) 100%),
                url('https://images.unsplash.com/photo-1560179707-f14e90ef3623?w=1600&q=80') center/cover;
    padding: 5rem 0 3.5rem;
    text-align: center;
    border-bottom: 2px solid rgba(76, 175, 80, 0.2);
}

.page-hero h1 { color: #ffffff; margin-bottom: 0.75rem; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero { background-attachment: scroll; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .wa-float { bottom: 5rem; right: 1.25rem; }
    .section { padding: 3.5rem 0; }
}

@media (max-width: 540px) {
    .modules-grid { grid-template-columns: 1fr; }
    .lead-form-card { padding: 1.75rem 1.25rem; }
    .nav-logo { font-size: 1.1rem; }
}
