/* ============================================
   VARIABLES & RESET
   ============================================ */

/* Brand Fonts - Brand Kit Integration */
/* Norwester - Corporate Sans-Serif (Primary) */
@font-face {
    font-family: 'Norwester';
    src: url('assets/norwester.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Cardo - Corporate Serif (Secondary - from Google Fonts) */
/* Note: Cardo is loaded via Google Fonts in index.html */

/* The Something Script - Script Font (Elegant/Accent) */
/* Note: This font file needs to be added to assets folder */
/* For now using a Google Fonts script alternative */
/* DISABLED - Font files not available
@font-face {
    font-family: 'The Something Script';
    src: url('assets/the-something-script.otf') format('opentype'),
         url('assets/the-something-script.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
*/

:root {
    /* Brand Colors - Primary */
    --primary-teal: #27afa5;
    --primary-red: #c41d15;
    --primary-dark-blue: #334f5d;
    --primary-black: #000000;
    
    /* Brand Colors - Secondary */
    --secondary-red-brown: #c2514b;
    --secondary-bright-teal: #2aebce;
    --secondary-tan-gold: #d1aa66;
    --secondary-yellow-gold: #e9ca5e;
    
    /* Legacy/Compatibility Mappings (for existing code) */
    --primary-color: #c41d15; /* Primary Red */
    --secondary-color: #334f5d; /* Primary Dark Blue */
    --accent-color: #27afa5; /* Primary Teal */
    --gold-color: #e9ca5e; /* Secondary Yellow Gold */
    
    /* Additional Utilities */
    --dark-blue: #334f5d; /* Primary Dark Blue */
    --light-blue: #e3f2fd; /* Utility light blue (keep for gradients) */
    --text-dark: #102a43; /* Keep for readability */
    --text-light: #627d98; /* Keep for readability */
    --white: #ffffff;
    --black: #000000; /* Primary Black */
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    
    /* Typography - Brand Kit */
    /* Two Corporate fonts (easy to read) + One Script font */
    --font-primary: 'Norwester', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; /* Corporate Sans-Serif - for headings, navigation */
    --font-body: 'Cardo', Georgia, serif; /* Corporate Serif - for body text, readable content */
    --font-heading: 'Norwester', -apple-system, sans-serif; /* Corporate Sans-Serif - for all headings */
    --font-elegant: 'The Something Script', 'Dancing Script', 'Great Vibes', cursive; /* Script font - for elegant accents, special text */
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto; /* Changed from smooth - prevents scroll bar snap back */
    font-size: 16px;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

body {
    font-family: var(--font-body); /* Cardo for body text - easy to read */
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    position: relative;
    width: 100%;
    max-width: 100vw; /* Prevent content from expanding beyond viewport */
}

/* Headings - Norwester (Corporate Sans-Serif) */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading); /* Norwester */
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navigation - Norwester */
nav, .nav-link, .nav-menu {
    font-family: var(--font-primary); /* Norwester */
}

/* Hide any stray elements that might be visible - EXCLUDE MODALS AND FIXED ELEMENTS */
body > *:not(.loader):not(nav):not(section):not(footer):not(.cookie-consent-banner):not(.cookie-settings-modal):not(.event-detail-modal):not(.image-lightbox):not(.business-modal):not(.share-modal):not(script):not([id*="Modal"]):not([class*="modal"]):not([class*="lightbox"]) {
    position: relative;
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--secondary-color) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

.loader.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
    z-index: -9999 !important;
}

.loader.hidden * {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.loader.hidden .loader-progress {
    animation: none !important;
    display: none !important;
    width: 0 !important;
}

.loader.hidden .loader-bar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.loader-content {
    text-align: center;
    color: var(--white);
    position: relative;
}

.loader-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    object-fit: contain;
    animation: pulse 2s infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    transition: none;
}

.loader-logo.animating {
    animation: none;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInOut 2s infinite;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    animation: loadingProgress 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    padding: 0.5rem 0;
    min-height: auto;
    overflow: visible;
}

.navbar.visible {
    opacity: 1;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
    min-height: auto;
    padding-top: 0.5rem;
    padding-bottom: 70px;
    overflow: visible;
}

.navbar.scrolled .header-events {
    opacity: 1;
    max-height: 60px;
    padding: 0.25rem 0 0 0;
    overflow: visible;
    pointer-events: all;
    margin-top: 0;
    visibility: visible;
}

.navbar.scrolled .nav-right-section {
    align-items: center;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
    position: relative;
    width: 100%;
}

.navbar.scrolled .nav-container {
    padding: 0;
    align-items: flex-start;
    padding-top: 0;
    padding-bottom: 0;
}

.nav-right-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    flex: 1;
    position: relative;
    min-height: 0;
    width: 100%;
    padding-top: 0;
    margin-top: 0;
    align-self: flex-start;
}

.navbar.scrolled .nav-right-section {
    padding-top: 0;
    margin-top: 0;
    align-items: flex-end;
    align-self: flex-start;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: -1rem;
    padding: 0;
    flex-shrink: 0;
    max-width: none;
    min-width: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 0;
}

.navbar.scrolled .nav-logo {
    margin-left: 0;
}

.logo-link {
    display: block;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform var(--transition-base);
    max-width: none;
    flex-shrink: 0;
    line-height: 0;
    padding: 0;
    margin: 0;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 180px;
    width: auto !important;
    max-width: none !important;
    min-width: auto;
    object-fit: contain !important;
    object-position: left center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.8);
    flex-shrink: 0;
    display: block;
    aspect-ratio: auto;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.logo-img.loaded {
    opacity: 1;
    transform: scale(1);
}

.navbar.scrolled .logo-img {
    height: 100px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-color);
    transition: opacity 0.3s ease;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
    position: relative;
    align-self: flex-end;
    margin-left: auto;
    padding-top: 0;
    padding-bottom: 0;
    top: 0;
}

.navbar.scrolled .nav-menu {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    top: 0;
}

/* Header Events Section */
.header-events {
    width: 100%;
    background: transparent;
    padding: 0.75rem 0 0 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    max-height: 180px;
    overflow: hidden;
    margin-top: 0;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 10;
}

.header-events-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.header-events-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .header-events-title {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.header-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .header-events-grid {
    gap: 0.5rem;
}

.header-event-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.75rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    width: 100%;
}

.navbar.scrolled .header-event-card {
    padding: 0.4rem 0.5rem;
    gap: 0.5rem;
}

.header-event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    width: 50px;
    padding: 0.5rem 0.4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-sm);
    color: var(--white);
    text-align: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .event-date {
    min-width: 40px;
    width: 40px;
    padding: 0.3rem 0.25rem;
}

.event-month {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .event-month {
    font-size: 0.55rem;
}

.event-day {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    margin-top: 0.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .event-day {
    font-size: 0.8rem;
    margin-top: 0.1rem;
}

.event-info {
    flex: 1;
}

.event-info h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    line-height: 1.2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .event-info h4 {
    font-size: 0.75rem;
    margin-bottom: 0.1rem;
}

.event-info p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
    line-height: 1.3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .event-info p {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
    display: none;
}

.navbar.scrolled .event-link {
    font-size: 0.7rem;
}

.event-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

.event-link:hover {
    transform: translateX(5px);
    color: var(--accent-color);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-base);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
    z-index: -1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 150px;
    transition: padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.header-scrolled .hero {
    padding-top: 90px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/mount.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 3;
}

.hero-parallax {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('images/amelia.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 2;
    animation: parallaxFloat 20s infinite ease-in-out;
}

@keyframes parallaxFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-2%, -2%) rotate(1deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 900px;
}

.hero-text-wrapper {
    margin-bottom: 3rem;
}

.hero-subtitle {
    font-family: var(--font-elegant); /* The Something Script - elegant accent */
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-transform: none; /* Script fonts don't need uppercase */
    letter-spacing: normal;
}

/* Script Font with 5pt Stroke - Brand Kit Style */
.script-stroke {
    font-family: var(--font-elegant);
    -webkit-text-stroke: 2px currentColor;
    text-shadow: 
        -1px -1px 0 currentColor,
        1px -1px 0 currentColor,
        -1px 1px 0 currentColor,
        1px 1px 0 currentColor;
    paint-order: stroke fill;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-primary:hover {
    background: #a01710;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

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

.pulse-on-hover {
    animation: pulseScale 2s infinite;
}

@keyframes pulseScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    margin: 0 auto;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--gold-color);
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    bottom: 20%;
    left: 20%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

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

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: var(--spacing-xl) 2rem;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* ============================================
   CARDS GRID
   ============================================ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover .card-overlay {
    opacity: 1;
}

.card-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-base);
    z-index: 2;
}

.card:hover .card-icon {
    opacity: 1;
    transform: scale(1);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.card-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform var(--transition-base);
}

.card-link:hover {
    transform: translateX(5px);
}

/* ============================================
   EXPLORE SECTION
   ============================================ */

.explore-section {
    background: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/architecture.jpg') center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.tabs-container {
    position: relative;
    z-index: 1;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: var(--white);
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-base);
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tab-content.active {
    display: block;
}

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

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.business-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: pointer;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.business-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.business-info {
    padding: 1rem;
}

.business-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.business-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.map-link-container {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   EXPERIENCES SECTION
   ============================================ */

.experiences-section {
    background: var(--white);
}

.experiences-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.experiences-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-medium);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
}

.timeline-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.timeline-content.reverse {
    flex-direction: row-reverse;
}

.timeline-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.timeline-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.timeline-item:hover .timeline-image img {
    transform: scale(1.05);
}

.timeline-text {
    flex: 1;
}

.timeline-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.timeline-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ============================================
   PLAN SECTION
   ============================================ */

.plan-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.plan-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.plan-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.plan-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.plan-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: transform var(--transition-base);
    display: inline-block;
}

.plan-link:hover {
    transform: translateX(5px);
}

/* ============================================
   BOOKINGS SECTION
   ============================================ */

.bookings-section {
    background: var(--white);
}

.bookings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.booking-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.booking-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.booking-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.booking-card:hover .booking-image img {
    transform: scale(1.1);
}

.booking-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.booking-content {
    padding: 1.5rem;
}

.booking-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.booking-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: var(--spacing-xl) 2rem 2rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section p {
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all var(--transition-base);
}

.footer-section ul li a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.business-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

.dev-credit {
    margin-top: 0.5rem;
    font-style: italic;
    opacity: 0.7;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 54px;
    height: 54px;
    background: var(--primary-color, #c41d15);
    color: var(--white, #fff);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(196, 29, 21, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 9999;
    outline: 2px solid rgba(0, 0, 0, 0.1);
    outline-offset: 2px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #a01710;
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   ADMIN FLOATING BUTTON
   ============================================ */

.admin-float-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    text-decoration: none;
    transition: all var(--transition-base);
}

.admin-float-btn:hover {
    background: #a01710;
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.admin-float-btn svg {
    width: 28px;
    height: 28px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Desktop optimizations - show desktop nav above 1024px */
@media (min-width: 1025px) {
    .logo-img {
        height: 220px !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .navbar {
        min-height: auto;
        padding: 0.5rem 0;
    }
    
    .navbar.scrolled .logo-img {
        height: 120px !important;
    }
    
    .navbar.scrolled {
        min-height: auto;
        padding: 0.5rem 0;
    }
    
    .header-events {
        padding: 0.75rem 0 0 0;
        max-height: 200px;
    }
    
    .header-events-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .header-events-grid {
        gap: 1rem;
    }
    
    .header-event-card {
        padding: 0.75rem;
    }
    
    .nav-container {
        align-items: flex-start;
    }
    
    .navbar.scrolled .nav-container {
        align-items: flex-start;
    }
    
    .nav-logo {
        margin-left: -1rem;
        height: auto;
        max-height: none;
        align-self: flex-start;
        padding: 0;
        margin-bottom: 0;
    }
    
    .navbar.scrolled .nav-logo {
        margin-left: 0;
        align-self: center;
    }
}

/* Tablet/Mobile transition at 1024px - industry standard for mobile nav switch */
@media (max-width: 1024px) {
    :root {
        font-size: 14px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Note: Modern header nav-menu styles are in modern-design.css */
    /* These are legacy fallback styles only */
    .nav-menu:not(.site-header .nav-menu) {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-base);
        gap: 1.5rem;
    }
    
    .nav-menu.active:not(.site-header .nav-menu) {
        left: 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .cards-grid,
    .business-grid,
    .bookings-grid,
    .plan-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-content,
    .timeline-content.reverse {
        flex-direction: column;
    }
    
    .experiences-timeline::before {
        left: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        text-align: center;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .section {
        padding: var(--spacing-lg) 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .admin-float-btn {
        bottom: 1rem;
        left: 1rem;
        width: 55px;
        height: 55px;
    }

    .admin-float-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar,
    .back-to-top,
    .admin-float-btn,
    .hero-scroll-indicator,
    .loader {
        display: none;
    }
}