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

body {
    background: #bbb6b6;
    text-align: center;
} 


body {
    background: url('https://t3.ftcdn.net/jpg/05/02/37/84/360_F_502378455_UH76V1lhBW0zHX8UozsW9LJDcS02QuTo.jpg') no-repeat center/cover;
    text-align: center;
}

 header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: #f2ecec;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


nav ul li a {
    text-decoration: none;
    color: rgb(17, 16, 16); /* Default color */
    padding: 10px;
}

nav ul li a.active {
    color: white;
    background-color: black;
    border-radius: 5px;
}


#hero h1 {
    color: #fffbf9; 
} 

 .logo {
    font-size: 24px;
    font-weight: bold;
    color: black;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: 500;
}

nav ul li a:hover {
    color: gray;
} 

/* HERO SECTION */
 #hero {
    background: url('https://source.unsplash.com/random/1600x500?abstract') no-repeat center/cover;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}



.search-bar select, .search-bar input, .search-bar button {
    padding: 10px;
    border: none;
    font-size: 16px;
}

.search-bar select {
    border-radius: 5px 0 0 5px;
}

.search-bar input {
    width: 300px;
}


.search-bar button {
    background: black;
    color: white;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
} 
     

 .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
    padding: 70px;
    max-width: 1200px;
    
}  


.grid-container img {
    width: 560px; 
    height: 570px; 
    border-radius: 8px;
}

.grid-container img:hover {
    transform: scale(1.05); 
    transition: transform 0.3s ease-in-out;
}

#contact-form {
    display: none;
}


 #contact-form {
    width: 300px;
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    position: absolute;
    top: 80px;  
    right: 20px;
}  





#contact-form h3 {
    text-align: center;
    margin-bottom: 15px;
}

#contact-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;  /* Increased margin to add gap */
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: left;
}

#contact-form button {
    width: 100%;
    padding: 10px;
    background: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#contact-form button:hover {
    background: #333;
}


.active {
    color: red; /* Change color to indicate active */
    font-weight: bold;
}


footer {
    margin-top: 30px;
    padding: 20px;
    background: #222;
    color: white;
}



