.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 85px);
    background-image: url("../image/background.webp");
    background-size: cover;
    background-position: center;
    padding: 40px 20px 20px;
}

.home-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.home-content h1 {
    font-size: 32px;
    color: #173366;
    margin-bottom: 15px;
    font-weight: 600;
}

.home-content .description {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.5;
}

.city-selector {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.selector-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.city-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #219348;
    border-radius: 30px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: border-radius 0.3s, box-shadow 0.3s;
}

.city-input.active {
    border-radius: 30px 30px 0 0;
    border-bottom: none;
}

.dropdown-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #219348;
    font-size: 24px;
    cursor: pointer;
    pointer-events: none;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #219348;
    border-top: none;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s, opacity 0.3s;
    z-index: 1000;
    box-sizing: border-box;
}

.dropdown-menu.active {
    max-height: 250px;
    opacity: 1;
    overflow-y: auto;
}

.dropdown-item {
    padding: 12px 20px;
    cursor: pointer;
    color: #2c3e50;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #219348;
}

.dropdown-item.selected {
    background-color: #e8f5e8;
    color: #219348;
    font-weight: 500;
}

.check-icon {
    color: #219348;
    font-size: 20px;
    opacity: 0;
}

.dropdown-item.selected .check-icon {
    opacity: 1;
}

.select-button {
    padding: 15px 50px;
    background: linear-gradient(135deg, #219348 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s;
}

.select-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.how-it-works {
    margin-top: 40px;
}

.how-it-works h2 {
    color: #173366;
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 600;
}

.how-it-works ul {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.how-it-works li {
    margin-bottom: 15px;
    color: #2c3e50;
    padding-left: 35px;
    position: relative;
    line-height: 1.6;
    font-size: 16px;
}

.how-it-works li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #219348;
    font-weight: bold;
    font-size: 18px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-footer {
    margin-top: 40px;
}

.logo-footer img {
    width: 80px;
    opacity: 0.8;
    border-radius: 50%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Mobile */
@media (max-width: 768px) {
    .home-container {
        padding: 20px 15px;
    }

    .home-content h1 {
        font-size: 28px;
    }

    .home-content .description {
        font-size: 16px;
    }

    .city-input {
        font-size: 16px;
        padding: 14px 45px 14px 18px;
    }

    .how-it-works {
        margin-top: 30px;
    }

    .how-it-works h2 {
        font-size: 24px;
    }

    .how-it-works li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .home-content h1 {
        font-size: 26px;
    }

    .selector-container {
        max-width: 100%;
    }

    .select-button {
        width: 100%;
        max-width: 300px;
    }
}