/* Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #fff;
    --black: #000;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 72px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

.btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

.section-header h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

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

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

/* Navigation */
.navbar {
    background-color: var(--secondary-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(44, 62, 80, 0.95);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 30px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    border-radius: 4px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background-color: var(--primary-color);
}

/* Hero Slider */
.carousel {
    margin-top: -72px;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    bottom: 30%;
    text-align: left;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Search Section */
.search-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.search-box {
    background-color: rgba(255, 255, 255, 0.95);
}

/* Featured Destinations */
.destination-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

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

.destination-img {
    height: 200px;
    overflow: hidden;
}

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

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

.destination-info {
    padding: 20px;
}

.destination-info h3 {
    margin-bottom: 10px;
}

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

.destination-rating {
    color: #f39c12;
}

/* Why Choose Us */
.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Testimonials */
.testimonial-item {
    padding: 30px;
}

.testimonial-img img {
    border: 3px solid var(--primary-color);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-content h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Newsletter */
.newsletter {
    background-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
}

footer h5 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #bdc3c7;
    transition: all 0.3s ease;
}

footer ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Page Header https://images.unsplash.com/photo-1587474260584-136574528ed5 */
.page-header {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/IMG_1874.JPG') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
}

/* Destinations Page */
.map-container {
    position: relative;
}

.map-location {
    position: absolute;
    cursor: pointer;
}

.map-pin {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
}

.map-pin:after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--white);
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
}

.map-tooltip {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.map-location:hover .map-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 35px;
}

/* Packages Page */
.package-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-img {
    height: 200px;
    overflow: hidden;
}

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

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

.package-info {
    padding: 20px;
}

.package-info h3 {
    margin-bottom: 10px;
}

.package-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    margin-bottom: 15px;
}

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

/* Gallery Page */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: var(--white);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.video-thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Blog Page */
.blog-post {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-img {
    height: 250px;
    overflow: hidden;
}

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

.blog-post:hover .blog-img img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-meta span {
    margin-right: 15px;
}

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

.blog-title {
    margin-bottom: 15px;
}

.blog-excerpt {
    margin-bottom: 15px;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
}

.read-more:hover {
    color: var(--secondary-color);
}

.blog-sidebar .card {
    margin-bottom: 30px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-sidebar .card-body {
    padding: 20px;
}

.blog-sidebar .list-group-item {
    border: none;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.blog-sidebar .list-group-item:last-child {
    border-bottom: none;
}

.blog-sidebar .list-group-item a {
    color: var(--text-color);
    transition: all 0.3s ease;
}

.blog-sidebar .list-group-item a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags a {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f8f9fa;
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.tags a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Contact Page */
.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-details h5 {
    margin-bottom: 5px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon.facebook {
    background-color: #3b5998;
}

.social-icon.twitter {
    background-color: #1da1f2;
}

.social-icon.instagram {
    background-color: #e1306c;
}

.social-icon.youtube {
    background-color: #ff0000;
}

.social-icon.linkedin {
    background-color: #0077b5;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.map-container iframe {
    border-radius: 10px;
}

/* About Page */
.about-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.team-card .social-links a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 0.8rem;
    margin: 0 5px;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
}

.team-card .social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.certification-item img {
    margin-bottom: 15px;
    /* filter: grayscale(100%); */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.certification-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding: 20px;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: none;
    padding: 20px;
}

/* Lightbox Overrides */
.lightbox .lb-image {
    border: none;
    border-radius: 5px;
}

.lightbox .lb-nav a.lb-prev, 
.lightbox .lb-nav a.lb-next {
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}