/* ===== CSS RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'EB Garamond', serif;
    color: #000;
    background: #ccc;
    line-height: 1.6;
    font-size: clamp(1.125rem, 0.6vw + 1rem, 1.25rem);
    /* 18px → 20px */
}

main {
    background: #fff;
    border: 1px solid #666;
    max-width: 1200px;
    margin: 0 auto
}

/* ===== TYPOGRAPHY ===== */
h1,
.hero-right .tel-no,
.kontakt-section .tel-no {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.hero-right h1 {
    font-size: 2.8rem !important;
    line-height: .9;
    padding-top: 10px
}

h1 a {
    text-decoration: none;
    color: #000
}

h1 a:hover,
h1 a:active {
    text-decoration: none
}

.hero-right .tel-no,
.kontakt-section .tel-no {
    font-size: 2.5rem;
}

.hero-right h2 {
    font-size: 1.3rem !important;
    line-height: 1
}

h2 {
    font-family: 'EB Garamond', serif;
    font-weight: bold;
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h3 {
    font-family: 'EB Garamond', serif;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

a,
a:visited {
    color: #666;
    text-decoration: none
}

a:hover {
    color: red;
    text-decoration: underline
}

.hero hr,
.kontakt-section hr {
    border: 10px solid yellow;
    margin-bottom: 10px
}

/* ===== IMAGES ===== */
img,
picture {
    max-width: 100%;
    height: auto;
    display: block;
    filter: grayscale(1)
}

/* ===== LAYOUT ===== */
.container {
    padding: 0 20px 20px 20px !important;
}

/* ===== HERO SECTION ===== */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hero-left,
.hero-right {
    flex: 1 1 100%;
}

.hero img {
    margin: 0 auto;
    opacity: .9;
}

.hero-right h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero-right h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-right p {
    margin-bottom: 0.5rem;
}

.hero-right .tel-label,
.kontakt-section .tel-label {
    font-weight: bold;
    margin-bottom: 0;
    font-size: 22px
}

.hero-right .tel-no a,
.kontakt-section .tel-no a {
    text-decoration: none;
    color: #000;
    font-weight: 900
}

.hero-right .tel-no span,
.kontakt-section .tel-no span {
    display: block;
    font-family: 'EB Garamond', serif;
    font-size: 18px
}

.hero-paragraph {
    line-height: 1.2;
    padding-bottom: 10px
}

.responsive-brand-logos {
    width: 100%;
    height: auto;
    display: block;
    opacity: .7;
    margin: 0 auto;
    border: 1px solid #000;
    padding: 10px;
    margin: 20px auto
}

/* === NAVBAR === */
.navbar {
    background: yellow;
    border-bottom: 1px solid #ccc;
    padding: 0;
    position: relative;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px !important
}

/* === Hamburger Button === */
.navbar-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.navbar-toggle .bar {
    height: 3px;
    width: 100%;
    background: #000;
    transition: 0.4s;
    border-radius: 2px;
}

.navbar-toggle.open .top {
    transform: rotate(45deg) translateY(8px);
}

.navbar-toggle.open .middle {
    opacity: 0;
}

.navbar-toggle.open .bottom {
    transform: rotate(-45deg) translateY(-8px);
}

/* === Menu === */
.navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: yellow;
    border-top: 1px solid #ccc;
    text-align: center;
    padding: 40px 0
}

.navbar-menu ul {
    list-style: none;
}

.navbar-menu ul li {
    margin: 0.5rem 0;
}

.navbar-menu ul li a {
    font-family: 'EB Garamond', serif;
    font-size: 1.25rem;
    text-decoration: none;
    color: #000;
}

.navbar-menu.show {
    display: block;
}

.phone-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: yellow;
    color: #000;
    text-align: center;
    padding: 6px 12px;
    padding-top: 10px;
    font-size: 16px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1;
    font-size: 40px;
}

.phone-bar a {
    color: #000;
    font-weight: 900;
    text-decoration: none;
    margin-left: 30px;
    position: relative
}

.phone-bar a::before {
    content: "📞";
    position: absolute;
    left: -41px;
    top: 7px;
    font-size: 30px;
    line-height: 1.2;
    filter: grayscale(1)
}

.flex-columns {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.col-left,
.col-right {
    width: 100%;
}

.iskustvo {
    text-transform: uppercase;
    line-height: .8;
    text-align: right;
    font-family: 'Bebas Neue', sans-serif;
    color: #666;
    font-size: 35px;
    margin-bottom: 20px !important;
    text-align: center
}

.hero .col-left {
    text-align: center
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    display: none;
    animation: fade 0.6s ease-in-out;
}

.hero-slide.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    font-size: 1rem;
    padding: 10px;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.slider-arrow.left {
    left: 5px;
}

.slider-arrow.right {
    right: 5px;
}

.social-bar {
    display: flex;
    justify-content: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 0;
    padding-left: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
    color: #000;
}

.social-btn:hover {
    text-decoration: none
}

footer .social-btn {
    padding: 10px;
    color: #000;
    margin-top: 10px
}

/* Only show on small screens */
@media (max-width: 767px) {
    .phone-bar.show {
        display: block;
    }
}

/* ===== MEDIA QUERY FOR LARGE SCREENS ===== */
@media (min-width: 768px) {

    main {
        margin: 20px auto
    }

    .hero-left,
    .hero-right {
        flex: 1 1 48%;
    }

    .hero {
        flex-wrap: nowrap;
        gap: 1rem;
        padding: 70px 20px !important
    }

    .hero-right h1 {
        font-size: 3.5rem !important;
    }

    .hero-right h2 {
        font-size: 1.7rem !important;
    }

    .hero-right .tel-no {
        font-size: 2.8rem;
    }

    .navbar-toggle {
        display: none;
    }

    .navbar-menu {
        display: block !important;
        position: static;
        border: none;
        padding: 0;
    }

    .navbar-menu ul {
        display: flex;
        gap: 2rem;
        justify-content: flex-end;
    }

    .navbar-menu ul li {
        margin: 0;
    }

    .navbar-menu ul li a {
        font-size: 1rem;
    }

    .flex-columns {
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
    }

    .col-left,
    .col-right {
        flex: 1;
    }

    .col-right {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-left: 2rem;
    }

    .hero .col-left {
        text-align: left
    }

    .iskustvo {
        text-align: right
    }

    .slider-arrow {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        top: 60%;
        transform: translateY(-60%);
    }

    .slider-arrow.left {
        left: 10px;
    }

    .slider-arrow.right {
        right: 10px;
    }

}