:root {
    --primary: #0f172a;
    --secondary: #d4af37; /* Gold */
    --accent: #ff0055; /* Mexican Pink hint */
    --text: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary);
    font-style: italic;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.btn-primary-lg {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.3);
}

.btn-primary-lg:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline-lg {
    background: transparent;
    color: var(--white);
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--white);
    margin-left: 1rem;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding-top: 80px;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4));
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--secondary);
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Detail Pages Styling */
.detail-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding-top: 80px;
}

.detail-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.itinerary {
    margin-top: 3rem;
}

.itinerary-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.itinerary-item::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 20px;
    width: 2px;
    height: calc(100% - 20px);
    background: #e2e8f0;
}

.itinerary-item:last-child::before {
    display: none;
}

.itinerary-item .icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    flex-shrink: 0;
    z-index: 1;
}

.itinerary-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.experience-summary .summary-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 120px;
}

.summary-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.summary-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.summary-card ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.summary-card i {
    color: var(--secondary);
    width: 20px;
}

.price-box {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    margin-bottom: 2rem;
}

.price-box .price {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.price-box .note {
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-whatsapp-full {
    width: 100%;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 1.2rem;
    border-radius: 50px;
    display: block;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-whatsapp-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* Tours Section */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subtitle {
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary);
}

/* Swiper Carousel */
.swiper-container-wrapper {
    position: relative;
    padding: 0 60px; /* Increased padding */
    margin: 0 auto;
}

.tour-swiper {
    padding: 20px 0 60px !important;
    overflow: visible !important; /* Allow arrows to be outside if needed */
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.tour-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    width: 100%;
    max-width: 340px;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 10px;
}

.tour-card:hover {
    transform: translateY(-10px);
}

.tour-image {
    height: 200px; /* Compressed height */
    overflow: hidden;
    position: relative;
}

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

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

.tour-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tour-tag.eco {
    background: #10b981;
}

.tour-info {
    padding: 1.5rem; /* Compressed padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-info h3 {
    font-size: 1.3rem; /* Compressed font */
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.tour-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.tour-details i {
    color: var(--secondary);
    margin-right: 3px;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.price .amount {
    font-size: 1.5rem; /* Compressed font */
    font-weight: 800;
    color: var(--primary);
}

/* Swiper navigation colors */
.swiper-button-next, .swiper-button-prev {
    color: var(--secondary) !important; /* Gold icons */
    background: var(--white) !important;
    width: 42px !important; /* Smaller size */
    height: 42px !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 0.9rem !important; /* Smaller arrows */
    font-weight: 800;
}

/* Better positioning for navigation */
.swiper-button-prev { left: 0px !important; }
.swiper-button-next { right: 0px !important; }

@media (min-width: 1200px) {
    .swiper-button-prev { left: -20px !important; }
    .swiper-button-next { right: -20px !important; }
}

.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet-active {
    background: var(--secondary);
}

.btn-icon {
    width: 100px; /* Wider for "Ver Tour" */
    height: 40px;
    background: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.8rem;
    font-weight: 700;
}

.btn-icon::before {
    content: 'Ver Tour';
}

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

/* Services */
.secondary-bg {
    background-color: var(--bg-light);
}

.services-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    margin: 2rem 0;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.service-list i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.note {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary);
    font-size: 0.9rem;
    color: var(--text-light);
}

.image-stack {
    position: relative;
    height: 500px;
}

.image-stack img {
    position: absolute;
    width: 80%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.img-1 {
    top: 0;
    left: 0;
    z-index: 2;
}

.img-2 {
    bottom: 0;
    right: 0;
    z-index: 1;
}

/* CTA Section */
.cta-section {
    padding: 50px 0;
    background: white;
}

.cta-card {
    background: var(--primary);
    border-radius: 30px;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    background-image: radial-gradient(circle at 20% 150%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    background: #20ba5a;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Footer */
.footer {
    background: #0a0f1d;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    opacity: 0.6;
}

.footer h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
}

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

.footer ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.6;
    transition: var(--transition);
}

.footer ul li a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-contact p {
    opacity: 0.6;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

.social-icons a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.delay-1 { transition-delay: 0.2s !important; }
.delay-2 { transition-delay: 0.4s !important; }

/* Responsive */
@media (max-width: 992px) {
    .grid-2, .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero h1 { font-size: 3.5rem; }
    .cta-card { flex-direction: column; text-align: center; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .hero-btns { display: flex; flex-direction: column; gap: 1rem; }
    .btn-outline-lg { margin-left: 0; }
    .swiper-button-next, .swiper-button-prev { display: none; }
    .swiper-container-wrapper { padding: 0; }
}

/* Gallery & Video Sections */
.gallery-section {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.video-section {
    padding: 60px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.video-container iframe, .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Related Tours */
.related-tours {
    padding: 100px 0;
    background: var(--bg-light);
}

.related-tours h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.video-section {
    padding: 60px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.video-container iframe, .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Related Tours */
.related-tours {
    padding: 100px 0;
    background: var(--bg-light);
}

.related-tours h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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