/* Reset and base font setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

body {
    color: #333;
    background-color: #fff;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #e23744;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo img {
    height: 50px;
}

header ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

header ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

header ul li a:hover {
    color: #ffeaea;
}

/* MAIN: Hero Section */
main section:first-of-type {
    height: 90vh;
    background-image: url('../img/dbg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    position: relative;
}

main section:first-of-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

main section:first-of-type * {
    position: relative;
    z-index: 1;
}

main section:first-of-type img {
    width: 220px;
    margin-bottom: 30px;
}

main section:first-of-type p {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

main section:first-of-type input {
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    width: 300px;
    max-width: 90%;
    font-size: 16px;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

main section:first-of-type input:focus {
    transform: scale(1.05);
}

/* MAIN: Second Section (Features + Location) */
main section:nth-of-type(2) {
    padding: 60px 40px;
    text-align: center;
    background-image: url('../img/sec.png'); /* Customize path */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    position: relative;
}

main section:nth-of-type(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

main section:nth-of-type(2) * {
    position: relative;
    z-index: 1;
}

main section:nth-of-type(2) h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

main section:nth-of-type(2) p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #eee;
}

/* Features Layout */
.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background-color: rgba(3, 0, 0, 0.9);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 200px;
    transition: transform 0.3s ease;
    color: #333;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 18px;
    color: #e23744;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #555;
}

/* Location dropdown */
main section:nth-of-type(2) select {
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* FOOTER */
footer {
    padding: 20px;
    text-align: center;
    background-color: #fe0404cc;
    color: #faf8f8;
    font-size: 14px;
}
/* Hero Buttons */
.hero-buttons {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons button {
    background-color: #f0d1d4;
    color: rgb(7, 7, 7);
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-buttons button:hover {
    background-color: #c32b3a;
    transform: scale(1.05);
}

/* "Select Your City" text styling */
main section:nth-of-type(2) p b {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    color: #fff;
}
