:root {
    --primary: #1a5276;
    --primary-light: #2980b9;
    --accent: #e67e22;
    --accent-light: #f39c12;
    --bg: #faf8f5;
    --card-bg: #ffffff;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --border: #e8e4df;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --radius: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

header {
    background: var(--primary);
    color: white;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 28px;
}

.logo h1 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.logo .tagline {
    font-size: 11px;
    opacity: 0.7;
    font-family: 'Inter', sans-serif;
}

nav {
    display: flex;
    gap: 4px;
}

.nav-btn {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.nav-btn:hover, .nav-btn.active {
    background: rgba(255,255,255,0.15);
    color: white;
}

.nav-btn.active {
    background: rgba(255,255,255,0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

main {
    min-height: calc(100vh - 64px - 80px);
}

.section {
    display: none;
    padding: 32px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.section.active {
    display: block;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

.hero {
    position: relative;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0c2340 0%, #1a4a6e 30%, #1e6a8a 55%, #1a7a6e 80%, #0c2340 100%);
    margin: -32px -24px;
    padding: 80px 24px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,200,50,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(100,200,255,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 1100px;
    animation: heroFadeIn 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.95);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 19px;
    opacity: 0.88;
    margin-bottom: 40px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    transition: all 0.3s;
}

.hero-feature:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

.hero-feature svg {
    opacity: 0.85;
    flex-shrink: 0;
}

.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 880px;
    margin: 0 auto;
}

.villa-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    color: var(--text);
}

.villa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.1);
}

.villa-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.villa-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
}

.villa-card:hover .villa-card-img::after {
    background: linear-gradient(to top, rgba(0,0,0,0.15) 0%, transparent 50%);
}

.villa-card-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    transition: background 0.4s;
}

.villa-card:hover .villa-card-overlay {
    background: rgba(255,255,255,0.05);
}

.aljamar-bg {
    background: url('/static/images/aljamar.jpg') center/cover no-repeat;
}

.miramar-bg {
    background: url('/static/images/miramar.jpg') center/cover no-repeat;
}

.villa-card-body {
    padding: 24px;
    text-align: left;
}

.villa-card-body h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.villa-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.villa-card-details span {
    background: #f0f4f8;
    color: #4a6785;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.villa-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.villa-price {
    display: inline-block;
    color: var(--accent);
    font-size: 22px;
    font-weight: 700;
}

.villa-price small {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.7;
}

.btn-explore {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.btn-explore:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    flex-wrap: wrap;
}

.hero-trust span:nth-child(even) {
    opacity: 0.3;
}

.layout-controls {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.villa-selector, .floor-selector {
    display: flex;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.villa-tab, .floor-tab {
    padding: 10px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.villa-tab.active, .floor-tab.active {
    background: var(--primary);
    color: white;
}

.villa-tab:hover:not(.active), .floor-tab:hover:not(.active) {
    background: #f0f0f0;
}

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

.filter-pill {
    padding: 8px 18px;
    border: 2px solid var(--border);
    border-radius: 25px;
    background: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.filter-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.filter-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(26, 82, 118, 0.3);
}

.gallery-counter {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    perspective: 1000px;
}

.photo-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    background: var(--card-bg);
}

.photo-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.photo-card .card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.photo-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.photo-card:hover .card-overlay {
    opacity: 1;
}

.photo-card .card-overlay .overlay-text h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 2px;
}

.photo-card .card-overlay .overlay-text p {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
}

.photo-card .card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s;
}

.photo-card:hover .card-badge {
    opacity: 1;
    transform: translateY(0);
}

.photo-card .card-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.photo-card:hover .card-zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

.photo-card.card-featured {
    grid-column: span 2;
}

.photo-card.card-featured .card-image {
    height: 320px;
}

.photo-card.card-tall .card-image {
    height: 300px;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 200;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

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

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

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    z-index: 210;
    transition: transform 0.2s;
    line-height: 1;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 210;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
    animation: lightboxZoom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxZoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: white;
    margin-top: 16px;
}

.lightbox-caption h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.lightbox-caption p {
    font-size: 14px;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

canvas {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: default;
}

.sun-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    background: var(--card-bg);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.time-control, .date-control {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #f5f7fa;
}

.time-control label, .date-control label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

input[type="range"] {
    width: 180px;
    accent-color: var(--accent);
    height: 6px;
}

input[type="date"] {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    background: white;
}

.time-display {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    min-width: 55px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.btn-animate {
    padding: 10px 22px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.btn-animate:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.sun-workspace {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.canvas-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    background: var(--card-bg);
}

.sun-workspace canvas {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.terrace-tint {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: var(--radius);
    transition: background 0.8s ease;
    mix-blend-mode: multiply;
}

.sun-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sun-info {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sun-info .sun-stat:last-child {
    grid-column: span 2;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.insight-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid transparent;
}

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

.sunset-card {
    border-left-color: #e67e22;
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
}

.pool-card {
    border-left-color: #3498db;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
}

.mood-card {
    border-left-color: #9b59b6;
    background: linear-gradient(135deg, #faf0ff 0%, #ffffff 100%);
}

.insight-icon {
    font-size: 30px;
    min-width: 40px;
    text-align: center;
    line-height: 1;
}

.insight-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.insight-label {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}

.insight-value {
    font-size: 13.5px;
    color: var(--text);
    font-weight: 500;
    line-height: 1.4;
}

.book-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.book-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.book-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.2);
    filter: brightness(1.05);
}

.book-cta-text {
    font-size: 17px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: white;
}

.book-cta-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    font-family: 'Inter', sans-serif;
    margin-top: 3px;
}

.sun-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}

.stat-value {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.accessibility-content {
    max-width: 900px;
    margin: 0 auto;
}

.access-category {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.access-category h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.access-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.access-item:last-child {
    border-bottom: none;
}

.access-icon {
    font-size: 20px;
    min-width: 28px;
    text-align: center;
}

.access-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-available {
    background: #e8f8f0;
    color: var(--success);
}

.status-limited {
    background: #fef5e7;
    color: var(--warning);
}

.status-unavailable {
    background: #fde8e8;
    color: var(--danger);
}

.access-text h5 {
    font-size: 14px;
    margin-bottom: 2px;
    font-family: 'Inter', sans-serif;
}

.access-text p {
    font-size: 13px;
    color: var(--text-light);
}

.weather-query {
    max-width: 700px;
    margin: 0 auto 32px;
}

.query-box {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.query-box h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 16px;
}

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

.preset-btn {
    padding: 8px 16px;
    background: #f0ebe5;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text);
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.preset-btn:hover {
    background: var(--accent);
    color: white;
}

.custom-query {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.custom-query label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
}

.custom-query select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    background: white;
}

.btn-query {
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-query:hover {
    background: var(--primary-light);
}

.weather-result {
    max-width: 700px;
    margin: 0 auto 32px;
}

.weather-card {
    background: linear-gradient(135deg, #1a5276, #2980b9);
    color: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.weather-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.weather-card .weather-desc {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 24px;
}

.weather-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.weather-metric {
    text-align: center;
}

.weather-metric .metric-value {
    font-size: 28px;
    font-weight: 700;
    display: block;
}

.weather-metric .metric-label {
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
}

.weather-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-header {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
    text-align: center;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
}

.timeline-hour {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.timeline-hour:hover {
    transform: translateY(-2px);
}

.timeline-hour .hour-time {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.timeline-hour .hour-icon {
    font-size: 24px;
    margin: 6px 0;
}

.timeline-hour .hour-temp {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.timeline-hour.highlighted {
    border: 2px solid var(--accent);
    background: #fff8f0;
}

footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 20px;
    font-size: 13px;
}

footer a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.avail-legend {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin: 12px 0 20px;
    flex-wrap: wrap;
}

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

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

.legend-free {
    background: #e8f5e9;
    border: 2px solid #4caf50;
}

.legend-booked {
    background: #ffebee;
    border: 2px solid #e53935;
}

.legend-today {
    background: #e3f2fd;
    border: 2px solid #1976d2;
}

.avail-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.avail-nav-btn {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.avail-month-label {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    min-width: 200px;
    text-align: center;
}

.avail-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.avail-calendar {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    min-width: 0;
}

.avail-cal-header {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.avail-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.avail-day-header {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    padding: 4px 0;
    text-transform: uppercase;
}

.avail-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 6px;
    font-weight: 500;
    transition: transform 0.15s;
    cursor: default;
    position: relative;
}

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

.avail-day.free {
    background: #e8f5e9;
    color: #2e7d32;
}

.avail-day.booked {
    background: #ffebee;
    color: #c62828;
    text-decoration: line-through;
    opacity: 0.7;
}

.avail-day.today {
    background: #e3f2fd;
    color: #1565c0;
    font-weight: 700;
    box-shadow: 0 0 0 2px #1976d2;
}

.avail-day.past {
    opacity: 0.4;
}

.avail-day.changeover-day {
    border-bottom: 3px solid #ff9800;
}

.avail-day.changeover-day.free {
    background: #fff3e0;
    color: #e65100;
    font-weight: 600;
}

.avail-day.changeover-day.booked {
    border-bottom: 3px solid #ff9800;
}

.avail-day-header.changeover-header {
    color: #ff9800;
    font-weight: 700;
}

.changeover-legend {
    text-align: center;
    font-size: 0.82rem;
    color: #888;
    margin-top: 6px;
    padding: 4px 8px;
}

.changeover-legend span {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #fff3e0;
    border-bottom: 3px solid #ff9800;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 4px;
}

.avail-day:not(.empty):hover {
    transform: scale(1.15);
    z-index: 1;
}

.avail-cal-price {
    text-align: center;
    padding: 6px 12px;
    margin: 0 0 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.avail-cal-price.tier-low {
    background: #e8f5e9;
    color: #2e7d32;
}

.avail-cal-price.tier-mid {
    background: #fff8e1;
    color: #f57f17;
}

.avail-cal-price.tier-high {
    background: #fff3e0;
    color: #e65100;
}

.avail-cal-price.tier-peak {
    background: #ffebee;
    color: #c62828;
}

.rate-note {
    font-weight: 400;
    font-size: 11px;
    opacity: 0.8;
}

.avail-summary {
    max-width: 1000px;
    margin: 24px auto 0;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.avail-stats-row {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.avail-stat {
    text-align: center;
}

.avail-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

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

.rate-chart-section {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.rate-chart-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    margin-bottom: 16px;
}

.rate-chart-year {
    margin-bottom: 20px;
}

.rate-year-label {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}

.rate-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 140px;
    padding: 0 4px;
}

.rate-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    cursor: default;
}

.rate-bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
    transition: transform 0.2s, filter 0.2s;
    min-height: 20px;
}

.rate-bar:hover {
    transform: scaleY(1.05);
    filter: brightness(1.1);
}

.rate-bar.tier-low {
    background: linear-gradient(180deg, #66bb6a, #43a047);
}

.rate-bar.tier-mid {
    background: linear-gradient(180deg, #ffa726, #fb8c00);
}

.rate-bar.tier-high {
    background: linear-gradient(180deg, #ff7043, #e64a19);
}

.rate-bar.tier-peak {
    background: linear-gradient(180deg, #ef5350, #c62828);
}

.bar-price {
    font-size: 9px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.bar-month {
    font-size: 10px;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 4px;
    text-transform: uppercase;
}

.bar-note {
    display: none;
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

.loading::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

.map-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.map-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.map-info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.map-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.map-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.map-info-text h4 {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 2px;
}

.map-info-text p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.map-info-text small {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border: 1px solid var(--border);
    background: #e8ecf1;
}

.map-nearby {
    margin-top: 24px;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: var(--shadow);
}

.map-nearby h4 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 600;
}

.nearby-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
}

.nearby-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f5f7fa;
    border-radius: 10px;
    font-size: 13px;
    color: var(--text);
    transition: background 0.2s;
}

.nearby-item:hover {
    background: #edf0f5;
}

.nearby-item svg {
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes cardAppear {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

#lightboxImg {
    transition: opacity 0.15s ease;
}

@media (max-width: 1024px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    .photo-card.card-featured {
        grid-column: span 1;
    }
    .photo-card.card-featured .card-image {
        height: 220px;
    }
    .sun-workspace {
        grid-template-columns: 1fr;
    }
    .canvas-wrap {
        max-width: 100%;
    }
    .sun-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .sun-info {
        grid-column: span 2;
    }
    .book-cta {
        grid-column: span 2;
    }
    .sun-controls {
        gap: 10px;
        padding: 14px 18px;
    }
}

@media (max-width: 768px) {
    nav { display: none; }
    nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    .mobile-menu-btn { display: block; }
    .hero-content h2 { font-size: 28px; }
    .hero-subtitle { font-size: 16px; }
    .hero-features { gap: 12px; }
    .hero-feature { padding: 8px 14px; font-size: 12px; }
    .hero-cards { grid-template-columns: 1fr; }
    .villa-card-img { height: 180px; }
    .villa-card-footer { flex-direction: column; align-items: flex-start; }
    .hero-trust { font-size: 11px; gap: 10px; }
    .hero-trust span:nth-child(even) { display: none; }
    .weather-grid { grid-template-columns: repeat(2, 1fr); }
    .map-info-cards { grid-template-columns: 1fr; }
    .map-container { height: 350px; }
    .nearby-grid { grid-template-columns: 1fr; }
    .layout-controls { flex-direction: column; align-items: center; }
    .sun-controls { flex-direction: column; gap: 10px; padding: 14px; }
    .time-control, .date-control { width: 100%; justify-content: space-between; }
    input[type="range"] { width: 120px; }
    .btn-animate { width: 100%; }
    .sun-sidebar { grid-template-columns: 1fr; }
    .sun-info { grid-column: span 1; grid-template-columns: 1fr 1fr; }
    .book-cta { grid-column: span 1; }
    .avail-grid-container { grid-template-columns: 1fr; }
    .rate-chart-section { padding-top: 14px; }
    .rate-chart-title { font-size: 15px; margin-bottom: 10px; }
    .rate-year-label { font-size: 13px; }
    .rate-bars { height: 100px; gap: 2px; padding: 0 2px; }
    .bar-price { font-size: 7px; }
    .bar-month { font-size: 8px; margin-top: 2px; }
    .rate-bar { border-radius: 3px 3px 0 0; padding-top: 2px; min-height: 14px; }
    .avail-day { font-size: 11px; padding: 4px 2px; min-height: 32px; }
    .avail-cal-price { font-size: 7px; padding: 1px 3px; }
    .avail-day-header { font-size: 10px; }
    #luna-chat {
        bottom: 80px;
        right: 5%;
        left: 5%;
        width: auto;
        height: 500px;
        max-height: 70vh;
        border-radius: 12px;
    }
    #luna-bubble {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    #luna-header { font-size: 14px; padding: 10px; }
    #luna-messages { font-size: 13px; }
    #luna-input { font-size: 14px; padding: 8px; }
    #luna-send { font-size: 16px; padding: 6px 10px; border-radius: 0 0 12px 0; }
    .luna-faq-btn { font-size: 12px; padding: 6px 10px; }
    #luna-villa, #luna-date-range { font-size: 14px; padding: 8px; }
}

#luna-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    font-size: 26px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 99999;
    transition: all 0.3s ease;
}

#luna-bubble:hover {
    transform: scale(1.1);
    background: var(--primary-light);
}

#luna-chat {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 340px;
    height: 520px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

#luna-chat.show {
    transform: translateY(0);
    opacity: 1;
}

#luna-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 12px;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    text-align: center;
    position: relative;
}

#luna-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

#luna-close:hover {
    background: rgba(255,255,255,0.2);
}

#luna-messages {
    padding: 10px;
    flex: 1;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}

.luna-msg {
    animation: lunaFadeIn 0.4s ease forwards;
    margin-bottom: 8px;
    padding: 6px 0;
}

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

#luna-controls {
    display: flex;
    flex-direction: column;
    padding: 8px;
    border-top: 1px solid var(--border);
    background: #f9fafc;
    flex-shrink: 0;
}

#luna-villa, #luna-date-range {
    margin-bottom: 6px;
    padding: 10px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    outline: none;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

#luna-villa {
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    background-color: white;
}

#luna-input-row {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border);
}

#luna-input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 14px;
    outline: none;
    font-family: 'Inter', sans-serif;
}

#luna-send {
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 0 0 16px 0;
    cursor: pointer;
    transition: 0.3s;
}

#luna-send:hover {
    background: var(--primary-light);
}

#luna-sample-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.luna-faq-btn {
    background: linear-gradient(135deg, #e6f0f7, #c5dae8);
    border: 1px solid var(--primary-light);
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 0 0 auto;
}

.luna-faq-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.flatpickr-calendar {
    position: fixed !important;
    z-index: 100000 !important;
}

.reviews-villa-toggle {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
}

.review-villa-btn {
    padding: 10px 28px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.review-villa-btn.active,
.review-villa-btn:hover {
    background: var(--primary);
    color: white;
}

.reviews-summary {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #fef9e7, #fdf2e9);
    border-radius: 16px;
}

.reviews-summary .summary-stars {
    font-size: 2rem;
    letter-spacing: 4px;
    margin-bottom: 6px;
}

.reviews-summary .summary-text {
    color: #555;
    font-size: 1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.review-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary);
    position: relative;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.review-card .review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.review-card .review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-card .review-info {
    flex: 1;
    margin-left: 12px;
}

.review-card .review-name {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1rem;
}

.review-card .review-date {
    color: #999;
    font-size: 0.8rem;
    margin-top: 2px;
}

.review-card .review-stars {
    color: #f1c40f;
    font-size: 1rem;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.review-card .review-title {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.review-card .review-text {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
}

.review-card .review-quote {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 2.5rem;
    color: rgba(41, 128, 185, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.reviews-source {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    padding: 15px 0;
}

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

.reviews-source a:hover {
    text-decoration: underline;
}

.leave-review-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    margin-top: 36px;
    border-top: 4px solid var(--accent);
}

.leave-review-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.review-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.review-form-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.review-form-group {
    flex: 1;
    min-width: 200px;
}

.review-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.review-form-group input,
.review-form-group select,
.review-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
    background: white;
}

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

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

.star-rating {
    display: flex;
    gap: 6px;
    margin-top: 2px;
}

.star-rating .star {
    font-size: 28px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    user-select: none;
}

.star-rating .star:hover,
.star-rating .star.active {
    color: #f1c40f;
}

.star-rating .star:hover {
    transform: scale(1.15);
}

.review-form-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.review-privacy-note {
    font-size: 0.8rem;
    color: var(--text-light);
    max-width: 400px;
}

.review-privacy-note a {
    color: var(--primary-light);
    text-decoration: none;
}

.review-privacy-note a:hover {
    text-decoration: underline;
}

.btn-submit-review {
    padding: 12px 32px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-submit-review:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.review-msg {
    padding: 14px 18px;
    border-radius: 8px;
    margin-top: 16px;
    font-weight: 500;
    text-align: center;
}

.review-msg-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.review-msg-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .review-form-row {
        flex-direction: column;
        gap: 12px;
    }
    .review-form-footer {
        flex-direction: column;
        text-align: center;
    }
    .leave-review-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .rate-bars { height: 80px; gap: 1px; padding: 0 1px; }
    .bar-price { font-size: 6px; }
    .bar-month { font-size: 7px; }
    .rate-bar { min-height: 12px; padding-top: 1px; }
    .rate-chart-title { font-size: 14px; }
    .avail-day { font-size: 10px; padding: 3px 1px; min-height: 28px; }
    .avail-cal-price { font-size: 6px; padding: 0 2px; }
    .avail-nav-btn { padding: 6px 10px; font-size: 12px; }
    .avail-month-label { font-size: 14px; }
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}
.contact-info-card, .contact-form-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.contact-info-card h3, .contact-form-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 24px;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}
.contact-info-item strong {
    display: block;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 2px;
}
.contact-info-item a, .contact-info-item span {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 0.95rem;
}
.contact-info-item a:hover {
    text-decoration: underline;
}
.licence-info {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.licence-info h4 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.licence-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}
.licence-item strong {
    color: var(--text);
}
.licence-item span {
    color: var(--text-light);
    font-family: monospace;
    font-size: 12px;
}
.contact-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.contact-form-group {
    flex: 1;
    margin-bottom: 16px;
}
.contact-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #555;
}
.contact-form-group input, .contact-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fafafa;
}
.contact-form-group input:focus, .contact-form-group textarea:focus {
    border-color: var(--primary-light);
    outline: none;
    background: white;
}
.contact-form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.contact-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.contact-privacy-note {
    font-size: 0.8rem;
    color: #999;
}
.contact-privacy-note a {
    color: var(--primary-light);
}
.btn-submit-contact {
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-submit-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(41,128,185,0.3);
}
.contact-msg {
    padding: 14px 18px;
    border-radius: 10px;
    margin-top: 16px;
    font-weight: 500;
    text-align: center;
}
.contact-msg-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.contact-msg-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-form-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-info-card, .contact-form-card {
        padding: 24px;
    }
}

