/* Main Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
}

.container {
    width: 90%;
    margin: 0 auto;
}

/* Header Section */
.header {
    background-color: #ff6666;
    color: white;
    padding: 15px 0;
}

.logo h1 {
    display: inline-block;
}

.nav-links {
    float: right;
    list-style: none;
}

.nav-links li {
    display: inline-block;
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: url('zomato-social.png') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 150px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.search-bar {
    display: flex;
    justify-content: center;
}

.search-bar input {
    width: 40%;
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px 0 0 5px;
}

.search-bar button {
    padding: 10px;
    font-size: 1rem;
    border: none;
    background-color: #ff6666;
    color: white;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #ff4d4d;
}

/* Restaurants Section */
.restaurants {
    padding: 50px 0;
    background-color: #f5f5f5;
    text-align: center;
}

.restaurants h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.restaurant-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.restaurant {
    width: 23%;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

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

.restaurant h3 {
    padding: 15px;
    font-size: 1.2rem;
}

.restaurant:hover {
    transform: translateY(-10px);
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    border-radius: 10px;
    overflow: hidden; /* Prevent content overflow */
}

.mySlides1, .mySlides2, .mySlides3, .mySlides4 {
    display: none;
}

.mySlides1 img, .mySlides2 img, .mySlides3 img, .mySlides4 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Navigation buttons */
.prev1, .next1, .prev2, .next2, .prev3, .next3, .prev4, .next4 {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%); 
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.5); /* Set transparent black background */
    border-radius: 20%;
    user-select: none;
    z-index: 100;
}

.prev1, .prev2, .prev3, .prev4 {
    left: 10px;
}

.next1, .next2, .next3, .next4 {
    right: 10px;
}

.prev1:hover, .next1:hover, .prev2:hover, .next2:hover, .prev3:hover, .next3:hover, .prev4:hover, .next4:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Darker background on hover */
}


/* Footer Section */
.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
}