/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f2f2f2;
    color: #111418;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

:root {
    --primary: #FFC107;
    --secondary: #1A1A1A;
    --text-dark: #111418;
}

/* ===== Material Icons ===== */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===== Utility Classes ===== */
.text-primary {
    color: var(--primary);
}

/* ===== Navigation ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: white;
    border-bottom: 5px solid #333333;
}

.navbar-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.navbar-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 1.1rem 3rem;
    position: relative;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    padding: 1rem 0;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-container {
    height: 2.5rem;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

.navbar-nav {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

.navbar-nav.mobile-open {
    display: flex;
}

.mobile-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}

@media (max-width: 768px) {
    .nav-links.mobile-open {
        position: absolute;
        top: 100%;
        right: 48px;
        background-color: white;
        border-bottom: 5px solid #333333;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        align-items: flex-start;
    }

    .nav-links.mobile-open .nav-link {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid #e5e7eb;
    }
}

@media (min-width: 768px) {
    .navbar-nav {
        display: flex;
    }
    .mobile-menu-icon {
        display: none;
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    display: flex;
    min-height: 600px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background-color: var(--secondary);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--secondary), rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.4));
    z-index: 10;
}

.hero-pattern {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    background-color: #1A1A1A;
    background-image: radial-gradient(#FFC107 1px, transparent 1px), radial-gradient(#FFC107 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.hero-content {
    position: relative;
    z-index: 20;
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 1.25rem 3rem;
}

.hero-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    flex: 1;
    gap: 2rem;
    text-align: left;
}

.hero-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.033em;
    text-transform: uppercase;
    max-width: 800px;
}

.hero-subtitle {
    color: #9ca3af;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
    max-width: 600px;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
    }
    .hero-title {
        font-size: 4.5rem;
    }
}

/* ===== Buttons ===== */
.btn {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    padding: 0 2.5rem;
    border-radius: 0;
    transform: skewX(-10deg);
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    transition: all 0.3s ease;
}

.btn span {
    transform: skewX(10deg);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    background-color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

.btn-full:hover {
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
}

/* ===== Sections with Scroll Offset ===== */
#sluzby,
#onas,
#kontakt {
    scroll-margin-top: 40px;
}

/* ===== Services Section ===== */
.services-section {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding: 5rem 0;
    position: relative;
}

.services-container {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    padding: 0 2rem;
    margin: 0 auto;
    max-width: 1200px;
    flex: 1;
}

.services-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
    align-items: center;
    text-align: center;
}

.section-title {
    color: var(--text-dark);
    font-size: 2.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section-divider {
    height: 0.35rem;
    width: 15rem;
    background-color: var(--primary);
}

.section-subtitle {
    color: #617589;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

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

.service-card {
    display: flex;
    gap: 1.5rem;
    border-bottom: 4px solid transparent;
    background-color: #f3f4f6;
    padding: 2rem;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    border-bottom-color: var(--primary);
    transform: translateY(-0.25rem);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--secondary);
}

.service-icon .material-symbols-outlined {
    font-size: 2.25rem;
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-title {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-description {
    color: #617589;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ===== Why Us Section ===== */
.why-us-section {
    display: flex;
    flex-direction: column;
    background-color: var(--secondary);
    color: #ffffff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 16rem;
    height: 100%;
    background-color: rgba(255, 193, 7, 0.05);
    transform: skewX(-12deg);
    transform-origin: top;
}

.why-us-container {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.why-us-container {
    flex-direction: column;
}

.section-title-light {
    color: #ffffff;
    font-size: 2.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle-light {
    color: #9ca3af;
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

@media (max-width: 900px) {
    .why-us-grid {
        justify-content: center;
        grid-template-columns: 0.8fr;
    }
}

.why-us-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: #252525;
    border: 1px solid #404040;
    border-radius: 0.25rem;
    transition: border-color 0.3s ease;
}

.why-us-card:hover {
    border-color: var(--primary);
}

.why-us-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 193, 7, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.why-us-icon .material-symbols-outlined {
    font-size: 1.875rem;
}

.why-us-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.why-us-text {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ===== About Section ===== */
.about-section {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding: 5rem 0;
    margin: 0 auto;
}

.about-container {
    width: 50%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 1100px) {
    .about-container {
        width: 80%;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-badge {
    display: inline-flex;
    padding: 0.75rem;
    background-color: var(--secondary);
    width: fit-content;
    transform: skewX(-10deg);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-badge span {
    transform: skewX(10deg);
}

.about-title {
    color: var(--text-dark);
    font-size: 2.25rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

.about-text {
    color: #617589;
    font-size: 1rem;
    line-height: 1.5;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 40%);
    gap: 2rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary);
    margin-top: 0.25rem;
}


/* ===== Contact Section ===== */
.contact-section {
    display: flex;
    justify-content: center;
    background-color: #f9fafb;
    padding: 5rem 0;
}

.contact-container {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0 1rem;
}

.contact-container {
    max-width: 1200px;
    flex: 1;
    flex-direction: column;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header .section-title {
    margin-bottom: 1rem;
}

.contact-content {
    display: flex;
    gap: 0;
    background-color: #ffffff;
    border-radius: 0.25rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

@media (max-width: 1024px) {
    .contact-content {
        flex-direction: column;
    }
}

.contact-form-wrapper {
    flex: 1;
    padding: 2rem;
}

@media (min-width: 1024px) {
    .contact-form-wrapper {
        padding: 3rem;
    }
    .contact-info-wrapper {
        padding: 3rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

.form-group input,
.form-group textarea {
    height: 3rem;
    width: 100%;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
    background-color: #f3f4f6;
    padding: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group textarea {
    height: auto;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 1px var(--primary);
}

.contact-info-wrapper {
    background-color: var(--secondary);
    color: #ffffff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-info-wrapper::before {
    content: '';
    position: absolute;
    bottom: -9rem;
    right: -9rem;
    width: 20rem;
    height: 20rem;
    background-color: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    filter: blur(3rem);
    z-index: 0;
    pointer-events: none;
}

.contact-info {
    position: relative;
    z-index: 10;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.contact-info-title-company {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-items-company {
    gap: 0.8rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.contact-info-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.25rem;
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    background-color: var(--primary);
    color: var(--secondary);
}

.contact-info-icon .material-symbols-outlined {
    color: var(--primary);
}

.contact-info-item:hover .contact-info-icon .material-symbols-outlined {
    color: var(--secondary);
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-info-label {
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-link,
.contact-info-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.3s ease;
}

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

.form-message {
    padding: 10px;
    margin-top: 10px;
    text-align: center;
    display: none;
    transition: all 0.3s ease;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* ===== Footer ===== */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 2rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.logo-footer {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

.footer-copyright {
    color: #617589;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-link {
        font-size: 1rem;
    }
     .contact-info-text {
        font-size: 1rem;
    }
}