/* ====== GLOBAL STRUCTURE ====== */
main {
    padding: 2rem 1rem;
    min-height: 70vh;
}

:root {
  --primary-color: #004EA2 !important;;
}

header {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

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

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

  .logo img {
    height: 60px;
  }

  .logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #004EA2;
    margin: 0;
  }

  nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  nav a {
    text-decoration: none;
    color: #004EA2;
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
  }

  nav a:hover {
    color: #E30613;
    border-bottom-color: #E30613;
  }

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

  .hamburger span {
    height: 3px;
    width: 25px;
    background: #004EA2;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Mobile styles */
  @media (max-width: 991.98px) {
    nav {
      display: none;
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
      width: 100%;
      margin-top: 1rem;
    }

    nav.show {
      display: flex;
    }

    .hamburger {
      display: flex;
    }
  }

.footer-custom {
    background-color: #F0F4F8; /* Veľmi svetlá, takmer biela modro-sivá */
    color: #334E68; /* Tmavá, jemná modro-sivá pre text */
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.footer-column {
    flex: 1;
    min-width: 280px;
}

.footer-column.right {
    text-align: right !important;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 25px;
    /* Ak je logo svetlé, môžeš ho stmaviť pre lepšiu viditeľnosť na svetlom pozadí */
    /* filter: brightness(0.2) sepia(1) saturate(5) hue-rotate(180deg);  Príklad pre tmavšie logo s jemným modrým nádychom */
    /* Ak je logo už tmavé a hodí sa na svetlé pozadie, túto linku jednoducho odstráň */
}

.footer-description,
.footer-address {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-company-details {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-company-details strong {
    color: #526C8D; /* Jemne tmavšia modro-sivá pre zvýraznený text */
}

.footer-contact-block {
    margin-bottom: 25px;
}

.footer-contact-block h4 {
    color: #004EA2; /* Originálna modrá farba pre nadpisy, ktorá tu pekne vynikne */
    font-size: 1.25rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-contact-block {
    position: relative; /* aby sa pseudo-element pozicoval voči bloku */
}

.footer-contact-block h4 {
    position: relative; /* aby sa pseudo-element pozicoval voči nadpisu */
    text-align: right;
}

.footer-contact-block h4::after {
    content: '';
    position: absolute;
    right: 0; /* zarovnanie doprava */
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #9EC0DA; /* Jemná svetlá modrá pre podčiarknutie */
}

.footer-contact-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-column .social-icons {
    justify-content: flex-end;
}

.social-icon {
    color: #526C8D;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #004EA2;
    transform: translateY(-3px);
}

.footer-column.right.social-icons {
    justify-content: flex-end !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(51, 78, 104, 0.1); /* Jemná deliaca čiara */
    font-size: 0.9rem;
    color: #7B8F9C; /* Svetlejšia šedá pre copyright text */
}

.footer-bottom a {
    color: #004EA2; /* Pôvodná modrá pre odkazy */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #334E68; /* Tmavšia šedá pri najazdení */
}

/* Responzívne úpravy */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        min-width: unset;
    }

    .footer-logo {
        margin: 0 auto 25px auto;
        display: block;
    }

    .footer-description,
    .footer-address,
    .footer-company-details,
    .footer-contact-block ul {
        text-align: center;
    }

    .footer-contact-block h4 {
        text-align: center;
    }

    .footer-contact-block h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }
}
.container {
    background: none !important;
}


/* ====== HERO SECTION ====== */
.hero {
    background: linear-gradient(135deg, #6abfb0, #4ea39c);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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


/* ====== HOMESCREEN ====== */
.homescreen {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}

.homescreen img.logo-main {
    max-width: 300px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.homescreen h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #004EA2;
    margin-bottom: 1rem;
}

.homescreen div.description {
    color: #333;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.homescreen .user-welcome {
    font-size: 1.2rem;
    font-weight: 600;
    color: #E30613;
    margin-top: 1rem;
}

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

    .homescreen p.description {
        font-size: 1rem;
    }

    .homescreen .user-welcome {
        font-size: 1.25rem;
    }
}


/* ====== AUTH (LOGIN & REGISTER) ====== */
.auth-card,
.register-card {
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    background-color: #ffffff;
}

.auth-card h2,
.register-card h2 {
    color: #004EA2;
}

.auth-card .alert {
    border-left: 4px solid #004EA2;
    background-color: #f0f8ff;
}

.auth-card .btn-primary,
.register-card .btn-primary {
    background-color: #004EA2;
    border-color: #004EA2;
    font-weight: 600;
    border-radius: 0.75rem;
}

.auth-card .btn-primary:hover,
.register-card .btn-primary:hover {
    background-color: #E30613;
    border-color: #E30613;
}

.auth-img {
    width: 100px;
    margin-bottom: 1rem;
}

.auth-link {
    color: #004EA2;
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    color: #E30613;
    text-decoration: underline;
}

.toggle-password {
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
    top: 73% !important;
}

.toggle-password:hover {
    color: #004EA2;
}

@media (max-width: 575.98px) {
    .auth-card.p-4,
    .register-card.p-4 {
        padding: 1rem !important;
    }

    .auth-card .card-body.p-4,
    .register-card .card-body.p-4 {
        padding: 1rem !important;
    }
}


/* ====== FORMS ====== */
.form-label {
    font-weight: 500;
}

.form-control:focus {
    border-color: #004EA2;
    box-shadow: 0 0 0 0.15rem rgba(0, 78, 162, 0.2);
}

.form-check {
    background: #f9f9f9;
    border: 1px solid #e3e3e3;
    border-radius: 0.75rem;
    transition: border-color 0.2s;
}

.form-check:hover {
    border-color: #004EA2;
}

.form-check-input:checked {
    background-color: #004EA2;
    border-color: #004EA2;
}

.form-check-label strong,
.form-check-label small {
    color: #004EA2;
}

.form-check.opacity-50 {
    opacity: 0.5;
    pointer-events: none;
}

.readonly-input {
    background-color: #f1f3f5;
    cursor: not-allowed;
}

.invalid-feedback {
    display: none;
    font-size: 0.875rem;
    color: #dc3545;
}

.is-invalid {
    border-color: #dc3545;
}


/* ====== BUTTONS ====== */
.btn-success {
    background-color: #004EA2;
    border-color: #004EA2;
    border-radius: 0.75rem;
}

.btn-success:hover {
    background-color: #E30613;
    border-color: #E30613;
}


/* ====== SECTIONS ====== */
.section-title,
.section-header,
.form-title {
    color: #004EA2;
    font-weight: 600;
}


/* ====== SERVICE SECTION ====== */
.service-section {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

.service-section:hover {
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}


/* ====== SUMMARY / PRICE ====== */
.total-price {
    color: #004EA2;
    font-size: 1.25rem;
    font-weight: bold;
}

.price-label {
    color: #E30613;
    font-weight: 600;
}

.summary-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    transition: box-shadow 0.2s;
}

.summary-box:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.summary-box h5 {
    color: #004EA2;
    font-weight: 600;
}

.summary-list {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.summary-list li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #dee2e6;
}


/* ====== TABLES & BADGES ====== */
.badge {
    display: inline-block;
    padding: 0.35em 0.6em;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    border-radius: 0.5rem;
}

.bg-danger {
    background-color: #E30613;
}

.bg-secondary {
    background-color: #6c757d;
}

.table td, .table th {
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: #f2f6fb;
}


/* ====== ORDER SECTION ====== */
.order-actions .btn {
    min-width: 90px;
}

.order-actions .btn i {
    margin-right: 4px;
}

.order-number {
    font-weight: 600;
    color: #004EA2;
}


/* ====== MAP CONTROLS ====== */
#zoom-controls button {
    width: 40px;
}

.highlighted-block {
    fill: #004EA2 !important;
    background: #004EA2 !important;
    transition: all 0.3s ease;
}

/* btn - primary */

.btn-primary {
    background-color: #004EA2;
    border-color: #004EA2;
}

.text-primary {
    color: #004EA2 !important;
}

.btn-outline-primary {
    color: #004EA2;
    border-color: #004EA2;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #004EA2;
    border-color: #004EA2;
}

.text-004ea2 {
  color: #004EA2;
}

label.required-service { position: relative; }
label.required-service::after {
    content: 'povinné';
    position: absolute;
    top: .5rem;
    right: .75rem;
    font-size: .75rem;
    padding: .1rem .4rem;
    border-radius: .25rem;
    background: #fff3cd; 
    border: 1px solid #ffe69c; 
    color: #664d03; 
}
