/* Основни стилове */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Навигация */
header {
    background: linear-gradient(90deg, #0056b3 0%, #003d82 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text span {
    color: #ffcc00;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.8rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover, .nav-links a.active {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Херо секция */
.hero {
    background: linear-gradient(rgba(0, 54, 115, 0.85), rgba(0, 54, 115, 0.9)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-bottom: 2.5rem;
    border-radius: 0 0 20px 20px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    font-weight: 300;
}

/* Калкулатор */
.calculator {
    background: linear-gradient(145deg, #ffffff, #f0f4f9);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    margin-bottom: 3rem;
    transition: transform 0.3s ease;
}

.calculator:hover {
    transform: translateY(-5px);
}

.calculator h2 {
    margin-bottom: 1.8rem;
    color: #0056b3;
    font-size: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.calculator h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0056b3, #ffcc00);
    border-radius: 2px;
}

.calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.form-container {
    flex: 1;
    min-width: 300px;
}

.result-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #003d82;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 2px solid #e1e6ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8fafc;
}

.form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
    outline: none;
}

.btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #ff9d00, #ffcc00);
    color: #003366;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 156, 0, 0.25);
}

.btn:hover {
    background: linear-gradient(90deg, #ffcc00, #ff9d00);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 156, 0, 0.35);
}

.result-box {
    background: linear-gradient(135deg, #0056b3, #003d82);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 61, 130, 0.3);
}

.result-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.result-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1.5rem 0;
    color: #ffcc00;
}

.result-details {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    line-height: 1.8;
}

/* Препоръки */
.recommendations {
    margin: 4rem 0;
}

.section-title {
    text-align: center;
    margin: 3rem 0 2rem;
    color: #003d82;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0056b3, #ffcc00);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #003d82;
}

/* Футър */
footer {
    background: linear-gradient(90deg, #00264d, #003d82);
    color: white;
    padding: 2.5rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    color: #e1e6ed;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #ffcc00;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #a8c6ff;
}

/* Адаптивен дизайн */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(90deg, #003d82, #00264d);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: all 0.5s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .mobile-menu-btn {
        display: block;
        color: white;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .calculator {
        padding: 1.5rem;
    }
}