/* ========================================
   RENTAJ CMS - GLAVNI CSS
   Verzija: 2.0 - Finalizirano
   ======================================== */

/* ========================================
   1. GLOBALNI STILOVI I VARIJABLE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-bg);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
}

/* ========================================
   2. HEADER I NAVIGACIJA
   ======================================== */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding-top: 15px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: relative;
}

/* Logo */
.logo {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    z-index: 1002;
}

.logo a {
    text-decoration: none;
    color: var(--primary-color);
}

.logo img {
    display: block;
    max-height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    opacity: 0.8;
}

/* Desktop Navigation */
@media (min-width: 992px) {
    .nav-links {
        display: flex !important;
        position: static !important;
        transform: none !important;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 2rem;
        align-items: center;
        background: transparent !important;
        box-shadow: none !important;
        width: auto !important;
        height: auto !important;
        right: auto !important;
    }
    
    .nav-links a {
        text-decoration: none;
        color: var(--text-color);
        font-weight: 500;
        transition: var(--transition);
        position: relative;
        padding: 0.5rem 0;
        font-size: 1.05rem;
    }
    
    .nav-links a:hover {
        color: var(--primary-color);
    }
    
    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s;
    }
    
    .nav-links a:hover::after {
        width: 100%;
    }
    
    .mobile-menu-toggle,
    .mobile-menu-close {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.75rem;
    margin-left: 1rem;
}

.lang-switcher a {
    padding: 0.4rem 0.8rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: var(--transition);
    font-weight: 500;
    text-decoration: none;
    color: var(--text-color);
}

.lang-switcher a.active,
.lang-switcher a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Booking Link Button */
.booking-link,
.booking-link-btn {
    background: #ff6b6b;
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.booking-link:hover,
.booking-link-btn:hover {
    background: #ee5a5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 90, 90, 0.3);
}

/* ========================================
   3. MOBILE MENU - KONSOLIDIRANO
   ======================================== */
@media (max-width: 991px) {
    /* Mobile Toggle Button */
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
        transition: var(--transition);
    }
    
    .mobile-menu-toggle:hover {
        color: var(--secondary-color);
    }
    
    /* Nav Links Container - Mobile */
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        max-width: 300px !important;
        height: 100vh !important;
        background: white !important;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1) !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 80px 0 2rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        transition: right 0.3s ease !important;
        z-index: 1999 !important;
        overflow-y: auto !important;
    }
    
    /* Active State */
    .nav-links.active {
        right: 0 !important;
    }
    
    /* Close Button */
    .mobile-menu-close {
        display: block !important;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #333;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 2002;
    }
    
    /* Menu Items */
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-links a:not(.booking-link-btn) {
        display: block;
        padding: 1rem 1.5rem;
        color: #333 !important;
        text-decoration: none;
        font-size: 1rem;
        transition: background 0.3s ease;
    }
    
    .nav-links a:hover {
        background: #f8f9fa;
        color: var(--primary-color) !important;
    }
    
    /* Language Switcher Mobile */
    .lang-switcher {
        display: flex;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f0f0f0;
        justify-content: center;
        margin-left: 0;
    }
    
    /* Booking Button Mobile */
    .booking-link-btn {
        margin: 1rem 1.5rem;
        text-align: center;
        justify-content: center;
    }
    
    /* Overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1998;
    }
    
    .mobile-menu-overlay.active {
        display: block !important;
    }
}

/* Prevent body scroll when menu open */
body.menu-open {
    overflow: hidden;
}

/* ========================================
   4. HERO SEKCIJA
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content .btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
    display: inline-block;
}

.hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: var(--secondary-color);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 3;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Hero Default (no slider) */
.hero-default {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ========================================
   5. SEKCIJE I SADRŽAJ
   ======================================== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Features */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.feature:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.feature h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Apartments */
.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.apartment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.apartment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.apartment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.apartment-info {
    padding: 1.5rem;
}

.apartment-info h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.apartment-info p {
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.feature-tag {
    display: inline-block;
    background: #e0e0e0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Gallery */
.gallery-section {
    background: white;
}

.gallery-category {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.5rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

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

.gallery-overlay i {
    font-size: 3rem;
    color: white;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 2.5rem;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s;
    z-index: 2001;
    cursor: pointer;
}

.lightbox-close:hover {
    opacity: 1;
}

/* About */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Reviews */
.reviews-section {
    background: var(--light-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
}

.stars {
    color: #f39c12;
    margin-bottom: 0.5rem;
}

.stars i {
    margin-right: 2px;
}

.review-card p {
    line-height: 1.6;
    color: #555;
}

.review-card small {
    color: #95a5a6;
}

/* Booking Form */
.booking-section {
    background: white;
}

.booking-form {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Contact */
.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.map-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ========================================
   6. FOOTER
   ======================================== */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section h3 img {
    max-height: 40px;
    width: auto;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.footer-section p i {
    margin-right: 8px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section ul li a i {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ecf0f1;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* ========================================
   7. KOMPONENTE
   ======================================== */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2980b9;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 52, 54, 0.95);
    color: white;
    padding: 1.5rem 0;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.cookie-text i {
    font-size: 1.5rem;
    color: #f39c12;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
    margin-left: 0.5rem;
}

.cookie-text a:hover {
    color: #5dade2;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-actions .btn {
    padding: 0.5rem 1.5rem;
}

/* General Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ========================================
   8. ANIMACIJE
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ========================================
   9. RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 1rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Logo */
    .logo img {
        max-height: 40px;
    }
    
    /* Hero */
    .hero {
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 1rem;
        min-height: 40vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-content .btn {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
    
    /* Slider Controls */
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .slider-prev {
        left: 1rem;
    }
    
    .slider-next {
        right: 1rem;
    }
    
    .slider-indicators {
        bottom: 1rem;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Grids */
    .features-grid,
    .apartments-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section:nth-child(2) {
        padding-right: 0;
    }
    
    /* Back to Top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Social Links */
    .social-links {
        justify-content: center;
    }
    
    /* Lightbox */
    .lightbox-close {
        font-size: 2rem;
        top: 10px;
        right: 20px;
    }
    
    /* Gallery */
    .gallery-overlay i {
        font-size: 2rem;
    }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Map */
    .map-container iframe {
        height: 350px;
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        flex-direction: column;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-actions .btn {
        flex: 1;
        max-width: 150px;
    }
}

/* Extra Small Devices */
@media (max-width: 576px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .logo a {
        font-size: 1.2rem;
    }
    
    .nav-links {
        width: 85% !important;
    }
}

@media (max-width: 480px) {
    /* Hero */
    .hero {
        min-height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Slider Controls */
    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
    }
    
    .slider-prev {
        left: 0.5rem;
    }
    
    .slider-next {
        right: 0.5rem;
    }
}