/* content-pages.css - Shared styles for all content pages */

/* Section styling */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-intro h2 {
    color: var(--color-gold);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.section-intro p {
    color: var(--color-platinum);
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Full width section with background */
.full-width-section {
    position: relative;
    padding: 6rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 5rem 0;
}

.full-width-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 20, 35, 0.8);
    z-index: 1;
}

.full-width-section .container {
    position: relative;
    z-index: 2;
}

.section-content {
    color: var(--color-platinum);
    text-align: center;
}

.section-content h2 {
    color: var(--color-gold);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

/* Call to action section */
.cta-section {
    text-align: center;
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--color-gold);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.cta-section p {
    color: var(--color-platinum);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.primary-btn {
    background: var(--color-gold);
    color: var(--color-navy);
}

.primary-btn:hover {
    background: #e1c47a;
}

.secondary-btn {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

.secondary-btn:hover {
    background: rgba(212, 180, 106, 0.1);
}

/* Two column layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

@media (min-width: 768px) {
    .two-column {
        grid-template-columns: 1fr 1fr;
    }
}

/* Media object */
.media-object {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .media-object {
        flex-direction: row;
        align-items: center;
    }

    .media-object.reversed {
        flex-direction: row-reverse;
    }
}

.media-image {
    flex: 1;
}

.media-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.media-content {
    flex: 1;
}

.media-content h2 {
    color: var(--color-gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.media-content p {
    color: var(--color-platinum);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Card grid layouts */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background: rgba(25, 35, 58, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-family: 'Playfair Display', serif;
}

.card-content p {
    color: var(--color-platinum);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* Destinations page specific styling */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.destination-card {
    background: #181818;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    color: #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(201, 178, 107, 0.15);
}

.destination-card img {
    width: 100%;
    max-width: 220px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.destination-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
    font-family: 'Playfair Display', serif;
}

.destination-card p {
    font-size: 1rem;
    margin-bottom: 0.7rem;
    flex-grow: 1;
}

.destination-card .cta-btn {
    margin-top: 0.5rem;
}


/* FAQ page specific styling */
.faq-container {
    margin: 3rem 0;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(25, 35, 58, 0.7);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--color-gold);
    background: rgba(25, 35, 58, 0.9);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(25, 35, 58, 1);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 0;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
    opacity: 1;
}

.faq-answer p {
    color: var(--color-platinum);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Testimonials page specific styling */
.testimonial {
    background: rgba(25, 35, 58, 0.7);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.testimonial.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-content {
    position: relative;
    padding: 1.5rem 0;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    position: absolute;
    color: var(--color-gold);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content::before {
    left: -1rem;
    top: -1rem;
}

.testimonial-content::after {
    content: '"';
    right: -1rem;
    bottom: -3rem;
}

.testimonial-content p {
    color: var(--color-platinum);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-gold);
}

.testimonial-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    color: var(--color-gold);
    margin-bottom: 0.2rem;
}

.testimonial-author-info p {
    color: var(--color-platinum);
    opacity: 0.7;
    font-size: 0.9rem;
}

.testimonial-rating {
    margin-top: 0.5rem;
}

.testimonial-rating i {
    color: var(--color-gold);
    margin-right: 0.2rem;
}

/* Parallax hero section */
.parallax-hero {
    position: relative;
    width: 100%;
    min-height: 320px;
    height: 48vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a1423;
}

.parallax-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.parallax-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 20, 35, 0.2) 0%, rgba(25, 35, 58, 0.85) 100%);
    z-index: 2;
}

.parallax-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
}

/* Hero video fix */
.hero-video-wrapper {
    position: relative;
    height: 100vh;
    min-height: 320px;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Fleet grid */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.fleet-item {
    background: #181818;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    color: #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    transition: box-shadow 0.2s, transform 0.2s;
}

.fleet-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(201, 178, 107, 0.15);
}

.fleet-item img {
    width: 100%;
    max-width: 220px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.fleet-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.fleet-item p {
    font-size: 1rem;
    margin-bottom: 0.7rem;
}

.fleet-item .cta-btn {
    margin-top: 0.5rem;
}

/* Search/filter bar */
.fleet-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.fleet-filter input[type="search"] {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #c9b26b;
    background: var(--color-navy-light);
    color: var(--color-platinum);
    font-size: 1rem;
}

.fleet-filter button {
    background: var(--color-gold);
    color: #181818;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.fleet-filter button.active {
    background: var(--color-blue-accent);
    color: #fff;
}

/* Glide Carousel (for testimonials) */
.gallery {
    width: 100%;
    max-width: 75vw;
    margin: 0 auto;
}

.glide {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 32px auto;
}

.glide__track {
    overflow: hidden;
}

.glide__slides {
    list-style: none;
    padding-left: 0;
    display: flex;
    gap: 16px;
    margin: 0 auto;
    padding-bottom: 8px;
}

.glide__slide {
    flex: 0 0 auto;
    width: 345px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.glide__slide img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.glide__slide .name {
    font-weight: bold;
    color: var(--color-gold);
}

.glide__slide .text {
    font-style: italic;
    color: var(--color-platinum);
}

.glide__arrows {
    text-align: center;
    margin-top: 1rem;
}

.glide__arrow {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.5rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.glide__arrow:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

/* Animation utilities */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for reveal elements */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }


/* --- Accessibility Improvements --- */
.destination-card,
.fleet-item,
.glide__arrow,
.faq-question {
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color 0.2s;
}

:is(.destination-card, .fleet-item, .glide__arrow, .faq-question):focus-visible {
    outline: 2px solid var(--color-gold);
}


/* --- Responsive Breakpoints --- */
@media (max-width: 900px) {
    .gallery {
        width: 90vw;
    }
}

@media (max-width: 768px) {
    .section-intro h2,
    .section-content h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gallery {
        width: 98vw;
    }
}