/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f7fa;
    color: #111;
    line-height: 1.6;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(17,17,17,0.95);
    backdrop-filter: blur(10px);
    padding: 18px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 14px;
    opacity: 0.85;
    transition: 0.2s;
}

.nav a:hover {
    opacity: 1;
}

.nav-cta {
    background: #fff;
    color: #111 !important;
    padding: 8px 16px;
    border-radius: 8px;
}

/* HERO */

.hero {
    height: 100vh;
    background: linear-gradient(135deg, #111 0%, #1e1e1e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-inner {
    max-width: 800px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    margin-top: 20px;
    font-size: 18px;
    opacity: 0.8;
}

.cta {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 28px;
    background: #fff;
    color: #111;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.2s;
}

.cta:hover {
    transform: translateY(-3px);
}

/* SEARCH BAR */

.search-bar {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 0;
}

.search-bar input {
    padding: 14px 18px;
    width: 300px;
    border-radius: 10px 0 0 10px;
    border: none;
    outline: none;
}

.search-bar button {
    padding: 14px 18px;
    border: none;
    background: #fff;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}

/* LISTINGS */

.listings-section {
    padding: 120px 0;
    background: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    transition: 0.25s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}

.card-body {
    padding: 25px;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.price {
    font-weight: 600;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
}

.empty {
    opacity: 0.6;
}

/* FOOTER */

footer {
    background: #111;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }

    .search-bar input {
        width: 200px;
    }

    .header {
        padding: 18px 30px;
    }
}

/* LANGUAGE SWITCHER */

.lang-switcher {
    position: relative;
    margin-left: 20px;
}

.lang-button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-button:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.lang-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    padding: 10px 0;
    min-width: 160px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.25s ease;
}

.lang-dropdown a {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    color: #111;
    font-size: 14px;
    transition: background 0.2s ease;
}

.lang-dropdown a:hover {
    background: #f4f4f4;
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
