/* Modern Color Scheme */
:root {
    --primary: #1A3C34;
    --primary-light: #2D5D52;
    --secondary: #D4A373;
    --background: #F8F5F0;
    --text: #1A3C34;
    --text-light: #4A5E5A;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}


p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Modern Navigation */
.navbar {
    background-color: var(--primary);
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary) !important;
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    width: calc(100% - 2rem);
    height: 2px;
    background: var(--secondary);
}

/* Modern Buttons */
.btn {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 60, 52, 0.2);
}

/* Modern Cards */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Add to your <style> block or CSS file */
.tour-details-text,
.card-title,
.accordion-button,
.accordion-body,
.list-group-item {
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}

.accordion-body {
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

.card-body {
    padding: 1.5rem;
}

/* Modern Forms */
.form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(26, 60, 52, 0.1);
}

/* Hero Sections */
.hero-section {
    position: relative;
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(26, 60, 52, 0.7);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section .lead {
    font-size: 1.25rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Section Styling */
section {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

footer h5:after {
    content: '';
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 0.5rem;
}

footer a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

footer ul {
    padding-left: 0;
}

footer li {
    list-style: none;
    margin-bottom: 0.5rem;
}

footer img {
    margin-right: 8px;
}

/* Gallery */
.gallery-grid img, .join-section img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition);
}

.gallery-grid img:hover, .join-section img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Package Cards */
.card-img-top {
    height: 220px;
    object-fit: cover;
}

.price-tag {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .gallery-grid img, .join-section img {
        height: 200px;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    footer .col-md-3 {
        margin-bottom: 2rem;
    }
}