/* Basic page styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('background_image.png') no-repeat center center fixed;
    background-size: cover;
    color: #222;
}

/* Hide default radio button look */
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #2980b9; 
    border-radius: 50%;
    position: relative;
    margin-right: 8px;
    cursor: pointer;
    vertical-align: middle;
    outline: none;
}

/* Blue dot when checked */
input[type="radio"]:checked::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background-color: #2980b9;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hover & focus effects */
input[type="radio"]:hover { border-color: #3498db; }
input[type="radio"]:focus { box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.3); }

h1 { text-align: center; margin-top: 50px; }
h2 { color: #2c3e50; margin-top: 50px; }

/* Main container */
.main-container {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Flight details and form styling */
.flight-details { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.flight-details .field { display: flex; flex-direction: column; align-items: center; }
.flight-form {
    list-style: none;
    margin: 10px auto;
    padding: 20px;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    background-color: rgba(255,255,255,0.85);
    border-radius: 5px;
    max-width: 900px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.flight-form li {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f0f4f8;
    transition: 0.2s;
}
.flight-form li:hover { background-color: #e0ecf7; border-color: #888; }

.trip-type { 
    list-style: none; margin: 20px auto; padding: 20px;
    display: flex; gap: 20px; align-items: center; justify-content: flex-start;
    background-color: rgba(255,255,255,0.8); border-radius: 10px; max-width: 800px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.trip-type li {
    display: flex; align-items: center; gap: 8px; padding: 10px 20px;
    border: 1px solid #ccc; background-color: #f0f4f8; border-radius: 6px; transition: 0.2s;
}
.trip-type li:hover { background-color: #e0ecf7; border-color: #888; }

.city-select { list-style: none; margin: 0; padding: 20px; display: flex; gap: 20px; justify-content: center; }
.city-select li { display: flex; flex-direction: column; align-items: center; }

/* Book Now default styling */
.book-now {
    color: #2980b9;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

/* Highlight on hover */
.book-now:hover {
    background-color: #2980b9;  /* background highlight */
    color: #fff;                /* text color change */
    text-decoration: none;       /* remove underline if any */
}


/* Navigation menu */
nav {
    display: flex; justify-content: flex-end; gap: 15px; padding: 10px 20px;
    background-color: rgba(255,255,255,0.9); position: relative;
}
nav a { text-decoration: none; color: #2980b9; font-weight: bold; }
nav a:hover { color: #e74c3c; }

/* Form and buttons */
form { background-color: #ecf0f1; padding: 15px; border-radius: 8px; max-width: 900px; }
label { display: block; margin-top: 0; margin-right: 10px; font-weight: bold; }
input[type="text"], input[type="email"] { width: 100%; padding: 7px; margin-top: 5px; border: 1px solid #bdc3c7; border-radius: 4px; }
button { margin-top: 15px; padding: 10px 20px; background-color: #2980b9; color: white; border: none; border-radius: 5px; cursor: pointer; }
button:hover { background-color: #3498db; }

/* Table styling */
table { border-collapse: collapse; margin-top: 15px; width: 80%; background-color: #fff; }
table, th, td { border: 1px solid #bdc3c7; }
th, td { padding: 10px; text-align: left; }

/* Nested divs styling */
#parentDiv { background-color: #e1f5fe; padding: 10px; width: 800px; border-radius: 6px; margin-bottom: 20px; }
.childDiv { background-color: #b3e5fc; padding: 8px; margin-top: 5px; border-radius: 4px; }
