/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    --white: #F1F0EA;
    --dark-gray: #2E3137;
    --dark-gray-67: #2E313799;
    --sage-green: #8a9977;
    --sage-green-33: #89987655;
    --dark-green: #37422f;
}

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

section[id] { 
    scroll-margin-top: 87px; 
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-gray);
    color: var(--dark-gray);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Prevent horizontal scroll on all major sections */
section,
.container,
.container-fluid {
    overflow-x: clip;
}

/* Prevent horizontal scroll on all major sections */
section,
.container,
.container-fluid {
    overflow-x: clip;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    background-color: var(--dark-gray);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand .logo {
    height: 40px;
}

/* Horizontal Menu */
.navbar-nav-horizontal ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.navbar-nav-horizontal .nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.navbar-nav-horizontal .nav-link:hover {
    color: var(--sage-green);
}

/* Hamburger Menu */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hamburger-icon {
    width: 44px;
    height: 5px;
    background-color: var(--white);
    display: block;
    transition: all 0.3s;
}

.hamburger-menu:hover .hamburger-icon {
    background-color: var(--white);
}

/* Offcanvas Side Menu */
.offcanvas.side-menu {
    background-color: var(--dark-gray);
    width: 512px;
}

.offcanvas-header {
    padding: 1.5rem 1.5rem 0;
    justify-content: end;
}

.offcanvas-header .btn-close {
    width: 44px;
    height: 44px;
    background-size: 44px;
}

.offcanvas-body {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.side-menu-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.side-menu-nav li {
    margin-bottom: 1rem;
}

.side-menu-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
}

.side-menu-nav a:hover {
    color: var(--sage-green);
}

.home-icon {
    font-size: 1.5rem !important;
    margin-bottom: 2rem !important;
}

.language-switcher {
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}

.language-switcher a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.language-switcher a.lang-active,
.language-switcher a:hover {
    color: var(--sage-green);
}

.side-menu-contact {
    margin-bottom: 1rem;
    font-style: normal;
}

.side-menu-contact p {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.side-menu-contact strong {
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.side-menu-contact a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.side-menu-contact a:hover {
    color: var(--sage-green);
}

.side-menu-logo {
    margin-top: 1rem;
}

.side-menu-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

/* ===================================
   SHARED COMPONENTS
   =================================== */
.section-title {
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 4rem;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--sage-green);
    font-size: 1.2em;
}

.btn-custom {
    background-color: var(--sage-green);
    color: var(--white);
    padding: 0.8rem 2.5rem;
    border: none;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-radius: 0;
}

.btn-custom:hover {
    background-color: var(--dark-green);
    color: var(--white);
}

.btn-detail {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    background-color: var(--dark-green);
    background-image: url("../img/icons/pdf.svg");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding: 8px 40px 8px 16px;
}

.btn-detail:hover {
    color: var(--white);
    background-color: var(--sage-green);
}

/* Status Badges */
.status-available {
    color: var(--sage-green);
    font-weight: 500;
}

.status-reserved {
    color: #f39c12;
    font-weight: 500;
}

.status-rented {
    color: #999;
    font-weight: 500;
}

/* ===================================
   HERO SECTION WITH CAROUSEL
   =================================== */
.hero {
    position: relative;
    height: calc(100vh - 82px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* Carousel Container */
.hero #heroCarousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero .carousel-inner {
    height: 100%;
}

.hero .carousel-item {
    height: 100%;
}

/* Carousel Images */
.hero-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 1;
    pointer-events: none;
}

/* Hero Content Container */
.hero-content-container {
    position: relative;
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    background-color: var(--dark-gray-67);
    padding: 1.5rem 2rem;
    margin-bottom: 10vh;
}

.hero-content h1 {
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

/* Carousel Controls Styling */
.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.hero:hover .carousel-control-prev,
.hero:hover .carousel-control-next {
    opacity: 0.8;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
    opacity: 1;
}

.hero .carousel-control-prev-icon,
.hero .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    padding: 0.5rem;
}

/* Carousel Indicators */
.hero .carousel-indicators {
    z-index: 3;
    margin-bottom: 2rem;
}

.hero .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.hero .carousel-indicators button.active {
    background-color: var(--sage-green);
    border-color: var(--white);
    transform: scale(1.2);
}

.hero .carousel-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Fade transition for carousel */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .hero .carousel-control-prev,
    .hero .carousel-control-next {
        width: 10%;
    }
    
    .hero .carousel-control-prev-icon,
    .hero .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .hero .carousel-indicators {
        margin-bottom: 1rem;
    }
    
    .hero .carousel-indicators button {
        width: 8px;
        height: 8px;
    }
}

/* ===================================
   INFO BOXES SECTION
   =================================== */
.info-boxes-section {
    background-color: var(--dark-gray);
    padding: 5rem 0;
    color: var(--white);
}

.info-boxes-section .section-title {
    font-weight: 500;
}

.info-box {
    text-align: center;
    padding: 2rem;
    height: 100%;
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon img {
    width: 64px;
    height: 64px;
}

.info-boxes-section .info-box p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--white);
}

/* ===================================
   WHY CHOOSE SECTION
   =================================== */
.why-choose {
    background-color: var(--white);
    color: var(--white);
    padding: 5rem 0;
}

.why-choose .section-title {
    color: var(--dark-green);
}

.feature-card {
    padding: 2rem;
    height: 100%;
    text-align: center;
}

.feature-icon {
    width: 160px;
    height: 160px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.feature-icon img {
    width: 160px;
    height: 160px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--dark-green);
}

.feature-card p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--dark-green);
    text-align: center;
}

/* ===================================
   UNITS SECTION
   =================================== */
.units-section {
    background-color: var(--white);
    padding: 5rem 0;
    overflow-x: hidden;
}

/* Floor Plan Interactive */
.floor-plan-container {
    position: relative;
    width: 100%;
    margin-bottom: 4rem;
    background-color: var(--white);
}

.floor-plan-container .prehled-image {
    width: 100%;
    height: auto;
    display: block;
}

.floor-plan-overlay-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.unit-shape {
    fill: rgba(138, 153, 119, 0);
    stroke: transparent;
    stroke-width: 2;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.unit-shape:hover,
.unit-shape:focus {
    fill: rgba(138, 153, 119, 0.35);
    stroke: var(--sage-green);
    stroke-width: 3;
    outline: none;
}

.unit-shape[data-status="reserved"]:hover {
    fill: rgba(243, 156, 18, 0.25);
    stroke: #f39c12;
}

.unit-shape[data-status="rented"]:hover {
    fill: rgba(153, 153, 153, 0.25);
    stroke: #999;
}

.unit-detail-button {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 10;
}

.unit-detail-button.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.unit-detail-button .btn-detail {
    white-space: nowrap;
}

.unit-info-label {
    position: absolute;
    background-color: rgba(46, 49, 55, 0.95);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    transform: translateY(-10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9;
}

.unit-info-label.active {
    opacity: 1;
    transform: translateY(0);
}

.unit-info-label strong {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.unit-info-label img {
    vertical-align: text-top;
}

.unit-info-label .status-available,
.unit-info-label .status-reserved,
.unit-info-label .status-rented {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
}

/* Units Table */
.units-table-wrapper {
    background-color: var(--white);
    overflow-y: visible;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.units-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 1rem;
}

.units-table thead {
    background-color: var(--white);
    color: var(--dark-green);
    border-bottom: 1px solid var(--sage-green);
}

.units-table th {
    padding: 1.2rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    text-align: left;
}

.units-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.units-table tbody tr:hover {
    background-color: var(--sage-green-33);
}

/* ===================================
   FLOOR PLAN TABS SECTION
   =================================== */
.floorplan-section {
    background-color: var(--dark-gray);
    padding-top: 5rem;
    color: var(--white);
}

.floorplan-tabs.nav-tabs {
    border: none;
    margin-bottom: 3rem;
}

.floorplan-tabs .nav-item {
    margin: 0;
}

.floorplan-tabs .nav-link {
    border: none;
    border-radius: 0;
    margin: 0 0.5rem;
}

.floorplan-tabs .nav-link:hover,
.floorplan-tabs .nav-link:focus {
    border: none;
    isolation: auto;
}

.tab-btn {
    background-color: var(--white);
    border: 1px solid var(--dark-gray);
    color: var(--dark-gray);
    padding: 0.8rem 2rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover,
.tab-btn.active,
.nav-tabs .nav-link.active {
    background-color: var(--sage-green);
    color: var(--white);
    border-color: var(--sage-green);
}

.tab-content {
    border: none;
}

.tab-pane {
    padding: 0;
}

.floorplan-image-wrapper {
    margin-bottom: 3rem;
}

.floorplan-image {
    width: 100%;
    height: auto;
    display: block;
    background-color: var(--white);
}

.unit-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: var(--white);
}

.unit-label {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-detail-link {
    color: var(--sage-green);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.btn-detail-link:hover {
    color: var(--dark-green);
}

.detail-arrow {
    font-size: 1.2rem;
}

/* ===================================
   TECHNICAL SPECIFICATIONS
   =================================== */
.tech-specs {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 5rem 0;
}

.tech-specs .section-title {
    color: var(--white);
}

.tech-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.tech-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.tech-icon img {
    width: 90px;
    height: 90px;
}

.tech-label {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

/* Force exactly 5 items per row on large screens */
@media (min-width: 992px) {
    .tech-specs .col-lg {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* ===================================
   LOCATION SECTION
   =================================== */
.location-section {
    background-color: var(--dark-gray);
    padding: 5rem 0 0 0;
    color: var(--white);
}

.transport-3d-image-wrapper img {
    width: 100%;
}

.location-map {
    width: 100%;
    background-image: url("../img/prague-detailed-map-dark.png");
    background-position: 0% 50%;
    background-repeat: no-repeat;
    width: calc(100% + 5em);
    height: 380px;
    background-size: auto 100%;
    margin-left: -5em;
}

.location-map img {
    width: 100%;
    height: auto;
    display: none;
}

.location-description-wrapper {
    display: flex;
    padding-left: 1em;
    border-left: 3px solid var(--sage-green);
    justify-content: center;
    flex-direction: column;
}

.location-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location-description {
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
}

.transport-options {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.transport-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.transport-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--sage-green);
    border-radius: 50%;
}

.transport-icon img {
    width: 45px;
    height: 45px;
    filter: brightness(0) invert(1);
}

.transport-item p {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

/* ===================================
   GALLERY SECTIONS
   =================================== */
.gallery-section,
.visualization-section,
.construction-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: opacity 0.3s;
    display: block;
}

.gallery-item:hover {
    opacity: 0.85;
}

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

/* ===================================
   BOTTOM LOGO SECTION
   =================================== */
.bottom-logo-section {
    background-color: var(--dark-gray);
    padding: 11rem 0;
    color: var(--white);
    text-align: center;
}

.bottom-logo-section .logo-image-wrapper img {
    width: 400px;
    max-width: 100%;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: white;
}

.footer-main {
    padding: 2rem 0;
}

.footer-contact-wrapper {
    padding: 0 3rem;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.footer-contact-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    width: 100%;
}

.footer-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.footer-contact-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.footer-contact-content a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-content a:hover {
    color: var(--sage-green);
}

.footer-contact-content strong {
    font-weight: 600;
}

.footer-logo-wrapper {
    margin-top: 3rem;
    max-width: 215px;
}

.footer-logo {
    width: 100%;
    height: auto;
}

/* Footer Map */
.footer-map-link {
    position: relative;
    display: block;
    height: 100%;
    min-height: 500px;
    text-decoration: none;
}

.footer-map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

.footer-map-overlay {
    position: absolute;
    top: 138px;
    left: 160px;
    display: flex;
    align-items: center;
}

.map-info-box {
    background-color: var(--dark-gray);
    padding: 2rem;
    width: 256px;
    height: 256px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    transition: all 0.3s;
}

.footer-map-link:hover .map-info-box {
    background-color: var(--sage-green);
}

.map-address {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

.map-arrow {
    color: var(--dark-gray);
    margin-left: -1px;
    transition: color 0.3s;
}

.footer-map-link:hover .map-arrow {
    color: var(--sage-green);
}

/* Copyright Bar */
.footer-copyright {
    background-color: #1a1d23;
    padding: 2.5rem 0;
}

.footer-copyright p {
    color: white;
    font-size: 1rem;
    margin: 0;
}

/* ===================================
   MEDIA QUERIES
   =================================== */

/* Medium screens & Below (1399px) */
@media (max-width: 1399px) {
    .footer-map-overlay {
        left: 100px;
    }
}

/* Small screens & Below (1199px) */
@media (max-width: 1199px) {
    .footer-map-overlay {
        left: 40px;
    }
}

/* Tablet & Below (992px) */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .location-description-wrapper {
        margin-top: 1em;
        border: 0;
    }
    
    .unit-info-label {
        font-size: 0.85rem;
        padding: 0.6rem 0.85rem;
    }
    
    .unit-info-label strong {
        font-size: 0.95rem;
    }
    
    .transport-options {
        justify-content: center;
    }
    
    .footer-main {
        padding: 4rem 0;
    }
    
    .footer-contact-wrapper {
        padding: 0 2rem;
        min-height: auto;
        margin-bottom: 3rem;
    }
    
    .footer-contact-content {
        min-height: auto;
    }
    
    .footer-map-link,
    .footer-map-image {
        min-height: 400px;
    }
    
    .map-info-box {
        width: 220px;
        height: 150px;
        padding: 1.5rem;
    }
    
    .map-address {
        font-size: 0.95rem;
    }

    .footer-map-overlay {
        left: 112px;
    }
}

/* Mobile & Below (768px) */
@media (max-width: 768px) {
    .offcanvas.side-menu {
        width: 100%;
    }
    
    .side-menu-nav li {
        margin-bottom: 0.5rem;
    }
    
    .offcanvas-body {
        padding: 2rem 1.5rem;
    }
    
    .side-menu-nav a {
        font-size: 1.1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .floor-plan-container {
        margin-bottom: 3rem;
    }

    .floorplan-tabs .nav-item {
        margin-top: 1em;
    }

    .units-table th {
        font-size: 0.75em;
    }
    
    .unit-info-label {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .unit-info-label strong {
        font-size: 0.9rem;
    }
    
    .unit-detail-button .btn-detail {
        font-size: 0.85rem;
        padding: 6px 32px 6px 12px;
        background-position: right 12px center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floorplan-tabs {
        flex-wrap: wrap;
    }
    
    .transport-options {
        gap: 1.5rem;
    }
    
    .tech-item {
        padding: 1.5rem 1rem;
    }
    
    .tech-specs .row .col {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .footer-map-overlay {
        left: 22px;
    }
}

/* Small Mobile (576px) */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .unit-info-label {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        white-space: normal;
        max-width: 150px;
    }
    
    .unit-info-label strong {
        font-size: 0.85rem;
    }
    
    .unit-detail-button .btn-detail {
        font-size: 0.8rem;
        padding: 5px 28px 5px 10px;
        background-position: right 10px center;
        background-size: 14px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .transport-item {
        min-width: 120px;
    }
    
    .units-table {
        font-size: 0.8rem;
    }
    
    .units-table th,
    .units-table td {
        padding: 0.8rem 1rem;
    }
    
    .tech-specs .row .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
    
    .footer-contact-content p {
        font-size: 0.9rem;
    }

    .footer-map-overlay {
        left: 37px;
    }

    .map-arrow {
        display: none;
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
    }
}