/* ================================================================= */
/* TAILORED SPAIN - ESTILOS PERSONALIZADOS (VERSIÓN FINAL)          */
/* ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;1,400&display=swap'); /* Sustituto de Romie */

body, .wrapper-body, .page-copy, .content-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
}

/* ========================================================== */
/* 3. HEADER (ENCABEZADO) - FIJO Y FLOTANTE                   */
/* ========================================================== */

div[data-component-theme="portalHeader"] {
    position: fixed !important; 
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 99999 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-top: 20px !important;
    pointer-events: none;
    height: 0 !important; 
    overflow: visible !important;
}

/* Limpieza de la barra interna */
div[data-component-theme="portalHeader"] .navbar, 
header, nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

/* TU BARRA AMARILLA */
.custom-nav-bar {
    background-color: #F0D155 !important;
    border: 1px solid rgba(29, 29, 27, 0.1) !important;
    border-radius: 1000px !important;
    padding: 10px 30px;
    max-width: 1568px; 
    width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    position: relative; 
    pointer-events: auto; 
    opacity: 1 !important; 
}

/* Enlaces del menú */
.nav-link {
    font-family: 'Work Sans', sans-serif !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    color: #1D1D1B !important;
    text-transform: none !important;
}

/* ========================================================== */
/* 4. HERO SECTION (IMAGEN MAR) - DISCOVER SPAIN              */
/* ========================================================== */

.home-hero {
    position: relative !important; 
    width: 100% !important;
    height: 100vh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    
    background-size: cover !important;
    background-position: center center !important;
    z-index: 1 !important;
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

h1.hero-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 170px !important; 
    line-height: 100% !important;
    font-weight: 400 !important;
    color: #FFFFFF !important;
    text-shadow: none !important;
    text-align: center;
    margin: 0;
}

.hero-description {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 30%;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    h1.hero-title { font-size: 60px !important; }
    .hero-description { display: none; }
}

/* ========================================================== */
/* 5. SECCIÓN AMARILLA "TRAVEL LIKE A LOCAL"                  */
/* ========================================================== */

.yellow-travel-section {
    margin-top: 0 !important;
    background-color: #F0D155 !important; /* Yellow - Golden Sun */
    position: relative !important;
    z-index: 10 !important;
    padding: 120px 0;
    overflow: hidden;
    min-height: 1000px; /* Altura de Figma */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* TÍTULO (Romie Italic 100px) */
.travel-title {
    font-family: 'Playfair Display', serif; /* Sustituto de Romie */
    font-style: italic;
    font-weight: 400;
    font-size: 100px; /* Tamaño Figma */
    line-height: 100%;
    color: #1D1D1B;
    margin-bottom: 24px; /* Gap 24px */
    text-align: center;
}

/* TEXTO (Work Sans 14px) */
.travel-text {
    font-family: 'Work Sans', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 14px; /* Tamaño Figma */
    line-height: 120%;
    color: #1D1D1B;
    
    width: 100%;
    max-width: 594px; /* Ancho exacto Figma */
    margin-bottom: 24px;
    text-align: left; /* Figma dice align-items: flex-start en el frame de texto */
}

/* BOTÓN (Experiences) */
.btn-outline-custom {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 10px;

    width: 131px; /* Ancho Figma */
    height: 54px; /* Alto Figma */

    background: #F0D155;
    border: 1px solid rgba(29, 29, 27, 0.1); 
    border-radius: 100px;
    
    /* Texto del botón */
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #1D1D1B;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: #1D1D1B;
    color: #fff;
}

/* --- IMÁGENES  --- */

.scattered-img {
    position: absolute;
    z-index: 1;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
}

.scattered-img img {
    width: 240px;      
    height: 286.3px;
    object-fit: cover;
    display: block;
}

.scattered-img:hover {
    z-index: 20;
    transform: scale(1.05) !important;
}

/* POSICIONES Y ROTACIONES EXACTAS */

/* (Arriba Izquierda) */
.img-pos-1 {
    top: 15%;
    left: 10%;
    transform: rotate(20.24deg);
}

/* (Arriba Derecha) */
.img-pos-2 {
    top: 15%;
    right: 10%;
    transform: rotate(-14.15deg); /* Asumiendo simetría o valor de img 87/88 */
}

/* (Abajo Izquierda) */
.img-pos-3 {
    bottom: 15%;
    left: 8%;
    transform: rotate(-14.15deg);
}

/*  (Abajo Derecha) */
.img-pos-4 {
    bottom: 15%;
    right: 8%;
    transform: rotate(-3.01deg);
}

/* CONTENEDOR DE TEXTO (Encima de las fotos) */
.content-wrapper {
    position: relative;
    z-index: 5;
}

/* RESPONSIVE (Móvil) */
@media (max-width: 992px) {
    .yellow-travel-section { min-height: auto; padding: 80px 0; }
    .scattered-img { display: none; } 
    .travel-title { font-size: 50px; }
    .travel-text { text-align: center; } 
}

/* ========================================================== */
/* 6. SECCIÓN "MEET THE ARCHITECTS"                           */
/* ========================================================== */

.architects-section {
    background-color: #f2f0eb; 
    padding: 120px 0;
}
.architects-title {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    line-height: 1;
    color: #1D1D1B;
    margin-bottom: 30px;
}
.architects-text {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    color: #1D1D1B;
    margin-bottom: 40px;
    max-width: 500px;
}
.btn-yellow-pill {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #F0D155;
    border: 1px solid rgba(29, 29, 27, 0.1);
    color: #1D1D1B;
    padding: 12px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-family: 'Work Sans', sans-serif;
    transition: transform 0.2s ease;
}
.btn-yellow-pill:hover { transform: scale(1.05); text-decoration: none; color: #000; }

/* ========================================================== */
/* 7. SECCIÓN "CELEBRATE SPAIN" (GRID 2x2)                    */
/* ========================================================== */

.celebrate-section {
    background-color: #ECE9D8 !important; 
    padding: 120px 0;
}

/* --- TEXTO IZQUIERDA --- */
.text-column {
    padding-right: 50px;
    margin-bottom: 60px;
}

.sticky-wrapper {
    position: sticky;
    top: 120px;
}

.celebrate-title {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    line-height: 100%;
    color: #1D1D1B;
    margin-bottom: 20px;
    font-weight: 400;
}

.celebrate-text {
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
    font-size: 14px;  
    line-height: 120%;
    color: #1D1D1B;
    margin-bottom: 40px;
    max-width: 400px;
}

/* Botón "Show me all" alineado a la derecha */
.btn-align-right {
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.btn-circle-yellow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 133px; 
    height: 54px; 
    background-color: #F0D155;
    border: 1px solid rgba(29, 29, 27, 0.1);
    border-radius: 100px;
    color: #1D1D1B;
    text-decoration: none;
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-circle-yellow:hover {
    border: 1px solid #000;
    background-color: #f5d96b;
    text-decoration: none;
    color: #000;
}

/* --- CARTAS (DISEÑO FIGMA) --- */

.experience-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 16px;
    gap: 20px;
    height: 100%;
    min-height: 685px; 
    transition: transform 0.3s ease;
    cursor: pointer;
}

.card-red    { background-color: #CE5C45; }
.card-yellow { background-color: #F0D155; }
.card-blue   { background-color: #81A3BC; }
.card-green  { background-color: #86985D; }


.card-info {
    text-align: center;
    padding: 0 10px;
}



.experience-card:hover {
    transform: translateY(-10px);
}

/* Responsive */
@media (max-width: 992px) {
    .text-column { padding-right: 0; }
    .btn-align-right { justify-content: center; }
    .experience-card { min-height: auto; } /* En móvil altura auto */
}
/* ========================================================== */
/* 8. SECCIÓN "OUR PARTNERS" (SLIDER)                         */
/* ========================================================== */

.partners-section {
    background-color: #F0D155; /* Fondo Amarillo */
    padding: 100px 0;
}
.partners-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 60px;
    color: #1D1D1B;
}
.partners-text {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: #1D1D1B;
}
/* Slider */
.slider-window {
    height: 120px; margin: auto; overflow: hidden; position: relative; width: 100%;
    display: flex; align-items: center;
}
.slider-track {
    display: flex; width: calc(200px * 8); animation: scroll 20s linear infinite;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 4)); }
}
.slide {
    width: 200px; height: 120px; display: flex; align-items: center; justify-content: center; padding: 0 20px;
}
.partner-logo {
    max-width: 100%; max-height: 80px; filter: grayscale(100%); opacity: 0.6;
}

/* ========================================================== */
/* 9. SECCIÓN INSTAGRAM                                       */
/* ========================================================== */

.instagram-section {
    background-color: #fff;
    padding: 120px 0;
    overflow: hidden;
}

.insta-title {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 60px; 
    line-height: 100%;
    color: var(--tailored-black);
    margin: 0;
}

.btn-instagram {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 54px; 
    background: var(--tailored-yellow);
    border: var(--tailored-border);
    border-radius: 100px;
    color: var(--tailored-black);
    font-family: var(--font-text);
    font-weight: 300;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
}

/* Galería Scroll Horizontal */
.insta-gallery-wrapper {
    display: flex;
    gap: 8px; 
    overflow-x: auto;
    padding: 20px 40px; 
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.insta-gallery-wrapper::-webkit-scrollbar { display: none; }

.insta-item {
    min-width: 466px;
    height: 466px; 
    flex-shrink: 0;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================================== */
/* 9.1 SECCIÓN STORIES (TESTIMONIOS)                          */
/* ========================================================== */

.stories-section {
    background-color: #fff; 
    padding: 120px 0;
    overflow: hidden;
}

.stories-heading {
    font-family: var(--font-title);
    font-size: 60px;
    line-height: 100%;
    color: var(--tailored-black);
    margin-bottom: 60px;
}

/* Contenedor Scroll de Testimonios */
.stories-scroll-wrapper {
    display: flex;
    gap: 156px; 
    overflow-x: auto;
    padding-bottom: 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.stories-scroll-wrapper::-webkit-scrollbar { display: none; }

/* Tarjeta Testimonio Individual */
.testimonial-card {
    min-width: 676px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    opacity: 1; 
}

/* Meta datos (Nombre y País) */
.author-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-family: var(--font-text);
    font-weight: 300;
    font-size: 24px; 
    color: var(--tailored-black);
}

.author-location {
    font-family: var(--font-text);
    font-weight: 300;
    font-size: 14px;
    color: var(--tailored-black);
}

/* Cita (Quote) */
.testimonial-quote {
    font-family: var(--font-title);
    font-style: italic;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    color: var(--tailored-black);
    margin: 0;
}

/* Pie del testimonio */
.trip-details {
    font-family: var(--font-text);
    font-weight: 300;
    font-size: 14px;
    color: var(--tailored-black);
}

/* Responsive Móvil */
@media (max-width: 992px) {
    .insta-item { min-width: 300px; height: 300px; }
    .testimonial-card { min-width: 300px; }
    .stories-heading, .insta-title { font-size: 40px; }
    .testimonial-quote { font-size: 24px; }
}

/* ========================================================== */
/* 10. SECCIÓN STORIES                                        */
/* ========================================================== */

.stories-section { background-color: #f9f9f9; padding: 100px 0; }
.stories-heading {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: #1D1D1B;
}
.sticky-stories-title { position: sticky; top: 150px; }
.testimonial-item { padding-bottom: 60px; margin-bottom: 60px; border-bottom: 1px solid #ddd; }
.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 32px;
    color: #1D1D1B;
    line-height: 1.2;
}
.author-name { font-weight: bold; }

/* ========================================================== */
/* 11. FOOTER ESTILO FIGMA (CÁPSULAS AMARILLAS)               */
/* ========================================================== */

.city-card {
    background-color: #f0efeb; 
    border: 1px solid rgba(29, 29, 27, 0.1);
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    min-height: 390px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.city-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.city-name {
    font-family: 'Playfair Display', serif;
    font-size: 32px; 
    color: #1D1D1B;
    margin-bottom: 16px;
    font-weight: 400;
}

.city-desc {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: #1D1D1B;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 20px;
    opacity: 0.8;
}

.city-tag {
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    color: #1D1D1B;
    background: rgba(29, 29, 27, 0.05);
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-block;
    border: 1px solid rgba(29, 29, 27, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Parte Inferior (Imagen) */
.city-img {
    width: 100%;
    height: 180px; 
    overflow: hidden;
    margin-top: auto; 
}

.city-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.city-card:hover .city-img img {
    transform: scale(1.05);
}

