/* ==========================================================================
   Royal Blue Event Center - Perfect Replica Stylesheet
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Sansita+Swashed:wght@400;500;600;700&family=Sansita:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1B53D3;
    --navy-blue: #012F68;
    --heading-color: #42494D;
    --text-color: #555555;
    --divider-color: #AEA6A6;
    --font-heading: 'Sansita Swashed', cursive, serif;
    --font-sansita: 'Sansita', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* -------------------------------------------------------------
   Top Blue Bar
   ------------------------------------------------------------- */
.top-blue-bar {
    width: 100%;
    height: 28px;
    background-color: var(--primary-blue);
    position: relative;
    z-index: 100;
}

/* -------------------------------------------------------------
   Header & Navigation
   ------------------------------------------------------------- */
.main-header {
    width: 100%;
    background-color: #FFFFFF;
    background-image: url('../img/pattern-1-1.jpg');
    background-repeat: repeat;
    position: relative;
    z-index: 110;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    min-height: 80px;
    position: relative;
}

/* Overhanging Logo Box */
.logo-wrapper {
    position: absolute;
    top: -28px; /* extends upward into top-blue-bar */
    left: 20px;
    z-index: 120;
}

.logo-badge {
    background-color: #FFFFFF;
    padding: 18px 25px 22px 25px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.45);
    display: block;
    width: 275px;
    text-align: center;
}

.logo-badge img {
    width: 100%;
    height: auto;
    display: block;
}

.nav-container {
    margin-left: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 34px;
}

.nav-links li a {
    font-family: var(--font-sansita);
    font-size: 17px;
    font-weight: 500;
    color: var(--navy-blue);
    transition: color 0.2s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #38373C;
}

.mobile-nav-toggle {
    display: none;
    font-size: 26px;
    color: var(--navy-blue);
    cursor: pointer;
}

/* -------------------------------------------------------------
   Hero Slider Section
   ------------------------------------------------------------- */
.slider-section {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background-color: #111;
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.25s;
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Breadcrumbs Bar */
.breadcrumbs-bar {
    width: 100%;
    height: 38px;
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.breadcrumbs-inner {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 13.5px;
}

.breadcrumbs-inner a {
    color: #FFFFFF;
    font-weight: 500;
}

/* -------------------------------------------------------------
   Reusable Typography & Dividers
   ------------------------------------------------------------- */
.site-section {
    padding: 60px 0;
    position: relative;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-heading {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px auto 26px auto;
    width: 100%;
    max-width: 760px;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--divider-color);
}

.section-divider .divider-icon {
    padding: 0 16px;
    color: var(--divider-color);
    font-size: 14px;
}

.section-description {
    font-family: var(--font-sansita);
    font-size: 16px;
    color: #4a4a4a;
    text-align: center;
    max-width: 960px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
}

.section-description strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* -------------------------------------------------------------
   Section 1: ¿Quiénes Somos?
   ------------------------------------------------------------- */
.about-section {
    background-image: url('../img/pattern-1-1.jpg');
    background-repeat: repeat;
    background-color: #fafafa;
}

.about-grid {
    display: grid;
    grid-template-columns: 44% 56%;
    gap: 40px;
    align-items: center;
}

/* Photobooth Video Card */
.video-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    background-color: #000;
}

.video-card-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.about-text-content {
    padding-left: 10px;
}

.about-text-content .section-heading {
    text-align: left;
    font-size: 34px;
}

.about-text-content .section-divider {
    margin: 10px 0 20px 0;
    max-width: 100%;
}

.about-text-content p {
    font-family: var(--font-sansita);
    font-size: 16px;
    color: #444444;
    line-height: 1.7;
    margin-bottom: 22px;
}

.about-bullet-list {
    list-style: none;
}

.about-bullet-list li {
    font-family: var(--font-sansita);
    font-size: 15px;
    color: #444444;
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.about-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: -1px;
    font-size: 18px;
    color: #333333;
}

/* -------------------------------------------------------------
   Section 2: Tenemos el lugar perfecto (with Maple Leaf)
   ------------------------------------------------------------- */
.maple-leaf-section {
    background-image: url('../img/pattern-1-1.jpg');
    background-repeat: repeat;
    background-color: #fafafa;
    position: relative;
    overflow: hidden;
}

/* Autumn Maple Leaf Watermark centered in background */
.maple-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: auto;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}

.maple-leaf-section .container {
    position: relative;
    z-index: 2;
}

/* -------------------------------------------------------------
   Feature Flip Boxes (Vibrant Royal Blue Gradient)
   ------------------------------------------------------------- */
.flipbox-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 35px;
}

.flip-box {
    background-color: transparent;
    height: 250px;
    perspective: 1000px;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(27, 83, 211, 0.35);
    border-radius: 4px;
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-image: url('../img/Fondo-Flip.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--primary-blue);
    color: #ffffff;
}

.flip-box-back {
    background-color: #0c3380;
    transform: rotateY(180deg);
}

.flip-box-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 1, 1, 0.6);
    border-radius: 4px;
}

.flip-box-back-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 15px;
}

.flip-box-back-content p {
    font-family: var(--font-sansita);
    font-size: 14px;
    color: #ffffff;
    line-height: 1.5;
    text-align: center;
}

.flip-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(2, 23, 66, 0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.flip-icon-wrapper i {
    font-size: 34px;
    color: #ffffff;
    line-height: 1;
    margin: 0;
    padding: 0;
    display: block;
    text-align: center;
}

.flip-title {
    font-family: var(--font-sansita);
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

/* Button Ver más */
.btn-wrapper {
    text-align: center;
    margin-top: 15px;
}

.btn-ver-mas {
    display: inline-block;
    background-color: var(--navy-blue);
    color: #ffffff;
    font-family: var(--font-sansita);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 32px;
    border-radius: 4px;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
    transition: background-color 0.25s, transform 0.25s;
}

.btn-ver-mas:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* -------------------------------------------------------------
   Section 3: Parallax Section
   ------------------------------------------------------------- */
.parallax-banner {
    width: 100%;
    height: 420px;
    background-image: url('../img/Parallax1.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.35);
}

/* -------------------------------------------------------------
   Section 4: Royal Blue - el lugar para tu evento
   ------------------------------------------------------------- */
.services-section {
    background-image: url('../img/pattern-1-1.jpg');
    background-repeat: repeat;
    background-color: #fafafa;
}

/* -------------------------------------------------------------
   Section 5: Contáctanos
   ------------------------------------------------------------- */
.contact-section {
    background-color: #ffffff;
    padding-bottom: 70px;
}

.contact-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    border-radius: 12px;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

/* Form Left Column */
.contact-form-col {
    background-color: #ffffff;
    padding: 40px;
}

.form-2col-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-item {
    margin-bottom: 16px;
}

.form-item input,
.form-item textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14.5px;
    color: #333333;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    background-color: #fcfcfc;
}

.form-item input:focus,
.form-item textarea:focus {
    border-color: var(--primary-blue);
    background-color: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(27, 83, 211, 0.15);
}

.form-item textarea {
    height: 110px;
    resize: vertical;
}

/* Simulated reCAPTCHA Widget */
.recaptcha-widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 6px;
    padding: 10px 14px;
    width: 250px;
    margin-bottom: 22px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.recaptcha-check-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.recaptcha-check-area input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.recaptcha-check-area label {
    font-size: 13px;
    color: #333333;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

.recaptcha-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 9px;
    color: #555555;
    font-family: Arial, sans-serif;
}

.recaptcha-brand i {
    font-size: 20px;
    color: #1a73e8;
}

.btn-submit {
    background-color: var(--primary-blue);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(27, 83, 211, 0.35);
    transition: transform 0.2s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-submit:hover {
    background-color: var(--navy-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(1, 47, 104, 0.45);
}

/* Info Right Column */
.contact-info-col {
    background-color: var(--primary-blue);
    background-image: url('../img/Fondo-Flip.png');
    background-size: cover;
    background-position: center center;
    color: #ffffff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-col p.lead-text {
    font-family: var(--font-sansita);
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 28px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-size: 14.5px;
    color: #ffffff;
    line-height: 1.5;
}

.contact-info-list li i {
    font-size: 15px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* -------------------------------------------------------------
   Footer
   ------------------------------------------------------------- */
footer {
    background-color: #000000;
    color: #ffffff;
    padding: 42px 20px;
    text-align: center;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-bottom: 14px;
}

.footer-social-icons a {
    color: #ffffff;
    font-size: 21px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-icons a:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 400;
    color: #dddddd;
}

.footer-brand-link {
    color: #5c93ff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-brand-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* -------------------------------------------------------------
   Video Modal (For Photobooth Video)
   ------------------------------------------------------------- */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 420px;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* -------------------------------------------------------------
   Responsive Breakpoints
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .flipbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-text-content {
        padding-left: 0;
        text-align: center;
    }

    .about-text-content .section-heading {
        text-align: center;
    }

    .about-text-content .section-divider {
        margin: 10px auto 20px auto;
        max-width: 600px;
    }

    .about-bullet-list {
        display: inline-block;
        text-align: left;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .maple-watermark {
        opacity: 0.5;
        width: 350px;
    }
}

@media (max-width: 768px) {
    .top-blue-bar {
        height: 20px;
    }

    .logo-wrapper {
        position: static;
        margin: 10px 0;
    }

    .logo-badge {
        width: 200px;
        padding: 12px 18px;
    }

    .header-container {
        flex-direction: column;
        padding: 10px 20px;
    }

    .nav-container {
        margin-left: 0;
        width: 100%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 15px;
        padding: 15px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .slider-section {
        height: 280px;
    }

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

    .form-2col-row {
        grid-template-columns: 1fr;
    }

    .parallax-banner {
        height: 260px;
        background-attachment: scroll;
    }
}
