/* Main CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Main Content */
main {
    flex: 1;
    position: relative;
}

/* Focus and Accessibility */
:focus-visible {
    outline: 2px solid #0067C5;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #0067C5;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1001;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-feature-settings: "kern" 1, "liga" 1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.125rem;
    color: #444;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    p {
        font-size: 1rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #0067C5 0%, #003B73 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 103, 197, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #005BB5 0%, #003366 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 103, 197, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 103, 197, 0.5);
}

.btn-secondary {
    background: white;
    color: #0067C5;
    border: 2px solid #0067C5;
    box-shadow: 0 4px 12px rgba(0, 103, 197, 0.1);
}

.btn-secondary:hover {
    background: #0067C5;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 103, 197, 0.3);
}

.btn-link {
    background: transparent;
    color: #0067C5;
    text-decoration: underline;
    padding: 8px 16px;
}

.btn-link:hover {
    color: #005BB5;
    text-decoration: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Accessibility */
.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;
}

/* Focus States */
*:focus {
    outline: 2px solid #0067C5;
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: #0067C5;
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col {
    padding: 0 10px;
}

.col-1 { flex: 0 0 8.333333%; }
.col-2 { flex: 0 0 16.666667%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333333%; }
.col-5 { flex: 0 0 41.666667%; }
.col-6 { flex: 0 0 50%; }
.col-7 { flex: 0 0 58.333333%; }
.col-8 { flex: 0 0 66.666667%; }
.col-9 { flex: 0 0 75%; }
.col-10 { flex: 0 0 83.333333%; }
.col-11 { flex: 0 0 91.666667%; }
.col-12 { flex: 0 0 100%; }

@media (max-width: 768px) {
    .col,
    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
    .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
        flex: 0 0 100%;
    }
}

/* CSS Custom Properties (Variables) */
:root {
    /* Colors */
    --primary-color: #0067C5;
    --primary-dark: #003B73;
    --secondary-color: #2E8B57;
    --accent-color: #FFD700;
    --text-color: #1a1a1a;
    --text-light: #666;
    --background: #ffffff;
    --background-alt: #f8f9fa;
    --border-color: #e9ecef;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Typography */
    --font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 50rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Modern Scroll Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Selection Styling */
::selection {
    background: rgba(0, 103, 197, 0.2);
    color: var(--text-color);
}

::-moz-selection {
    background: rgba(0, 103, 197, 0.2);
    color: var(--text-color);
}

/* Print Styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a, a:visited {
        text-decoration: underline;
    }
    
    .main-header,
    .main-footer {
        display: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #ffffff;
        --border-color: #333333;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Additional Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-subtitle {
    display: block;
    font-size: 0.8em;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.text-accent {
    color: var(--accent-color);
    font-weight: 700;
}

.phone-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.gap-4 {
    gap: var(--space-lg);
}

.gap-5 {
    gap: var(--space-xl);
}

.text-sm {
    font-size: var(--font-size-sm);
}

/* Enhanced Card Animations */
.attraction-card,
.park-card,
.extra-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.attraction-card:hover,
.park-card:hover,
.extra-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Responsive Flex Classes */
@media (max-width: 768px) {
    .d-flex {
        flex-direction: column;
    }
    
    .gap-4,
    .gap-5 {
        gap: var(--space-md);
    }
    
    .flex-wrap {
        flex-wrap: wrap;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gradient {
        background: none;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
        background-clip: unset;
        color: white;
    }
    
    .btn {
        border-width: 3px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #ffffff;
        --text-light: #cccccc;
        --background: #1a1a1a;
        --background-alt: #2c2c2c;
        --border-color: #444444;
    }
}

/* Enhanced Section Titles */
.title-main {
    display: block;
    font-size: 1em;
    line-height: 1.2;
}

.title-subtitle {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 0.5rem;
    color: inherit;
}

/* Featured Attractions Section */
.featured-attractions {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.featured-attractions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 103, 197, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(46, 139, 87, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    position: relative;
    z-index: 1;
}

.attractions-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.attraction-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.attraction-feature.reverse {
    direction: rtl;
}

.attraction-feature.reverse > * {
    direction: ltr;
}

.attraction-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.attraction-image img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.attraction-feature:hover .attraction-image img {
    transform: scale(1.05);
}

.attraction-content {
    padding: 0 20px;
}

.attraction-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a1a;
    background: linear-gradient(135deg, #1a1a1a 0%, #0067C5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.attraction-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
}

.stat-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    border: 1px solid #dee2e6;
}

/* Responsive for attractions */
@media (max-width: 768px) {
    .featured-attractions {
        padding: 80px 0;
    }
    
    .attractions-showcase {
        gap: 60px;
    }
    
    .attraction-feature,
    .attraction-feature.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr;
    }
    
    .attraction-content {
        padding: 0;
        text-align: center;
    }
    
    .attraction-content h3 {
        font-size: 2rem;
    }
    
    .attraction-stats {
        justify-content: center;
    }
}

/* Enhanced Park Cards */
.other-parks-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f1f3f4 0%, #ffffff 50%, #f8f9fa 100%);
}

.parks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.park-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.park-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.park-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.park-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.park-card:hover .park-image img {
    transform: scale(1.1);
}

.park-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.park-card:hover .park-overlay {
    background: rgba(0, 103, 197, 0.9);
    transform: scale(1.1);
}

.park-icon {
    font-size: 24px;
    transition: all 0.3s ease;
}

.park-card:hover .park-icon {
    transform: scale(1.2);
    filter: grayscale(0);
}

.park-content {
    padding: 30px;
}

.park-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.park-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.park-features {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    color: #495057;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #dee2e6;
}

.park-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0067C5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.park-link:hover {
    color: #003B73;
    transform: translateX(4px);
}

.park-link svg {
    transition: transform 0.3s ease;
}

.park-link:hover svg {
    transform: scale(1.2);
}

/* Specific park themes */
.park-card.magic-kingdom:hover .park-overlay {
    background: rgba(255, 20, 147, 0.9);
}

.park-card.epcot:hover .park-overlay {
    background: rgba(46, 139, 87, 0.9);
}

.park-card.hollywood-studios:hover .park-overlay {
    background: rgba(220, 20, 60, 0.9);
}

@media (max-width: 768px) {
    .parks-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .park-content {
        padding: 24px;
    }
}

/* Call to Action Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0067C5 0%, #003B73 50%, #001a2e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(46, 139, 87, 0.08) 0%, transparent 50%);
    animation: ctaGlow 8s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    animation: bounce 2s ease-in-out infinite;
}

.cta-feature:nth-child(2) .feature-icon {
    animation-delay: 0.5s;
}

.cta-feature:nth-child(3) .feature-icon {
    animation-delay: 1s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-large svg {
    transition: transform 0.3s ease;
}

.btn-large:hover svg {
    transform: scale(1.2) rotate(15deg);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-features {
        gap: 24px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}