/* ======================================
   Casino Hotels Canada - Style Sheet
   Clean, Professional, Text-Only Design
   ====================================== */

/* Root Variables for Consistency */
:root {
    --color-bg: #1a1a1a;
    --color-primary-heading: #ffffff;
    --color-text: #e0e0e0;
    --color-footer: #b0b0b0;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
    --spacing-xxl: 4rem;
    
    --container-padding-mobile: 1.5rem;
    --container-padding-desktop: 2rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    font-display: swap;
}

/* Top Image Section */
.top-image-section {
    width: 100%;
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.image-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.image-link:hover {
    opacity: 0.9;
}

.top-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Large Spacer - 270vh */
.large-spacer {
    height: 270vh;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 80ch; /* Optimal reading width */
    margin: 0 auto;
    padding: var(--spacing-lg) var(--container-padding-mobile);
}

/* Typography Hierarchy */

/* Main Page Title */
h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.25rem; /* 36px mobile */
    line-height: 1.2;
    color: var(--color-primary-heading);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

/* Section Headings */
h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem; /* 28px mobile */
    line-height: 1.3;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

/* First h2 shouldn't have top margin */
h2:first-of-type {
    margin-top: 0;
}

/* Hotel Names */
h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem; /* 20px mobile */
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

/* Body Text */
p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem; /* 16px mobile */
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

/* Section Spacing */
section {
    margin-bottom: var(--spacing-xl);
}

/* Article spacing for hotel entries */
article {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid #404040;
}

article:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Footer Styles */
footer {
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid #404040;
}

footer p {
    font-size: 0.875rem; /* 14px */
    line-height: 1.5;
    color: var(--color-footer);
}

footer h2 {
    font-size: 1.25rem;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--color-footer);
}

.copyright {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.disclaimer p {
    margin-bottom: var(--spacing-sm);
}

/* Desktop Responsive Design */
@media (min-width: 768px) {
    .content-wrapper {
        padding: var(--spacing-xxl) var(--container-padding-desktop);
    }
    
    /* Desktop Typography Scaling */
    h1 {
        font-size: 3rem; /* 48px desktop */
    }
    
    h2 {
        font-size: 2rem; /* 32px desktop */
    }
    
    h3 {
        font-size: 1.5rem; /* 24px desktop */
    }
    
    p {
        font-size: 1.125rem; /* 18px desktop */
    }
    
    /* Improved spacing for larger screens */
    section {
        margin-bottom: var(--spacing-xxl);
    }
    
    article {
        margin-bottom: var(--spacing-xxl);
        padding-bottom: var(--spacing-xl);
    }
}

/* Large Desktop Optimizations */
@media (min-width: 1200px) {
    .content-wrapper {
        padding: var(--spacing-xxl) var(--spacing-xxl);
    }
    
    h1 {
        font-size: 3.5rem; /* 56px large desktop */
        margin-bottom: 3rem;
    }
}

/* Accessibility Enhancements */

/* Focus indicators for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid var(--color-primary-heading);
    outline-offset: 2px;
}

/* Improved readability for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-bg: #000000;
        --color-text: #ffffff;
        --color-primary-heading: #ffffff;
        --color-footer: #cccccc;
    }
    
    article {
        border-bottom-color: #ffffff;
    }
    
    footer {
        border-top-color: #ffffff;
    }
}

/* Print styles */
@media print {
    .content-wrapper {
        max-width: none;
        padding: 0;
    }
    
    body {
        background: white;
        color: black;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1 {
        font-size: 24pt;
        page-break-after: avoid;
    }
    
    h2 {
        font-size: 18pt;
        page-break-after: avoid;
        margin-top: 24pt;
    }
    
    h3 {
        font-size: 14pt;
        page-break-after: avoid;
        margin-top: 18pt;
    }
    
    article {
        page-break-inside: avoid;
        border-bottom: 1pt solid #ccc;
    }
    
    footer {
        border-top: 2pt solid #000;
        margin-top: 36pt;
    }
}