/* Best Star Inn — Global Design System */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
    --primary-color: #0B1E36;
    --primary-hover-color: #061222;
    --primary-color-rgb: 11, 30, 54;
    --secondary-color: #FFFFFF;
    --secondary-color-rgb: 255, 255, 255;
    --accent-color: #C9A96E;
    --accent-hover-color: #B8944F;
    --accent-color-rgb: 201, 169, 110;

    --text-dark: #1A2332;
    --text-muted: #5C6678;
    --text-light: #F8F9FB;
    --text-headings: #0B1E36;
    --border-color: rgba(11, 30, 54, 0.12);
    --border-light: #E8ECF1;

    --background-white: #FFFFFF;
    --background-cream: #F7F5F0;
    --background-light: #F4F6F9;
    --background-dark: #081629;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(11, 30, 54, 0.06);
    --shadow-md: 0 8px 30px rgba(11, 30, 54, 0.1);
    --shadow-lg: 0 20px 60px rgba(11, 30, 54, 0.14);
    --shadow-xl: 0 30px 80px rgba(11, 30, 54, 0.18);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --container-max: 1200px;
    --header-height: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.65;
    background-color: var(--background-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-headings);
    line-height: 1.15;
    font-weight: 600;
}

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

a {
    color: inherit;
}

.container {
    width: min(92%, var(--container-max));
    margin-inline: auto;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-headings);
    margin-bottom: 1rem;
}

.section-title--light {
    color: var(--text-light);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin-inline: auto;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-pill);
    padding: 0.9rem 1.75rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-hover-color);
    border-color: var(--accent-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--accent-color-rgb), 0.35);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
