/* ─── CSS Variables / Design System ──────────────────────── */
:root {
    --primary:       #0A6E6E;
    --primary-dark:  #074F4F;
    --primary-light: #E0F2F1;
    --accent:        #FF5722;
    --accent-hover:  #E64A19;
    --text:          #212121;
    --text-light:    #616161;
    --bg:            #FAFAFA;
    --white:         #FFFFFF;
    --shadow:        0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg:     0 8px 30px rgba(0,0,0,0.12);
    --radius:        8px;
    --radius-lg:     16px;
    --transition:    0.3s ease;
}

/* ─── Reset & Base ───────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a { color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* ─── Utility ────────────────────────────────────────────── */
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 50px 0; }
.bg-primary-custom { background-color: var(--primary); }
.bg-primary-dark { background-color: var(--primary-dark); }
.bg-primary-light { background-color: var(--primary-light); }
.text-primary-custom { color: var(--primary); }
.text-accent { color: var(--accent); }

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin-top: 12px;
    border-radius: 2px;
}

.section-title-center::after {
    margin-left: auto;
    margin-right: auto;
}

/* ─── CTA Button ─────────────────────────────────────────── */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--accent);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(255,87,34,0.35);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-cta:hover {
    background-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,87,34,0.45);
}

.btn-cta i { font-size: 1.2rem; }

.btn-outline-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--accent);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--accent);
    text-decoration: none;
    transition: all var(--transition);
}

.btn-outline-cta:hover {
    background-color: var(--accent);
    color: var(--white);
}

.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--white);
    text-decoration: none;
    transition: all var(--transition);
}

.btn-secondary-cta:hover {
    background-color: transparent;
    color: var(--white);
}

/* ─── Navbar ─────────────────────────────────────────────── */
.navbar-main {
    background-color: var(--primary);
    padding: 0;
    transition: all var(--transition);
    z-index: 1030;
}

.navbar-main.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar-main .navbar-brand {
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-main .navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-main .navbar-brand .brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1;
}

.navbar-main .nav-link {
    color: rgba(255,255,255,0.85);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 18px 18px;
    transition: color var(--transition);
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: var(--white);
}

.navbar-main .dropdown-menu {
    background-color: var(--white);
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 240px;
}

.navbar-main .dropdown-item {
    font-size: 0.92rem;
    padding: 10px 20px;
    color: var(--text);
    transition: all var(--transition);
}

.navbar-main .dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.navbar-phone {
    background-color: var(--accent);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
    white-space: nowrap;
}

.navbar-phone:hover {
    background-color: var(--accent-hover);
    color: var(--white);
}

.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 540px;
}

.hero-section .hero-content { position: relative; z-index: 2; }

/* Hero variant for landing pages */
.hero-landing {
    background: linear-gradient(135deg, var(--primary) 0%, #085858 60%, var(--primary-dark) 100%);
    padding: 80px 0 60px;
    min-height: auto;
}

.hero-landing h1 { font-size: 2.4rem; }

/* ─── Cards ──────────────────────────────────────────────── */
.card-service {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}

.card-service:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-service .card-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--primary);
}

.card-service h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.card-service p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.card-service .card-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-service .card-link:hover {
    color: var(--accent-hover);
    gap: 10px;
}

/* ─── Process Steps ──────────────────────────────────────── */
.process-step {
    text-align: center;
    position: relative;
}

.process-step .step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
}

.process-step img {
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.process-step h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ─── Testimonials ───────────────────────────────────────── */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.testimonials-section h2 { color: var(--white); }
.testimonials-section .section-title::after { background: var(--accent); }

.testimonial-card {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: blur(10px);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card .stars {
    color: #FFD700;
    font-size: 1.5rem;
    letter-spacing: 6px;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-card .author {
    font-weight: 600;
    opacity: 0.8;
    font-size: 0.95rem;
}

/* ─── Partners / Logos ───────────────────────────────────── */
.partner-logos img {
    max-height: 50px;
    width: auto;
    opacity: 0.6;
    transition: opacity var(--transition);
    filter: grayscale(100%);
}

.partner-logos img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* ─── CTA Section (Nazovite nas) ─────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--accent) 0%, #E64A19 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    text-align: center;
}

.cta-banner h2 { color: var(--white); font-size: 2rem; }
.cta-banner p { font-size: 1.1rem; opacity: 0.95; margin-bottom: 25px; }

.cta-banner .btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--accent);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-banner .btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

/* ─── FAQ / Accordion ────────────────────────────────────── */
.faq-section .accordion-item {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-section .accordion-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 24px;
    color: var(--text);
    background-color: var(--white);
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary);
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-section .accordion-body {
    padding: 16px 24px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ─── Contact Form ───────────────────────────────────────── */
.contact-form-section {
    background: var(--primary-light);
}

.form-modern .form-control {
    background-color: var(--white);
    border: 2px solid #E0E0E0;
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 1rem;
    color: var(--text);
    transition: all var(--transition);
}

.form-modern .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(10,110,110,0.15);
    background-color: var(--white);
}

.form-modern .form-control::placeholder {
    color: #9E9E9E;
}

.form-modern textarea.form-control {
    min-height: 130px;
}

.form-modern .btn-submit {
    background-color: var(--accent);
    border: none;
    border-radius: 50px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 16px 24px;
    width: 100%;
    transition: all var(--transition);
}

.form-modern .btn-submit:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,87,34,0.35);
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer-main {
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}

.footer-main h5 {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-main a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-main a:hover {
    color: var(--white);
}

.footer-main .footer-links li {
    margin-bottom: 8px;
}

.footer-main .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-main .footer-contact-item i {
    color: var(--accent);
    margin-top: 4px;
    min-width: 16px;
}

.footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 15px;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.15);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.85rem;
}

.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--white); }

.footer-legal {
    font-size: 0.78rem;
    opacity: 0.5;
    margin-top: 8px;
}

/* ─── Success Modal ──────────────────────────────────────── */
#successModal .modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

#successModal .modal-header {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 20px 24px;
}

#successModal .modal-header .btn-close {
    filter: brightness(0) invert(1);
}

#successModal .modal-body {
    padding: 30px 24px;
    text-align: center;
}

#successModal .modal-body .success-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

#successModal .modal-body h4 {
    margin-bottom: 15px;
}

#successModal .modal-body .phone-callout {
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 20px;
}

#successModal .modal-footer {
    border: none;
    padding: 0 24px 24px;
    justify-content: center;
}

/* ─── Mobile Fixed CTA ───────────────────────────────────── */
.mobile-fixed-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-fixed-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background-color: var(--accent);
        color: var(--white);
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 16px 24px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 1.1rem;
        text-decoration: none;
        opacity: 0;
        transform: translateY(100%);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    }

    .mobile-fixed-cta:hover {
        color: var(--white);
    }

    .mobile-fixed-cta.visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Prevent content from being hidden behind fixed CTA */
    body { padding-bottom: 60px; }
}

/* ─── Page Content ───────────────────────────────────────── */
.page-content {
    padding: 60px 0;
}

.page-content h2 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content h3 {
    color: var(--primary-dark);
    margin-top: 25px;
    margin-bottom: 12px;
}

.page-content ul {
    padding-left: 20px;
}

.page-content ul li {
    margin-bottom: 8px;
}

/* ─── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb-section {
    background: var(--primary-light);
    padding: 12px 0;
}

.breadcrumb-section .breadcrumb {
    margin-bottom: 0;
    font-size: 0.88rem;
}

.breadcrumb-section .breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-section .breadcrumb-item.active {
    color: var(--text-light);
}

/* ─── Gallery ────────────────────────────────────────────── */
.gallery-grid img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* ─── Equipment Feature List ─────────────────────────────── */
.feature-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    list-style: none;
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* ─── Sidebar (sticky on desktop) ────────────────────────── */
.sidebar-sticky {
    position: sticky;
    top: 80px;
    align-self: flex-start;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-section { padding: 70px 0 60px; }
    .hero-section h1 { font-size: 2.2rem; }
    .section-padding { padding: 60px 0; }
    .navbar-main .nav-link { padding: 12px 14px; }
    .navbar-phone { margin: 0; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .hero-section { padding: 60px 0 50px; }
    .hero-section h1 { font-size: 1.9rem; }
    .hero-section .lead { font-size: 1.05rem; }
    .section-padding { padding: 50px 0; }
    .cta-banner { padding: 35px 25px; }
    .cta-banner h2 { font-size: 1.5rem; }
    .footer-main { padding: 40px 0 0; }
}

@media (max-width: 576px) {
    .hero-section h1 { font-size: 1.6rem; }
    .section-title { font-size: 1.5rem; }
    .btn-cta { font-size: 1rem; padding: 12px 24px; }
}
