/* Destianda - CSS Principal */

/* Variables CSS */
:root {
    --primary-dark: #17313E;
    --blue-medium: #415E72;
    --lavender-soft: #C5B0CD;
    --beige-light: #F3E2D4;
    --white: #FFFFFF;
    --black: #000000;
    
    --font-primary: 'Amaranth', sans-serif;
    --font-secondary: 'Merriweather Sans', sans-serif;
    --font-tertiary: 'Metrophobic', sans-serif;
    
    --shadow: 0 10px 30px rgba(23, 49, 62, 0.1);
    --shadow-hover: 0 15px 40px rgba(23, 49, 62, 0.2);
    --border-radius: 15px;
    
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--primary-dark);
    overflow-x: hidden;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--beige-light);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-medium);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: var(--white);
    padding: 1rem 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner a {
    color: var(--lavender-soft);
    text-decoration: underline;
}

/* Navegación */
.navbar {
    background: rgba(23, 49, 62, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo {
    border-radius: 8px;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--lavender-soft) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--lavender-soft);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Botones */
.btn {
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-medium) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--blue-medium) 100%);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border: 2px solid var(--blue-medium);
    color: var(--blue-medium);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--blue-medium);
    color: var(--white);
}

/* Secciones */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-medium), var(--lavender-soft));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--blue-medium);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--blue-medium) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/banner.jpg') center/cover;
    opacity: 0.3;
}

.wave-decoration {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23F3E2D4'%3E%3C/path%3E%3C/svg%3E") center bottom/cover;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-highlight {
    background: linear-gradient(45deg, var(--lavender-soft), var(--beige-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    margin-bottom: 2rem;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Sección Explorar */
.section-explore {
    background: linear-gradient(135deg, var(--beige-light) 0%, rgba(243, 226, 212, 0.5) 100%);
    position: relative;
}

.section-explore::before {
    content: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='%2317313E'%3E%3C/path%3E%3C/svg%3E") center top/cover;
}

.destination-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.destination-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.destination-content {
    padding: 2rem;
}

.destination-content h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.destination-features {
    list-style: none;
    margin-top: 1.5rem;
}

.destination-features li {
    padding: 0.5rem 0;
    color: var(--blue-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sección Yates */
.section-yachts {
    background: var(--white);
    position: relative;
}

.yacht-swiper {
    padding: 2rem 0 4rem;
}

.yacht-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: auto;
}

.yacht-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.yacht-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.yacht-content {
    padding: 2rem;
}

.yacht-content h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.yacht-specs {
    color: var(--blue-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.yacht-features {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.yacht-features span {
    background: var(--beige-light);
    color: var(--primary-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.yacht-price {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue-medium);
    text-align: right;
}

/* Swiper customización */
.swiper-pagination-bullet {
    background: var(--blue-medium);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-dark);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--blue-medium);
}

/* Sección Experiencias */
.section-experiences {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--blue-medium) 100%);
    color: var(--white);
    position: relative;
}

.section-experiences .section-title,
.section-experiences .section-subtitle {
    color: var(--white);
}

.experience-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.experience-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.experience-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--lavender-soft), var(--beige-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-dark);
}

.experience-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

/* Galería Masonry */
.section-gallery {
    background: var(--beige-light);
    padding: 5rem 0;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
    grid-auto-rows: 10px;
}

.masonry-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.masonry-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.masonry-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(23, 49, 62, 0.8));
    color: var(--white);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.masonry-item:hover .masonry-overlay {
    transform: translateY(0);
}

.masonry-overlay h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin: 0;
}

/* Ajuste automático de altura para masonry */
.masonry-item:nth-child(1) { grid-row-end: span 15; }
.masonry-item:nth-child(2) { grid-row-end: span 10; }
.masonry-item:nth-child(3) { grid-row-end: span 12; }
.masonry-item:nth-child(4) { grid-row-end: span 14; }
.masonry-item:nth-child(5) { grid-row-end: span 11; }
.masonry-item:nth-child(6) { grid-row-end: span 14; }

/* Testimonios */
.section-testimonials {
    background: var(--white);
    padding: 5rem 0;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--blue-medium);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-stars {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--primary-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--beige-light);
}

.author-info h5 {
    margin: 0;
    color: var(--primary-dark);
    font-weight: 600;
}

.author-info span {
    color: var(--blue-medium);
    font-size: 0.9rem;
}

/* Estadísticas */
.section-stats {
    background: linear-gradient(135deg, var(--lavender-soft) 0%, var(--beige-light) 100%);
    padding: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    font-size: 3rem;
    color: var(--blue-medium);
    margin-bottom: 1rem;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
}

.stat-label {
    color: var(--blue-medium);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Compromiso */
.section-commitment {
    background: var(--white);
    padding: 5rem 0;
}

.commitment-text {
    font-size: 1.1rem;
    color: var(--blue-medium);
    margin-bottom: 2rem;
}

.commitment-list {
    margin-top: 2rem;
}

.commitment-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.commitment-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue-medium), var(--lavender-soft));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.commitment-content h4 {
    font-family: var(--font-primary);
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.commitment-content p {
    color: var(--blue-medium);
    margin: 0;
}

.commitment-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* CTA Section */
.section-cta {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--blue-medium) 100%);
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/cta.jpg') center/cover fixed;
    opacity: 0.3;
}

.cta-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-bottom: 3rem;
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-contact p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.cta-contact a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.cta-contact a:hover {
    color: var(--lavender-soft);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-brand h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--blue-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--lavender-soft);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-primary);
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.experience-stats{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--lavender-soft);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact i {
    margin-top: 0.2rem;
    color: var(--lavender-soft);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--lavender-soft);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-contact {
        flex-direction: column;
        gap: 1rem;
    }
    
    .masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .navbar-nav .nav-item:last-child{
        margin-top: 20px;
    }
}

.notification-close{
    outline: none;
    background: none;
    border: none;
    color: #fff;
    font-weight: bold;
}

@media (max-width: 767px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .destination-card,
    .yacht-card,
    .experience-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .commitment-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .masonry-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .text-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Animaciones personalizadas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Efectos hover adicionales */
.destination-card::before,
.yacht-card::before,
.experience-card::before {
    content: none;
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.destination-card:hover::before,
.yacht-card:hover::before,
.experience-card:hover::before {
    left: 100%;
}

/* Focus states para accesibilidad */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid var(--lavender-soft);
    outline-offset: 2px;
}

/* Utilidades */
.text-primary-dark { color: var(--primary-dark) !important; }
.text-blue-medium { color: var(--blue-medium) !important; }
.text-lavender-soft { color: var(--lavender-soft) !important; }
.text-beige-light { color: var(--beige-light) !important; }

.bg-primary-dark { background-color: var(--primary-dark) !important; }
.bg-blue-medium { background-color: var(--blue-medium) !important; }
.bg-lavender-soft { background-color: var(--lavender-soft) !important; }
.bg-beige-light { background-color: var(--beige-light) !important; }

/* Preloader (opcional) */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: var(--transition);
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--beige-light);
    border-top: 3px solid var(--blue-medium);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}


        .hero-legal {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--blue-medium) 100%);
            min-height: 50vh;
            color: var(--white);
        }

        .section-legal-content {
            padding: 5rem 0;
            background: var(--white);
        }

        .hero-legal{
            padding-top: 120px!important;

        }

        .legal-document {
            background: var(--beige-light);
            padding: 3rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }

        .legal-header {
            margin-bottom: 3rem;
            padding-bottom: 2rem;
            border-bottom: 2px solid var(--blue-medium);
        }

        .update-date {
            color: var(--blue-medium);
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .intro-text {
            font-size: 1.1rem;
            line-height: 1.7;
            color: var(--primary-dark);
        }

        .legal-section {
            margin-bottom: 3rem;
        }

        .legal-section h2 {
            font-family: var(--font-primary);
            color: var(--primary-dark);
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--lavender-soft);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .legal-section h2 i {
            color: var(--blue-medium);
        }

        .legal-section h3 {
            color: var(--blue-medium);
            margin: 2rem 0 1rem 0;
            font-size: 1.2rem;
        }

        .section-content {
            line-height: 1.7;
        }

        .section-content ul {
            margin: 1rem 0;
            padding-left: 2rem;
        }

        .section-content li {
            margin-bottom: 0.5rem;
        }

        .retention-table {
            background: var(--white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .retention-item {
            display: flex;
            padding: 1rem;
            border-bottom: 1px solid var(--beige-light);
        }

        .retention-item:last-child {
            border-bottom: none;
        }

        .retention-type {
            flex: 1;
            font-weight: 600;
            color: var(--primary-dark);
        }

        .retention-period {
            flex: 1;
            color: var(--blue-medium);
            text-align: right;
        }

        .rights-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .right-item {
            background: var(--white);
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .right-item h4 {
            color: var(--primary-dark);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1rem;
        }

        .right-item i {
            color: var(--blue-medium);
        }

        .contact-authority {
            background: var(--white);
            padding: 2rem;
            border-radius: 8px;
            border-left: 4px solid var(--blue-medium);
        }

        .contact-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .contact-item {
            background: var(--white);
            padding: 1.5rem;
            border-radius: 8px;
        }

        .contact-item strong {
            color: var(--primary-dark);
            display: block;
            margin-bottom: 0.5rem;
        }

        @media (max-width: 768px) {
            .legal-document {
                padding: 2rem 1.5rem;
            }
            
            .retention-item {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .retention-period {
                text-align: left;
            }
            
            .rights-grid {
                grid-template-columns: 1fr;
            }
            
            .contact-info {
                grid-template-columns: 1fr;
            }
        }