/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    line-height: 1.6;
}

/* Header Section */
.header {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('image.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* Form Container */
.form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(6px);
    width: 100%;
    max-width: 750px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Heading */
.main-title {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* Form Styling */
.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* Input Fields */
.search-field {
    height: 50px;
    padding: 0 15px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    color: #333;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.search-field:focus {
    box-shadow: 0 0 5px rgba(255, 235, 59, 0.8);
}

/* Specific widths on larger screens */
.business {
    flex: 1 1 300px;
}

.location {
    flex: 1 1 200px;
}

.date {
    flex: 1 1 180px;
}

/* Date Input Wrapper */
.date-wrapper {
    position: relative;
    flex: 1 1 180px;
}

.calendar-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

/* Search Button */
.search-btn {
    height: 50px;
    padding: 0 30px;
    background-color: #ffeb3b;
    color: #000;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background-color: #ffc107;
    transform: translateY(-2px);
}

/* Accessibility Hidden Class */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-field,
    .search-btn {
        width: 100%;
    }

    .main-title {
        font-size: 2rem;
    }
}
