/* ── Google Fonts: Plus Jakarta Sans & DM Sans ─────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Component styles ─────────────────────────────────────── */
@import url('./components/header.css');
@import url('./components/hero.css');
@import url('./components/proximity.css');
@import url('./components/rooms.css');
@import url('./components/family.css');
@import url('./components/amenities.css');
@import url('./components/location.css');
@import url('./components/contact.css');
@import url('./components/footer.css');
@import url('./components/animations.css');
@import url('./components/whatsapp-float.css');

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

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

button, a {
    font-family: inherit;
}

button {
    border: none;
    cursor: pointer;
}

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

/* ── Design tokens: Clean, Trustworthy, Peaceful, Family-Friendly ── */
:root {
    /* Brand Colors */
    --color-primary:         #163832; /* Deep peaceful forest slate / devotional temple teal */
    --color-primary-dark:    #0F2723;
    --color-primary-light:   #235048;
    --color-accent:          #C8601A; /* Warm sacred terracotta / marigold */
    --color-accent-hover:    #B05012;
    --color-accent-soft:     #FFF3E8;
    --color-amber-badge:     #D97706;
    
    /* Functional / Trust Colors */
    --color-whatsapp:        #25D366;
    --color-whatsapp-dark:   #1EBE5B;
    --color-tint-green:      #EDF5F1;
    --color-border:          #E5DDD3;
    --color-border-light:    #EFEAE4;

    /* Surfaces & Backgrounds */
    --color-bg:              #FAF7F2; /* Warm peaceful off-white / ivory */
    --color-surface:         #FFFFFF; /* Pure clean white */
    --color-surface-soft:    #F4EFE6;
    --color-surface-card:    #FFFFFF;

    /* Typography Colors */
    --color-text-primary:    #1A202C; /* High contrast, easy to read */
    --color-text-secondary:  #4A5568;
    --color-text-muted:      #718096;
    --color-text-light:      #F8FAFC;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:  0 4px 14px rgba(22, 56, 50, 0.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg:  0 10px 25px rgba(22, 56, 50, 0.12), 0 4px 10px rgba(0,0,0,0.05);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.06);

    /* Radii */
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --radius-full: 9999px;

    /* Motion */
    --transition:      220ms ease-in-out;
    --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --container-max:  1240px;
    --section-pad-v:  4.5rem;
    --section-pad-h:  2rem;
}

/* ── Base ─────────────────────────────────────────────────── */
body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    line-height: 1.6;
}

/* ── Container ────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--section-pad-h);
    padding-right: var(--section-pad-h);
}

/* ── Typography Utilities ─────────────────────────────────── */
h1, h2, h3, h4, .font-display {
    font-family: var(--font-display);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    max-width: 680px;
    margin-bottom: 2.5rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.85rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(22, 56, 50, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(22, 56, 50, 0.25);
}

.btn-accent {
    background-color: var(--color-accent);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(200, 96, 26, 0.25);
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

/* ── Focus visible ────────────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* ── Selection ────────────────────────────────────────────── */
::selection {
    background: rgba(200, 96, 26, 0.2);
}

@media (max-width: 768px) {
    :root {
        --section-pad-v: 3.25rem;
        --section-pad-h: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.975rem;
        margin-bottom: 1.75rem;
    }
}

/* ── Accessibility utilities ───────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
