/* DNUKA - Main CSS Styles
-------------------------------------------------- */

/* Base Variables and Settings */
:root {
    --dnuka-dark: #1F1E29;
    --dnuka-darker: #19181f;
    --dnuka-orange: #EDAA62;
    --sidebar-bg: #262733;
    --icon-box-bg: #2F2F3B;
    --font-primary: 'Mont', sans-serif; /* Added Mont as primary font */
}

/* Font Face Declaration */
@font-face {
    font-family: 'Mont';
    src: url('../fonts/Mont-Regular.woff2') format('woff2'),
    url('../fonts/Mont-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mont';
    src: url('../fonts/Mont-Bold.woff2') format('woff2'),
    url('../fonts/Mont-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    position: relative;
    min-height: 100vh;
    font-size: 16px;
    font-family: var(--font-primary);
!important;
}

/* Comprehensive Font Override */
* {
    font-family: 'Mont', sans-serif !important;
}

html, body {
    font-family: 'Mont', sans-serif !important;
}

/* Fallback for specific elements if needed */
h1, h2, h3, h4, h5, h6,
p, span, a, div, button, input, textarea, select {
    font-family: 'Mont', sans-serif !important;
}

/* Optional: Specify font weights */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

body {
    font-family: 'Mont', sans-serif !important;
    font-weight: normal;
}

/* Ensure headings use bold variant */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Mont', sans-serif !important;
    font-weight: bold;
}

/* Základný filter pre všetky ikony - zmení čierne na sivé */
.social-icon {
    filter: invert(60%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(90%) contrast(80%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Hover efekt pre všetky ikony */
.social-icon:hover {
    filter: invert(78%) sepia(41%) saturate(503%) hue-rotate(348deg) brightness(93%) contrast(95%); /* Tvoja oranžová farba */
    opacity: 1;
}

/*
 * Navigation Elements
 * ------------------
 */

/* Floating sidebar styles - only visible on desktop */
.floating-sidebar {
    position: fixed;
    left: 30px;
    top: 17%; /* Changed from 50% to position higher on the page */
    transform: translateY(0); /* Removed the translateY to keep it at exactly 25% */
    transition: width 0.3s ease-in-out;
    overflow: hidden;
    width: 100px;
    background-color: var(--sidebar-bg);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 20;
    padding: 20px 0;
}

.floating-sidebar:hover {
    width: 260px; /* Expanded width on hover */
}

/* Nav links container */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px; /* Increased gap between icons */
}

/* Nav link styles */
.sidebar-nav a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    width: 100%;
    padding: 0 20px;
}

/* Icon box styles */
.icon-box {
    width: 65px; /* Larger icon boxes */
    height: 65px;
    border-radius: 18px;
    background-color: var(--icon-box-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sidebar-nav a:hover .icon-box {
    transform: scale(1.05);
}

/* Icon styling */
.nav-icon {
    font-size: 1.8rem; /* Larger icons */
    color: white;
}

/* Sidebar text styles */
.sidebar-text {
    padding-left: 15px;
    font-weight: 500;
    font-size: 1.2rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-sidebar:hover .sidebar-text {
    opacity: 1;
}

/* Mobile menu styles */
.mobile-menu {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background-color: var(--dnuka-dark);
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    background-color: var(--dnuka-darker);
    color: var(--dnuka-orange);
}

/* Hamburger button styles */
.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    transition: all 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2), .hamburger span:nth-child(3) {
    top: 8px;
}

.hamburger span:nth-child(4) {
    top: 16px;
}

.hamburger.active span:nth-child(1), .hamburger.active span:nth-child(4) {
    opacity: 0;
}

.hamburger.active span:nth-child(2) {
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/*
 * Main Layout Elements
 * ------------------
 */

/* Main content styles */
.main-content {
    margin-left: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Content alignment */
.page-content {
    margin-left: 25%;
    width: 75%;
}

.header-flex {
    max-width: none;
    margin-left: 0;
    padding-left: 0;
}

.hero-content {
    max-width: 1400px;
    margin-left: 25%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; /* For absolute positioning of mascot */
}

.hero-text {
    max-width: 50%;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: left;
    margin-left: 25%;
}

/* Hero section styles */
.hero-section {
    background-color: var(--dnuka-dark);
    color: white;
    padding: 0.1rem 0; /* Reduced padding to make section shorter */
    position: relative;
    overflow: visible; /* Allow the mascot to overflow */
}

/* Work section rounded corner */
.bg-white.py-12 {
    border-top-left-radius: 2.5rem; /* Adding rounded corner to white section */
}

/* Utility classes for border radius */
.rounded-tr-5xl {
    border-top-right-radius: 2.5rem;
}

.rounded-bl-5xl {
    border-bottom-left-radius: 2.5rem;
}

.rounded-br-5xl {
    border-bottom-right-radius: 2.5rem;
}

/* Logo positioning and sizing */
.logo-image {
    height: 110px;
    width: auto;
    max-width: none;
}

/* Make sure logo aligns with sidebar at exactly 30px from left */
header .container .flex .items-center {
    margin-left: 10px !important; /* Match sidebar's left position */
    padding-left: 0;
}

header .container {
    padding-left: 0 !important;
}

/* Create a specific class for the logo container */
.logo-container {
    margin-left: 0px !important; /* Match sidebar's left position */
    padding-left: 0;
}

/* Make header taller to accommodate the larger logo */
header {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/*
 * UI Components
 * ------------------
 */

/* Orange button hover effect */
.orange-btn {
    background-color: var(--dnuka-orange);
    color: var(--dnuka-dark);
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1.1rem;
}

.orange-btn:hover {
    background-color: white;
    color: var(--dnuka-dark);
}

/* Diagonal pattern */
.diagonal-pattern {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 350px;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* White pattern variant - upravený pre správnu veľkosť a pozíciu */
.diagonal-pattern-white {
    position: absolute;
    right: -200px; /* Posun doprava, aby časť bola mimo viditeľnej oblasti */
    top: 5%;
    width: 500px; /* Dostatočná šírka pre vzor */
    height: 50%;
    background-image: url('../img/graphics/white.svg');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* White pattern variant - upravený s vyššou viditeľnosťou */
.diagonal-pattern-white {
    background-image: url('../img/graphics/white.svg');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #374151;
    border: 1px solid #4B5563;
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--dnuka-orange);
    box-shadow: 0 0 0 2px rgba(237, 170, 98, 0.3);
}

.form-checkbox {
    margin-top: 0.25rem;
    margin-right: 0.5rem;
    width: 1rem;
    height: 1rem;
}

.form-submit {
    background-color: var(--dnuka-orange);
    color: var(--dnuka-dark);
    font-weight: 700;
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background-color: white;
    color: var(--dnuka-dark);
}

/* Service card styles */
.service-card {
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-btn {
    background-color: white;
    color: var(--dnuka-dark);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-btn:hover {
    background-color: var(--dnuka-orange);
}

/*
 * Work & Projects Section
 * ------------------
 */

/* Work section heading */
.work-section-heading {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: left;
    margin-left: 25%;
}

/* Work carousel container - starts at 25% */
.work-carousel-container {
    width: 75%;
    margin-left: 25%;
    overflow: hidden;
    position: relative;
    padding: 0.5rem 0 2rem;
}

/* Work carousel - horizontal scrolling */
.work-carousel {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

/* Hide scrollbar on Chrome/Safari */
.work-carousel::-webkit-scrollbar {
    display: none;
}

/* Work item styling */
.work-item {
    flex: 0 0 auto;
    width: 290px; /* Adjusted width for more items in view */
    scroll-snap-align: start;
    transition: transform 0.3s ease;
    background-color: transparent;
    margin-bottom: 20px;
}

.work-item:hover {
    transform: translateY(-5px);
}

.work-item-text {
    padding: 10px 3px;
    text-align: left;
}

.work-item-text h3 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 2px;
}

.work-item-text p {
    color: #6B7280;
    font-size: 0.85rem;
}

.work-image {
    flex: 0 0 auto;
    width: calc(25% - 1.125rem); /* 25% width for 4 images minus the gap */
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    aspect-ratio: 1/1;
    object-fit: cover;
}

.work-image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f7fa;
}

/* Work item image */
.work-item-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-item:hover .work-item-img {
    transform: scale(1.05);
}

/* Work item info - text below image */
.work-item-info {
    padding: 0.75rem 0;
    text-align: left;
}

/* Work item title */
.work-item-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--dnuka-dark);
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-image:hover img {
    transform: scale(1.05);
}

/* Work category section */
.work-category {
    background-color: var(--sidebar-bg);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

/* Category title styling */
.category-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* Category heading positioned above the content box,
   aligned to the left at 25% of the page width */
.category-heading {
    margin-left: 25%;
    width: 50%;
    text-align: left;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    color: white;
}

/* Horizontal slider - UPDATED FOR EXACT 4 IMAGES */
.work-slider {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Work slide - FIXED FOR 4 IMAGES EXACT */
.work-slide {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    transition: transform 0.5s ease;
    margin: 0 2.5rem; /* Margin for the arrows */
    width: calc(100% - 5rem); /* Account for margins */
}

/* Fixed work images to exactly 25% width */
.work-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Slider navigation arrows - UPDATED FOR BETTER VISIBILITY */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 2rem;
    z-index: 100; /* Higher z-index */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Pre tlačidlá s obrázkami namiesto SVG */
.slider-prev img,
.slider-next img {
    transition: opacity 0.3s ease;
}

/* Skryť hover obrázok na začiatku */
.slider-prev img[src*="_hover"],
.slider-next img[src*="_hover"] {
    position: absolute;
    opacity: 0;
}

/* Pri hover zobraziť hover obrázok a skryť normálny */
.slider-prev:hover img:not([src*="_hover"]),
.slider-next:hover img:not([src*="_hover"]) {
    opacity: 0;
}

.slider-prev:hover img[src*="_hover"],
.slider-next:hover img[src*="_hover"] {
    opacity: 1;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

/* Add drop shadow to navigation button icons for better contrast */
.slider-nav img {
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
    width: 20px;
    height: 20px;
}

/* Simple modal for image preview - IMPROVED */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Ensure it's above everything */
}

.image-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 100000; /* Ensure it's clickable */
}

/* Services section styles */
.services-section {
    background-color: var(--dnuka-dark);
    color: white;
    padding: 4rem 0;
    position: relative;
}

/* Services section background container */
.services-container {
    background-color: #262733;
    border-radius: 30px;
    padding: 40px;
    margin-left: 25%; /* Zarovnanie z ľavej strany od 25% */
    width: 60%; /* Šírka len 50% stránky - celkovo teda zaberie priestor od 25% do 75% */
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Adjusting the grid layout for services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    width: 100%;
    margin-left: 0 !important; /* Override existing margins */
    max-width: 100%;
}

/* Orange diagonal pattern */
.services-pattern {
    position: absolute;
    right: -550px;
    top: 5%;
    height: 50%;
    width: 500px;
    background-image: url('../img/graphics/orange.svg');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Biely diagonálny vzor v ľavom dolnom rohu */
.diagonal-pattern-white-bottom-left {
    position: absolute;
    left: -500px;
    top: auto;
    width: 250px;
    height: 50%;
    background-image: url('../img/graphics/white.svg');
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
    transform: rotate(180deg); /* Otočí vzor */
}

/* Partners carousel container */
.partners-section {
    padding: 0.7rem 0;
    background-color: white;
    overflow: hidden; /* Zabráni pretečeniu obsahu */
    position: relative;
}

.partners-carousel {
    margin-left: 0; /* Začína od 25% šírky stránky */
    width: 100%; /* Zaberie zvyšnú šírku stránky */
    position: relative;
    overflow: hidden;
}

/* Animation container */
.partners-carousel-inner {
    display: flex;
    align-items: center;
    animation: carousel 60s linear infinite; /* Spomalenie animácie na 60s */
    width: max-content; /* Zabezpečí, že kontajner sa prispôsobí skutočnej šírke obsahu */
}

/* Duplicate set of logos for seamless scrolling */
.partners-carousel-set {
    display: flex;
    align-items: center;
    gap: 60px; /* Výrazne zväčšená medzera medzi logami */
    padding-right: 60px; /* Medzera medzi sadami log */
}

/* Logo styles */
.partners-carousel-set img {
    height: auto;
    /*max-height: 55px; !* Mierne znížená výška pre konzistentnosť *!*/
    width: auto;
    object-fit: contain;
    flex-shrink: 0; /* Zabráni zmenšovaniu log */
    transition: transform 0.3s ease;
}

.partners-carousel-set img:hover {
    animation-play-state: paused; /* Zastaví animáciu pri hover */
}

/* Carousel animation */
@keyframes carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Posunie o polovicu šírky pre plynulé opakovanie */
    }
}

/* Pause animation on hover */
.partners-carousel:hover .partners-carousel-inner {
    animation-play-state: paused;
}

/* Gradient fade on edges */
.partners-carousel:before,
.partners-carousel:after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px; /* Širší gradient */
    height: 100%;
    z-index: 2;
    pointer-events: none; /* Umožní interakciu s logami pod gradientom */
}

.partners-carousel:before {
    left: 0;
    background: linear-gradient(to right, white 20%, rgba(255, 255, 255, 0) 100%);
}

.partners-carousel:after {
    right: 0;
    background: linear-gradient(to left, white 20%, rgba(255, 255, 255, 0) 100%);
}

/* CTA section - Pod do toho s nami */
.cta-section {
    padding: 3rem 0; /* Reduced padding for better mobile look */
    position: relative;
    background-color: var(--dnuka-dark);
    color: white;
}

.cta-content {
    margin-left: 25%; /* Zarovnanie od 25% šírky stránky */
    width: 50%; /* Rovnako ako services-container */
    position: relative;
    z-index: 2;
    text-align: left;
}

/* Text v CTA sekcii */
.cta-heading {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: left;
}

.cta-description {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.cta-button-container {
    text-align: left;
    margin-bottom: 3rem;
}

/* Footer container styles */
.footer-container {
    background-color: transparent;
    padding: 2rem;
    border-radius: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    width: 88%;
    max-width: 1200px;
    border: 8px solid var(--icon-box-bg);
    text-align: center;
    box-shadow: none;
}

/* Service Detail Section */
.service-detail-section {
    background-color: var(--dnuka-dark);
    color: white;
    padding: 1rem 0 4rem;
    position: relative;
}

/* Main tabs container - updated for better alignment and spacing */
.service-tabs-container {
    background-color: white;
    padding: 1.8rem 0;
}

.service-main-tabs {
    margin-left: 25%;
    width: 75%;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    padding: 0;
}

/* Service tab items - larger font and better spacing */
.service-tab-item {
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1.2rem 0.8rem;
    font-size: 1.40rem; /* Increased font size */
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: normal; /* Allow text to wrap */
    max-width: 150px;
    margin: 0 auto;
}

.service-tab-item.active {
    color: var(--dnuka-orange);
    position: relative;
    font-weight: 800;
}

.service-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--dnuka-orange);
}

/* Service content container */
.service-content-container {
    margin-left: 25%;
    width: 50%;
    background-color: #262733;
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Service Tabs Carousel Styles */
.service-tabs-carousel-container {
    background-color: white;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-tabs-carousel {
    display: flex;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding: 0.75rem 1rem;
    white-space: nowrap;
    gap: 0.25rem;
}

.service-tabs-carousel::-webkit-scrollbar {
    display: none;
}

.service-tab-item {
    padding: 0.75rem 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--dnuka-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    flex-shrink: 0;
}

.service-tab-item.active {
    color: var(--dnuka-orange);
}

.service-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--dnuka-orange);
    border-radius: 3px;
}

.tab-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0.5rem;
}

.tab-content h2 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
    margin-top: 0.5rem;
}

.tab-content h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    margin-top: 2rem;
    text-align: left;
}

.tab-content h4 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    margin-top: 1.5rem;
    text-align: left;
}

.tab-content p {
    margin-bottom: 1.8rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.tab-content ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.tab-content ul li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Orange diagonal pattern */
.service-pattern {
    position: absolute;
    right: -550px;
    top: 5%;
    height: 50%;
    width: 500px;
    background-image: url('../img/graphics/orange.svg');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/*
* Blog Page Styles
* ------------------
*/

/* Blog title section */
.blog-title-section {
    background-color: var(--dnuka-dark);
    color: white;
    padding: 4rem 0;
    position: relative;
}

.blog-title-content {
    max-width: none; /* Remove max-width constraint */
    width: 75%; /* Match the blog-posts-content width */
    margin-left: 25%;
    margin-right: 0;
}

.blog-subtitle-box {
    margin-top: 2.5rem;
    background-color: white;
    color: var(--dnuka-dark);
    padding: 0.75rem 0;
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

/* Updated Blog Posts Section */
.blog-posts-section {
    background-color: var(--dnuka-dark);
    color: white;
    padding: 4rem 0;
    position: relative;
}

/* Change blog posts content width and position */
.blog-posts-content {
    width: 75%; /* Take up 75% of the page width */
    margin-left: 25%; /* Start at 25% of page width */
    margin-right: 0; /* Remove right margin */
    max-width: none; /* Remove max-width constraint */
    padding: 0 2rem 0 0; /* Add some padding on the sides */
}

/* Blog grid layout - 4 columns */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem; /* Increased gap for more spacing between larger items */
    margin-bottom: 2rem;
}

/* Blog card sizing - larger cards */
.blog-card {
    display: block;
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

/* Blog card content - larger */
.blog-card-content {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Stronger shadow */
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Blog image - taller */
.blog-image {
    width: 100%;
    height: 200px; /* Increased height */
    object-fit: cover;
}

/* Blog card body */
.blog-card-body {
    padding: 1.5rem; /* More padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Blog date */
.blog-date {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

/* Blog title - larger */
.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dnuka-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

/* Blog excerpt - larger */
.blog-excerpt {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Empty blog grid message */
.blog-grid .col-span-3 {
    grid-column: span 4; /* Update to span all 4 columns */
}

.blog-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dnuka-dark);
}

.blog-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dnuka-dark);
}

.blog-content p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.blog-content ul, .blog-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.blog-content ul {
    list-style-type: disc;
}

.blog-content ol {
    list-style-type: decimal;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    margin: 0 0.25rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-item:hover {
    background-color: var(--dnuka-orange);
    color: var(--dnuka-dark);
}

.pagination-active {
    background-color: var(--dnuka-orange);
    color: var(--dnuka-dark);
}

.pagination-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/*
* Service Page Styles
* ------------------
*/
/* Service page title section */
.service-title-section {
    background-color: var(--dnuka-dark);
    color: white;
    padding: 4rem 0 3rem;
    position: relative;
}

/* Updated Service Title Content for left-alignment */
.service-title-content {
    max-width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    text-align: left;
    padding: 0 1rem;
}

.service-title-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.service-title-content p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    text-align: left;
}

/* Service navigation */
.service-navigation {
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-nav-container {
    max-width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    overflow-x: auto;
    white-space: nowrap;
}

/* Work Page Styles
* ------------------
*/

/* Work page title section */
.work-title-section {
    background-color: var(--dnuka-dark);
    color: white;
    padding: 4rem 0;
    position: relative;
}

/* Updated Work title content */
.work-title-content {
    max-width: 50%;
    margin-left: 25%;
    margin-right: 25%;
}

/* Location map - REVERTED TO ORIGINAL */
.location-map-section {
    padding: 0; /* Remove padding to allow image to extend fully */
    background-color: white;
}

/* Updated Location map container */
.location-map-container {
    max-width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    padding: 0 1rem;
}

.svg-map-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%; /* Ensure the wrapper takes full height */
}

.location-map {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block; /* Remove any default spacing */
}

/* Work gallery section */
.work-gallery-section {
    background-color: var(--dnuka-dark);
    color: white;
    padding: 4rem 0;
    position: relative;
}

/* Updated Work gallery content */
.work-gallery-content {
    max-width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    position: relative;
    z-index: 10;
}

/* Location tag styles */
.location-tag {
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
}

.location-tag:hover {
    transform: scale(1.05);
    background-color: var(--dnuka-orange);
    color: var(--dnuka-dark);
}

/* Location filter container - horizontal scrolling on mobile */
.location-filter-container {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    white-space: nowrap;
}

.location-filter-container::-webkit-scrollbar {
    display: none;
}

/*
* Contact Page Styles
* ------------------
*/

/* Contact title section */
.contact-title-section {
    background-color: var(--dnuka-dark);
    color: white;
    padding: 4rem 0;
    position: relative;
}

.contact-title-content {
    max-width: 50%;
    margin-left: 25%;
    margin-right: 25%;
}

.contact-info-section {
    background-color: white;
    padding: 2rem 0;
}

.contact-info-content {
    max-width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
}

.contact-info-icon {
    font-size: 1.75rem;
    color: var(--dnuka-dark);
    margin-right: 1rem;
}

.contact-info-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-form-section {
    background-color: var(--dnuka-dark);
    color: white;
    padding: 4rem 0;
    position: relative;
}

.contact-form-content {
    max-width: 50%;
    margin-left: 25%;
    margin-right: 25%;
}

.contact-form-heading {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

/* Mascot container styles */
.mascot-container {
    position: absolute;
    bottom: 0;
    transform: translateY(25%); /* Replace translate-y-1/4 with actual transform */
    z-index: 10;
    transition: right 0.3s ease; /* Smooth transition when screen size changes */
}

/* Base mascot image */
.mascot-image {
    height: 20rem; /* h-80 equals 20rem in Tailwind */
    width: auto;
}

/*
* Responsive Styles
* ------------------
*/

@media (min-width: 1500px) {
    .floating-sidebar {
        width: 110px; /* Even larger on big screens */
    }

    .floating-sidebar:hover {
        width: 280px;
    }

    .icon-box {
        width: 75px;
        height: 75px;
    }

    .nav-icon {
        font-size: 2rem;
    }

    .sidebar-text {
        font-size: 1.3rem;
    }
}

/* Responsive Blog Grid Adjustments */
@media (max-width: 1400px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on smaller screens */
    }

    .blog-grid .col-span-3 {
        grid-column: span 3;
    }
}

@media (max-width: 1100px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }

    .blog-grid .col-span-3 {
        grid-column: span 2;
    }
}

/* Change sidebar visibility based on screen width - UPDATED TO 1200px */
@media (max-width: 1200px) {
    .floating-sidebar {
        display: none; /* Hide sidebar below 1200px */
    }

    .mobile-menu-button {
        display: block; /* Show mobile menu button below 1200px */
    }

    /* Content adjustments for when sidebar is hidden */
    .page-content, .hero-content, .section-heading, .header-flex,
    .service-title-content, .service-nav-container, .service-detail-content,
    .work-title-content, .location-map-container, .work-gallery-content,
    .blog-title-content, .blog-posts-content, .contact-title-content,
    .contact-info-content, .contact-form-content, .category-heading,
    .work-section-heading, .work-carousel-container {
        margin-left: 5%;
        width: 90%;
        margin-right: 5%;
    }

    .services-container {
        width: 90%;
        margin-left: 5%;
        padding: 20px;
        border-radius: 20px;
    }

    /* Adjust logo position when sidebar is hidden */
    header .container .flex .items-center,
    .logo-container {
        margin-left: 0px !important;
    }
}

@media (max-width: 1000px) {
    /* Service grid adjustments */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-pattern {
        display: none;
    }

    /* Partner carousel adjustments */
    .partners-carousel {
        margin-left: 5%;
        width: 95%;
    }

    .partners-carousel-set {
        gap: 30px;
    }

    .partners-carousel-set img {
        /*max-height: 45px;*/
    }

    /* Hide diagonal pattern on smaller screens */
    .diagonal-pattern {
        display: none;
    }

    /* CTA section adjustments */
    .cta-heading {
        font-size: 2.5rem;
        text-align: center;
    }

    .cta-description {
        font-size: 1.2rem;
        text-align: center;
    }

    .cta-button-container {
        text-align: center;
    }

    .cta-content {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    /* Footer adjustments */
    .footer-container {
        padding: 1.5rem;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Hero section adjustments */
    .hero-text {
        max-width: 100%;
    }

    /* Adjust hero section on mobile */
    .hero-content {
        flex-direction: column;
    }

    /* Adjust mascot on mobile */
    .hero-content .flex-shrink-0 {
        position: static;
        transform: none;
        margin-top: 2rem;
    }

    /* Service navigation adjustments */
    .service-nav-item, .service-tab-item {
        font-size: 0.9rem;
        padding: 0.8rem 0.5rem;
    }

    /* Contact info section adjustments */
    .contact-info-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Service sections adjustments */
    .service-main-tabs, .service-content-container {
        margin-left: 5%;
        width: 90%;
    }

    .service-main-tabs {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .service-tab-item {
        font-size: 0.9rem;
        flex-basis: 30%;
        min-width: calc(50% - 1rem);
    }

    .service-pattern {
        display: none;
    }

    /* Category heading adjustment */
    .category-heading {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    /* Work/projects adjustments */
    .work-item {
        width: 160px;
    }

    /* Mobile-specific work slider styles - UPDATED FOR SMALLER SCREENS */
    .work-slider {
        overflow: hidden;
    }

    .work-image {
        width: calc(50% - 0.75rem); /* 2 images per row on tablet */
    }

    .work-slide {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }

    .slider-nav {
        width: 35px;
        height: 35px;
    }

    .slider-prev {
        left: 0;
    }

    .slider-next {
        right: 0;
    }
}

/* Mobile-specific styles - ADDED FOR PHONES */
@media (max-width: 640px) {
    /* Work slider adjustments */
    .work-slider {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .work-image {
        flex: 0 0 100%; /* Each image takes full width */
        width: 100%;
        min-width: 100%;
        margin: 0 auto;
    }

    .work-slide {
        display: flex; /* Change from grid to flex for single image slider */
        transition: transform 0.5s ease;
    }

    .work-gallery-content h2 {
        margin-bottom: 1.5rem;
        margin-left: 5%;
    }

    .work-gallery-content {
        width: 95%;
        max-width: 95%;
        margin-left: 2.5%;
        margin-right: 2.5%;
        padding: 0;
    }

    /* Slider navigation buttons */
    .slider-nav {
        background-color: rgba(0, 0, 0, 0.5);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 200;
    }

    .slider-nav img {
        width: 15px;
        height: 15px;
    }

    .modal-image {
        max-width: 95vw;
        max-height: 80vh;
    }

    .modal-close {
        top: -35px;
        right: 5px;
        font-size: 2.5rem;
        color: white;
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    }

    /* CTA section adjustments */
    .cta-heading {
        font-size: 1.8rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    /* Service tabs adjustments */
    .service-tab-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }

    body section.contact-info-section.bg-white {
        padding: 2rem 0 !important;
    }

    body .contact-info-content {
        width: 80% !important;
        margin-left: 21% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        min-height: 300px !important;
    }

    body .contact-info-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
    }

    body .contact-info-icon {
        margin-right: 0 !important;
        margin-bottom: 0.75rem !important;
    }

    body .contact-info-text {
        text-align: center !important;
    }

    /* Blog grid adjustments */
    .blog-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1.5rem;
    }

    .blog-grid .col-span-3 {
        grid-column: span 1;
    }

    /* Footer adjustments */
    .footer-container {
        border-width: 6px; /* Thinner border on small mobile */
        padding: 1rem;
    }

    .location-map-section {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .location-map-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .svg-map-wrapper {
        width: 100%;
        display: block;
    }

    .location-map {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .work-category {
        width: 90%;
        margin: 0 auto;
        padding: 1.5rem 0.5rem;
        background-color: #262733; /* Match your site's sidebar-bg color */
        border-radius: 1rem;
    }

    /* Service tabs container mobile adjustments */
    .service-tabs-carousel-container div {
        margin-left: 0 !important;
        width: 100% !important;
    }

    /* Make the carousel scroll smoother on mobile */
    .service-tabs-carousel {
        padding: 0.75rem 0.5rem;
        gap: 0.5rem;
    }

    /* Slightly reduce the tab item size for better fit */
    .service-tab-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

}

/* Responsive positioning based on screen width */
@media (min-width: 1920px) {
    /* For large screens (above full HD) */
    .mascot-container {
        right: 35rem; /* Default position for large screens */
    }
}

@media (max-width: 1919px) and (min-width: 1750px) {
    /* For full HD screens */
    .mascot-container {
        right: 30rem;
    }
}

@media (max-width: 1749px) and (min-width: 1600px) {
    /* For slightly smaller screens */
    .mascot-container {
        right: 25rem;
    }
}

@media (max-width: 1599px) and (min-width: 1440px) {
    /* For large screens */
    .mascot-container {
        right: 18rem;
    }
}

@media (max-width: 1439px) and (min-width: 1280px) {
    /* For medium-large screens */
    .mascot-container {
        right: 20rem;
    }
}

@media (max-width: 1279px) and (min-width: 1100px) {
    /* For medium screens */
    .mascot-container {
        right: 14rem;
    }
}

@media (max-width: 1099px) and (min-width: 768px) {
    /* For smaller screens/tablets */
    .mascot-container {
        right: 7rem;
    }

    .mascot-image {
        height: 16rem; /* Slightly smaller on tablets */
    }
}

/* Media query for screens below 1200px - PLACE THIS AT THE END OF YOUR CSS FILE */
@media (max-width: 1200px) {
    /* Hide sidebar on screens below 1200px */
    .floating-sidebar {
        display: none !important;
    }

    /* Show hamburger menu button */
    .mobile-menu-button {
        display: block !important;
    }

    /* Content adjustments */
    .page-content, .hero-content, .section-heading, .header-flex,
    .service-title-content, .service-nav-container, .service-detail-content,
    .work-title-content, .location-map-container, .work-gallery-content,
    .blog-title-content, .blog-posts-content, .contact-title-content,
    .contact-info-content, .contact-form-content, .category-heading,
    .work-section-heading, .work-carousel-container {
        margin-left: 5% !important;
        width: 90% !important;
        margin-right: 5% !important;
    }

    .services-container {
        width: 90% !important;
        margin-left: 5% !important;
    }

    /* Adjust logo position */
    header .container .flex .items-center,
    .logo-container {
        margin-left: 0px !important;
    }

    @media (max-width: 767px) {
        /* For mobile devices, reposition to center-bottom */
        .mascot-container {
            right: auto;
            left: 50%;
            transform: translateX(-50%) translateY(25%);
        }

        .mascot-image {
            height: 14rem; /* Smaller on mobile */
        }

        .blog-grid {
            grid-template-columns: repeat(1, 1fr); /* 1 column on mobile */
            gap: 1.5rem; /* Smaller gap on mobile */
        }

        .blog-grid .col-span-3 {
            grid-column: span 1;
        }

        .blog-image {
            height: 220px; /* Even taller images on mobile for better visibility */
        }

        /* Improved image modal on mobile */
        .modal-content {
            max-width: 95%;
        }

        .modal-close {
            top: -30px;
            right: 0;
        }

          .service-title-content,
          .work-title-content,
          .contact-title-content {
            width: 90% !important;
            max-width: 90% !important;
            margin-left: 10% !important;
            padding: 0 !important;
          }
    }

    @media (max-width: 480px) {
        .mb-8 h2.text-4xl {
            font-size: 1.6rem; /* Zníženie z text-4xl (2.25rem) */
        }

        .mb-8 h1.text-6xl {
            font-size: 3rem; /* Zníženie z text-6xl (4rem) */
        }

        .blog-title-content h1 {
            font-size: 1.6rem;
        }

        .blog-title-content h2 {
            font-size: 3rem;
        }

        .hero-text .mb-8 {
            margin-bottom: 1rem !important; /* Zníženie z 2rem (mb-8) */
        }

        .hero-text .mt-12 {
            margin-top: 1.5rem !important; /* Zníženie z 3rem (mt-12) */
        }

        /* Zmenšenie tlačidla */
        .hero-text .orange-btn {
            padding: 0.5rem 1.25rem; /* Menšie padding pre tlačidlo */
            font-size: 1rem; /* Menší text tlačidla */
        }

        /* Zmenšenie maskota */
        .mascot-container img.h-80 {
            height: 15rem !important; /* Zníženie výšky z 20rem (h-80) na 10rem */
            transform: scale(1); /* Dodatočné zmenšenie maskota */
        }

        /* Upravenie pozície maskota */
        .mascot-container {
            right: 0.5rem; /* Posun doprava, ak treba */
            transform: translateY(15%) !important; /* Zmena vysunutia nahor */
        }
    }

    /* Default state for mobile menu button - hidden on large screens */
    .mobile-menu-button {
        display: none;
    }

    /* Work Section Header and Navigation */
.work-section-heading-container {
    display: flex;
    align-items: center;
    width: 75%;
    margin-left: 25%;
    margin-bottom: 1rem;
}

.work-section-heading {
    margin-right: 1rem;
    margin-bottom: 0;
}

.work-carousel-navigation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.work-carousel-prev,
.work-carousel-next {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.work-carousel-prev:hover,
.work-carousel-next:hover {
    background: rgba(0, 0, 0, 0.4);
}

.work-carousel-prev img,
.work-carousel-next img {
    width: 15px;
    height: 15px;
}

/* Hover image handling */
.work-carousel-prev .hover-image,
.work-carousel-next .hover-image {
    position: absolute;
    opacity: 0;
}

.work-carousel-prev:hover img:not(.hover-image),
.work-carousel-next:hover img:not(.hover-image) {
    opacity: 0;
}

.work-carousel-prev:hover .hover-image,
.work-carousel-next:hover .hover-image {
    opacity: 1;
}

/* Hide scrollbar on Chrome/Safari */
.work-carousel::-webkit-scrollbar {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .work-section-heading-container {
        width: 95%;
        margin-left: 2.5%;
        justify-content: space-between;
        align-items: center;
    }

    .work-carousel-navigation {
        position: static;
    }
}
}