/* ============================================
   Global Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.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: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    font-weight: 500;
    color: var(--text-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.lang-btn:hover {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

/* ============================================
   Hero Section & Slideshow
   ============================================ */

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    animation: fadeIn 1s ease-in-out;
}

.slide.active {
    display: block;
}

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

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    z-index: 2;
}

.slide-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(52, 152, 219, 0.8);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(5px);
    outline: none;
    display: block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.prev {
    left: 2rem;
}

.next {
    right: 2rem;
}

.prev:hover, .next:hover {
    background: rgba(52, 152, 219, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.slide-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* ============================================
   Apartment Details Section
   ============================================ */

.apartment-details {
    padding: 5rem 0;
    background: var(--bg-light);
}

.apartment-details h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

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

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.detail-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.detail-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.detail-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.detail-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.detail-card a:hover {
    text-decoration: underline;
}

/* ============================================
   Map Section
   ============================================ */

.map-section {
    padding: 5rem 0;
    background: white;
}

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

.map-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.map-container {
    height: 700px;
    min-height: 700px;
    border-radius: 10px;
    overflow: visible;
    box-shadow: var(--shadow-lg);
    position: relative;
    background: #e5e5e5;
}

#map {
    width: 100% !important;
    height: 100% !important;
    min-height: 700px !important;
    display: block !important;
    position: relative;
}

.activities {
    height: 700px;
    display: flex;
    flex-direction: column;
}

.activities h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: hidden;
    flex: 1;
}

.activity {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
    flex-shrink: 0;
}

.activity:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.activity i.fa-utensils,
.activity i.fa-shopping-bag,
.activity i.fa-museum {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.activity-icon {
    font-size: 1rem;
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

.activity-icon--restaurants { color: #e74c3c; }
.activity-icon--shopping { color: #9b59b6; }
.activity-icon--attractions { color: #f39c12; }
.activity-icon--museums { color: #16a085; }

.activity-icon {
    font-size: 1rem;
    margin-right: 0.5rem;
}

.activity-icon--restaurants { color: #e74c3c; }
.activity-icon--shopping { color: #9b59b6; }
.activity-icon--attractions { color: #f39c12; }
.activity-icon--museums { color: #16a085; }

.activity-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
}

.activity p {
    color: var(--text-light);
    line-height: 1.4;
    font-size: 0.9rem;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-item p {
    color: var(--text-light);
}

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

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

/* ============================================
   Booking Section
   ============================================ */

.booking-section {
    padding: 5rem 0;
    background: white;
}

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

.calendar-container {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.calendar-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calendar-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.calendar-subtitle {
    color: var(--text-light);
}

.calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-nav {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}

.calendar-nav:hover:not([style*="opacity"]) {
    background: var(--primary-dark);
    color: white;
}

.calendar-nav:disabled,
.calendar-nav-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-day-clickable {
    cursor: pointer;
}

.calendar-day-disabled {
    cursor: not-allowed;
}

.calendar-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #666;
}

.calendar-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #e74c3c;
}

.calendar-month-year {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
}

.calendar-day.empty {
    visibility: hidden;
}

.calendar-day.past {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f0f0f0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    background: white;
    position: relative;
    padding: 0.25rem;
}

.calendar-day-number {
    font-weight: 600;
    font-size: 1rem;
}

.calendar-day-price {
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 0.1rem;
    opacity: 0.8;
}

.calendar-day:hover {
    background: var(--bg-light);
}

.calendar-day.available {
    background: #d4edda;
    color: var(--success-color);
}

.calendar-day.blocked {
    background: #f8d7da !important;
    color: var(--error-color);
    cursor: not-allowed;
    opacity: 0.6;
}

.calendar-day.booked {
    background: #f8d7da !important;
    color: var(--error-color);
    cursor: not-allowed;
    opacity: 0.6;
}


.calendar-day.selected {
    background: var(--primary-color) !important;
    color: white !important;
}

.calendar-day.selected .calendar-day-price {
    color: rgba(255, 255, 255, 0.9) !important;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.legend-color.available { background: #d4edda; }
.legend-color.booked { background: #f8d7da; }
.legend-color.blocked { background: #f8d7da; }
.legend-color.selected { background: var(--primary-color); }

.booking-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.booking-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.booking-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.booking-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.booking-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.info-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================
   Forms
   ============================================ */

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.required {
    color: var(--error-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--text-light);
    color: white;
}

.btn-secondary:hover {
    background: var(--text-color);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.pricing {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 2px solid var(--border-color);
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.price-item.total {
    border-bottom: none;
    padding-top: 1rem;
    border-top: 2px solid var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.price {
    font-weight: 600;
    color: var(--primary-color);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

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

.faq-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Modal
   ============================================ */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-body {
    text-align: center;
}

.construction-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-body p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ============================================
   Cookie Consent Banner
   ============================================ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.98);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
    display: block;
}

.cookie-consent.hidden {
    display: none !important;
}

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
}

.cookie-consent-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: white;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-consent-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.cookie-consent.hidden {
    display: none !important;
}

/* ============================================
   Utility Classes
   ============================================ */

.noscript-warning {
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    text-align: center;
    border-bottom: 2px solid #ffc107;
}

/* Booking Disabled Styles */
.booking-disabled-content {
    text-align: center;
    padding: 3rem 0;
}

.booking-disabled-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
    display: block;
}

.booking-disabled-message {
    color: #666;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.booking-disabled-button {
    margin-top: 2rem;
}

.booking-disabled i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    display: block;
}

.booking-disabled h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.booking-disabled p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.internal-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.internal-link:hover {
    text-decoration: underline;
}

/* ============================================
   Mobile Menu Toggle
   ============================================ */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

body.menu-open {
    overflow: hidden;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet and below (768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Navigation */
    .nav {
        padding: 0 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }

    .language-switcher {
        justify-content: center;
        margin-top: 1rem;
    }

    .nav-brand h1 {
        font-size: 1.4rem;
    }

    /* Hero Section */
    .hero {
        margin-top: 70px;
        height: 60vh;
        min-height: 400px;
    }

    .slide-content {
        padding: 2rem 1.5rem;
    }

    .slide-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .prev, .next {
        font-size: 1.5rem;
        padding: 0.75rem 1rem;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .prev {
        left: 0.5rem;
    }

    .next {
        right: 0.5rem;
    }

    /* Sections */
    .apartment-details,
    .map-section,
    .contact-section,
    .booking-section,
    .faq-section {
        padding: 3rem 0;
    }

    .apartment-details h2,
    .map-section h2,
    .contact-section h2,
    .booking-section h2,
    .faq-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Details Grid */
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Map Section - Hide entire section on mobile */
    .map-section {
        display: none;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Booking Section */
    .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .booking-form,
    .booking-info {
        padding: 1.5rem;
    }

    .booking-form h3,
    .booking-info h3 {
        font-size: 1.5rem;
    }

    /* Calendar */
    .calendar-container {
        padding: 1.5rem;
    }

    .calendar-header {
        margin-bottom: 1.5rem;
    }

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

    .calendar-navigation {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .calendar-nav {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .calendar-month-year {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }

    .calendar-grid {
        gap: 0.35rem;
    }

    .calendar-day-header {
        padding: 0.5rem 0.25rem;
        font-size: 0.85rem;
    }

    .calendar-day {
        font-size: 0.85rem;
        padding: 0.35rem 0.25rem;
        min-height: 44px;
    }

    .calendar-day-number {
        font-size: 0.9rem;
    }

    .calendar-day-price {
        font-size: 0.65rem;
    }

    .calendar-legend {
        gap: 1rem;
        font-size: 0.9rem;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="number"],
    select,
    textarea {
        padding: 0.875rem;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 44px; /* Touch target size */
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        min-height: 44px;
        width: 100%;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 1rem;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }
}

/* Mobile (480px and below) */
/* Cookie Consent - Tablet adjustments */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1.25rem;
    }
    
    .cookie-consent-content {
        flex-wrap: wrap;
    }
    
    .cookie-consent-buttons {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav {
        padding: 0 1rem;
    }

    .nav-brand h1 {
        font-size: 1.2rem;
    }

    /* Hero */
    .hero {
        height: 50vh;
        min-height: 350px;
        margin-top: 60px;
    }

    .slide-content {
        padding: 1.5rem 1rem;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .prev, .next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        padding: 0.5rem;
    }

    .prev {
        left: 0.25rem;
    }

    .next {
        right: 0.25rem;
    }

    /* Sections */
    .apartment-details,
    .map-section,
    .contact-section,
    .booking-section,
    .faq-section {
        padding: 2.5rem 0;
    }

    .apartment-details h2,
    .map-section h2,
    .contact-section h2,
    .booking-section h2,
    .faq-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    /* Details */
    .detail-card {
        padding: 1.5rem;
    }

    .detail-card i {
        font-size: 2.5rem;
    }

    .detail-card h3 {
        font-size: 1.2rem;
    }

    /* Map */
    .map-container {
        height: 350px;
        min-height: 350px;
    }

    #map {
        min-height: 350px !important;
    }

    .activities h3 {
        font-size: 1.3rem;
    }

    .activity {
        padding: 0.625rem;
    }

    .activity-title {
        font-size: 0.95rem;
    }

    .activity p {
        font-size: 0.85rem;
    }

    /* Contact */
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.4rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .contact-item i {
        font-size: 1.3rem;
    }

    /* Booking */
    .booking-form,
    .booking-info {
        padding: 1.25rem;
    }

    .booking-form h3,
    .booking-info h3 {
        font-size: 1.3rem;
    }

    .info-item {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }

    .info-item i {
        font-size: 1.3rem;
    }

    /* Calendar */
    .calendar-container {
        padding: 1rem;
    }

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

    .calendar-subtitle {
        font-size: 0.9rem;
    }

    .calendar-nav {
        padding: 0.625rem 1rem;
        font-size: 0.95rem;
    }

    .calendar-month-year {
        font-size: 1rem;
    }

    .calendar-grid {
        gap: 0.25rem;
    }

    .calendar-day-header {
        padding: 0.4rem 0.2rem;
        font-size: 0.75rem;
    }

    .calendar-day {
        font-size: 0.75rem;
        padding: 0.3rem 0.2rem;
        min-height: 40px;
    }

    .calendar-day-number {
        font-size: 0.85rem;
    }

    .calendar-day-price {
        font-size: 0.6rem;
        margin-top: 0.05rem;
    }

    .calendar-legend {
        gap: 0.75rem;
        font-size: 0.85rem;
        flex-direction: column;
        align-items: center;
    }

    .legend-item {
        gap: 0.4rem;
    }

    /* Forms */
    .form-group {
        margin-bottom: 1rem;
    }

    label {
        font-size: 0.95rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="number"],
    select,
    textarea {
        padding: 0.75rem;
        font-size: 16px;
    }

    textarea {
        min-height: 80px;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    /* Pricing */
    .pricing {
        padding: 1.25rem;
    }

    .price-item {
        font-size: 0.95rem;
    }

    .price-item.total {
        font-size: 1.1rem;
    }

    /* FAQ */
    .faq-item {
        padding: 1.25rem;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }

    /* Modal */
    .modal-content {
        width: 98%;
        padding: 1.25rem;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .construction-icon {
        font-size: 3rem;
    }

    .modal-body p {
        font-size: 0.9rem;
    }
    
    /* Cookie Consent Mobile */
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-consent-text h4 {
        font-size: 1.1rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.9rem;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-consent-buttons .btn {
        width: 100%;
    }
}

/* Very small screens (360px and below) */
@media (max-width: 360px) {
    .nav-brand h1 {
        font-size: 1.1rem;
    }

    .hero {
        min-height: 300px;
    }

    .slide-content h2 {
        font-size: 1.3rem;
    }

    .calendar-day {
        font-size: 0.7rem;
        min-height: 35px;
    }

    .calendar-day-number {
        font-size: 0.8rem;
    }

    .calendar-day-price {
        font-size: 0.55rem;
    }
    
    /* Cookie Consent Mobile */
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-consent-buttons .btn {
        width: 100%;
    }
}

