/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF5733; /* Vibrant Orange */
    --secondary-color: #D2B48C; /* Tan/Beige */
    --text-color: #333; /* Dark Grey for text */
    --background-color: #fdfdfd; /* Off-white background */
    --header-footer-bg: var(--secondary-color); /* Use secondary for header/footer */
    --header-height: 70px; /* Define header height for body padding */
    --heading-color: var(--primary-color); /* Added heading color */
}

body {
    font-family: 'Roboto', sans-serif; /* Set Roboto as default */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: beige; /* Added overall background color */
    padding-top: var(--header-height); /* Add padding to prevent overlap */
}

header {
    background-color: var(--header-footer-bg);
    /* color: var(--text-color); */ /* Color will be inherited or set on links */
    padding: 0 1rem; /* Adjust padding for horizontal layout */
    /* text-align: center; */ /* Remove center alignment */
    position: fixed; /* Make header sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure header is above other content */
    height: var(--header-height);
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Space out logo and nav */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional shadow */
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Logo styling */
.logo-img {
    height: 80px;
    width: auto;
    object-fit: cover;
}

.navbar {
    padding: 0.3rem 1rem;
    min-height: 50px; /* Fixed height that's about 110% of logo height */
    background-color: rgba(255, 248, 231, 0.95) !important; /* Match the beige color in the screenshot */
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 2rem;
}

header .logo img {
    height: calc(var(--header-height) - 20px); /* Adjust logo height based on header height */
    width: auto;
    display: block; /* Remove extra space below image */
}


nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

/* Navbar link styling */
.navbar-nav .nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-item .nav-link:hover::after {
    width: 50%;
}

/* Fix for dropdown toggle - remove permanent underline */
.navbar-nav .nav-item.dropdown .dropdown-toggle::after {
    /* Reset the ::after pseudo-element for Bootstrap's dropdown arrow */
    width: 0;
    height: 0;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    position: static;
    transform: none;
    background-color: transparent;
}

.navbar-nav .nav-item.dropdown .dropdown-toggle:hover::after {
    /* Ensure hover doesn't affect the dropdown arrow */
    width: 0;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* Add a separate underline effect for dropdowns */
.navbar-nav .nav-item.dropdown .dropdown-toggle .underline-effect {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-item.dropdown .dropdown-toggle:hover .underline-effect {
    width: 50%;
}

/* For non-Bootstrap navbar */
nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    font-weight: 500;
    transition: color 0.3s ease;
    border-radius: 30px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0.25rem;
    left: 50%;
    background-color: var(--primary-color);
    transition: width 0.3s ease, left 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover::after {
    width: calc(100% - 1.5rem);
    left: 0;
    transform: translateX(0.75rem);
}

header nav ul li a {
    font-family: sans-serif; /* Use default sans-serif as per hero section */
    color: var(--text-color);
    font-weight: bold;
}

main {
    padding-left: 2rem; /* Keep side padding */
    padding-right: 2rem;
    padding-bottom: 2rem; /* Keep bottom padding */
    max-width: 1200px;
    margin: 0 auto; /* Center main content */
}

section { /* General section padding, specific pages might override */
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

section:last-child {
    border-bottom: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: sans-serif; /* Use default sans-serif as per hero section */
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

/* Specific overrides for sections needing different padding */
#amenities-content {
    padding-top: 0; /* Remove top padding for amenities section */
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Navbar specific styles */
.navbar {
    background-color: bisque !important; /* Added navbar background color */
}

/* Responsive Design Base */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    nav ul li {
        display: block;
        margin: 10px 0;
    }
    /* Add other general responsive adjustments here */
}
