:root {
    --primary-color: #C17B5C;
    --primary-dark: #9A5A3E;
    --secondary-color: #E8D5B7;
    --accent-gold: #D4AF37;
    --text-dark: #2C2416;
    --text-light: #6B5E52;
    --background-light: #FFF9F0;
    --background-white: #FFFFFF;
    --border-color: #E5D4C1;
    --shadow: rgba(193, 123, 92, 0.12);
    --success: #7FA350;
    --error: #C17B7B;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.main-header {
    background: var(--background-white);
    border-bottom: 2px solid var(--secondary-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px var(--shadow);
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-cta {
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    color: var(--background-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(193, 123, 92, 0.3);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 123, 92, 0.4);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    margin: 0;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Language Select Dropdown */
.lang-switcher {
    position: relative;
}

.lang-select {
    padding: 12px 40px 12px 16px;
    background: white url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23C17B5C" d="M1 1l5 5 5-5"/></svg>') no-repeat right 12px center;
    background-size: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    min-width: 160px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
}

.lang-select:hover {
    border-color: var(--primary-color);
    background-color: var(--background-light);
}

.lang-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(193, 123, 92, 0.15);
}

.lang-select option {
    padding: 10px;
    background: white;
    color: var(--text-dark);
}




/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0 100px;
    margin-bottom: 40px;
    overflow: hidden;
    min-height: 440px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0l5 15h15l-12 9 5 15-13-9-13 9 5-15-12-9h15z" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    color: var(--background-white);
    margin-bottom: 12px;
    font-weight: 700;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Hero Discount Banner */
.hero-discount {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-discount-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 30px;
    color: var(--secondary-color);
    font-size: 14px;
    backdrop-filter: blur(4px);
}

.hero-discount-tag strong {
    color: var(--accent-gold);
    letter-spacing: 1px;
}

/* Hero Search Form */
.hero-search-form {
    display: flex;
    gap: 0;
    background: var(--background-white);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-search-field {
    flex: 1;
    padding: 10px 16px;
    border-right: 1px solid var(--border-color);
}

.hero-search-field:last-of-type {
    border-right: none;
}

.hero-search-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.hero-search-field input,
.hero-search-field select {
    width: 100%;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    background: transparent;
    padding: 4px 0;
    outline: none;
}

.hero-search-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    color: var(--background-white);
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.hero-search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(193, 123, 92, 0.4);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-search-form {
        flex-direction: column;
        gap: 0;
        border-radius: 12px;
    }
    
    .hero-search-field {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 12px 16px;
    }
    
    .hero-search-field:last-of-type {
        border-bottom: none;
    }
    
    .hero-search-btn {
        margin: 4px;
        border-radius: 10px;
        padding: 14px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Section */
/* Buttons */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--background-white);
    box-shadow: 0 4px 12px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow);
}

.btn-book {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    color: var(--background-white);
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(193, 123, 92, 0.3);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 123, 92, 0.45);
}

.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* Apartments Section */
.apartments-section {
    padding: 60px 0;
}

.section-title {
    font-size: 42px;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-color));
    margin: 20px auto 0;
    border-radius: 2px;
}

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
}

.apartment-card {
    background: var(--background-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.apartment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px var(--shadow);
}

.apartment-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary-color), var(--border-color));
}

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

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

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--border-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(44, 36, 22, 0.9);
    backdrop-filter: blur(8px);
    color: var(--accent-gold);
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.apartment-info {
    padding: 24px;
}

.apartment-title {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.apartment-location {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.apartment-features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.feature svg {
    stroke-width: 2;
}

.apartment-description {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.amenity-tag {
    background: var(--background-light);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 36, 22, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background-color: var(--background-white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

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

.close {
    color: var(--text-light);
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.modal-content h2 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-size: 32px;
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--background-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(193, 123, 92, 0.1);
}

.price-calculation {
    background: var(--background-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 2px solid var(--secondary-color);
}

/* Card Buttons */
.card-buttons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.btn-details {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

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

.card-buttons .btn-book,
.card-buttons .btn-details {
    flex: 1;
}

/* Detail Modal */
.detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    overflow-y: auto;
    padding: 30px 16px;
    backdrop-filter: blur(4px);
}

.detail-modal.show {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    animation: fadeIn 0.3s ease;
}

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

.detail-modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 750px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease;
    margin: auto;
}

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

.detail-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.detail-close:hover {
    background: rgba(0,0,0,0.8);
}

.detail-body {
    padding: 0;
}

.detail-header {
    position: relative;
}

.detail-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.detail-image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px 16px 0 0;
}

.detail-header-info {
    padding: 24px 30px 0;
}

.detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.detail-location {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 10px;
}

.detail-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.detail-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

.detail-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-color);
}

.detail-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    background: var(--background-light);
    border-radius: 10px;
}

.df-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.df-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.df-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-section {
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-color);
}

.detail-section:last-of-type {
    border-bottom: none;
}

.detail-section h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.detail-desc {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.8;
}

.detail-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-amenity {
    padding: 8px 16px;
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

.detail-map {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    border: none;
}

.btn-book-detail {
    display: block;
    width: calc(100% - 60px);
    margin: 0 30px 30px;
    padding: 16px;
    font-size: 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    border: none;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.btn-book-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(193,123,92,0.4);
}

/* Availability Calendar */
.calendar-container {
    background: var(--background-light);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cal-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

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

.cal-title {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cal-day-name {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    padding: 8px 0;
    text-transform: uppercase;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.cal-day.empty {
    background: transparent;
}

.cal-day.available {
    background: #DEF2D6;
    color: #2E7D32;
    cursor: pointer;
}

.cal-day.available:hover {
    background: #B9E5A5;
    transform: scale(1.1);
}

.cal-day.booked {
    background: #FDDFDF;
    color: #C62828;
    cursor: not-allowed;
}

.cal-day.past {
    background: #F0F0F0;
    color: #bbb;
}

.cal-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    font-size: 24px;
}

.calendar-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

.legend-dot.available {
    background: #DEF2D6;
    border: 1px solid #2E7D32;
}

.legend-dot.booked {
    background: #FDDFDF;
    border: 1px solid #C62828;
}

.legend-dot.past {
    background: #F0F0F0;
    border: 1px solid #bbb;
}

/* Detail Modal Responsive */
@media (max-width: 768px) {
    .detail-modal {
        padding: 10px;
    }
    
    .detail-image {
        height: 220px;
    }
    
    .detail-header-info {
        padding: 16px 20px 0;
    }
    
    .detail-title {
        font-size: 22px;
    }
    
    .detail-features-grid {
        padding: 16px 20px;
    }
    
    .detail-section {
        padding: 16px 20px;
    }
    
    .btn-book-detail {
        width: calc(100% - 40px);
        margin: 0 20px 20px;
    }
    
    .card-buttons {
        flex-direction: column;
    }
    
    .calendar-legend {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #FFF9F0 0%, #FFFFFF 100%);
}

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

.testimonial-card {
    padding: 24px;
    background: var(--background-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
}

.testimonial-stars {
    font-size: 18px;
    color: var(--accent-gold);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-style: italic;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-white);
    font-weight: 600;
    font-size: 16px;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item-public {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item-public:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq-arrow {
    font-size: 22px;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s;
    min-width: 20px;
    text-align: center;
}

.faq-item-public.open .faq-arrow {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item-public.open .faq-answer {
    max-height: 300px;
    padding: 0 22px 18px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Image Gallery in Detail Modal */
.detail-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.detail-gallery .detail-image {
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(0,0,0,0.8);
}

.gallery-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 5;
}

.gallery-thumbs {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    background: rgba(0,0,0,0.03);
    overflow-x: auto;
}

.gallery-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    opacity: 1;
    border-color: var(--primary-color);
}

/* Attractions Section - Compact */
.attractions-section {
    padding: 50px 0;
    background: var(--background-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 30px;
    margin-top: -8px;
}

.attr-category {
    margin-bottom: 20px;
}

.attr-cat-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
    padding-left: 4px;
}

.attr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}

.attr-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--background-white);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.attr-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow);
    border-color: var(--primary-color);
}

.attr-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, var(--background-light), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.attr-info {
    flex: 1;
    min-width: 0;
}

.attr-info h4 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attr-info p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.attr-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 3px;
}

.attr-distance {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
}

.attr-map-link {
    font-size: 11px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.attr-map-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .attr-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .attr-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Trust Badges */
.trust-section {
    padding: 0;
    margin: -20px 0 40px;
    position: relative;
    z-index: 5;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--background-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px var(--shadow);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px var(--shadow);
    border-color: var(--primary-color);
}

.trust-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--background-white);
}

.trust-text {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Footer */
.main-footer {
    background: var(--text-dark);
    color: var(--secondary-color);
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(232, 213, 183, 0.2);
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--background-white);
    margin-bottom: 20px;
}

.footer-info {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--secondary-color);
}

.footer-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-info a:hover {
    color: var(--accent-gold);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    padding: 6px 0;
}

.social-link:hover {
    color: var(--accent-gold);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(232, 213, 183, 0.6);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .apartments-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .apartment-card {
        display: flex;
        flex-direction: row;
        border-radius: 10px;
    }
    
    .apartment-card:hover {
        transform: translateY(-2px);
    }
    
    .apartment-image {
        width: 140px;
        min-width: 140px;
        height: auto;
        min-height: 170px;
        border-radius: 10px 0 0 10px;
    }
    
    .apartment-image img {
        border-radius: 10px 0 0 10px;
    }
    
    .price-tag {
        font-size: 12px !important;
        padding: 4px 10px !important;
    }
    
    .apartment-card:hover .apartment-image img {
        transform: scale(1.03);
    }
    
    .apartment-info {
        padding: 12px 14px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .apartment-title {
        font-size: 15px !important;
        margin-bottom: 2px !important;
    }
    
    .apartment-location {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }
    
    .apartment-features {
        font-size: 11px;
        gap: 6px !important;
        margin-bottom: 4px !important;
    }
    
    .apartment-features .feature {
        font-size: 11px;
    }
    
    .apartment-description,
    .amenities {
        display: none;
    }
    
    .card-buttons {
        margin-top: auto;
        gap: 6px;
    }
    
    .card-buttons .btn-book,
    .card-buttons .btn-details {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .trust-badges {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        gap: 16px;
    }
    
    .lang-dropdown {
        width: 100%;
    }
    
    .lang-current {
        width: 100%;
        justify-content: space-between;
    }
    
    .lang-options {
        right: auto;
        left: 0;
        width: 100%;
    }
    
    .header-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .header-cta {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 24px;
        width: 95%;
    }
}

/* Success/Error Messages */
.message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.message.success {
    background: rgba(127, 163, 80, 0.1);
    color: var(--success);
    border: 2px solid var(--success);
}

.message.error {
    background: rgba(193, 123, 123, 0.1);
    color: var(--error);
    border: 2px solid var(--error);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--text-dark) 100%);
    color: var(--background-white);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: slideUp 0.5s ease;
}

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

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}
