/* --- Component Styles --- */

/* Header */
.main-header {
    background-color: var(--secondary-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

/* Header Navigation */
.main-header .navbar {
    padding: 0;
}

.logo {
    font-size: 28px;
    letter-spacing: -0.5px;
    color: var(--white) !important;
    text-decoration: none !important;
    font-weight: 700;
}

.logo span {
    color: var(--primary-color);
}

.nav-links .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    font-size: 15px;
    opacity: 0.9;
    padding: 0.5rem 1rem !important;
    transition: 0.3s;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
    color: var(--primary-color) !important;
    opacity: 1;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
    padding: 4px 8px;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Bootstrap Overrides */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem var(--primary-light);
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
    color: var(--white);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.hero {
    position: relative;
    padding: 160px 0;
    background: linear-gradient(rgba(18, 18, 33, 0.8), rgba(18, 18, 33, 0.8)), url('../gallery/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.section-title hr {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border: none;
    margin: 0 auto;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: 0.4s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

/* Package Cards */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.package-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card:hover {
    transform: scale(1.02);
}

.package-img {
    height: 280px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.package-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.package-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.package-content .btn {
    margin-top: auto;
}



.stat-item h3 {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-item p {
    font-weight: 600;
    color: var(--text-muted);
}

/* Footer */
.main-footer {
    background-color: var(--secondary-dark);
    color: var(--white);
    padding: 100px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-info p {
    opacity: 0.7;
    margin-top: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer-grid h4 {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.7;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 0;
    text-align: center;
    opacity: 0.5;
    font-size: 14px;
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delayed {
    transition-delay: 0.2s;
}

/* Mobile Responsive */
/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .main-header {
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .trust-stats {
        margin-top: -30px;
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
        /* Slightly less padding to give more room for img */
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .feature-card {
        padding: 24px 16px;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}



/* Trust Stats on Homepage */

.trust-stats {

    background: var(--white);

    padding: 40px 0;

    margin-top: -50px;

    position: relative;

    z-index: 10;

    border-radius: var(--radius-md);
    /* 10px is not a standard radius */

    box-shadow: var(--shadow-md);

    width: 90%;

    margin-left: auto;

    margin-right: auto;

}



.trust-stats .container {

    display: flex;

    justify-content: space-around;

    text-align: center;

}



.trust-stats .stat-item h3 {

    color: var(--secondary-color);

    font-size: 32px;

    margin-bottom: 5px;

}



.trust-stats .stat-item p {

    color: var(--text-muted);

    font-weight: 600;

}





/* Call to Action Banner */

.cta-banner {

    background: var(--secondary-color);

    color: white;

    text-align: center;

    padding: 60px 0;

}



.cta-banner h2 {

    font-size: 36px;

    margin-bottom: 20px;

    color: var(--white);
    /* Ensure heading color is white */

}



.cta-banner p {

    font-size: 18px;

    margin-bottom: 30px;

    opacity: 0.9;

}



.cta-banner .btn {

    font-size: 18px;

    padding: 15px 40px;

}

/* Page Header for inner pages */
.page-header {
    background: var(--secondary-dark);
    /* Using secondary-dark as --bg-dark is not defined */
    padding: 60px 0;
    text-align: center;
    color: white;
}

.page-header h1 {
    color: var(--white);
}

.page-header p {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* About Page - Story Section */
.story-img img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.story-content h2 {
    color: var(--secondary-color);
}

.highlight-item i {
    color: var(--primary-color) !important;
    margin-top: 5px;
    font-size: 1.1rem;
}

/* Values Section */
.values {
    background: var(--white);
}

/* Services Page - Package Details */
.package-content ul {
    margin: 20px 0;
    color: var(--text-muted);
    list-style: none;
    padding-left: 0;
}

.package-content ul li {
    margin-bottom: 10px;
}

.package-content ul i {
    color: var(--primary-color);
    margin-right: 8px;
}

.package-content .btn {
    width: 100%;
    text-align: center;
}

/* Services Page - Inclusions Section */
.inclusions {
    background: var(--primary-light);
    color: var(--secondary-dark);
    padding: 60px 0;
    text-align: center;
}

.inclusions h3 {
    margin-bottom: 30px;
    font-size: 24px;
    color: var(--secondary-dark);
}

.inclusions-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.inclusion-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.inclusion-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.inclusion-item span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info>p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item-content h4 {
    margin: 0 0 5px 0;
    color: var(--secondary-color);
}

.contact-item-content p {
    margin: 0;
    color: var(--text-muted);
}

.contact-info .social-links {
    justify-content: start;
    margin-top: 40px;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.contact-form .btn {
    width: 100%;
    font-size: 18px;
    padding: 15px;
}

/* Map Section */
.map-section {
    padding: 0;
    line-height: 0;
    /* To remove whitespace under iframe */
}

.map-section iframe {
    border: none;
}

/* Blog Page */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.blog-post {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-post .post-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.blog-post .post-content {
    padding: 32px;
}

.blog-post .post-category {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-post .post-content h3 {
    margin: 10px 0;
    font-size: 1.5rem;
    /* 24px */
}

.blog-post .post-content p {
    color: var(--text-muted);
    font-size: 1rem;
    /* 16px */
    line-height: 1.7;
}

.blog-post .read-more-link {
    color: var(--secondary-color);
    font-weight: 700;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-post .read-more-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Custom Fonts for H1 */
h1,
.hero h1,
.page-header h1 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 700;
}

.siteon-credit {
    color: #34bdd9;
}

/* Welcome Section */
.welcome-section {
    background-color: var(--white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.welcome-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Tour Detail Page */
.tour-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.tour-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.tour-description h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.tour-description p {
    line-height: 1.7;
    color: var(--text-muted);
}

.tour-description h3 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 24px;
}

.tour-description ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.tour-description ul li {
    display: flex;
    align-items: start;
    gap: 16px;
    margin-bottom: 16px;
}

.tour-description ul i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 5px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.highlight-item i {
    font-size: 28px;
    color: var(--primary-color);
}

.highlight-item p {
    margin: 0;
    line-height: 1.5;
}

.tour-cta {
    margin-top: 40px;
    background: var(--primary-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.tour-cta p {
    margin-top: 16px;
}

/* Responsive Tour Detail */
@media (min-width: 992px) {
    .tour-overview {
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
    }
}

.related-tours {
    background: var(--bg-light);
}