/* ============================================
   MAIN CSS - Global Styles & Variables
   Bookedout BNB Website
   ============================================ */

/* ===== CSS Custom Properties (Variables) ===== */
:root {
    /* --- Primary Colors (Brand & Attention) --- */
    --red-primary: #E63946;           /* Primary CTA / Highlight */
    --red-dark: #C1121F;              /* Hover / Depth */

    /* --- Success / Positive --- */
    --green-success: #2ECC71;         /* Success / Checkmarks */
    --green-dark: #27AE60;            /* Accent */

    /* --- Text & Contrast --- */
    --black-primary: #111111;         /* Headings */
    --gray-body: #4F4F4F;             /* Body Text */

    /* --- Background & Layout --- */
    --white-base: #FFFFFF;            /* Base Background */
    --gray-light: #F5F5F5;           /* Cards / Sections */
    --gray-soft: #E0E0E0;            /* Dividers */

    /* --- Accent & Warning --- */
    --red-bg-soft: #FDECEC;          /* Soft Red Background Tint */
    --red-muted: #F87171;            /* Muted Red Accent */

    /* --- Typography --- */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* --- Spacing --- */
    --section-padding: 100px 0;
    --container-max: 1200px;
    --container-padding: 0 20px;

    /* --- Transitions --- */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-cubic: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* --- Shadows --- */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.15);
    --shadow-red: 0 8px 30px rgba(230, 57, 70, 0.3);

    /* --- Border Radius --- */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
}


/* ===== CSS Reset & Base Styles ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-body);
    background-color: var(--white-base);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--black-primary);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
    color: var(--gray-body);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ===== Highlight Text ===== */
.highlight {
    color: var(--red-primary);
    position: relative;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red-bg-soft);
    color: var(--red-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-body);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--red-primary);
    color: var(--white-base);
    border-color: var(--red-primary);
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(230, 57, 70, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--black-primary);
    border-color: var(--gray-soft);
}

.btn-outline:hover {
    border-color: var(--red-primary);
    color: var(--red-primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 38px;
    font-size: 1.05rem;
}

/* ===== Required asterisk ===== */
.required {
    color: var(--red-primary);
}

/* ===== Selection Color ===== */
::selection {
    background: var(--red-primary);
    color: var(--white-base);
}

::-moz-selection {
    background: var(--red-primary);
    color: var(--white-base);
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--red-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-dark);
}