:root {
    --primary: #0D7377;
    --primary-dark: #095456;
    --secondary: #E85A4F;
    --secondary-dark: #C9483F;
    --accent: #D4A373;
    --dark: #1A2B3C;
    --light: #F8F5F0;
    --muted: #6B7B8C;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(26, 43, 60, 0.1);
    --shadow-lg: 0 10px 40px rgba(26, 43, 60, 0.15);
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    padding: 0.8rem 0;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary) !important;
}

.navbar-brand span {
    color: var(--secondary);
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link:hover::after {
    width: calc(100% - 2rem);
}

.nav-link:hover {
    color: var(--primary) !important;
}

.avatar-dropdown {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.avatar-dropdown:hover {
    transform: scale(1.1);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--light);
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    background-color: var(--primary);
    padding: 3rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background-color: var(--primary-dark);
    border-radius: 50%;
    opacity: 0.3;
}

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

.hero-title {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Search Widget */
.search-widget {
    background-color: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.search-widget .form-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.search-widget .form-control,
.search-widget .form-select {
    border: 2px solid #E8E8E8;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-widget .form-control:focus,
.search-widget .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

.btn-search {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Section Styles */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.title-decoration {
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
    margin-bottom: 1rem;
}

/* Popular Destinations */
.destination-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.destination-card:hover {
    transform: translateY(-8px);
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 43, 60, 0.9));
    padding: 2rem 1rem 1rem;
}

.destination-name {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0;
}

.destination-count {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.category-tab {
    background-color: var(--white);
    border: 2px solid transparent;
    color: var(--dark);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-tab:hover {
    border-color: var(--primary);
}

.category-tab.active {
    background-color: var(--primary);
    color: var(--white);
}

/* Package Cards */
.package-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.package-image {
    position: relative;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.package-card:hover .package-image img {
    transform: scale(1.08);
}

.package-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.package-wishlist {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-wishlist:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.package-body {
    padding: 1.25rem;
}

.package-location {
    color: var(--muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.package-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.package-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.package-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

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

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

.package-price small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--muted);
}

.package-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--accent);
    font-weight: 600;
}

/* Most Booked Section */
.most-booked-section {
    background-color: var(--dark);
    padding: 4rem 0;
    position: relative;
}

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

.most-booked-section .title-decoration {
    background-color: var(--secondary);
}

.booked-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.booked-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.booked-card .package-body {
    padding: 1rem;
}

.booked-card .package-title,
.booked-card .package-location {
    color: var(--white);
}

.booked-card .package-price {
    color: var(--secondary);
}

/* Testimonial Slider */
.testimonial-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.testimonial-slider {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .testimonial-card {
        min-width: 50%;
    }
}

@media (min-width: 992px) {
    .testimonial-card {
        min-width: 33.333%;
    }
}

.testimonial-content {
    background-color: var(--light);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonial-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.testimonial-date {
    font-size: 0.8rem;
    color: var(--muted);
}

.testimonial-rating {
    display: flex;
    gap: 0.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background-color: transparent;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #D0D0D0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary);
    width: 30px;
    border-radius: 10px;
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
    background-color: var(--light);
}

.blog-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-body {
    padding: 1.25rem;
}

.blog-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--muted);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.cta-section::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 100%;
    height: 300%;
    background-color: var(--primary-dark);
    border-radius: 50%;
    opacity: 0.2;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--secondary);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

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

.social-link:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

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

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: var(--white);
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--secondary);
}

.newsletter-btn {
    background-color: var(--secondary);
    border: none;
    border-radius: 10px;
    padding: 0 1.2rem;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: var(--secondary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
}

.fab:hover {
    transform: scale(1.1);
    background-color: var(--secondary-dark);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .footer {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .hero-section {
        padding: 4rem 0 5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .destination-card img {
        height: 250px;
    }

    .cta-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
    }

    .package-card:hover,
    .destination-card:hover,
    .blog-card:hover {
        transform: none;
    }

    .testimonial-track {
        transition: none;
    }
}