@media (min-width: 769px) and (max-width: 1024px) {
    .nav-bar {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
    .mobile-menu-toggle {
        order: 1;
        margin-right: 0;
        margin-left: 0;
        display: flex !important;
    }
    .deckmann-mobile-toggle {
        order: 2;
        margin-left: 0;
        margin-right: 0;
        display: flex !important;
    }
    .nav-left {
        order: 3;
        margin-left: 0;
        margin-right: 0;
    }
    .logo {
        order: 4;
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}
/* =============================
   CSS VARIABLES
   ============================= */
:root {
    --color-primary: #0e4c80;
    --color-primary-light: #2c5aa0;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #fff;
    --color-bg-light: #f8f9fa;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --transition: 0.3s ease;
}

/* =============================
   RESET & BASE
   ============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--color-bg);
    color: #18304b;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* =============================
   NAVBAR
   ============================= */
.nav-bar {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    background: var(--color-primary);
    height: 150px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 1000;
}

.nav-left {
    list-style: none;
    display: flex;
     flex-direction: row;
}

/* DESKTOP ONLY - Force menu visibility on large screens */
@media (min-width: 1025px) {
    .nav-left {
        display: flex !important;
        position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 100% !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .deckmann-mobile-toggle {
        display: none !important;
     order: 1;
    }
    
    .deckmann-mobile-dropdown {
        display: none !important;
    }
}

.nav-left li {
    width: 150px;
    height: 150px;
    transition: 0.3s ease;
}

.nav-left li:hover {
    background: rgba(255,255,255,0.15);
}

.nav-left a,
.nav-left button {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Science Gothic', sans-serif;
    text-align: center;
     order: 3;
    line-height: 1.2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    padding: 40px 10px 10px 10px;
}

.logo img {
    height: 630px;
    width: auto;
    object-fit: contain;
}

/* =============================
   DROPDOWN MENU
   ============================= */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 1001;
}

.dropdown-menu-deckmann {
    width: 150px;
}

.deckmann-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

.deckmann-link img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

/* Hide Deckman text by default (desktop) */
.deckmann-text {
    display: none;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    height: auto;
    transition: 0.3s ease;
}

.dropdown-menu li:hover {
    background: rgba(14,76,128,0.1);
}

.dropdown-menu a {
    padding: 15px 20px;
    font-size: 13px;
    display: block;
    text-align: left;
    color: #303030;
    font-family: 'Science Gothic', sans-serif;
    font-weight: 600;
    transition: color 0.3s ease;
}

.dropdown-menu li:hover a {
    color: var(--color-primary);
}

/* =============================
   HERO SECTION
   ============================= */
.hero-full-gradbenistvo {
    position: relative;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
}

.hero-content-lower {
    position: relative;
    z-index: 2;
    padding: 60px;
    max-width: 800px;
}

.hero-content-lower h1 {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Science Gothic', sans-serif;
    line-height: 1.1;
}

.hero-content-lower p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-features-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 12px 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.feature-pill i.fa-check-circle {
    color: #fff;
    background: #000;
    border-radius: 50%;
    font-size: 18px;
}

.feature-pill i:not(.fa-check-circle) {
    font-size: 18px;
}

.feature-pill span {
    font-size: 15px;
    font-weight: 600;
    color: #fff !important;
}

/* =============================
   SERVICE CARDS
   ============================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
}

.service-card {
    background: #fff;
    position: relative;
    padding: 40px 30px 70px;
    border: 1px solid #e8e8e8;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14,76,128,0.15);
}

.service-icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon-box i {
    font-size: 28px;
    color: #fff;
}

.service-number {
    font-size: 64px;
    font-weight: 900;
    color: rgba(14,76,128,0.08);
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Science Gothic', sans-serif;
    line-height: 1;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-family: 'Science Gothic', sans-serif;
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
}

.service-blue-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover .service-blue-stripe {
    transform: scaleX(1);
}

/* =============================
   BLUE OVERLAY SECTION
   ============================= */
.blue-overlay-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.blue-overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blue-overlay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blue-overlay-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    width: 100%;
}

.overlay-box {
    background: rgba(14,76,128,0.95);
    padding: 50px;
    max-width: 550px;
    color: #fff;
}

.overlay-box h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Science Gothic', sans-serif;
}

.overlay-box p {
    font-size: 17px;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 30px;
}

.overlay-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.feature-item i {
    color: #fff;
    background: #000;
    border-radius: 50%;
    font-size: 18px;
}

/* =============================
   SPLIT SECTION
   ============================= */
.split-blue-section {
    padding: 100px 40px;
    background: var(--color-bg-light);
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.blue-accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    margin-bottom: 30px;
}

.split-text-area h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 25px;
    font-family: 'Science Gothic', sans-serif;
    line-height: 1.2;
}

.split-text-area p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.process-list {
    list-style: none;
    margin-top: 40px;
}

.process-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.process-icon {
    width: 45px;
    height: 45px;
    background: var(--color-primary);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Science Gothic', sans-serif;
}

.process-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.process-text strong {
    font-size: 17px;
    color: #333;
}

.process-text span {
    font-size: 14px;
    color: #777;
}

.image-wrapper-blue {
    position: relative;
}

.image-wrapper-blue img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.image-blue-corner {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 4px solid var(--color-primary);
    z-index: -1;
}

/* =============================
   CONTACT FORM SECTION
   ============================= */
.contact-form-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.contact-form-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-form-left h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: 'Science Gothic', sans-serif;
    margin-bottom: 20px;
}

.contact-form-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.contact-form-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: #333;
}

.contact-info-item i {
    width: 24px;
    color: var(--color-primary);
    font-size: 18px;
}

.contact-form-right {
    background: #fff;
    padding: 40px;
    border: 2px solid #e0e0e0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    font-family: 'Science Gothic', sans-serif;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #333;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    background: #f8f9fa;
}

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

.form-submit-btn {
    padding: 16px 30px;
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Science Gothic', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.form-submit-btn:hover {
    background: transparent;
    color: var(--color-primary);
}

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 15px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

/* =============================
   FOOTER
   ============================= */
.footer-simple {
    background: linear-gradient(135deg, #0a3a5e 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    color: #fff;
    padding: 50px 0 30px;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Science Gothic', sans-serif;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Science Gothic', sans-serif;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-info a,
.footer-contact-info p {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.95rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #fff;
    color: var(--color-primary);
}

/* =============================
   GALLERY
   ============================= */
.gallery-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px;
}

.gallery-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-item.hidden {
    display: none;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    min-height: 250px;
    overflow: hidden;
    background: #f5f5f5;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.ghost-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14,76,128,0.92);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .ghost-overlay {
    opacity: 1;
}

.ghost-box {
    border: 3px solid rgba(255,255,255,0.15);
    padding: 30px 50px;
    text-align: center;
}

.ghost-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox[hidden] {
    display: none;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.lightbox-info {
    text-align: center;
    color: #fff;
}

.lightbox-title {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Science Gothic', sans-serif;
}

/* =============================
   WHY SIMBAU SECTION (Index)
   ============================= */
.why-simbau-section {
    padding: 80px 40px;
    background: #fff;
}

/* =============================
   NAKUP NEPREMIČNIN PAGE
   ============================= */

/* Available Properties Section */
.available-section {
    padding: 80px 40px;
    background: #f8f9fa;
}

.available-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}


.available-header h2 {
    font-size: 42px;
    font-family: 'Science Gothic', sans-serif;
    font-weight: 700;
    color: #0e4c80;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.available-header p {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
}

.available-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.available-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
    border: 1px solid rgba(0,0,0,0.05);
}

.available-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(14,76,128,0.18);
    border-color: rgba(14,76,128,0.1);
}

.available-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.available-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.available-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-primary);
    color: #fff;
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(14,76,128,0.3);
}

.available-content {
    padding: 35px;
}

.available-content h3 {
    font-size: 28px;
    font-family: 'Science Gothic', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.available-content > p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 28px;
}

.available-details {
    display: flex;
    gap: 25px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
}

.detail-item i {
    color: var(--color-primary);
    font-size: 18px;
}

.available-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.available-card:hover .available-link {
    gap: 15px;
    color: #0a3a66;
}

/* Projects Section */
.projects-section {
    padding: 80px 40px;
    background: #fff;
}

.projects-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.projects-header h2 {
    font-size: 42px;
    font-family: 'Science Gothic', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.projects-header p {
    font-size: 18px;
    color: #666;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-status {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 24px;
    font-family: 'Science Gothic', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.project-info > p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    gap: 20px;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.project-meta i {
    color: var(--color-primary);
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0a3d66 100%);
    padding: 60px 40px;
    text-align: center;
}

.info-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-banner-content h2 {
    font-size: 36px;
    font-family: 'Science Gothic', sans-serif;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .deckmann-link img {
        max-width: 90px;
        max-height: 90px;
    }
}

.info-banner-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
    margin-bottom: 15px;
}

.info-banner-content p:last-child {
    margin-bottom: 0;
}

/* =============================
   MOBILE MENU
   ============================= */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 15px;
    z-index: 1002;
}

/* DESKTOP ONLY – Ensure hamburger stays hidden on desktop */
@media (min-width: 1025px) {
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* =============================
   RESPONSIVE - TABLET
   Applies ONLY to screens ≤1024px (tablets, not desktops)
   Desktop screens (>1024px) use base styles above
   ============================= */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Tablet: Same mobile header layout as phone */
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0;
        align-self: center !important;
        width: 48px !important;
        height: 48px !important;
        z-index: 1002 !important;
        pointer-events: auto !important;
        position: relative !important;
        margin: 0;
        order: 1;
        background: none;
        border: none;
        cursor: pointer;
        color: white;
        font-size: 24px;
    }
    
    .deckmann-mobile-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0;
        align-self: center !important;
        width: 58px !important;
        height: 58px !important;
        z-index: 1002 !important;
        pointer-events: auto !important;
        position: relative !important;
        margin: 15px 0 0 8px;
        order: 2;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .deckmann-mobile-toggle img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .deckmann-mobile-dropdown {
        position: fixed;
        top: 90px;
        left: 20px;
        background: white;
        min-width: 180px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        border-radius: 4px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1001;
        overflow: hidden;
    }
    
    .deckmann-mobile-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .deckmann-mobile-dropdown a {
        display: block;
        padding: 12px 16px;
        color: var(--color-primary);
        text-decoration: none;
        font-size: 14px;
        font-family: 'Science Gothic', sans-serif;
        font-weight: 600;
        border-bottom: 1px solid #eee;
        transition: background 0.2s;
    }
    
    .deckmann-mobile-dropdown a:last-child {
        border-bottom: none;
    }
    
    .deckmann-mobile-dropdown a:hover {
        background: rgba(14, 76, 128, 0.1);
    }
    
    .nav-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        padding: 0 15px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center !important;
        gap: 0;
        z-index: 1000;
        overflow: visible;
    }
    
    .logo {
        padding: 0;
        margin: 0 0 0 auto;
        order: 3;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        align-self: center !important;
        height: 55px;
        pointer-events: auto;
        z-index: 1001;
        overflow: visible;
    }
    
    .logo img {
        height: 55px;
        width: auto;
        object-fit: contain;
    }
    
    .nav-left {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 320px;
        height: calc(100vh - 80px);
        background: var(--color-primary);
        flex-direction: column;
        padding: 20px 0;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 4px 0 10px rgba(0,0,0,0.2);
        z-index: 999;
    }
    
    .nav-left.active {
        left: 0;
    }
}

@media (max-width: 1024px) {
    .nav-bar {
        height: 80px;
        overflow: hidden;
    }

/* =============================
   LOADING SCREEN
   ============================= */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a3a5e, #0e4c80, #1d5a8c);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.progress-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: visible;
    position: relative;
}

.progress-fill {
    width: 30px;
    height: 4px;
    background: #0e4c80;
    border-radius: 2px;
    position: absolute;
    top: 0;
    left: -30px;
    animation: progressSlide 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(14, 76, 128, 0.8);
}

@keyframes progressSlide {
    0% { left: 60px; }
    100% { left: 300px; }
}

/* =============================
   PAGE PROGRESS BAR (below navbar)
   ============================= */
#page-progress-bar {
    position: fixed;
    top: 150px;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 999;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#page-progress-bar.done {
    opacity: 0;
}

#page-progress-bar .bar-fill {
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.8s cubic-bezier(0.1, 0.4, 0.4, 1);
}

#page-progress-bar.loading .bar-fill {
    transform: scaleX(1);
}

@media (max-width: 1024px) {
    #page-progress-bar {
        top: 80px;
    }
}

/* ==========================================
   SIMPLE ARCHITECTURAL PROJECTS SLIDER
   ========================================== */

.projects-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
}

.project-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.project-dot:hover {
    background: #aaa;
}

.project-dot.active {
    background: #0e4c80;
    width: 35px;
    border-radius: 6px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .projects-slider-section {
        padding: 80px 30px;
    }

    .projects-header h2 {
        font-size: 2.5rem;
    }

    .project-image-container {
        height: 400px;
    }

    .project-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .projects-slider-section {
        padding: 60px 20px;
    }

    .projects-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .projects-header h2 {
        font-size: 2rem;
    }

    .projects-nav {
        align-self: center;
    }

    .project-image-container {
        height: 300px;
    }

    .project-title {
        font-size: 1.5rem;
    }

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

    .project-link {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .projects-header h2 {
        font-size: 1.6rem;
    }

    .project-image-container {
        height: 250px;
        min-height: 250px;
    }
    
    .project-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .project-title {
        font-size: 1.3rem;
    }

    .project-description {
        font-size: 0.95rem;
    }

    .projects-dots {
        gap: 8px;
    }

    .project-dot {
        width: 10px;
        height: 10px;
    }

    .project-dot.active {
        width: 28px;
    }
}
/* =============================
   INDEX PAGE SPECIFIC STYLES
   ============================= */

/* Projects Slider */
.projects-slider {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.slider-header {
    text-align: center;
    margin-bottom: 50px;
}

.slider-header h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
    font-family: 'Science Gothic', sans-serif;
}

.slider-header p {
    font-size: 1.1rem;
    color: #666;
}

.grajski-container {
    position: relative;
    overflow: hidden;
}

.projects-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.grajski-image-wrapper {
    position: relative;
    z-index: 2;
}

.grajski-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

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

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

.text-box {
    padding: 20px;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(44,90,160,0.08);
    margin-bottom: 20px;
    font-family: 'Science Gothic', sans-serif;
}

.text-box h2 {
    font-size: 2.2rem;
    color: #0e4c80;
    margin-bottom: 18px;
    font-weight: 700;
}

.text-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 10px;
}

.ghost-btn-below {
    width: 100%;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Science Gothic', sans-serif;
    margin-top: 10px;
}

.ghost-btn-below:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

/* Legal Pages */
.legal-main {
    max-width: 600px;
    margin: 60px auto 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 32px rgba(14,76,128,0.13);
    padding: 36px 28px 32px;
    color: #18304b;
    font-size: 1.08rem;
}

.legal-main h1 {
    font-size: 2.1rem;
    color: #0e4c80;
    margin-bottom: 18px;
    font-weight: 800;
    text-align: center;
    font-family: 'Science Gothic', sans-serif;
}

.legal-main h2 {
    font-size: 1.18rem;
    color: #0e4c80;
    margin-top: 28px;
    margin-bottom: 8px;
    font-weight: 700;
    font-family: 'Science Gothic', sans-serif;
}

.legal-main p {
    color: #2a3d54;
    line-height: 1.7;
    margin: 0 0 8px;
}

    
    /* Hide menu on tablet - show hamburger instead */
    .nav-left {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 280px;
        max-width: 85vw;
        height: calc(100vh - 80px);
        flex-direction: column;
        background: var(--color-primary);
        box-shadow: 4px 0 10px rgba(0,0,0,0.2);
        padding: 20px 0;
        overflow-y: auto;
        overflow-x: hidden;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-left.active {
        left: 0;
    }
    
    .nav-left li {
        width: 100%;
        height: auto;
    }
    
    .nav-left a,
    .nav-left button {
        padding: 15px 20px;
        justify-content: flex-start;
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo {
        padding: 0;
        margin: 0;
        order: 2;
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        max-height: 80px;
        overflow: visible;
    }
    
    .logo img {
        height: 210px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.1);
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        color: #fff;
        padding: 12px 30px;
    }
    
    .hero-content-lower {
        padding: 40px;
    }
    
    .hero-content-lower h1 {
        font-size: 42px;
    }
    
    .services-grid {
        padding: 0 30px;
        margin: 60px auto;
    }
    
    .split-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blue-overlay-content {
        padding: 40px;
    }
    
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
    
    .available-section,
    .projects-section {
        padding: 60px 30px;
    }
    
    .available-header h2,
    .projects-header h2 {
        font-size: 36px;
    }
    
    .available-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .info-banner {
        padding: 50px 30px;
    }
    
    .info-banner-content h2 {
        font-size: 32px;
    }
}

/* =============================
   RESPONSIVE - MOBILE
   ============================= */
@media (max-width: 768px) {
    .hero-full-gradbenistvo {
        height: 70vh;
        min-height: 450px;
    }
    
    .hero-content-lower {
        padding: 25px;
    }
    
    .hero-content-lower h1 {
        font-size: 32px;
    }
    
    .hero-content-lower p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .hero-features-row {
        gap: 10px;
    }
    
    .feature-pill {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .feature-pill span {
        font-size: 13px;
    }
    
    .services-grid {
        padding: 0 20px;
        gap: 20px;
        margin: 40px auto;
    }
    
    .service-card {
        padding: 30px 20px 60px;
    }
    
    .service-number {
        font-size: 48px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .blue-overlay-section {
        min-height: auto;
    }
    
    .blue-overlay-content {
        padding: 30px 20px;
    }
    
    .overlay-box {
        padding: 30px 25px;
        max-width: 100%;
    }
    
    .overlay-box h2 {
        font-size: 28px;
    }
    
    .split-blue-section {
        padding: 60px 20px;
    }
    
    .split-text-area h2 {
        font-size: 30px;
    }
    
    .image-wrapper-blue img {
        height: 300px;
    }
    
    .image-blue-corner {
        display: none;
    }
    
    .contact-form-section {
        padding: 50px 20px;
    }
    
    .contact-form-left h2 {
        font-size: 1.8rem;
    }
    
    .contact-form-right {
        padding: 30px 20px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-section {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .gallery-wrapper {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .why-simbau-section {
        padding: 50px 20px;
    }
    
    .available-section,
    .projects-section {
        padding: 50px 20px;
    }
    
    .available-header,
    .projects-header {
        margin-bottom: 40px;
    }
    
    .available-header h2,
    .projects-header h2 {
        font-size: 30px;
    }
    
    .available-header p,
    .projects-header p {
        font-size: 16px;
    }
    
    .available-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .available-content h3 {
        font-size: 22px;
    }
    
    .available-details {
        flex-direction: column;
        gap: 12px;
    }
    
    .info-banner {
        padding: 40px 20px;
    }
    
    .info-banner-content h2 {
        font-size: 28px;
    }
    
    .info-banner-content p {
        font-size: 16px;
    }
} /* END: @media (max-width: 768px) - RESPONSIVE MOBILE */

/* =============================
   RESPONSIVE - SMALL MOBILE
   ============================= */
@media (max-width: 480px) {
    .nav-bar {
        height: 70px;
    }
    
    .nav-left {
        top: 70px;
    }
    
    .hero-full-gradbenistvo {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-content-lower h1 {
        font-size: 26px;
    }
    
    .hero-content-lower p {
        font-size: 14px;
    }
    
    .feature-pill {
        padding: 8px 12px;
    }
    
    .feature-pill i {
        font-size: 14px;
    }
    
    .feature-pill span {
        font-size: 12px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    .overlay-box h2 {
        font-size: 24px;
    }
    
    .split-text-area h2 {
        font-size: 26px;
    }
    
    .contact-form-left h2 {
        font-size: 1.5rem;
    }
    
    .form-submit-btn {
        width: 100%;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-title {
        font-size: 18px;
    }
    
    .available-header h2,
    .projects-header h2 {
        font-size: 26px;
    }
    
    .available-content h3 {
        font-size: 20px;
    }
    
    .info-banner-content h2 {
        font-size: 24px;
    }
    
    .info-banner-content p {
        font-size: 15px;
    }
} /* END: @media (max-width: 480px) - SMALL MOBILE */

/* =============================
   ACCESSIBILITY
   ============================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* =============================
   MOBILE ONLY STYLES
   DESKTOP IZGLED OSTANE 100% ENAK
   ============================= */

/* MOBILE STYLES - MAX 768px */
@media (max-width: 768px) {
    /* Force vertical scroll only - NO HORIZONTAL */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
    }
    
    /* All containers must fit within viewport */
    * {
        max-width: 100vw;
    }
    
    /* MOBILE ONLY – Hamburger stability fix: prevent stretch & overlap */
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0;
        align-self: center !important;
        width: 48px !important;
        height: 48px !important;
        z-index: 1002 !important;
        pointer-events: auto !important;
        position: relative !important;
        margin: 0;
        order: 1;
        background: none;
        border: none;
        cursor: pointer;
        color: white;
        font-size: 24px;
    }
    
    /* Deckmann mobile toggle button - DROPPED 15px LOWER */
    .deckmann-mobile-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0;
        align-self: center !important;
        width: 52px !important;
        height: 52px !important;
        z-index: 1002 !important;
        pointer-events: auto !important;
        position: relative !important;
        margin: 15px 0 0 5px;
        order: 2;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .deckmann-mobile-toggle img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    /* Deckmann mobile dropdown */
    .deckmann-mobile-dropdown {
        position: fixed;
        top: 80px;
        left: 15px;
        background: white;
        min-width: 180px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        border-radius: 4px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1001;
        overflow: hidden;
    }
    
    .deckmann-mobile-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .deckmann-mobile-dropdown a {
        display: block;
        padding: 12px 16px;
        color: var(--color-primary);
        text-decoration: none;
        font-size: 14px;
        font-family: 'Science Gothic', sans-serif;
        font-weight: 600;
        border-bottom: 1px solid #eee;
        transition: background 0.2s;
    }
    
    .deckmann-mobile-dropdown a:last-child {
        border-bottom: none;
    }
    
    .deckmann-mobile-dropdown a:hover {
        background: rgba(14, 76, 128, 0.1);
    }
    
    /* Mobile Navigation – LEFT alignment for hamburger and Deckmann */
    .nav-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        padding: 0 10px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center !important;
        gap: 0;
        z-index: 1000;
        overflow: visible;
    }
    
    /* Logo positioning on mobile - FAR RIGHT */
    .logo {
        padding: 0;
        margin: 0 0 0 auto;
        order: 3;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        align-self: center !important;
        height: 50px;
        pointer-events: auto;
        z-index: 1001;
        overflow: visible;
    }
    
    .logo img {
           height: 230px;
           padding-top: 15px;
        width: auto;
        object-fit: contain;
    }
    
    /* Mobile menu list */
    .nav-left {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        max-width: 85vw;
        height: calc(100vh - 70px);
        background: var(--color-primary);
        flex-direction: column;
        padding: 20px 0;
        overflow-y: auto;
        overflow-x: hidden;
        transition: left 0.3s ease;
        box-shadow: 4px 0 10px rgba(0,0,0,0.2);
        z-index: 999;
    }
    
    .nav-left.active {
        left: 0;
    }
    
    /* Mobile menu items */
    .nav-left li {
        width: 100%;
        height: auto;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-left li:last-child {
        border-bottom: none;
    }
    
    .nav-left a,
    .nav-left button {
        padding: 18px 25px;
        font-size: 16px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        height: auto;
    }
    
    /* Mobile dropdown */
    .dropdown-toggle::after {
        content: '▼';
        font-size: 12px;
        padding-left: 8px;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.15);
        display: none;
        padding: 0;
        width: 100%;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li {
        width: 100%;
        height: auto;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .dropdown-menu li:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu a {
        padding: 15px 25px 15px 40px;
        font-size: 15px;
        color: white;
    }
    
    /* Deckmann logo in mobile menu */
    .dropdown-deckmann .deckmann-link {
        padding: 20px 25px;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .dropdown-deckmann .deckmann-link img {
        max-width: 80px;
        max-height: 35px;
        flex-shrink: 0;
    }
    
    /* Show Deckman text only on mobile */
    .deckmann-text {
        display: block;
        font-size: 16px;
        font-weight: 600;
        color: white;
        font-family: 'Science Gothic', sans-serif;
        white-space: nowrap;
    }
    
    .dropdown-menu-deckmann {
        background: rgba(0,0,0,0.2);
        width: 100%;
    }
    
    /* Main content offset for fixed menu */
    .main-content {
        padding-top: 70px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Hero sections - mobile adjustments */
    .hero-full-gradbenistvo {
        min-height: 60vh;
        width: 100%;
        max-width: 100vw;
    }
    
    .hero-content-lower {
        padding: 30px 20px;
        width: 100%;
    }
    
    .hero-content-lower h1 {
        font-size: 28px;
    }
    
    .hero-content-lower p {
        font-size: 16px;
    }
    
    .hero-features-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .feature-pill {
        width: 100%;
        max-width: 280px;
    }
    
    /* Sections padding mobile */
    section {
        padding: 40px 20px !important;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Grid adjustments for mobile */
    .grid-container,
    .services-grid,
    .why-grid,
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        width: 100%;
    }
    
    /* Typography mobile */
    h1 {
        font-size: 28px !important;
    }
    
    h2 {
        font-size: 24px !important;
    }
    
    h3 {
        font-size: 20px !important;
    }
    
    /* Images responsive */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    /* Cards mobile */
    .card,
    .service-card {
        padding: 20px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Split sections mobile */
    .split-content {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    /* Buttons mobile - touch friendly */
    .btn,
    .cta-btn,
    button {
        min-height: 48px;
        padding: 14px 25px;
    }
    
    /* Prevent any element from causing horizontal scroll */
    div, section, article, aside, header, footer, nav {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-full-gradbenistvo {
        overflow-x: visible;
    }
    
    .hero-bg-image {
        overflow-x: visible;
    }
    
    .projects-slider-section {
        overflow-x: visible;
    }
} /* END: @media (max-width: 768px) - MOBILE ONLY STYLES */

/* ==========================================
   MOBILE OPTIMIZATIONS - MAX 768PX ONLY
   Desktop styles above remain unchanged
   ========================================== */
@media (max-width: 768px) {
    
    /* Hero Section - Mobile Height */
    .hero-full-gradbenistvo {
        height: 50vh;
        min-height: 450px;
    }
    
    .hero-content-lower {
        padding: 25px 20px;
    }
    
    .hero-content-lower h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    /* Hero Text Variants */
    .hero-text-desktop {
        display: none;
    }
    
    .hero-text-mobile {
        display: block;
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    /* Feature Pills - Stack Vertically */
    .hero-features-row {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .feature-pill {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        justify-content: center;
        min-height: 50px;
    }
    
    .feature-pill i {
        font-size: 16px;
    }
    
    .feature-pill span {
        font-size: 15px;
    }
    
    /* Services Grid - Single Column */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 50px 20px;
        margin: 0;
    }
    
    .services-grid > div:first-child {
        margin-bottom: 30px;
    }
    
    .services-grid h2 {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .services-grid > div:first-child p {
        font-size: 16px;
    }
    
    /* Service Cards - Compact */
    .service-card {
        padding: 30px 20px 60px;
    }
    
    .service-icon-box {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .service-icon-box i {
        font-size: 24px;
    }
    
    .service-number {
        font-size: 48px;
    }
    
    .service-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    /* Service Descriptions - Mobile Version */
    .service-description-desktop {
        display: none;
    }
    
    .service-description-mobile {
        display: block;
        font-size: 15px;
        line-height: 1.5;
    }
    
    /* About Section - Mobile Layout */
    .about-section {
        padding: 50px 20px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 0;
    }
    
    .about-text {
        max-width: 100%;
        padding: 0;
    }
    
    .about-text h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    /* About Text Variants */
    .about-text-desktop {
        display: none;
    }
    
    .about-text-mobile {
        display: block;
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .about-image-decorative {
        display: none;
    }
    
    /* CTA Buttons - Stack & Touch Friendly */
    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: stretch;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        padding: 16px 30px;
        font-size: 16px;
        min-height: 52px;
    }
    
    /* Contact Section - Mobile */
    .contact-section {
        padding: 50px 20px;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info,
    .contact-form-wrapper {
        max-width: 100%;
    }
    
    .contact-form-wrapper h2 {
        font-size: 28px;
    }
    
    /* Contact Subtitle Variants */
    .contact-subtitle-desktop {
        display: none;
    }
    
    .contact-subtitle-mobile {
        display: block;
        font-size: 15px;
    }
    
    /* Form Layout - Mobile */
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group {
        min-width: 100%;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px;
        padding: 14px;
        min-height: 48px;
    }
    
    textarea {
        min-height: 120px;
    }
    
    button[type="submit"] {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        min-height: 52px;
    }
    
    /* Projects Slider - Mobile */
    .projects-slider,
    .grajski-container,
    .projects-wrapper {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .project-slide {
        padding: 0 15px;
    }
    
    .grajski-image {
        height: 250px;
        border-radius: 10px;
    }
    
    .text-box {
        padding: 15px;
    }
    
    .text-box h2 {
        font-size: 1.5rem;
    }
    
    .ghost-btn-below {
        padding: 12px 20px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    /* Legal Pages - Mobile */
    .legal-main {
        padding: 20px;
        max-width: calc(100% - 40px);
        margin: 24px 10px;
    }
    
    .legal-main h1 {
        font-size: 1.5rem;
    }
    
    .legal-main h2 {
        font-size: 1.05rem;
    }
    
    /* Slider Controls - Mobile */
    .slider-controls {
        padding: 0 15px;
    }
    
    .slider-header h2 {
        font-size: 1.8rem;
    }
    
    /* Touch Friendly - All Buttons */
    button,
    .btn,
    .ghost-btn-below,
    .cta-btn-primary,
    .cta-btn-secondary {
        min-height: 48px;
        padding: 14px 25px;
    }
} /* END: @media (max-width: 768px) - MOBILE OPTIMIZATIONS */

/* ==========================================
   MOBILE ONLY - Additional Breakpoints
   ========================================== */
@media (max-width: 480px) {
    .hero-full-gradbenistvo {
        height: 45vh;
        min-height: 400px;
    }
    
    .hero-content-lower h1 {
        font-size: 26px;
    }
    
    .service-icon-box {
        width: 55px;
        height: 55px;
    }
    
    .service-number {
        font-size: 42px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    .grajski-image {
        height: 220px;
    }
} /* END: @media (max-width: 480px) - MOBILE OPTIMIZATIONS SMALL */

/* ==========================================
   LOGO FIX - Reset mobile properties above 768px
   ========================================== */
@media (min-width: 769px) {
    .logo {
        order: 0;              /* Reset mobile order: 2 */
        flex: 0 0 auto;        /* Reset mobile flex: 1 */
        align-self: stretch;   /* Reset mobile align-self: center */
        justify-content: flex-end;  /* Keep logo on the right */
    }
}
/* ==========================================
   PROJECTS SLIDER - CLEAN & SIMPLE
   ========================================== */

.projects-slider-section {
    padding: 80px 40px;
    background: #ffffff;
    position: relative;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header with Navigation */
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.projects-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0e4c80;
    font-family: 'Science Gothic', sans-serif;
    margin: 0;
}

.projects-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid #0e4c80;
    background: transparent;
    color: #0e4c80;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.nav-arrow:hover:not(:disabled) {
    background: #0e4c80;
    color: white;
    transform: scale(1.05);
}

.nav-arrow:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.project-counter-simple {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    font-family: 'Science Gothic', sans-serif;
    min-width: 60px;
    text-align: center;
}

/* Slider Wrapper */
.projects-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.projects-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Project Card - CLEAN */
.project-card {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Project Info - CLEAN */
.project-info {
    padding: 10px 0;
}

.project-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0e4c80;
    font-family: 'Science Gothic', sans-serif;
    margin: 0 0 10px 0;
}

.project-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Remove all overlays and hover effects */
.project-overlay {
    display: none;
}

.project-link {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .projects-slider-section {
        padding: 60px 20px;
    }
    
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .projects-header h2 {
        font-size: 2rem;
    }
    
    .projects-nav {
        align-self: flex-end;
    }
    
    .nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .project-image-container {
        height: 300px;
        min-height: 300px;
    }
    
    .project-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    .project-card {
        flex-shrink: 0;
    }
    
    .projects-slider-wrapper {
        width: 100%;
        overflow-x: hidden;
    }
    
    .projects-track {
        display: flex;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .project-description {
        font-size: 1rem;
    }
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 10000;
    padding: 25px 40px;
    display: none;
    animation: cookieSlideUp 0.4s ease;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner-text a:hover {
    color: var(--color-primary-light);
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Science Gothic', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn-accept {
    background: var(--color-primary);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--color-primary);
}

.cookie-btn-decline:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Cookie banner mobile */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px;
    }

    .cookie-banner-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cookie-banner-text p {
        font-size: 14px;
    }

    .cookie-banner-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        padding: 14px 20px;
        min-height: 48px;
    }
}

/* Footer cookie settings link */
.footer-cookie-link {
    display: inline-block;
    margin-top: 15px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-cookie-link:hover {
    color: #fff;
}

