/* Color Variables & Theme */
:root {
    --bg-paper: #F7F1E4;
    --text-ink: #1A1712;
    --brand-blue: #1E3F66;
    --action-orange: #E8542F;
    --divider-sand: #D9CDB4;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
    font-variant: small-caps;
    font-variant-numeric: tabular-nums;
    line-height: 1.6;
    color: var(--text-ink);
    background-color: var(--bg-paper);
    /* Ruler tick marks on edges */
    background-image: 
        repeating-linear-gradient(to right, transparent, transparent 48px, var(--divider-sand) 49px, var(--divider-sand) 50px),
        repeating-linear-gradient(to bottom, transparent, transparent 48px, var(--divider-sand) 49px, var(--divider-sand) 50px);
    background-size: 50px 50px;
    background-position: center top;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    background-color: var(--bg-paper); /* cover the ruler grid behind content */
}

/* Typography */
h1, h2, h3, h4, .logo, .nav-menu a, .btn, .section-title, .label, .flight-no, .class, .flap-text, .stub-header, .price {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-blue);
    font-variant: normal;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--brand-blue);
    padding-bottom: 10px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-primary {
    background-color: var(--action-orange);
    color: var(--white);
    border: 2px solid var(--text-ink);
    box-shadow: 4px 4px 0 var(--text-ink);
}

.btn-primary:hover {
    background-color: #d14422;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--text-ink);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--bg-paper);
    border-bottom: 3px solid var(--brand-blue);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    background-color: var(--bg-paper);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-blue);
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--action-orange);
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--brand-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 600;
}

/* Boarding Pass Hero */
.boarding-pass {
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    border: 3px solid var(--brand-blue);
    border-radius: 12px;
    position: relative;
    box-shadow: 10px 10px 0 rgba(30,63,102,0.1);
    text-align: left;
}

.pass-left {
    flex: 1;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.pass-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--brand-blue);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.flight-no, .class {
    font-size: 1.2rem;
    font-weight: 700;
}

.route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.origin, .destination {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 0.9rem;
    color: var(--text-ink);
}

.code {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-blue);
    line-height: 1;
}

.flight-path {
    flex: 1;
    position: relative;
    height: 40px;
    margin: 0 20px;
}

.path-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 2px dotted var(--brand-blue);
    transform: translateY(-50%);
}

.plane-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: var(--brand-blue);
    background: var(--white);
    padding: 0 5px;
}

.details {
    display: flex;
    justify-content: space-between;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-ink);
}

/* Rubber Stamp */
.stamp-container {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.stamp {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--action-orange);
    border: 4px solid var(--action-orange);
    padding: 5px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    opacity: 0;
}

/* Stamp Animation Triggered by generic class or default loaded */
.hero-pass .stamp {
    animation: thump 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s forwards;
}

@keyframes thump {
    0% { transform: scale(2) rotate(-20deg); opacity: 0; }
    100% { transform: scale(1) rotate(-8deg); opacity: 0.8; }
}

/* Divider / Cut line */
.pass-divider {
    width: 40px;
    position: relative;
    display: flex;
    justify-content: center;
    border-left: 2px dashed var(--divider-sand);
    border-right: 2px dashed var(--divider-sand);
    background-color: var(--bg-paper);
}

.notch {
    position: absolute;
    width: 30px;
    height: 15px;
    background-color: var(--bg-paper);
    border: 3px solid var(--brand-blue);
    left: 50%;
    transform: translateX(-50%);
}

.notch.top {
    top: -3px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border-top: none;
}

.notch.bottom {
    bottom: -3px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom: none;
}

.scissors {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--divider-sand);
}

.pass-right {
    width: 250px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Barcode */
.barcode {
    display: flex;
    height: 60px;
    width: 100%;
    margin-bottom: 20px;
}
.bar { background-color: var(--text-ink); height: 100%; margin-right: 2px; }
.w-1 { width: 2px; }
.w-2 { width: 4px; }
.w-3 { width: 6px; }
.w-4 { width: 8px; }

.hero-resource {
    margin-top: 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

.resource-link {
    color: var(--brand-blue);
    text-decoration: underline;
    font-weight: 700;
}

/* Destinations Split Flap */
.destinations-section {
    padding: 60px 0;
}

.departure-board {
    background-color: var(--text-ink);
    padding: 20px;
    border-radius: 8px;
    border: 4px solid var(--brand-blue);
    color: var(--white);
    max-width: 900px;
    margin: 0 auto 30px;
}

.board-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr 1fr;
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--divider-sand);
    margin-bottom: 10px;
    padding-left: 10px;
}

.board-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.flap {
    background-color: #0a0907;
    border-radius: 4px;
    padding: 10px;
    position: relative;
    text-align: center;
    border: 1px solid #333;
    overflow: hidden;
}

.flap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #000;
}

.flap-text {
    font-size: 1.5rem;
    color: var(--bg-paper);
    position: relative;
    z-index: 2;
    animation: flip 0.3s ease-in-out;
}

@keyframes flip {
    0% { transform: rotateX(90deg); opacity: 0; }
    100% { transform: rotateX(0deg); opacity: 1; }
}

.service-message {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    border: 2px solid var(--brand-blue);
    background-color: var(--white);
}

.service-message h3 {
    margin-bottom: 10px;
}

/* Fares Section */
.fares-section {
    padding: 60px 0;
}

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

.ticket-stub {
    background-color: var(--white);
    border: 3px solid var(--brand-blue);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 6px 6px 0 rgba(30,63,102,0.1);
}

.ticket-stub.popular {
    border-color: var(--action-orange);
    transform: translateY(-10px);
}

.popular-tag {
    background: var(--action-orange);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 1rem;
    vertical-align: middle;
    margin-left: 10px;
}

.stub-notch {
    position: absolute;
    width: 20px;
    height: 10px;
    background-color: var(--bg-paper);
    border: 3px solid var(--brand-blue);
    left: 50%;
    transform: translateX(-50%);
}
.ticket-stub.popular .stub-notch { border-color: var(--action-orange); }

.stub-notch.top {
    top: -3px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top: none;
}

.stub-notch.bottom {
    bottom: -3px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom: none;
}

.stub-header {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.stub-price {
    font-size: 3rem;
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--brand-blue);
    font-weight: 700;
    margin-bottom: 20px;
}
.ticket-stub.popular .stub-price, .ticket-stub.popular .stub-header {
    color: var(--action-orange);
}

.period {
    font-size: 1.2rem;
    color: var(--text-ink);
}

.stub-details p {
    margin-bottom: 10px;
    font-weight: 600;
}

.dash-line-horizontal {
    border-top: 2px dashed var(--divider-sand);
    margin: 20px 0;
}

/* FAQ Luggage Tags */
.faq-section {
    padding: 60px 0 100px;
}

.luggage-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.luggage-tag {
    background-color: var(--white);
    border: 3px solid var(--brand-blue);
    border-radius: 12px;
    padding: 30px;
    position: relative;
}

.tag-hole {
    width: 16px;
    height: 16px;
    background-color: var(--bg-paper);
    border: 3px solid var(--brand-blue);
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.luggage-tag h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: var(--brand-blue);
    color: var(--bg-paper);
    padding: 60px 0 30px;
    text-align: center;
    border-top: 5px solid var(--action-orange);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--bg-paper);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--action-orange);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .boarding-pass {
        flex-direction: column;
    }
    .pass-divider {
        width: 100%;
        height: 40px;
        border-left: none;
        border-right: none;
        border-top: 2px dashed var(--divider-sand);
        border-bottom: 2px dashed var(--divider-sand);
    }
    .pass-divider .notch.top {
        left: -3px;
        top: 50%;
        transform: translateY(-50%);
        width: 15px;
        height: 30px;
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
        border-bottom-left-radius: 0;
        border-top: 3px solid var(--brand-blue);
        border-left: none;
    }
    .pass-divider .notch.bottom {
        left: auto;
        right: -3px;
        top: 50%;
        transform: translateY(-50%);
        width: 15px;
        height: 30px;
        border-top-left-radius: 30px;
        border-bottom-left-radius: 30px;
        border-top-right-radius: 0;
        border-top: 3px solid var(--brand-blue);
        border-right: none;
    }
    .pass-right {
        width: 100%;
    }
    .board-header { display: none; }
    .board-row {
        grid-template-columns: 1fr;
        text-align: center;
        border-bottom: 1px solid #333;
        padding-bottom: 10px;
    }
    .nav-menu {
        display: none; /* simple mobile hide for nav, could use a hamburger but keeping simple */
    }
}


/* Guides / Magazine Section */
.guides-section {
    padding: 60px 0;
    background-color: var(--bg-paper);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.guide-card {
    background-color: var(--white);
    border: 3px solid var(--brand-blue);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-shadow: 6px 6px 0 rgba(30,63,102,0.1);
    display: flex;
    flex-direction: column;
}

.guide-category {
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--action-orange);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.guide-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--brand-blue);
    text-transform: none;
    letter-spacing: normal;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
}

.guide-excerpt {
    margin-bottom: 20px;
    flex-grow: 1;
    font-weight: 600;
    color: #444;
}

.guide-meta {
    font-size: 0.95rem;
    color: var(--text-ink);
    margin-bottom: 20px;
    border-top: 2px dashed var(--divider-sand);
    padding-top: 15px;
    font-weight: bold;
}

/* Article Page specific styles */
.article-header {
    text-align: center;
    padding: 60px 20px 40px;
    border-bottom: 4px solid var(--brand-blue);
    margin-bottom: 40px;
    background-color: var(--white);
    border: 3px solid var(--brand-blue);
    border-radius: 12px;
    box-shadow: 6px 6px 0 rgba(30,63,102,0.1);
}
.article-title {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 20px;
    font-family: 'Barlow', sans-serif;
    text-transform: none;
    letter-spacing: normal;
}
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    font-size: 1.15rem;
    background-color: var(--white);
    border: 3px solid var(--brand-blue);
    border-radius: 12px;
    box-shadow: 6px 6px 0 rgba(30,63,102,0.1);
    margin-bottom: 60px;
}
.article-content h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    color: var(--brand-blue);
    margin: 40px 0 20px;
    border-bottom: 2px dashed var(--divider-sand);
    padding-bottom: 10px;
}
.article-content h3 {
    font-size: 1.5rem;
    color: var(--action-orange);
    margin: 30px 0 15px;
    text-transform: none;
    letter-spacing: normal;
    font-family: 'Barlow', sans-serif;
}
.article-content p {
    margin-bottom: 20px;
}
.article-content a {
    color: var(--action-orange);
    text-decoration: underline;
    font-weight: bold;
}
.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}
.article-content li {
    margin-bottom: 10px;
}
.breadcrumb {
    margin-bottom: 20px;
    font-weight: bold;
}
.breadcrumb a {
    color: var(--brand-blue);
    text-decoration: underline;
}


/* Floating Buttons */
.floating-btn-group {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}
.floating-btn {
    width: 50px;
    height: 50px;
    background-color: var(--brand-blue);
    color: var(--bg-paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 2px 2px 0 var(--text-ink);
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none;
    border: 2px solid var(--text-ink);
}
.floating-btn:hover {
    transform: translateY(-3px);
    background-color: var(--action-orange);
    color: var(--white);
}

/* Hero Image */
.hero-image-wrapper {
    max-width: 900px;
    margin: 0 auto 30px;
    border: 4px solid var(--brand-blue);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 10px 10px 0 rgba(30,63,102,0.1);
    position: relative;
    background-color: var(--white);
    padding: 10px;
}
.hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--brand-blue);
    display: block;
    filter: sepia(0.4) contrast(1.1) brightness(0.9); /* Vintage effect */
}

/* Next Article Box */
.next-article-box {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--bg-paper);
    border: 2px dashed var(--brand-blue);
    border-radius: 12px;
    text-align: center;
}
.next-article-box h4 {
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--text-ink);
    margin-bottom: 15px;
    font-size: 1.2rem;
}


/* Trust & Authority Elements */
.trust-band {
    background-color: var(--brand-blue);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 2px;
}
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.trust-badge {
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 6px;
    border: 1px dashed var(--divider-sand);
    font-size: 1.1rem;
    font-weight: 700;
}
.company-info {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #a0b2c6;
    line-height: 1.8;
}
.company-info strong {
    color: var(--white);
    font-size: 1.1rem;
}
.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.social-links a {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    background-color: var(--bg-paper);
    color: var(--brand-blue);
    border-radius: 50%;
    font-weight: bold;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.social-links a:hover {
    background-color: var(--action-orange);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
}


/* Affiliate Disclosure */
.affiliate-disclosure {
    background-color: rgba(232, 84, 47, 0.08);
    border-left: 5px solid var(--action-orange);
    padding: 15px 20px;
    margin: 0 auto 40px;
    max-width: 900px;
    font-size: 0.95rem;
    color: var(--text-ink);
    border-radius: 0 8px 8px 0;
}
.affiliate-disclosure strong {
    color: var(--action-orange);
}

/* Pros and Cons */
.pros-cons-section {
    padding: 60px 0;
    background-color: var(--white);
    border-top: 2px dashed var(--divider-sand);
    border-bottom: 2px dashed var(--divider-sand);
}
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.pros-box, .cons-box {
    padding: 30px;
    border-radius: 12px;
    border: 3px solid var(--brand-blue);
    position: relative;
    box-shadow: 6px 6px 0 rgba(30,63,102,0.1);
    background-color: var(--bg-paper);
}
.pros-box h3, .cons-box h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--brand-blue);
    padding-bottom: 10px;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 1px;
}
.pros-box h3 { color: #28a745; border-color: #28a745; }
.cons-box h3 { color: var(--action-orange); border-color: var(--action-orange); }
.pros-box ul, .cons-box ul {
    list-style: none;
    padding: 0;
}
.pros-box li, .cons-box li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-weight: 600;
}
.pros-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}
.cons-box li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: var(--action-orange);
    font-weight: bold;
    font-size: 1.2rem;
}
@media (max-width: 768px) {
    .pros-cons-grid { grid-template-columns: 1fr; }
}
