/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f1e8 0%, #ede5d8 50%, #f5f1e8 100%);
    background-attachment: fixed;
    color: #3e2723;
    line-height: 1.6;
    padding: 0;
    min-height: 100vh;
    scroll-behavior: smooth;
    text-transform: lowercase;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.8) 0%, rgba(240, 235, 229, 0.6) 100%);
    border-bottom: 2px solid rgba(212, 196, 176, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(245, 241, 232, 0.4) 100%);
    border: 2px solid rgba(201, 168, 118, 0.3);
    color: #6b4e3d;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: lowercase;
}

.lang-btn:hover {
    background: linear-gradient(135deg, rgba(201, 168, 118, 0.15) 0%, rgba(139, 111, 71, 0.1) 100%);
    border-color: rgba(201, 168, 118, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 78, 61, 0.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, #c9a876 0%, #8b6f47 100%);
    color: #f5f1e8;
    border-color: #8b6f47;
    box-shadow: 0 4px 12px rgba(107, 78, 61, 0.2);
}

/* Smooth fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: transparent;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 50px;
    padding: 50px 30px;
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.12) 0%, rgba(201, 168, 118, 0.08) 100%);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(107, 78, 61, 0.1);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 118, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

header h1 {
    color: #6b4e3d;
    margin-bottom: 16px;
    font-size: 3.8em;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 8px rgba(107, 78, 61, 0.15);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

header h1:hover {
    transform: scale(1.02);
}

.tagline {
    color: #8b6f47;
    font-size: 1.2em;
    font-style: italic;
    opacity: 0.95;
    font-weight: 400;
}

.barcelona-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c9a876 0%, #8b6f47 100%);
    color: #f5f1e8;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.85em;
    font-weight: 600;
    font-style: normal;
    margin-left: 10px;
    box-shadow: 0 3px 10px rgba(107, 78, 61, 0.25);
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.barcelona-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.barcelona-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(107, 78, 61, 0.35);
}

.barcelona-badge:hover::before {
    left: 100%;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 30px;
    align-items: start;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.filters {
    margin-bottom: 0;
    padding: 32px;
    background: linear-gradient(135deg, #faf7f2 0%, #f0ebe5 100%);
    border-radius: 20px;
    border: 1px solid rgba(201, 168, 118, 0.3);
    box-shadow: 0 6px 24px rgba(107, 78, 61, 0.1);
    animation: fadeInUp 0.5s ease-out;
    transition: all 0.3s ease;
}

.filters:hover {
    box-shadow: 0 8px 32px rgba(107, 78, 61, 0.12);
}

.filters h2 {
    margin-bottom: 24px;
    color: #6b4e3d;
    font-size: 1.6em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cafe-count {
    font-size: 0.7em;
    font-weight: 500;
    color: #8b6f47;
    background: linear-gradient(135deg, rgba(201, 168, 118, 0.2) 0%, rgba(139, 111, 71, 0.15) 100%);
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.filter-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-buttons label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1.05em;
    color: #6b4e3d;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(245, 241, 232, 0.4) 100%);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.filter-buttons label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 118, 0.2), transparent);
    transition: left 0.5s ease;
}

.filter-buttons label:hover {
    background: linear-gradient(135deg, rgba(201, 168, 118, 0.15) 0%, rgba(139, 111, 71, 0.1) 100%);
    border-color: rgba(201, 168, 118, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 78, 61, 0.1);
}

.filter-buttons label:hover::before {
    left: 100%;
}

.filter-buttons input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #8b6f47;
    transition: transform 0.2s ease;
}

.filter-buttons input[type="checkbox"]:checked {
    transform: scale(1.1);
}

.filter-buttons label:has(input:checked) {
    background: linear-gradient(135deg, rgba(201, 168, 118, 0.25) 0%, rgba(139, 111, 71, 0.15) 100%);
    border-color: #8b6f47;
    box-shadow: 0 2px 8px rgba(107, 78, 61, 0.15);
}

.sort-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(212, 196, 176, 0.5);
}

.sort-section label {
    display: block;
    margin-bottom: 12px;
    color: #6b4e3d;
    font-size: 1.05em;
    font-weight: 500;
}

.sort-section select {
    width: 100%;
    padding: 14px 18px;
    font-size: 1em;
    font-family: inherit;
    color: #6b4e3d;
    background: linear-gradient(135deg, #fffef9 0%, #faf7f2 100%);
    border: 2px solid rgba(212, 196, 176, 0.5);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b4e3d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

.sort-section select:hover {
    border-color: rgba(201, 168, 118, 0.6);
    box-shadow: 0 2px 8px rgba(107, 78, 61, 0.1);
    transform: translateY(-1px);
}

.sort-section select:focus {
    outline: none;
    border-color: #8b6f47;
    box-shadow: 0 0 0 4px rgba(139, 111, 71, 0.15);
    transform: translateY(-1px);
}

.cafe-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    animation: fadeIn 0.5s ease-out;
    transition: all 0.4s ease;
}

.cafe-card {
    background: linear-gradient(135deg, #fffef9 0%, #faf7f2 100%);
    border: 1px solid rgba(232, 223, 212, 0.8);
    border-left: 5px solid #c9a876;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(107, 78, 61, 0.08);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out backwards;
    cursor: default;
}

.cafe-card:nth-child(1) { animation-delay: 0.1s; }
.cafe-card:nth-child(2) { animation-delay: 0.15s; }
.cafe-card:nth-child(3) { animation-delay: 0.2s; }
.cafe-card:nth-child(4) { animation-delay: 0.25s; }
.cafe-card:nth-child(5) { animation-delay: 0.3s; }
.cafe-card:nth-child(6) { animation-delay: 0.35s; }
.cafe-card:nth-child(7) { animation-delay: 0.4s; }
.cafe-card:nth-child(8) { animation-delay: 0.45s; }
.cafe-card:nth-child(9) { animation-delay: 0.5s; }
.cafe-card:nth-child(10) { animation-delay: 0.55s; }

.cafe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c9a876 0%, #8b6f47 50%, #c9a876 100%);
    background-size: 200% 100%;
    opacity: 0;
    transition: all 0.4s ease;
    animation: shimmer 2s infinite;
}

.cafe-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 118, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cafe-card:hover {
    box-shadow: 0 12px 40px rgba(107, 78, 61, 0.18);
    transform: translateY(-6px) scale(1.01);
    border-left-color: #8b6f47;
    border-color: rgba(139, 111, 71, 0.5);
    border-left-width: 6px;
}

.cafe-card:hover::before {
    opacity: 1;
}

.cafe-card:hover::after {
    opacity: 1;
}

.cafe-name {
    font-size: 1.8em;
    color: #6b4e3d;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.cafe-name-link {
    font-size: 1.8em;
    color: #6b4e3d;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

.cafe-name-link::after {
    content: ' ↗';
    font-size: 0.7em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cafe-name-link:hover {
    color: #8b6f47;
    transform: translateX(2px);
}

.cafe-name-link:hover::after {
    opacity: 1;
}

.cafe-address {
    color: #7a6151;
    margin-bottom: 12px;
    font-size: 0.95em;
    font-style: normal;
    line-height: 1.5;
}

.cafe-vibe {
    color: #7a6151;
    margin-bottom: 22px;
    font-size: 0.98em;
    line-height: 1.7;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.9) 0%, rgba(240, 235, 229, 0.7) 100%);
    border-radius: 12px;
    font-style: italic;
    border-left: 4px solid rgba(201, 168, 118, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.cafe-vibe::before {
    content: '"';
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 2em;
    color: rgba(201, 168, 118, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.cafe-card:hover .cafe-vibe {
    border-left-color: rgba(201, 168, 118, 0.6);
    background: linear-gradient(135deg, rgba(245, 241, 232, 1) 0%, rgba(240, 235, 229, 0.8) 100%);
}

.cafe-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95em;
    padding: 10px 16px;
    background-color: #f5f1e8;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.feature:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(107, 78, 61, 0.15);
}

.feature:hover::before {
    width: 300px;
    height: 300px;
}

.feature.yes {
    color: #5d7c4a;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 1px solid rgba(93, 124, 74, 0.2);
}

.feature.no {
    color: #b85c4a;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 1px solid rgba(184, 92, 74, 0.2);
}

.feature.unknown {
    color: #8b6f47;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 1px solid rgba(139, 111, 71, 0.2);
}

.feature-icon {
    font-size: 1.2em;
    font-weight: bold;
}

.comfort-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b4e3d;
    font-weight: 500;
}

.comfort-stars {
    color: #c9a876;
    font-size: 1.3em;
    letter-spacing: 2px;
}

.no-results {
    text-align: center;
    padding: 80px 40px;
    color: #8b6f47;
    font-size: 1.4em;
    font-style: italic;
    background: linear-gradient(135deg, #faf7f2 0%, #f0ebe5 100%);
    border-radius: 20px;
    border: 2px dashed rgba(139, 111, 71, 0.3);
    animation: fadeInUp 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.no-results::before {
    content: '🔍';
    display: block;
    font-size: 3em;
    margin-bottom: 20px;
    opacity: 0.5;
    animation: pulse 2s ease-in-out infinite;
}

.no-results::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 118, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.right-column {
    position: sticky;
    top: 20px;
}

.map-container {
    padding: 28px;
    background: linear-gradient(135deg, #faf7f2 0%, #f0ebe5 100%);
    border-radius: 20px;
    border: 1px solid rgba(201, 168, 118, 0.3);
    box-shadow: 0 6px 24px rgba(107, 78, 61, 0.1);
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 8px 32px rgba(107, 78, 61, 0.15);
    transform: translateY(-2px);
}

.map-container h2 {
    color: #6b4e3d;
    margin-bottom: 22px;
    font-size: 1.6em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map {
    height: 500px;
    width: 100%;
    border-radius: 16px;
    border: 2px solid rgba(232, 223, 212, 0.8);
    box-shadow: 0 4px 16px rgba(107, 78, 61, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
}

.map:hover {
    box-shadow: 0 6px 20px rgba(107, 78, 61, 0.18);
}

.cafe-details {
    margin-top: 15px;
}

.detail-row {
    margin-bottom: 12px;
}

.cafe-price {
    color: #6b4e3d;
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 8px;
}

.cafe-food {
    color: #7a6151;
    font-size: 0.95em;
    font-style: italic;
}

/* Review Section Styles */
.reviews-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 2px solid rgba(212, 196, 176, 0.4);
}

.average-rating {
    background: linear-gradient(135deg, rgba(201, 168, 118, 0.15) 0%, rgba(139, 111, 71, 0.1) 100%);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border: 2px solid rgba(201, 168, 118, 0.3);
}

.avg-rating-label {
    color: #6b4e3d;
    font-weight: 600;
    font-size: 0.95em;
}

.avg-rating-stars {
    color: #c9a876;
    font-size: 1.4em;
    letter-spacing: 3px;
}

.avg-rating-value {
    color: #8b6f47;
    font-weight: 700;
    font-size: 1.1em;
}

.avg-rating-count {
    color: #7a6151;
    font-size: 0.9em;
    opacity: 0.8;
}

.reviews-title {
    color: #6b4e3d;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 18px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.6) 0%, rgba(240, 235, 229, 0.4) 100%);
    padding: 18px 20px;
    border-radius: 12px;
    border-left: 3px solid rgba(201, 168, 118, 0.4);
    transition: all 0.3s ease;
    animation: fadeInUp 0.4s ease-out backwards;
}

.review-item:nth-child(1) { animation-delay: 0.1s; }
.review-item:nth-child(2) { animation-delay: 0.15s; }
.review-item:nth-child(3) { animation-delay: 0.2s; }
.review-item:nth-child(4) { animation-delay: 0.25s; }
.review-item:nth-child(5) { animation-delay: 0.3s; }

.review-item:hover {
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.8) 0%, rgba(240, 235, 229, 0.6) 100%);
    border-left-color: rgba(201, 168, 118, 0.6);
    transform: translateX(4px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.review-author {
    font-weight: 600;
    color: #6b4e3d;
    font-size: 0.95em;
}

.review-date {
    color: #8b6f47;
    font-size: 0.85em;
    opacity: 0.8;
}

.review-rating {
    color: #c9a876;
    font-size: 1.1em;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.review-text {
    color: #7a6151;
    font-size: 0.95em;
    line-height: 1.6;
    font-style: italic;
}

/* Review Form Styles */
.review-form-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid rgba(212, 196, 176, 0.4);
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.toggle-review-form {
    background: linear-gradient(135deg, #c9a876 0%, #8b6f47 100%);
    color: #f5f1e8;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(107, 78, 61, 0.2);
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
    -webkit-user-select: none;
    user-select: none;
}

.toggle-review-form:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(107, 78, 61, 0.3);
    background: linear-gradient(135deg, #8b6f47 0%, #6b4e3d 100%);
}

.toggle-review-form:active {
    transform: translateY(0) scale(0.98);
}

.review-form-container {
    margin-top: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.8) 0%, rgba(240, 235, 229, 0.6) 100%);
    border-radius: 16px;
    border: 2px solid rgba(201, 168, 118, 0.3);
    animation: fadeInUp 0.3s ease-out;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.form-group label {
    color: #6b4e3d;
    font-weight: 600;
    font-size: 0.95em;
}

.required-star {
    color: #b85c4a;
    margin-left: 2px;
}

/* Interactive Star Rating */
.star-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.star {
    font-size: 2em;
    color: #d4c4b0;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
}

.star:hover {
    transform: scale(1.2);
    color: #c9a876;
}

.star.active {
    color: #c9a876;
    transform: scale(1.1);
}

.star-rating:hover button.star {
    color: #c9a876;
}

/* Screen reader only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.rating-text {
    color: #8b6f47;
    font-weight: 500;
    font-size: 0.95em;
    margin-left: 8px;
    min-width: 120px;
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    font-size: 1em;
    font-family: inherit;
    color: #6b4e3d;
    background: linear-gradient(135deg, #fffef9 0%, #faf7f2 100%);
    border: 2px solid rgba(212, 196, 176, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #8b6f47;
    box-shadow: 0 0 0 4px rgba(139, 111, 71, 0.15);
    background: #fffef9;
    transform: translateY(-1px);
}

.form-textarea {
    min-height: 100px;
    line-height: 1.6;
}

.submit-review-btn {
    background: linear-gradient(135deg, #8b6f47 0%, #6b4e3d 100%);
    color: #f5f1e8;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(107, 78, 61, 0.2);
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.submit-review-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(107, 78, 61, 0.3);
    background: linear-gradient(135deg, #6b4e3d 0%, #8b6f47 100%);
}

.submit-review-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Responsive design */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .right-column {
        position: static;
    }
    
    .map {
        height: 400px;
    }
}

/* Screen reader only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Footer Styles */
.site-footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    border-top: 2px solid rgba(212, 196, 176, 0.3);
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.5) 0%, rgba(240, 235, 229, 0.3) 100%);
    color: #7a6151;
    font-size: 0.95em;
}

.site-footer p {
    margin: 0;
    font-style: italic;
}

.heart {
    font-size: 1.1em;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.footer-link {
    color: #8b6f47;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-link:hover {
    color: #6b4e3d;
    border-bottom-color: #8b6f47;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }
    
    .container {
        padding: 20px 15px;
    }
    
    .filters {
        padding: 20px;
    }
    
    .cafe-card {
        padding: 20px;
    }
    
    .map {
        height: 350px;
    }
}
