/* === GLOBAL STYLES === */
:root {
    --primary: #1a3a6b;
    --primary-light: #2a4f8a;
    --primary-dark: #0d2444;
    --secondary: #e6b85e;
    --secondary-light: #f0d08c;
    --secondary-dark: #d9a037;
    --accent: #8c6d46;
    --light: #f8f5f0;
    --dark: #1a1a1a;
    --text: #333333;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light);
}

.destinations-page {
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

/* === NAVIGATION === */
.navbar {
    padding: 25px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.5s ease;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(26, 58, 107, 0.95);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand .logo {
    height: 40px;
    transition: all 0.5s ease;
}

.navbar.scrolled .navbar-brand .logo {
    height: 35px;
}

.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 8px 15px;
    margin: 0 5px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary);
}

/* === HERO SECTION === */
.destinations-hero {
    height: 80vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('../resources/images/bg-destination.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
}

.search-box button {
    background-color: var(--secondary);
    color: var(--dark);
    border: none;
    padding: 0 25px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background-color: var(--white);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === REGIONS SECTION === */
.regions-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.badge {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text);
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.region-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* transition: all 0.5s ease; */
    position: relative;
}

.region-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.region-image {
    height: 300px;
    overflow: hidden;
}

.region-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.region-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    color: var(--white);
    z-index: 2;
}

.region-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--white);
}

.region-content p {
    margin-bottom: 20px;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    font-weight: 600;
    /* transition: all 0.3s ease; */
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 5px;
}

.btn-explore i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-explore:hover {
    color: var(--secondary);
}

.btn-explore:hover i {
    transform: translateX(5px);
}

/* === FEATURED DESTINATIONS === */
.featured-section {
    padding: 100px 0;
    background-color: var(--light);
}

.featured-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.destination-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* transition: all 0.5s ease; */
    scroll-snap-align: start;
    min-width: 300px;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.destination-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.rating-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.rating-badge i {
    margin-right: 5px;
}

.destination-content {
    padding: 20px;
}

.destination-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.destination-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.destination-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.destination-meta i {
    margin-right: 5px;
    color: var(--secondary);
}

.btn-view {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 4px;
    font-weight: 500;
    /* transition: all 0.3s ease; */
}

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

/* === DESTINATION GUIDES === */
.guides-section {
    padding: 100px 0;
    background-color: var(--white);
}

.nav-tabs {
    border-bottom: 2px solid var(--light);
    margin-bottom: 30px;
}

.nav-tabs .nav-link {
    color: var(--text);
    font-weight: 500;
    border: none;
    padding: 12px 25px;
    position: relative;
}

.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active {
    color: var(--primary);
    background-color: transparent;
    border: none;
}

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

.guide-card {
    display: flex;
    gap: 30px;
    align-items: center;
}

.guide-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.guide-image img {
    width: 100%;
    height: auto;
    display: block;
}

.guide-content {
    flex: 1;
}

.guide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.guide-content p {
    margin-bottom: 20px;
}

.guide-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.guide-content li {
    margin-bottom: 10px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 4px;
    font-weight: 500;
    /* transition: all 0.3s ease; */
}

.btn-download i {
    margin-left: 8px;
}

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

/* === TESTIMONIALS === */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.rating {
    color: var(--secondary);
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--secondary-light);
    position: absolute;
}

.testimonial-content p::before {
    top: -15px;
    left: -10px;
}

.testimonial-content p::after {
    bottom: -25px;
    right: -10px;
}

.traveler-info {
    display: flex;
    align-items: center;
}

.traveler-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.traveler-info h4 {
    margin-bottom: 5px;
}

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

/* === CTA SECTION === */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    background-color: var(--primary);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 15px 40px rgba(26, 58, 107, 0.2);
}

.cta-content {
    flex: 1;
    padding: 60px;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    margin-bottom: 30px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.btn-cta {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--secondary);
    color: var(--dark);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--white);
    color: var(--dark);
}

.cta-image {
    flex: 1;
    height: 400px;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === FOOTER === */
.destinations-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

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

}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.footer-links li {
    margin-bottom: 10px;
}
footer h3 {
    color: #fff !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

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

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary);
    width: 20px;
}

.newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.newsletter form {
    display: flex;
}

.newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.95rem;
}

.newsletter button {
    background-color: var(--secondary);
    color: var(--dark);
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter button:hover {
    background-color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

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

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .cta-card {
        flex-direction: column;
    }
    
    .cta-content {
        padding: 40px;
    }
    
    .cta-image {
        width: 100%;
    }
    
    .guide-card {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .regions-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-slider {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 576px) {
    .navbar-brand .logo {
        height: 30px;
    }
    
    .destinations-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .search-box input {
        padding: 12px 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}