/* SN Guided Tours - Main Stylesheet */

/* General Body and Font Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f9fb;
    /* Light blue-gray background */
    color: #1a202c;
    /* Dark navy text */
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

.interactive-element:hover {
    cursor: pointer;
    /* Use standard pointer for clickable items for best practice */
}

.interactive-element {
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* Standard syntax */
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Custom Text Utilities */
.text-shadow-heavy {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Baguette Crumb Trail Effect */
.baguette-crumb {
    position: absolute;
    pointer-events: none;
    animation: fade-out-tumble 1.2s forwards ease-out;
    z-index: 9998;
}

@keyframes fade-out-tumble {
    from {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }

    to {
        opacity: 0;
        transform: var(--transform-end);
    }
}

/* Firework Particle Style */
.firework-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 1;
}

@keyframes firework-anim {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--translateX), var(--translateY)) scale(0);
        opacity: 0;
    }
}

/* Navigation Link Styles */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4a69bd;
    transition: width 0.3s ease;
}

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

/* Button Styles */
.btn-primary {
    background-color: #4a69bd;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #6a89cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Card Styles */
.card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 105, 189, 0.1);
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body {
    flex-grow: 1;
}

/* Modal Styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 90%;
    width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop.active .modal-content {
    transform: scale(1);
}

/* Blog Post Specific Styles */
.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    line-height: 2.25rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p,
.article-content li {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.article-content ul {
    list-style-position: inside;
    list-style-type: disc;
}

/* Review Slider Styles */
.review-card {
    flex: 0 0 90%;
    width: 90%;
    margin-left: 1rem;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.review-card:first-child {
    margin-left: 0;
}

@media (min-width: 768px) {
    .review-card {
        flex-basis: 45%;
        width: 45%;
    }
}

@media (min-width: 1024px) {
    .review-card {
        flex-basis: 31%;
        width: 31%;
    }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a202c;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.slider-arrow:hover {
    background-color: #fff;
    transform: translateY(-50%) scale(1.1);
}

/* Featured Blog Post Styles (Homepage) */
.featured-blog-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.featured-blog-image-link {
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
}

.featured-blog-image-link:hover {
    transform: scale(1.03);
}

.featured-blog-content {
    width: 100%;
}

@media (min-width: 768px) {
    .featured-blog-card {
        flex-direction: row;
        gap: 2.5rem;
    }

    .featured-blog-card:nth-child(even) {
        flex-direction: row-reverse;
    }

    .featured-blog-image-link {
        width: 40%;
        flex-shrink: 0;
    }

    .featured-blog-content {
        width: 60%;
    }
}

/* Promotion Styles -- RESTORED */
.discount-banner {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #e3e700;
    color: rgb(64, 28, 223);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-bottom-right-radius: 0.5rem;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.original-price {
    font-size: 1rem;
    color: #718096;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.price-display.has-discount {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
}

/* Footer Form Input Styles */
.form-input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #4a5568;
    background-color: #2d3748;
    color: #ffffff;
    transition: all 0.2s ease-in-out;
}

.form-input::placeholder {
    color: #a0aec0;
}

.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #6a89cc;
    border-color: #6a89cc;
}

.rotating-banner {
    animation: rotate-banner 4s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes rotate-banner {
    0% {
        transform: perspective(500px) rotateY(-4deg);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: perspective(500px) rotateY(4deg);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    100% {
        transform: perspective(500px) rotateY(-4deg);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}

/* Bokun Button Styles */
#bokun_ddac3360_b6ce_498e_ac1a_b5ac3206f5cf,
#bokun_e99b5111_1d6e_4986_bbef_778cd5b6d5a1 {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #4a69bd;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: all .3s ease;
}

#bokun_ddac3360_b6ce_498e_ac1a_b5ac3206f5cf:hover,
#bokun_e99b5111_1d6e_4986_bbef_778cd5b6d5a1:hover {
    background: #6a89cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 105, 189, 0.2);
}

#bokun_ddac3360_b6ce_498e_ac1a_b5ac3206f5cf:active,
#bokun_e99b5111_1d6e_4986_bbef_778cd5b6d5a1:active {
    background: #39539b;
    transform: translateY(0);
}

/* --- Blog Page Redesign Styles --- */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 105, 189, 0.1);
}

.blog-card-image {
    transition: transform 0.3s ease;
}

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

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* --- Blog Post 1 & 2 Specific Styles --- */
.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #1a202c;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.filter-btn.active {
    background-color: #4a69bd;
    color: white;
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #cbd5e1;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container.left {
    left: 0;
}

.timeline-container.right {
    left: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid #4a69bd;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-container.right::after {
    left: -12px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.timeline-item {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.window-description-box {
    transition: background-color: 0.5s ease;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-container.left,
    .timeline-container.right {
        left: 0%;
    }

    .timeline-container::after {
        left: 18px;
    }
}

/* --- Blog Post 3 (Notre Dame Guide) Specific Styles --- */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    height: 300px;
    max-height: 400px;
}
@media (min-width: 768px) { 
    .chart-container { 
        height: 400px; 
    } 
}

.centered-timeline {
    position: relative;
    padding: 2rem 0;
}
.centered-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #e2e8f0; /* Tailwind gray-200 */
}

.centered-timeline-item-container {
    position: relative;
    width: 50%;
    padding: 1rem 2rem;
}
.centered-timeline-item-container:nth-child(odd) {
    left: 0;
    padding-left: 2rem;
    text-align: right;
}
.centered-timeline-item-container:nth-child(even) {
    left: 50%;
    padding-right: 2rem;
    text-align: left;
}

.centered-timeline-dot {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid #4a69bd; /* Site primary color */
}
.centered-timeline-item-container:nth-child(odd) .centered-timeline-dot {
    right: -10px;
}
.centered-timeline-item-container:nth-child(even) .centered-timeline-dot {
    left: -10px;
}

@media screen and (max-width: 768px) {
    .centered-timeline::before {
        left: 10px;
    }
    .centered-timeline-item-container {
        width: 100%;
        padding-left: 45px;
        padding-right: 0;
        text-align: left !important;
    }
    .centered-timeline-item-container:nth-child(odd), 
    .centered-timeline-item-container:nth-child(even) {
        left: 0;
    }
    .centered-timeline-dot {
        left: 0;
    }
}

/* --- FAQ Section Styles --- */
.faq-item {
    background-color: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.faq-item:hover {
    box-shadow: 0 4px 15px rgba(74, 105, 189, 0.08);
}
.faq-header {
    width: 100%;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-weight: 600;
    color: #1a202c;
    background: none;
    border: none;
    cursor: pointer;
}
.faq-header:hover {
    color: #4a69bd;
}
.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #4a69bd;
    transition: transform 0.3s ease;
}
.faq-header.active .faq-icon {
    transform: rotate(45deg);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-content p {
    padding: 0 1.25rem 1rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
}

/* --- Payment Logos Styles --- */
.payment-logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: 16px;
}

.payment-icon {
    height: 20px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.payment-logos-container:hover .payment-icon {
    opacity: 1;
}

.payment-icon:hover {
    opacity: 1; /* This is redundant but ensures individual hover works too */
}

.secure-payment-text {
    font-size: 0.75rem; /* 12px */
    color: #718096; /* gray-500 */
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}


/* --- Ko-fi Widget Position Adjustment --- */
#kofi-floating-chat-widget-container {
    bottom: 75px !important;
    right: 15px !important;
}