/* Heritage Singapore — Traditional Asian Ink Art / Peranakan Cultural */

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --cream: #f5f0e8;
    --red: #9b2226;
    --ink: #1a1a1a;
    --gold: #c9a84c;
    --jade: #4a7c59;
    --red-dark: #7a1a1d;
    --cream-dark: #ede7d9;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: var(--cream);
    color: var(--ink);
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: var(--red);
    text-decoration: none;
}

a:hover {
    color: var(--gold);
    text-decoration: underline;
}

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

/* === NAVIGATION === */
nav {
    background-color: var(--cream);
    border-bottom: 2px solid var(--red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(26,26,26,0.12);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--ink);
    letter-spacing: 0.02em;
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--red);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: Georgia, serif;
    font-size: 0.95rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.04em;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--red);
    border-bottom-color: var(--red);
    text-decoration: none;
}

/* === HERO === */
.hero {
    background-color: var(--red);
    padding: 72px 24px 64px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--cream), var(--gold));
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--cream), var(--gold));
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 56px;
    align-items: center;
}

.hero-text h1 {
    font-family: Georgia, serif;
    font-size: 3rem;
    color: var(--cream);
    line-height: 1.2;
    font-weight: normal;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
}

.hero-ornament {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
    display: block;
}

.hero-subline {
    font-style: italic;
    color: var(--cream-dark);
    font-size: 1.15rem;
    margin-bottom: 28px;
}

.hero-image {
    width: 100%;
    border: 3px solid var(--gold);
    box-shadow: 6px 6px 0 rgba(201,168,76,0.3);
}

/* === ENROLLMENT FORM === */
.enrollment-form {
    background: var(--cream);
    border: 2px solid var(--red);
    padding: 32px 28px;
    box-shadow: 4px 4px 0 rgba(155,34,38,0.2);
}

.enrollment-form h3 {
    font-family: Georgia, serif;
    font-size: 1.15rem;
    color: var(--red);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    font-weight: normal;
    text-align: center;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 12px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--ink);
    margin-bottom: 5px;
    letter-spacing: 0.06em;
    font-style: italic;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--red);
    background: #fff;
    font-family: Georgia, serif;
    font-size: 0.92rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201,168,76,0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn {
    display: inline-block;
    background-color: var(--red);
    color: var(--cream);
    font-family: Georgia, serif;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    padding: 12px 28px;
    border: 2px solid var(--red);
    cursor: pointer;
    border-radius: 0;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--red-dark);
    border-color: var(--gold);
    color: var(--cream);
    text-decoration: none;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
}

.btn-gold:hover {
    background-color: #b8903e;
    border-color: var(--red);
    color: var(--ink);
}

#form-success {
    display: none;
    background: var(--jade);
    color: #fff;
    padding: 12px;
    text-align: center;
    font-style: italic;
    margin-top: 12px;
    font-size: 0.9rem;
}

/* === SECTION DIVIDERS === */
.section-divider {
    text-align: center;
    padding: 28px 0;
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    user-select: none;
}

.section-divider::before,
.section-divider::after {
    content: '';
    display: inline-block;
    width: 80px;
    height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin: 0 16px;
}

.ornament-line {
    border: none;
    border-top: 1px solid var(--gold);
    position: relative;
    margin: 0 auto;
    max-width: 600px;
}

/* === MAIN CONTENT WRAPPER === */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === SECTIONS === */
section {
    padding: 64px 24px;
}

.section-title {
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: normal;
    color: var(--red);
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.section-subtitle {
    font-style: italic;
    color: #666;
    text-align: center;
    margin-bottom: 48px;
    font-size: 1rem;
}

/* === TOUR CARDS === */
.tours-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tour-card {
    background: var(--cream);
    border-left: 4px solid var(--red);
    padding: 28px 24px;
    box-shadow: inset 2px 2px 8px rgba(155,34,38,0.07), 2px 2px 0 rgba(201,168,76,0.2);
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.tour-card::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
}

.tour-card:hover {
    box-shadow: inset 2px 2px 8px rgba(155,34,38,0.1), 4px 4px 0 rgba(201,168,76,0.4);
    transform: translateY(-2px);
}

.tour-card h3 {
    font-family: Georgia, serif;
    font-size: 1.05rem;
    color: var(--red);
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.tour-card p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.65;
}

.tour-icon {
    font-size: 1.4rem;
    margin-bottom: 10px;
    display: block;
    color: var(--gold);
}

/* === GALLERY === */
.gallery-section {
    background: #ede7d9;
    border-top: 2px double var(--gold);
    border-bottom: 2px double var(--gold);
}

.gallery-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.gallery-item {
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border: 2px solid var(--red);
}

.gallery-caption {
    background: var(--cream);
    border: 1px solid var(--red);
    border-top: none;
    padding: 12px 16px;
    font-style: italic;
    font-size: 0.88rem;
    color: var(--ink);
    text-align: center;
}

/* === PRICING === */
.pricing-section {
    background: var(--cream);
}

.pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pricing-card {
    background: var(--cream);
    border: 2px solid var(--gold);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 12px rgba(201,168,76,0.15);
    transition: box-shadow 0.2s, transform 0.2s;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 1px solid rgba(201,168,76,0.3);
    pointer-events: none;
}

.pricing-card:hover {
    box-shadow: 0 4px 20px rgba(155,34,38,0.15);
    transform: translateY(-3px);
}

.pricing-card.featured {
    border-color: var(--red);
    background: #fff8f0;
}

.pricing-card.featured::after {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: var(--cream);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 4px 16px;
    font-style: italic;
}

.pricing-tier {
    font-family: Georgia, serif;
    font-size: 1.25rem;
    color: var(--red);
    font-weight: normal;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 1.8rem;
    color: var(--ink);
    font-style: italic;
    margin-bottom: 4px;
}

.pricing-note {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 20px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.pricing-features li {
    font-size: 0.9rem;
    color: #444;
    padding: 7px 0;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pricing-features li::before {
    content: '◈';
    color: var(--gold);
    flex-shrink: 0;
    font-size: 0.8rem;
    margin-top: 2px;
}

/* === CTA SECTION === */
.cta-section {
    background-color: var(--red);
    text-align: center;
    padding: 72px 24px;
    position: relative;
}

.cta-section::before,
.cta-section::after {
    content: '─── ◈ ───';
    display: block;
    color: var(--gold);
    letter-spacing: 0.2em;
    font-size: 1rem;
    margin-bottom: 24px;
}

.cta-section::after {
    margin-top: 32px;
    margin-bottom: 0;
}

.cta-section h2 {
    font-family: Georgia, serif;
    font-size: 2.2rem;
    color: var(--cream);
    font-weight: normal;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.cta-section p {
    color: #e8d5d5;
    font-style: italic;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

/* === FOOTER === */
footer {
    background: var(--cream);
    border-top: 3px double var(--gold);
    padding: 48px 24px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-brand h3 {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--red);
    margin-bottom: 12px;
    font-weight: normal;
}

.footer-brand p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.7;
}

.footer-col h4 {
    font-family: Georgia, serif;
    font-size: 0.95rem;
    color: var(--ink);
    letter-spacing: 0.06em;
    margin-bottom: 14px;
    font-weight: bold;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 8px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--red);
}

.footer-bottom {
    border-top: 1px solid var(--gold);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-disclaimer {
    max-width: 1100px;
    margin: 16px auto 0;
    padding: 16px 20px;
    background: #ede7d9;
    border-left: 3px solid var(--gold);
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    line-height: 1.65;
}

/* === COOKIE BANNER === */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--cream);
    border-top: 2px solid var(--red);
    padding: 16px 24px;
    z-index: 9000;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -4px 16px rgba(26,26,26,0.12);
}

#cookie-banner p {
    font-size: 0.85rem;
    color: #444;
    font-style: italic;
    flex: 1;
}

#cookie-banner .btn {
    flex-shrink: 0;
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 88px;
    right: 28px;
    z-index: 8999;
    background: #25d366;
    color: #fff;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.22);
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.whatsapp-float:hover {
    background: #1da851;
    transform: scale(1.08);
    color: #fff;
    text-decoration: none;
}

/* === CONTACT PAGE === */
.page-hero {
    background: var(--red);
    padding: 56px 24px;
    text-align: center;
    border-bottom: 4px solid var(--gold);
}

.page-hero h1 {
    font-family: Georgia, serif;
    font-size: 2.4rem;
    color: var(--cream);
    font-weight: normal;
    margin-bottom: 10px;
}

.page-hero p {
    font-style: italic;
    color: #e8d5d5;
    font-size: 1.05rem;
}

.contact-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    padding: 64px 24px;
}

.company-card {
    background: var(--cream);
    border: 2px solid var(--red);
    border-left-width: 5px;
    padding: 32px 28px;
    box-shadow: inset 2px 2px 8px rgba(155,34,38,0.07);
}

.company-card h2 {
    font-family: Georgia, serif;
    font-size: 1.3rem;
    color: var(--red);
    font-weight: normal;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gold);
}

.company-card p {
    font-size: 0.92rem;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.7;
}

.company-card .label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--red);
    display: block;
    margin-bottom: 2px;
}

.contact-form-card {
    background: var(--cream);
    border: 2px solid var(--gold);
    padding: 36px 32px;
}

.contact-form-card h2 {
    font-family: Georgia, serif;
    font-size: 1.3rem;
    color: var(--red);
    font-weight: normal;
    margin-bottom: 24px;
    letter-spacing: 0.03em;
}

.contact-form-card textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--red);
    background: #fff;
    font-family: Georgia, serif;
    font-size: 0.92rem;
    color: var(--ink);
    outline: none;
    resize: vertical;
    min-height: 110px;
    transition: border-color 0.2s;
}

.contact-form-card textarea:focus {
    border-color: var(--gold);
}

/* === LEGAL PAGES === */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 64px 24px;
}

.legal-content h2 {
    font-family: Georgia, serif;
    font-size: 1.6rem;
    color: var(--red);
    font-weight: normal;
    margin-bottom: 8px;
}

.legal-content .last-updated {
    font-style: italic;
    color: #888;
    font-size: 0.88rem;
    margin-bottom: 40px;
    display: block;
}

.legal-section {
    margin-bottom: 36px;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
}

.legal-section h3 {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 0.02em;
}

.legal-section p,
.legal-section li {
    font-size: 0.93rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 8px;
}

.legal-section ul,
.legal-section ol {
    padding-left: 20px;
    margin-top: 8px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

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

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
}

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

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 16px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}
