/* Global Variables and Root Definitions */
:root {
    --background-light: #d8f0d8;
    --text-dark: #000000;
    --accent-red: #d81800;
    --secondary-tan: #bb855d;
    --secondary-green: #f0f0f0;
}

/* Base Styles */
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--background-light);
    color: var(--text-dark);
    padding-top: 60px;
    position: relative;
    padding-bottom: 20px;
}

/* Typography */
h1,
h2 {
    font-family: "Arial", sans-serif;
    margin-bottom: 15px;
}

p {
    line-height: 1.6;
    color: var(--text-dark);
}

/* Navigation Bar Styles */

/* Main navbar style */
.navbar {
    background-color: var(--secondary-green);
    border-bottom: 3px solid var(--accent-red);
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Navbar brand (logo and title) styles */
.navbar-brand,
.nav-link {
    color: var(--text-dark);
}

.navbar-brand img {
    max-height: 50px; /* Limiting the height of the logo */
}

/* Navbar links styling */
.nav-link {
    margin: 0 100px; /* Horizontal margin for links */
    transition: color 0.3s; /* Smooth color transition for hover effect */
}

/* Navbar link hover effect */
.nav-link:hover {
    color: var(--accent-red); /* Color change on hover */
}

/* Header Styles */
.christmas-header {
    background-color: var(--accent-red);
    text-align: center;
    padding: 40px 0;
    color: white;
}

.christmas-header h2 {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
}



/* Main Content Styles */
.container {
    flex: 1;
    border-radius: 10px;
    padding: 20px;
    background: var(--secondary-green);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: auto;
}

.container h1 {
    color: var(--text-dark);
    text-align: center;
}

/* Button Styles */
.btn-primary {
    background-color: var(--secondary-green);
    border-color: var(--accent-red);
    color: var(--text-dark);
    margin-top: 5px;
    padding: 10px 30px;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: var(--accent-red);
    border-color: var(--text-dark);
}

/* Image and Box Styles */
.img-fluid {
    width: 600px;
    height: 500px;
    object-fit: contain;
}

.content-box,
.image-box {
    height: 450px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.content-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background-color: var(--background-light);
}

.text-content {
    text-align: center;
    width: 100%;
}

.image-box img {
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Countdown Timer Styles */
.countdown-timer {
    text-align: center;
    font-size: 36px;
    color: var(--accent-red);
    padding-top: 20px;
}

.timer-days {
    color: var(--accent-color);
}

/* Carousel Styles */
#photoGallery {
    max-width: 80%;
    margin: auto;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel-item {
    height: 400px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Accordion Styles */
.accordion-item {
    margin-top: 20px;
    margin-bottom: 1rem;
}

.accordion-header {
    background-color: var(--secondary-green);
    border-radius: 5px;
}

.accordion-button {
    color: var(--text-dark);
    font-weight: bold;
}

.accordion-button:not(.collapsed) {
    color: var(--text-dark);
    background-color: var(--background-light);
}

.accordion-body {
    background-color: var(--background-light);
    border-radius: 5px;
    padding: 1rem;
}

/* Maps and Airbnb Embed Styles */
.maps-group,
.airbnb-embed-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.map-individual,
.airbnb-box {
    width: calc(40% - 10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 5px;
}

.map-title {
    text-align: center;
    font-weight: bold;
    color: var(--accent-red);
    background-color: var(--secondary-green);
}

.map-container iframe,
.airbnb-embed-container iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.airbnb-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Accommodation Budget Styles */
.accommodation-budget {
    margin-top: 20px;
    background-color: var(--background-light);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.accommodation-budget h3 {
    text-align: center;
    color: var(--accent-red);
    margin-bottom: 15px;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.table th,
.table td {
    text-align: left;
}

/* Activities Section Styles */
.activities-section .accordion-item,
.activities-section .accordion-header,
.activities-section .accordion-button,
.activities-section .accordion-button:not(.collapsed),
.activities-section .accordion-body {
    margin-top: 20px;
    margin-bottom: 1rem;
    background-color: var(--secondary-green);
    border-radius: 5px;
    color: var(--text-dark);
    font-weight: bold;
}

.activities-section h3 {
    color: var(--accent-red);
    margin-top: 15px;
}

.activities-section a {
    color: var(--text-dark);
    text-decoration: underline;
}

.activities-section p {
    font-size: 14px;
}

.activities-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.activity-box {
    flex-basis: calc(33% - 20px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: var(--secondary-green);
}

.activity-box img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
}

.activity-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Key Information Styles */
.card {
    height: 100%; /* Equal height for all cards */
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    justify-content: space-between;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows the body to fill the space */
}

.card-title {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.card-title i {
    color: #007bff;
    margin-right: 10px;
}

.card-text {
    font-size: 0.9em;
}

.col-md-4 {
    padding: 10px;
}

/* Itinerary and Plan Your Trip Styles */
.card {
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

/* Contact Form Submit Button Styling */
.contact-form-submit-button {
    background-color: var(--secondary-green);
    border-color: var(--accent-red);
    color: var(--text-dark);
    margin-top: 5px;
    padding: 12px 70px;
    border-radius: 5px;
}

.contact-form-submit-button:hover {
    background-color: var(--accent-red);
    border-color: var(--text-dark);
}

/* Footer Styles */
footer {
    margin-top: 20px;
    background-color: #f8f9fa;
    color: #333;
    font-size: 0.9em;
    border-top: 1px solid #e7e7e7;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar-nav {
        flex-direction: column; /* Changed to stack links vertically */
        align-items: center; /* Center align the items */
        margin-top: 1rem;
        width: 100%; /* Ensure nav items use full width */
    }
    .navbar-nav .nav-item,
    .navbar-nav .nav-link {
        width: 100%; /* Full width for better touch targets */
        text-align: center; /* Center align text within nav links */
    }
    .nav-link {
        margin: 8px 0; /* Adjust vertical spacing between links */
    }
    .navbar-brand {
        display: flex;
        justify-content: center; /* Center align the navbar brand */
        width: 100%; /* Full width */
        margin-top: 1rem;
    }
    .navbar-brand img {
        margin: auto; /* Center the image within its container */
    }
    .nav-item {
        margin: 0.5rem 0; /* Adjusted for vertical spacing */
    }
}

@media (max-width: 768px) {
    .container,
    .content-box,
    .image-box,
    .airbnb-box {
        padding: 15px; /* Adjust padding for a tighter layout */
    }
    
    .activities-section h3 {
        font-size: 20px; /* Slightly larger font size for visibility */
    }
    
    .activities-section p {
        font-size: 14px; /* Optimize paragraph text size for readability */
    }
    
    .activity-box,
    .itinerary-section .card,
    .plan-your-trip-section .card {
        margin-bottom: 20px; /* Ensure adequate spacing between cards for easier interaction */
        width: 100%; /* Adjust width to ensure content is fully visible */
    }

    .image-box img,
    .airbnb-box img {
        max-width: 100%; /* Ensure images are responsive and fit their containers */
        height: auto; /* Maintain aspect ratio */
    }
}





/* Miscellaneous/Utilities */
.row {
    margin-bottom: 20px;
}
