/* ========================================
   WINJOURNEY WEBSITE ENHANCEMENT v3.0
   Modern, Attractive Design for Package Sales
   Cross-Platform Compatible v1.0
   ======================================== */

:root {
    /* Brand Colors */
    --primary-blue: #0d47a1;
    --dark-blue: #0a3875;
    --sky-blue: #64b5f6;
    --light-blue: #e3f2fd;
    --warm-yellow: #ffc107;
    --accent-teal: #00796b;
    --success-green: #4caf50;
    --gradient-blue: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #0277bd 100%);
    --muted-bg: #f7f9fb;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --border-light: #e0e0e0;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ========================================
   TYPOGRAPHY ENHANCEMENTS - CROSS-PLATFORM
   ======================================== */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 0;
    letter-spacing: -0.5px;
    -webkit-font-smoothing: antialiased;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================================
   NAVBAR ENHANCEMENTS - REMOVED CONFLICTS
   Note: Navbar styles are defined in style.css
   ======================================== */

/* Hero section and other enhancements continue below... */

/* ========================================
   HERO SECTION ENHANCEMENTS
   ======================================== */

.hero-video {
    position: relative;
    min-height: 90vh;
    width: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-blue);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    opacity: 1 !important;
    z-index: 0;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.35) 0%, rgba(21, 101, 192, 0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-content .badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    display: inline-block;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.hero-content .btn-group {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-gap: 1rem;
    -moz-gap: 1rem;
    -ms-gap: 1rem;
    gap: 1rem;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-content .btn {
    min-height: 48px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    text-decoration: none;
    display: -webkit-inline-flex;
    display: -moz-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.hero-content .btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    background: -webkit-linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    background: -moz-linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.hero-content .btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.hero-content .btn-outline-light {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.hero-content .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-md);
}

.hero-content .btn-accent {
    background: linear-gradient(135deg, var(--warm-yellow) 0%, #ffb300 100%);
    color: #000;
}

.hero-content .btn-accent:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.hero-content .stats {
    display: flex;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2rem;
    font-weight: 500;
}

.hero-content .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-content .stat-item::before {
    content: '✓';
    color: var(--warm-yellow);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ========================================
   CARD COMPONENTS - PACKAGES
   ======================================== */

.package-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--primary-blue);
}

.package-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--muted-bg) 100%);
}

.package-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.package-card:hover .package-card-image img {
    transform: scale(1.08);
}

.package-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--warm-yellow);
    color: #000;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 2;
}

.package-card-badge.featured {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: #ffffff;
}

.package-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-card-destination {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.package-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.package-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.package-card-price small {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
}

.package-card-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.package-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-card-meta-item::before {
    content: '•';
    color: var(--primary-blue);
    font-weight: 700;
}

.package-card-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.package-card-actions .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.package-card-actions .btn-primary {
    background: var(--primary-blue);
    color: #ffffff;
}

.package-card-actions .btn-primary:hover {
    background: var(--dark-blue);
    box-shadow: var(--shadow-md);
}

.package-card-actions .btn-accent {
    background: var(--warm-yellow);
    color: #000;
    font-weight: 600;
}

.package-card-actions .btn-accent:hover {
    background: #ffb300;
    box-shadow: var(--shadow-md);
}

/* ========================================
   SERVICE CARDS
   ======================================== */

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.service-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card a:hover {
    color: var(--dark-blue);
    gap: 1rem;
}

/* ========================================
   PROMO CARDS
   ======================================== */

.promo-card {
    background: linear-gradient(135deg, #fff8e6 0%, #fff3cd 100%);
    border: 2px dashed var(--warm-yellow);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.promo-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: #ff9800;
}

.promo-card h4 {
    color: #d97706;
    margin-bottom: 1rem;
    font-weight: 700;
}

.promo-card .promo-badge {
    display: inline-block;
    background: var(--warm-yellow);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ========================================
   SECTIONS & SPACING
   ======================================== */

section {
    overflow-x: hidden;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.section-bg-light {
    background: var(--muted-bg);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-bg-gradient {
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(0, 119, 107, 0.05) 100%);
}

/* ========================================
   BUTTONS & CALLS TO ACTION
   ======================================== */

.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    touch-action: manipulation;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border: none;
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-accent {
    background: linear-gradient(135deg, var(--warm-yellow) 0%, #ffb300 100%);
    border: none;
    color: #000;
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ========================================
   FORMS & INPUTS
   ======================================== */

.form-control {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ========================================
   FOOTER ENHANCEMENTS
   ======================================== */

footer {
    background: linear-gradient(135deg, #0a3875 0%, var(--primary-blue) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding-top: 3rem;
    padding-bottom: 1rem;
}

footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

footer a:hover {
    color: var(--warm-yellow);
    padding-left: 0.5rem;
}

footer .footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .hero-content .btn-group {
        flex-direction: column;
    }

    .hero-content .btn {
        width: 100%;
    }

    .hero-content .stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .package-card-image {
        height: 200px;
    }

    .service-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-video {
        min-height: 100vh;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .hero-content .lead {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .package-card-image {
        height: 180px;
    }

    .package-card-actions {
        flex-direction: column;
    }

    .package-card-actions .btn {
        width: 100%;
    }
}

/* ========================================
   ACCESSIBILITY & ANIMATIONS
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   NAVBAR HAMBURGER & BUTTON ENHANCEMENTS
   ======================================== */

.navbar-toggler-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-left: 0.35rem;
    letter-spacing: 0.5px;
    display: inline-block;
    line-height: 1.2;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.navbar-toggler {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-gap: 0.25rem;
    -moz-gap: 0.25rem;
    -ms-gap: 0.25rem;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background-color: #f8f9fa;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: #e9ecef;
    border-color: var(--primary-blue);
}

.navbar-toggler:active,
.navbar-toggler[aria-expanded="true"] {
    background-color: #e9ecef;
    color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.15);
}

/* ========================================
   HERO BROWSE LOCAL BUTTON STYLING
   ======================================== */

.hero-browse-local-btn {
    border-width: 2px !important;
    border-color: var(--warm-yellow) !important;
    color: #ffffff !important;
    font-weight: 600;
    position: relative;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-browse-local-btn:hover {
    background-color: var(--warm-yellow) !important;
    color: #000 !important;
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.3);
    -webkit-box-shadow: 0 4px 16px rgba(255, 193, 7, 0.3);
    -moz-box-shadow: 0 4px 16px rgba(255, 193, 7, 0.3);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
}

.hero-browse-local-btn:focus {
    outline: 2px solid var(--warm-yellow) !important;
    outline-offset: 2px;
}

.hero-browse-local-btn:active {
    opacity: 0.9;
}

/* High contrast mode */
@media (prefers-contrast: more) {
    .navbar {
        border-bottom: 2px solid var(--text-dark);
    }

    .package-card,
    .service-card {
        border-width: 2px;
    }
}

/* Print styles */
@media print {
    .navbar, .hero-video, footer, .btn {
        display: none !important;
    }

    body {
        background: #ffffff;
        color: #000;
    }

    .package-card {
        page-break-inside: avoid;
        border: 1px solid #000;
    }
}
