/* School Trips Page Styles */

/* General */
.school-trips-page {
    background: #fafafa;
}

/* Back Link */
.back-link {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    background: #C36EA9;
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.school-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, #4a2c2a 0%, #2d1810 100%);
    background-image: url('https://www.mayanmonkey.es/en/assets/images/school-trip3-2000x1500.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.school-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 44, 42, 0.8) 0%, rgba(45, 24, 16, 0.85) 100%);
}

.school-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.school-hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.school-hero-content p {
    font-size: 1.5rem;
    opacity: 0.95;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #C36EA9, #a855a1);
    color: white;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(195, 110, 169, 0.4);
    color: white;
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-secondary:hover {
    background: white;
    color: #4a2c2a;
}

/* Floating Stats in Hero */
.hero-floating-stats {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 50px;
    z-index: 10;
}

.floating-stat {
    text-align: center;
    color: white;
}

.floating-stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.floating-stat .label {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Photo Strip */
.photo-strip {
    display: flex;
    overflow: hidden;
    background: #2d1810;
}

.photo-strip-item {
    flex: 1;
    min-width: 16.666%;
    height: 150px;
    overflow: hidden;
}

.photo-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-strip-item:hover img {
    transform: scale(1.1);
}

/* Introduction Section */
.intro-section {
    padding: 100px 0;
    background: white;
}

.intro-content {
    padding-right: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #C36EA9, #a855a1);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.intro-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.2;
}

.intro-content .lead {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.intro-content p {
    color: #666;
    line-height: 1.8;
}

.intro-highlights {
    margin-top: 35px;
}

.intro-highlights .highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.intro-highlights .highlight-item:last-child {
    border-bottom: none;
}

.intro-highlights .highlight-item i {
    font-size: 1.5rem;
    color: #C36EA9;
}

.intro-highlights .highlight-item span {
    color: #555;
}

.intro-images {
    position: relative;
    padding: 30px;
}

.intro-img-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.intro-img-floating {
    position: absolute;
    bottom: 0;
    left: -30px;
    width: 45%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border: 5px solid white;
}

/* Offers Section */
.offers-section {
    padding: 100px 0;
    background: #f8f5f2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.section-title.text-center {
    text-align: center;
    margin-bottom: 60px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offer-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.offer-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-card:hover .offer-image img {
    transform: scale(1.1);
}

.offer-icon {
    position: absolute;
    bottom: -25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #C36EA9, #a855a1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(195, 110, 169, 0.4);
}

.offer-icon i {
    font-size: 1.3rem;
    color: white;
}

.offer-content {
    padding: 35px 25px 25px;
}

.offer-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.offer-tagline {
    color: #C36EA9;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.offer-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.offer-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: #555;
    font-size: 0.95rem;
}

.offer-features li i {
    color: #28a745;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(195, 110, 169, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

/* Packages Section */
.packages-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #4a2c2a 0%, #2d1810 100%);
}

.packages-section .section-title {
    color: white;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.package-card.featured {
    border: 3px solid #C36EA9;
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #C36EA9, #a855a1);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.package-image {
    height: 180px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.package-card:hover .package-image img {
    transform: scale(1.1);
}

.package-header {
    padding: 25px 25px 15px;
    text-align: center;
}

.package-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.package-duration {
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.package-description {
    padding: 0 25px;
    color: #555;
    line-height: 1.7;
    text-align: center;
    flex: 1;
}

.package-includes {
    list-style: none;
    padding: 20px 25px;
    margin: 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.package-includes li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #444;
}

.package-includes li i {
    color: #28a745;
    font-size: 1.1rem;
}

.package-footer {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.package-info {
    color: #888;
    font-size: 0.85rem;
}

.btn-package {
    background: linear-gradient(135deg, #C36EA9, #a855a1);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-package:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(195, 110, 169, 0.4);
    color: white;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: #f8f5f2;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.testimonial-card.highlight {
    background: linear-gradient(135deg, #C36EA9, #a855a1);
    color: white;
}

.testimonial-card.highlight .testimonial-author span {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-stars {
    margin-bottom: 15px;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-size: 1rem;
}

.testimonial-author span {
    color: #C36EA9;
    font-size: 0.9rem;
}

/* CTA Banner */
.cta-banner {
    position: relative;
    padding: 100px 0;
    background: url('https://www.mayanmonkey.es/en/assets/images/eic-school-trip-12-05-21-v-2000x1500.jpg') center/cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(195, 110, 169, 0.9), rgba(134, 12, 126, 0.9));
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: white;
    color: #C36EA9;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #a855a1;
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-secondary:hover {
    background: white;
    color: #C36EA9;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.contact-info > p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-image {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    border-radius: 15px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    color: #444;
}

.contact-item i {
    font-size: 1.3rem;
    color: #C36EA9;
    width: 25px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.4);
    color: white;
}

/* Contact Form */
.contact-form-wrapper {
    background: #f8f5f2;
    padding: 40px;
    border-radius: 20px;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #C36EA9;
    box-shadow: 0 0 0 3px rgba(195, 110, 169, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #C36EA9, #a855a1);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(195, 110, 169, 0.4);
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-success i {
    font-size: 1.3rem;
}

/* Footer */
.school-footer {
    background: #2d1810;
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 0;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .school-hero-content h1 {
        font-size: 3rem;
    }

    .hero-floating-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 40px;
        justify-content: center;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 2;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .package-card.featured {
        transform: none;
    }

    .package-card.featured:hover {
        transform: translateY(-10px);
    }

    .intro-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .intro-img-floating {
        left: 0;
    }
}

@media (max-width: 767px) {
    .back-link {
        top: 10px;
        left: 10px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .school-hero {
        height: auto;
        min-height: 500px;
        padding: 120px 0 100px;
    }

    .school-hero-content h1 {
        font-size: 2.2rem;
    }

    .school-hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary, .btn-hero-secondary {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: auto;
        justify-content: center;
    }

    .hero-floating-stats {
        flex-direction: column;
        gap: 20px;
    }

    .photo-strip {
        display: none;
    }

    .intro-section, .offers-section, .gallery-section, .packages-section, .testimonials-section, .contact-section {
        padding: 60px 0;
    }

    .intro-content h2, .section-title {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .floating-stat .number {
        font-size: 2rem;
    }

    .intro-img-floating {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* School Workshops Section */
.school-workshops-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f4f6 0%, #fff 100%);
}

.school-workshops-section .section-title {
    margin-bottom: 50px;
}

.school-workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.school-workshops-grid .workshop-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.school-workshops-grid .workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Video player styles for school workshops */
.school-workshops-grid .video-js {
    width: 100%;
    aspect-ratio: 16/9;
}

.school-workshops-grid .video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.school-workshops-grid .slick-carousel {
    margin-bottom: 0;
}

.school-workshops-grid .slick-dots {
    bottom: 10px;
}

.school-workshops-grid .slick-prev,
.school-workshops-grid .slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
}

.school-workshops-grid .slick-prev {
    left: 10px;
}

.school-workshops-grid .slick-next {
    right: 10px;
}

@media (max-width: 767px) {
    .school-workshops-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}
