/* =========================================
   YUNDORO - CUSTOM STYLES
   Apartamentos en Madrid
   ========================================= */

/* === ROOT VARIABLES === */
:root {
    --primary-color: #2C5F5D;
    --secondary-color: #D4A574;
    --accent-color: #E8927C;
    --dark-color: #1A1A1A;
    --light-color: #F5F5F5;
    --white: #FFFFFF;
    --text-color: #333333;
    --text-muted: #6C757D;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-accent: 'Space Grotesk', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
}

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* === NAVIGATION === */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background-color: rgba(26, 26, 26, 0.95);
}

.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}
.navbar.scrolled {
    background-color: rgba(26, 26, 26, 1);
    box-shadow: var(--shadow-md);
}

.navbar-brand .brand-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

.btn-reserve {
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
}

.btn-reserve:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 95, 93, 0.8) 0%, rgba(26, 26, 26, 0.6) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

footer .navbar-brand{
    margin-bottom: 10px;
}
.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-cta .btn {
    margin: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

/* === QUICK BOOKING BAR === */
.quick-booking-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1E4644 100%);
    padding: 2rem 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.quick-booking-bar .form-control,
.quick-booking-bar .form-select {
    border-radius: 8px;
    border: none;
    padding: 0.75rem;
}

.quick-booking-bar .btn {
    border-radius: 8px;
    font-weight: 600;
}

/* === SECTION STYLES === */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* === SENSATION CARDS === */
.sensation-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.sensation-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.sensation-card .sensation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sensation-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.sensation-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* === APARTMENT CARDS === */
.apartment-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.apartment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.apartment-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.apartment-card:hover img {
    transform: scale(1.05);
}

.apartment-info {
    padding: 1.5rem;
}

.apartment-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.apartment-price {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.apartment-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apartment-features li {
    padding: 0.25rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.apartment-features li::before {
    content: '✓ ';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* === TOUR 360 SECTION === */
.tour360-section {
    background: linear-gradient(135deg, var(--light-color) 0%, #E8E8E8 100%);
}

.tour-preview {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tour-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: var(--transition);
}

.tour-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* === AROMA SECTION === */
.aromas-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1E4644 100%);
    color: var(--white);
}

.aromas-section .section-title,
.aromas-section .section-subtitle {
    color: var(--white);
}

.aroma-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.aroma-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.aroma-card .aroma-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.aroma-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.aroma-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* === CALCULATOR SECTION === */
.calculator-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
}

.price-result {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1E4644 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 1.5rem;
}

.price-result h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* === SERVICE CARDS === */
.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 1rem 0;
}

/* === NEIGHBORHOOD SECTION === */
.neighborhood-features {
    list-style: none;
    padding: 0;
}

.neighborhood-features li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.neighborhood-features li::before {
    content: '📍 ';
    margin-right: 0.75rem;
}

.map-container iframe {
    filter: grayscale(20%);
    transition: var(--transition);
}

.map-container iframe:hover {
    filter: grayscale(0%);
}

/* === SWIPER STYLES === */
.experiencesSwiper,
.testimonialsSwiper {
    padding-bottom: 3rem;
}

.experience-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.experience-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.experience-content {
    padding: 1.5rem;
}

.experience-content h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* === TESTIMONIAL CARDS === */
.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.testimonial-media img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.testimonial-content {
    flex: 1;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.testimonial-author {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === SUSTAINABILITY SECTION === */
.sustainability-badges {
    margin-top: 2rem;
}

.badge-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.badge-item:last-child {
    border-bottom: none;
}

.badge-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

/* === EVENT CARDS === */
.event-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.event-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.event-date {
    background: var(--primary-color);
    color: var(--white);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.event-location {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* === OFFER SECTION === */
.offer-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, #D67B6A 100%);
    color: var(--white);
}

.offer-banner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.offer-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.offer-description {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.offer-conditions {
    font-size: 0.9rem;
    opacity: 0.9;
}

.countdown {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-accent);
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* === STAFF SECTION === */
.staff-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.staff-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.staff-card h5 {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.staff-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.staff-card .small {
    padding: 0 1.5rem 1.5rem;
}

/* === FOOTER === */
.footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-color);
    color: var(--white);
    padding: 1.5rem 0;
    z-index: 9999;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* === PAGE HEADER (for legal pages) === */
.page-header {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(135deg, rgba(44, 95, 93, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

.page-header-simple {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1E4644 100%);
    padding: 8rem 0 4rem;
    margin-top: 70px;
}

.page-header-simple .page-title {
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* === LEGAL CONTENT STYLES === */
.legal-content {
    background: var(--white);
}

.legal-text {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.legal-text h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-text ul, .legal-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.info-box {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin: 1.5rem 0;
}

.refund-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--light-color);
    box-shadow: var(--shadow-sm);
}

/* === CONTACT FORM STYLES === */
.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-form-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #DDD;
    padding: 0.75rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 95, 93, 0.15);
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* === VALUES, TIMELINE, TEAM === */
.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 2rem;
}

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-contact {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cert-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.cert-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.cert-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1E4644 100%);
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* === RESPONSIVE STYLES === */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .offer-title {
        font-size: 1.8rem;
    }
}

/* === UTILITY CLASSES === */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1E4644;
    border-color: #1E4644;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* === ANIMATIONS === */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}