@import "./services.css";
@import "./modals.css";
@import "./process.css";

:root {
    --primary: #0052FF;
    --primary-gradient: linear-gradient(135deg, #0052FF 0%, #002D9C 100%);
    --dark-blue: #0A1931;
    --text-dark: #1E293B;
    --text-muted: #475569;
    --bg-light: #F8FAFC;
    --bg-gradient: linear-gradient(135deg, rgba(208, 229, 255, 0.92) 0%, rgba(58, 120, 253, 0.4) 100%);
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --glow: 0 0 30px rgba(0, 82, 255, 0.4);
    --success: #28a745;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-margin-top: 100px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(10, 25, 49, 0.05);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-image {
    height: 60px;
}

.logo-text span {
    color: var(--primary);
    font-weight: 400;
    font-size: 0.75rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.cta-btn {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(0, 82, 255, 0.2);
    /* transition: var(--transition); */
}

.cta-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 82, 255, 0.3);
    opacity: 0.95;
    border: 1px solid var(--white);
}

.lang-switch {
    display: flex;
    background: var(--light-bg);
    border-radius: 20px;
    padding: 2px;
    border: 1px solid var(--border);
    cursor: pointer;
}

.lang-btn {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    border: none;
    background: transparent;
    cursor: pointer;
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: transparent;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-blue);
    border-radius: 2px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-blue);
    border-radius: 3px;
    transition: var(--transition);
}

/* Sections General */
section {
    padding: 5rem 2rem 5rem;
}

.section-bg {
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 12rem 2rem 8rem;
    position: relative;
    background-image: url('../images/dbg.jpg');
    background-size: cover;
    background-position: bottom right;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--white);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center; 
    text-align: left;
}

.hero-content {
    width: 100%;
    max-width: 900px;
    text-align: left;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(6 75 162 / 28%) 0%, rgb(23 65 154 / 51%) 100%);
    z-index: 1;
}

.hero>* {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
    font-weight: 700;
    max-width: 900px;
    margin-left: 0;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--primary);
    text-shadow: 0px 0 #fff, 0px 0 #fff, 0 0px #fff, 0 0px #fff, 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--white);
    max-width: 600px;
    margin: 3.5rem;
    margin-left: 0;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--text-muted);
    color: var(--dark-blue);
}

/* about */
.about-grid {
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.75rem;
    color: var(--dark-blue);
    margin-bottom: 1.25rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(10, 25, 49, 0.02);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-blue);
}

/* Uslugi */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(10, 25, 49, 0.02);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.08);
    border-color: rgba(0, 82, 255, 0.2);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 82, 255, 0.08);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


/* Ceni */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.1);
}

.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: var(--glow);
}

.badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.price-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
}

.price-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.price-btn.primary {
    background: var(--primary-gradient);
    color: var(--white);
}

.price-btn.secondary {
    background: var(--bg-light);
    color: var(--dark-blue);
    border: 1px solid var(--border-color);
}

.price-btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

/* Kontakti */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.75rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.contact-info h3 span {
    color: var(--primary);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.info-text h4 {
    color: var(--dark-blue);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.info-text p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.info-text>a {
    color: var(--dark-blue);
    text-decoration: none;
}

.info-text>a:hover {
    color: var(--primary);
}

/* Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 25px rgba(10, 25, 49, 0.02);
    scroll-margin-top: 150px;

}

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

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    width: 100%;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 82, 255, 0.2);
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 255, 0.3);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: center;
    display: none;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-text {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

footer .logo-image {
    filter: drop-shadow(0px 0px 0px transparent) drop-shadow(0px 0px 0px #fff) drop-shadow(0px 0px 0px #fff) drop-shadow(1px 1px 0px #fff);
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    color: rgb(238, 20, 21);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.arrow-up {
    font-size: 1rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (hover: hover) {
    .back-to-top:hover {
        background-color: var(--primary);
        color: var(--white);
        box-shadow: var(--glow);
    }
}


/* Responsive */
@media (max-width: 1024px) {
    * {
        scroll-margin-top: 120px;
    }
    .hero {
        background-position: bottom right;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 101px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
        gap: 15px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        background-position: bottom right -48px;
    }

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

    .stat-number {
        font-size: 1.45rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 575px) {
    * {
        scroll-margin-top: 100px;
    }

    .hero {
        background-position: bottom right -190px;
    }

    .hero-content h1 {
        letter-spacing: 2px;
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin: 2.0rem 0;
        margin-right: 0;
    }

    .hero-btns {
        display: flex;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 5rem 1.8rem 5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .process-steps {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        max-width: 100%
    }

    .process-step {
        gap: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
    }

    .process-step:not(:last-child)::before {
        left: 20px;
        top: 40px;

    }

    .form-control {
        font-size: 0.85rem;
    }
    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 350px) {
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .pricing-card {
        padding: 4rem 1.15rem;
    }

    .price {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem 1.02rem;
    }
}