/* Color Palette & Custom Properties */
:root {
    --primary-color: #008080;
    /* Bluish-Green / Teal */
    --secondary-color: #D9383A;
    /* Red Accent */
    --dark-color: #1A2E2E;
    --light-color: #F4F7F7;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
   
}
p{
     text-align: justify;
}
/* Utility Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #006666;
    border-color: #006666;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #B82F31;
    border-color: #B82F31;
}

/* Top Header Utility Bar */
.top-header {
    background-color: var(--dark-color);
    color: #b0c4c4;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-header a {
    color: #b0c4c4;
    text-decoration: none;
    transition: color 0.2s;
}

.top-header a:hover {
    color: var(--secondary-color);
}

.top-social-icons a {
    font-size: 0.9rem;
}

/* Navigation Bar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

/* Parallax General Setup */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Hero Banner */
.hero-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/1.jpeg');
    height: calc(100vh - 40px);
    /* Accounted for top header height */
    display: flex;
    align-items: center;
    color: white;
}

/* Owl Carousel Packages Section */
.package-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-card img {
    height: 320px;
    object-fit: cover;
}

.package-card .card-title {
    color: var(--primary-color);
}

.package-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Testimonial & Google Reviews Section */
.testimonial-box {
    background: var(--light-color);
    border-left: 5px solid var(--primary-color);
}

.rating-stars {
    color: #FFD700;
}

.google-rating-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Title Banner (Parallax) */
.title-banner {
    background-image: linear-gradient(rgba(0, 128, 128, 0.75), rgba(0, 128, 128, 0.75)), url('images/3.jpg');
    padding: 100px 0;
    color: white;
}

/* Activities Flipping Grid */
.activity-card-container {
    perspective: 1000px;
    height: 300px;
}

.activity-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.activity-card-container:hover .activity-card {
    transform: rotateY(180deg);
}

.activity-front,
.activity-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}

.activity-front {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.activity-title-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    width: 100%;
    padding: 20px;
    color: white;
}

.activity-back {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

/* About Us Section (Parallax Overlaid) */
.about-parallax-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/1920/1080?random=3');
    padding: 120px 0;
    color: white;
}

.about-content-box {
    background: rgba(26, 46, 46, 0.85);
    border-top: 4px solid var(--secondary-color);
}

/* Footer Section */
footer {
    background-color: var(--dark-color);
    color: #b0c4c4;
}

footer h5 {
    color: #ffffff;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 8px;
    display: inline-block;
}

footer a {
    color: #b0c4c4;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    background-color: #111F1F;
    font-size: 0.9rem;
}

/* Fix background attachment for mobile touch environments */
@media (max-width: 991.98px) {
    .parallax-bg {
        background-attachment: scroll;
    }

    .hero-banner {
        height: 70vh;
    }
}

.page-title-banner {
    /* 1. Linear-gradient creates a dark overlay over the image to make white text pop */
    background-image: linear-gradient(rgba(0, 40, 40, 0.65), rgba(0, 40, 40, 0.65)),
        url('https://picsum.photos/1920/650?random=45');

    /* 2. Key properties for the Parallax Effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    /* 3. Padding controls the height/vertical space of the banner */
    padding: 60px 0;
    color: #ffffff;
}

.page-title-banner h1 {
    font-size: 3.5rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Customizing Bootstrap Breadcrumb Styles to fit the theme */
.page-title-banner .breadcrumb {
    background: transparent;
    display: inline-flex;
    padding: 8px 20px;
    border-radius: 50px;
    background-color: rgba(26, 46, 46, 0.4);
    /* Subtle backing shield */
    backdrop-filter: blur(4px);
    /* Modern frosted-glass finish */
}

.page-title-banner .breadcrumb-item,
.page-title-banner .breadcrumb-item a {
    color: #e0f2f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.page-title-banner .breadcrumb-item a:hover {
    color: var(--secondary-color);
    /* Turns red on hover */
}

.page-title-banner .breadcrumb-item.active {
    color: #ffffff;
}

/* Custom diagnostic separator icon instead of default slash */
.page-title-banner .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f105";
    /* Font Awesome angle-right icon */
}

/* Responsive Fix for Mobile Touch Devices (Parallax can be jittery on mobile safari/chrome) */
@media (max-width: 991.98px) {
    .page-title-banner {
        background-attachment: scroll;
        /* Disables fixed parallax position safely */
        padding: 45px 0;
    }

    .page-title-banner h1 {
        font-size: 2.5rem;
    }
}