/* styles.css */

/* CSS Variables */
:root {
    --color-primary: #361d32;
    --color-secondary: #543c52;
    --color-accent: #f55951;
    --color-light: #edd2cb;
    --color-lighter: #f1e8e6;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Signika', sans-serif;
    --font-accent: 'Karma', serif;
    --shadow-light: 0 5px 15px rgba(54, 29, 50, 0.1);
    --shadow-medium: 0 10px 30px rgba(54, 29, 50, 0.15);
    --shadow-heavy: 0 20px 40px rgba(54, 29, 50, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 15px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.text-accent {
    color: var(--color-accent);
}

/* Button Styles */
.btn {
    border-radius: var(--border-radius);
    padding: 15px 30px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #ff6b5b);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6b5b, var(--color-accent));
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: white;
}

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

.btn-outline-primary:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-3px);
}

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

.btn-outline-light:hover {
    background: white;
    color: var(--color-primary);
}

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

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

.cookie-banner a {
    color: var(--color-accent);
    text-decoration: none;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

/* Navigation */
.navbar {
    background: rgba(54, 29, 50, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    background: var(--color-primary);
    padding: 15px 0;
    box-shadow: var(--shadow-medium);
}

.navbar-brand {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: white !important;
    text-decoration: none;
}

.navbar-brand strong {
    color: var(--color-accent);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: var(--font-primary);
    font-weight: 500;
    margin: 0 10px;
    padding: 10px 15px !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-accent) !important;
    background: rgba(245, 89, 81, 0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(54, 29, 50, 0.8), rgba(84, 60, 82, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-family: var(--font-accent);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

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

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 3rem;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
}

.shape-2 {
    bottom: 20%;
    left: 5%;
    width: 150px;
    height: 150px;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Experiences Section */
.experiences-section {
    background: var(--color-lighter);
}

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

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

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(54, 29, 50, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.experience-card:hover .card-overlay {
    opacity: 1;
}

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

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.card-body {
    padding: 30px;
}

.card-body h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.card-body p {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.price-tag {
    background: var(--color-light);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    font-weight: 600;
}

.price {
    color: var(--color-accent);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Map Section */
.map-section {
    background: white;
}

.map-content {
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

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

.destination-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-light);
    cursor: pointer;
    transition: var(--transition);
}

.destination-item:hover {
    background: var(--color-lighter);
    padding-left: 20px;
    border-radius: var(--border-radius);
}

.destination-icon {
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.5rem;
}

.destination-info h4 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.destination-info p {
    margin: 0;
    color: var(--color-secondary);
}

.interactive-map {
    position: relative;
    height: 600px;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.marker-pulse {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse 2s infinite;
}

.marker-madrid { top: 35%; left: 41%; }
.marker-barcelona { top: 25%; right: 20%; }
.marker-valencia { top: 55%; right: 25%; }
.marker-sevilla { bottom: 25%; left: 25%; }

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Testimonials Section */
.testimonials-section {
    background: var(--color-primary);
    color: white;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    color: white;
}

.testimonial-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape-circle {
    width: 300px;
    height: 300px;
    background: var(--color-accent);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 200px solid var(--color-light);
    bottom: -100px;
    left: 20%;
}

.shape-square {
    width: 200px;
    height: 200px;
    background: var(--color-secondary);
    transform: rotate(45deg);
    top: 50%;
    left: -100px;
}

.testimonials-swiper {
    padding: 50px 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-content {
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    margin: 0;
    font-size: 1.1rem;
}

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

/* Parallax Section */
.parallax-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
}

.parallax-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(54, 29, 50, 0.6);
}

.parallax-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.parallax-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-family: var(--font-accent);
    margin-bottom: 3rem;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent);
    font-family: var(--font-primary);
}

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

/* CTA Section */
.cta-section {
    background: var(--color-lighter);
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 3rem;
}

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

/* Footer */
.footer {
    background: var(--color-primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-brand h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.footer h5 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.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(--color-accent);
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--color-accent);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    padding-top: 20px;
}

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

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title { font-size: 3.5rem; }
    .section-title { font-size: 2.5rem; }
}

@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .section-title { font-size: 2.2rem; }
    .stats-row { gap: 40px; }
    .interactive-map { height: 400px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; }
    .cta-buttons { justify-content: center; }
    .social-links { justify-content: center; }
    .footer-bottom { text-align: center; }
    .footer-bottom .col-md-6 { text-align: center !important; }
    .testimonial-author { flex-direction: column; }
    .stats-row { flex-direction: column; gap: 30px; }
}

@media (max-width: 576px) {
    section { padding: 60px 0; }
    .hero-title { font-size: 2rem; }
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .experience-card { margin-bottom: 2rem; }
    .destination-item { flex-direction: column; text-align: center; gap: 15px; }
    .destination-icon { margin-right: 0; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .floating-shape {
        animation: none;
    }
    
    .marker-pulse {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .parallax-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
}

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

html{
    overflow-x: hidden;
}