*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.hero{
    width: 100%;
    min-height: 100vh;
    background-image: url(base-image.jpg);
    background-position: center;
    background-size: cover;
    padding: 14px 10%;
    overflow: hidden;
}
nav {
    display: flex; /* This aligns items side-by-side */
    align-items: center; /* This vertically centers them */
    justify-content: space-between; /* This pushes logo to left, menu to center, buttons to right */
    padding: 10px 0;
}

.logo {
    width: 100px; /* Adjust this to control logo size */
    cursor: pointer;
}

nav ul {
    list-style: none; /* Removes the bullet points */
    display: flex; /* Makes the list items go horizontal */
    gap: 30px; /* Adds space between the "Bla bla" links */
}

nav ul li a {
    text-decoration: none; /* Removes the underline */
    color: white; /* Change color as needed */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Styling for the Login/Register container */
nav div a {
    text-decoration: none;
    color: white;
    margin-left: 20px; /* Space between Log In and Register */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.logo{
    width: 200px;
    border-radius: 50%;
    cursor: pointer;
}

/* ---------------Destination Section--------------- */

.destinations {
    padding: 50px 10%;
    text-align: center;
}

.destinations h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover; 
}

.card h3 {
    padding: 15px;
    background-color: #f4f4f4;
}

/* ------------------------------------------------------------- */

.hero-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-paragraph {
    position: absolute;
    /* Center the box horizontally, but keep it lower down */
    top: 70%;
    left: 50%;
    transform: translate(-50%, 0); /* Only adjust horizontal center */
    
    /* Control the size so it doesn't stretch too wide */
    width: 90%;
    max-width: 700px;
    
    /* Typography */
    color: white;
    font-size: 1.1rem; /* Smaller, cleaner text (approx 16-18px) */
    font-weight: 400; /* Normal weight is easier to read than bold */
    line-height: 1.6; /* Adds breathing room between lines */
    text-align: center;
    
    /* The Box Style */
    background-color: rgba(255, 255, 255, 0.15); /* Faint white tint */
    backdrop-filter: blur(10px); /* Blurs the image behind the text */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle white border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Soft shadow for depth */
}

/* --- Button Styling --- */

.cta-button {
    color: white;             /* Forces text to be white */
    text-decoration: none;    /* Removes the underline */
    border: 2px solid white;  /* Adds a white box around it */
    padding: 10px 20px;       /* Adds space inside the box */
    border-radius: 25px;      /* Rounds the corners */
    margin-top: 20px;         /* Adds space between the text and the button */
    display: inline-block;    /* Makes the margin and padding work correctly */
    transition: background 0.3s, color 0.3s; /* Smooth animation */
}

/* Optional: Makes it turn white with black text when you hover over it */
.cta-button:hover {
    background-color: white;
    color: black;
}

/* --- Contact Section --- */

.contact-section {
    padding: 60px 10%;
    background-color: #f9f9f9; /* Light grey background to separate it from the white grid */
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-section p {
    margin-bottom: 40px;
    color: #666;
}

/* The Box holding the form */
.form-container {
    max-width: 600px;       /* Keeps the form from getting too wide */
    margin: 0 auto;         /* Centers the form in the middle of the page */
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Adds a nice shadow pop */
    text-align: left;       /* Aligns labels to the left */
}

/* Styling Labels */
label {
    display: block;         /* Puts label on its own line */
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

/* Styling Inputs, Selects, and Textareas */
input, select, textarea {
    width: 100%;            /* Makes them fill the container width */
    padding: 12px;
    margin-bottom: 20px;    /* Space between fields */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Form Focus Effect (User clicks inside) */
input:focus, textarea:focus, select:focus {
    border-color: #00d4ff;  /* Highlights border blue when typing */
    outline: none;
}

/* Submit Button Styling */
.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #555; /* Lighter grey on hover */
}