/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    padding-top: 60px; /* Offset so content doesn't hide under the header */
}

header {
    background: #007749; /* Jungle Green */
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Keeps it on top of other elements */
}

/* Main Menu */ 
nav {
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: wrap; /* Allows items to wrap on small screens */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

nav ul li {
    position: relative; /* Essential for positioning the dropdown */
}


nav ul li a {
    text-decoration: none;
    color: #fff;
    padding: 20px 15px;
    display: block;
    transition: 0.3s;
}
    nav ul li a:hover {
    color: #008080;
}

/* Dropdown Menu (Hidden by default) */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%; /* Sits directly below the parent LI */
    left: 0;
    background-color: #42c29c;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(23, 128, 54, 0.1);
    flex-direction: column; /* Stacks items vertically */
    z-index: 100;
}

/* Show Dropdown on Hover */
nav ul li:hover > ul {
    display: flex;
}

/* Dropdown Item Styling */
nav ul li ul li a {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
}



.btn:hover {
    background-color: #005a5a;
}



/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('heroimage_jamaica-Winnifred-Beach.jpg');
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}
  
.btn {
    background: #FFB81C; /* Gold */
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
}

/* Grid Layout */
.container {
    width: 80%;
    margin: 2rem auto;
    
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

   

.card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
  
html, body {
  max-width: 100%;
  overflow-x: hidden; /* Stops horizontal sliding */
  margin: 0;           /* Removes default browser gaps */
  padding: 0;
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



