/* ==========================================================================
   1. SPOLEČNÉ STYLY PRO SEKCE
   ========================================================================== */
section {
    padding: 100px 0;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    color: #001f3f; /* Tmavě modrá z loga */
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   2. SEKCE SLUŽBY (SERVICES)
   ========================================================================== */
.services-section {
    background-color: #ffffff;
}

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

.service-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 8px;
    border-bottom: 5px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid #ffb400; /* Žlutá z blesku */
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    color: #001f3f;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
}

/* ==========================================================================
   3. SEKCE CENÍK (PRICELIST) - Šedý podklad
   ========================================================================== */
.pricelist-section {
    background-color: #f8f9fa;
}

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

.price-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
}

.price-card.highlighted {
    border: 2px solid #ffb400;
}

.price-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffb400;
    color: #001f3f;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
}

.price-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #001f3f;
    margin: 20px 0;
}

.price-features {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.price-features li::before {
    content: "✓";
    color: #ffb400;
    margin-right: 10px;
    font-weight: bold;
}

/* ==========================================================================
   4. SEKCE REFERENCE (TESTIMONIALS)
   ========================================================================== */
.reference-section {
    padding: 100px 0;
    background-color: #ffffff;
}

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

.reference-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    position: relative;
    border-left: 5px solid #ffb400;
    transition: transform 0.3s ease;
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.quote-icon {
    font-size: 5rem;
    color: #ffb400;
    position: absolute;
    top: 10px;
    right: 20px;
    opacity: 0.2;
    font-family: serif;
}

.reference-text {
    font-style: italic;
    color: #444;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.reference-author strong {
    display: block;
    color: #001f3f;
    font-size: 1.1rem;
}

.reference-author span {
    font-size: 0.9rem;
    color: #888;
}
/* ==========================================================================
   5. SEKCE KONTAKT (CONTACT)
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background-color: #f4f7f9;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-details {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
}

.contact-icon {
    background: #001f3f;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.contact-item strong {
    color: #001f3f;
    display: block;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.billing-info {
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.contact-form-card {
    flex: 1;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 31, 63, 0.1);
}

.contact-form-card h2 {
    color: #001f3f;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-form-card input, 
.contact-form-card select, 
.contact-form-card textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form-card textarea {
    min-height: 120px;
    resize: vertical;
}

/* ==========================================================================
   6. SEKCE HERO
   ========================================================================== */

/* Hero sekce ve světlém stylu */
.hero-light {
    background-color: #ffffff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text-side {
    flex: 1.2;
}

.badge-tech {
    background: #f0f4f8;
    color: #001f3f;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
}

.hero-text-side h1 {
    font-size: 3.8rem;
    color: #001f3f;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-text-side h1 span {
    color: #ffb400; /* Tvá žlutá */
}

.hero-text-side p {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 40px;
    max-width: 90%;
}

/* Tlačítka */
.btn-dark-outline {
    padding: 15px 30px;
    border: 2px solid #001f3f;
    color: #001f3f;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-dark-outline:hover {
    background: #001f3f;
    color: #fff;
}

/* Vizuální strana (Fotka + Logo) */
.hero-visual-side {
    flex: 1;
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.hero-main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.hero-logo-overlay {
    position: absolute;
    bottom: 30px;
    right: 30px;
    max-width: 180px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Responzivita */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text-side h1 { font-size: 2.8rem; }
    .hero-text-side p { margin: 0 auto 40px auto; }
    .hero-actions { justify-content: center; }
    .hero-main-img { height: 350px; }
}
/*.hero-section {
    background: linear-gradient(135deg, #001f3f 0%, #001122 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 180, 0, 0.1);
    border: 1px solid #ffb400;
    color: #ffb400;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: #ffb400; 
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 550px;
}


.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-outline {
    padding: 15px 30px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: #001f3f;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-large {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 180, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}*/
/* ==========================================================================
   7. SEKCE PORTFOLIO
   ========================================================================== */
/* Sekce Portfolio */
.portfolio-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Karta projektu */
.portfolio-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

/* Obrázek a overlay */
.portfolio-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zajistí, že fotky budou stejně velké */
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
}

.category-tag {
    background: #ffb400;
    color: #001f3f;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Text pod fotkou */
.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    color: #001f3f;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.portfolio-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.portfolio-footer {
    margin-top: 50px;
    text-align: center;
    font-style: italic;
    color: #888;
}

/* ==========================================================================
   8. RESPONSIVITA
   ========================================================================== */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-logo-large {
        max-width: 250px;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
