body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0d0d0d;
    color: white;
    scroll-behavior: smooth;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 35px;
    background: rgba(10,10,10,0.96);
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.navbar nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: bold;
}

.navbar nav a:hover {
    color: #d6d6d6;
}

.hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
}

.hero-text h1 {
    font-size: 62px;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 22px;
    color: #ddd;
    max-width: 900px;
    margin: auto;
}

.map-section {
    padding: 50px 25px 20px;
    text-align: center;
}

.map-section h2,
.calculator-section h2,
.news-section h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.map-section p,
.calculator-section p,
.news-section p {
    color: #ccc;
    font-size: 18px;
}

.top-controls {
    padding: 30px;
}

select,
input {
    padding: 14px 18px;
    border-radius: 14px;
    border: none;
    font-size: 17px;
    background: #1d1d1d;
    color: white;
    outline: none;
}

#map {
    height: 560px;
    margin: 0 25px 25px;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #333;
}

#info {
    margin-top: 25px;
    font-size: 28px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 25px;
}

.card {
    background: #1a1a1a;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.45);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-7px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card h3 {
    margin-top: 0;
}

.card p {
    color: #cfcfcf;
}

.price {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.badge {
    display: inline-block;
    background: #2a2a2a;
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
    color: #ddd;
}

.card a {
    display: inline-block;
    margin-top: 12px;
    padding: 11px 16px;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
}

.calculator-section {
    padding: 70px 25px;
    background:
        linear-gradient(rgba(17,17,17,0.90), rgba(17,17,17,0.94)),
        url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    text-align: center;
}

.calculator-box {
    max-width: 550px;
    margin: 35px auto 0;
    background: rgba(26,26,26,0.92);
    padding: 35px;
    border-radius: 25px;
    text-align: left;
    box-shadow: 0 15px 40px rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
}

.calculator-box label {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: bold;
}

.calculator-box select,
.calculator-box input {
    width: 100%;
    box-sizing: border-box;
}

.calculator-box button {
    width: 100%;
    margin-top: 25px;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: white;
    color: black;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.calculator-box button:hover {
    background: #d6d6d6;
}

.result {
    margin-top: 25px;
    background: #101010;
    padding: 22px;
    border-radius: 18px;
    line-height: 1.8;
    display: none;
}

.news-section {
    position: relative;
    padding: 80px 25px;
    background:
        url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.78);
}

.news-content {
    position: relative;
    z-index: 2;
}

.news-filters,
.news-time {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

.filter-btn,
.time-btn {
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid #444;
    background: #1d1d1d;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.filter-btn.active,
.time-btn.active {
    background: white;
    color: black;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 35px auto 0;
}

.news-card {
    background: rgba(26,26,26,0.92);
    border-radius: 22px;
    padding: 24px;
    text-align: left;
    border: 1px solid #252525;
    transition: 0.3s;
    backdrop-filter: blur(8px);
}

.news-card:hover {
    transform: translateY(-6px);
}

.news-card h3 {
    margin-top: 0;
    font-size: 21px;
}

.news-card p {
    color: #cfcfcf;
    font-size: 16px;
}

.news-card a {
    display: inline-block;
    margin-top: 12px;
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

.news-date {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 12px;
}

.news-tag {
    display: inline-block;
    background: #2a2a2a;
    color: #ddd;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 12px;
}

@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        gap: 12px;
    }

    .navbar nav a {
        margin: 0 8px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text p {
        font-size: 18px;
    }

    #map {
        height: 430px;
        margin: 15px;
    }

    .calculator-section h2,
    .map-section h2,
    .news-section h2 {
        font-size: 30px;
    }
}