/* ============================================
   Travel Landing Page Styles
   Austin Spanish Academy
   VERSION: 1.0.1
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

/* Hide WordPress-injected empty paragraphs BEFORE the landing page content */
.theme-content > p:first-child,
.theme-content > p:empty,
.theme-content > p:first-child br {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

/* Base Reset for Landing Page */
.travel-landing * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Force body to hide horizontal overflow on travel page */
body:has(.travel-landing) {
    overflow-x: hidden !important;
}

.travel-landing {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #1F2937;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.travel-landing section {
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

.travel-landing h1,
.travel-landing h2,
.travel-landing h3,
.travel-landing h4 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

/* ============================================
   Hero Section with Background Image
   ============================================ */
.travel-hero {
    background-image: url('/wp-content/uploads/2025/01/5_toledo_spain-1536x1018.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    overflow: hidden;
    padding: 120px 20px 100px !important;
    width: 100% !important;
    text-align: center;
}

.travel-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.7) 0%, rgba(45, 74, 111, 0.6) 100%);
    pointer-events: none;
}

.travel-hero-container {
    max-width: 900px !important;
    margin: 0 auto !important;
    position: relative;
    z-index: 1;
    width: 100% !important;
}

.travel-hero-content {
    color: #ffffff !important;
}

.travel-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    margin-bottom: 16px !important;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.travel-hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    max-width: 600px;
    margin: 0 auto !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Coming Soon Announcement Section
   ============================================ */
.travel-announcement {
    background: #ffffff !important;
    padding: 80px 20px !important;
    text-align: center;
}

.travel-announcement-container {
    max-width: 700px !important;
    margin: 0 auto !important;
}

.travel-announcement-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #00A0B0 0%, #008B9A 100%) !important;
    color: #ffffff !important;
    width: 80px;
    height: 80px;
    border-radius: 50% !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    box-shadow: 0 8px 30px rgba(0, 160, 176, 0.3) !important;
    animation: travel-pulse 2s ease-in-out infinite;
}

@keyframes travel-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 30px rgba(0, 160, 176, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 12px 40px rgba(0, 160, 176, 0.4); }
}

.travel-announcement h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    color: #1A365D !important;
    margin-bottom: 20px !important;
}

.travel-announcement-text {
    font-size: 1.125rem !important;
    color: #4B5563 !important;
    margin-bottom: 12px !important;
    line-height: 1.7 !important;
}

.travel-announcement-subtext {
    font-size: 1rem !important;
    color: #6B7280 !important;
    margin-bottom: 32px !important;
}

.travel-notify-form {
    display: flex !important;
    justify-content: center !important;
}

/* Buttons */
.travel-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #00A0B0 !important;
    color: #ffffff !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 160, 176, 0.3) !important;
}

.travel-btn-primary:hover {
    background: #008B9A !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 160, 176, 0.4) !important;
    color: #ffffff !important;
}

.travel-btn-primary svg {
    width: 20px !important;
    height: 20px !important;
}

.travel-btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    background: transparent !important;
    color: #1A365D !important;
    padding: 14px 28px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    border: 2px solid #1A365D !important;
    transition: all 0.3s ease !important;
}

.travel-btn-secondary:hover {
    background: #1A365D !important;
    color: #ffffff !important;
}

.travel-btn-white {
    display: inline-flex !important;
    align-items: center !important;
    background: #ffffff !important;
    color: #1A365D !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.travel-btn-white:hover {
    background: #F8FAFC !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
    color: #1A365D !important;
}

/* ============================================
   Icon Strip Section with Images
   ============================================ */
.travel-icons {
    background: #F8FAFC !important;
    padding: 50px 20px !important;
}

.travel-icons-container {
    max-width: 900px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-around !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
}

.travel-icon-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
}

.travel-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
    border: 3px solid #1A365D;
}

.travel-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.travel-icon-item span {
    font-weight: 600 !important;
    color: #1A365D !important;
    font-size: 0.95rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Why Travel Section with Image Cards
   ============================================ */
.travel-why {
    background: #ffffff !important;
    padding: 80px 20px !important;
}

.travel-why-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
}

.travel-section-header {
    text-align: center;
    margin-bottom: 50px !important;
}

.travel-section-header h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem) !important;
    color: #1A365D !important;
    margin-bottom: 12px !important;
}

.travel-section-header p {
    font-size: 1.1rem !important;
    color: #6B7280 !important;
}

.travel-section-header-light h2 {
    color: #ffffff !important;
}

.travel-section-header-light p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.travel-why-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 30px !important;
}

.travel-why-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
}

.travel-why-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12) !important;
}

.travel-why-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.travel-why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.travel-why-card:hover .travel-why-image img {
    transform: scale(1.05);
}

.travel-why-card h3 {
    font-size: 1.25rem !important;
    color: #1A365D !important;
    margin: 20px 20px 12px !important;
}

.travel-why-card p {
    font-size: 0.95rem !important;
    color: #6B7280 !important;
    line-height: 1.6 !important;
    margin: 0 20px 20px !important;
}

/* ============================================
   Past Trip Section
   ============================================ */
.travel-past {
    background: linear-gradient(135deg, #1A365D 0%, #2d4a6f 100%) !important;
    padding: 80px 20px !important;
}

.travel-past-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
}

.travel-past-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 50px !important;
    align-items: center !important;
}

.travel-past-text {
    color: #ffffff;
}

.travel-past-text h3 {
    font-size: 1.75rem !important;
    margin-bottom: 20px !important;
    color: #ffffff !important;
}

.travel-past-text > p {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 20px !important;
    line-height: 1.7 !important;
}

.travel-past-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
}

.travel-past-list li {
    padding: 8px 0 8px 28px !important;
    position: relative;
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.travel-past-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00A0B0;
    font-weight: bold;
}

.travel-past-quote {
    font-style: italic !important;
    border-left: 3px solid #00A0B0;
    padding-left: 20px !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.travel-past-visual {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.travel-past-image {
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ============================================
   Three-column Feature Section
   ============================================ */
.travel-features {
    background: #F8FAFC !important;
    padding: 60px 20px !important;
}

.travel-features-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

.travel-feature-card {
    text-align: center;
}

.travel-feature-image {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.travel-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.travel-feature-card:hover .travel-feature-image img {
    transform: scale(1.05);
}

.travel-feature-card h4 {
    font-size: 1.1rem !important;
    color: #1A365D !important;
}

/* ============================================
   Experience Culture Section
   ============================================ */
.travel-culture {
    background-image: url('/wp-content/uploads/2025/01/4_toledo_1200x800.jpg');
    background-size: cover;
    background-position: center;
    /* Removed background-attachment: fixed - causes janky scrolling */
    position: relative;
    padding: 100px 20px !important;
}

.travel-culture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 54, 93, 0.85);
}

.travel-culture-container {
    max-width: 800px !important;
    margin: 0 auto !important;
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
}

.travel-culture h3 {
    font-size: clamp(1.5rem, 3.5vw, 2rem) !important;
    color: #ffffff !important;
    margin-bottom: 24px !important;
}

.travel-culture p {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ============================================
   Adventure Awaits CTA Section
   ============================================ */
.travel-adventure {
    background-image: url('/wp-content/uploads/2025/01/toledo_1280x800.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 20px !important;
    text-align: center;
}

.travel-adventure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 160, 176, 0.9) 0%, rgba(0, 139, 154, 0.85) 100%);
}

.travel-adventure-container {
    max-width: 700px !important;
    margin: 0 auto !important;
    position: relative;
    z-index: 1;
}

.travel-adventure h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    color: #ffffff !important;
    margin-bottom: 16px !important;
}

.travel-adventure p {
    font-size: 1.15rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 32px !important;
}

/* ============================================
   Video Section
   ============================================ */
.travel-video {
    background: #ffffff !important;
    padding: 80px 20px !important;
}

.travel-video-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 50px !important;
    align-items: center !important;
}

.travel-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.travel-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.travel-cta-image {
    padding-bottom: 0;
    height: auto;
}

.travel-cta-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.travel-video-content h3 {
    font-size: 1.5rem !important;
    color: #1A365D !important;
    margin-bottom: 20px !important;
}

.travel-video-content p {
    font-size: 1rem !important;
    color: #4B5563 !important;
    margin-bottom: 16px !important;
    line-height: 1.7 !important;
}

.travel-video-buttons {
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    margin-top: 24px !important;
}

/* ============================================
   Footer Section
   ============================================ */
.travel-footer {
    background: #1A365D !important;
    padding: 30px 20px !important;
    text-align: center;
}

.travel-footer-container {
    max-width: 700px !important;
    margin: 0 auto !important;
}

.travel-footer p {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.travel-footer a {
    color: #00A0B0 !important;
    text-decoration: none !important;
}

.travel-footer a:hover {
    text-decoration: underline !important;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 900px) {
    .travel-features-container {
        grid-template-columns: 1fr !important;
        max-width: 400px;
    }

    .travel-video-container {
        grid-template-columns: 1fr !important;
    }

    .travel-video-embed {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .travel-hero {
        min-height: 50vh;
        padding: 100px 20px 80px !important;
    }

    .travel-announcement {
        padding: 60px 20px !important;
    }

    .travel-icons-container {
        gap: 25px !important;
    }

    .travel-icon-circle {
        width: 80px;
        height: 80px;
    }

    .travel-why,
    .travel-past,
    .travel-features,
    .travel-culture,
    .travel-adventure,
    .travel-video {
        padding: 60px 20px !important;
    }

    .travel-past-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .travel-past-visual {
        order: -1;
    }

    .travel-culture {
        background-attachment: scroll;
    }

    .travel-video-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .travel-btn-primary,
    .travel-btn-secondary {
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .travel-icons-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .travel-why-grid {
        grid-template-columns: 1fr !important;
    }

    .travel-announcement-badge {
        width: 70px;
        height: 70px;
        font-size: 1.25rem !important;
    }

    .travel-icon-circle {
        width: 70px;
        height: 70px;
    }
}
