/* Ana renkler ve değişkenler */
:root {
    --primary-color: #333333;
    --secondary-color: #666666;
    --text-color: #333333;
    --heading-color: #000000;
    --background-color: #ffffff;
    --card-background: #ffffff;
    --card-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --card-hover-shadow: 0 4px 12px rgba(0,0,0,0.15);
    --header-background: #ffffff;
    --button-text: #ffffff;
    --status-open: #333333;
    --status-closed: #666666;
    --status-unknown: #999999;
    --rating-star: #333333;
    --border-color: #e0e0e0;
    --input-background: #ffffff;
    --input-text: #333333;
    --input-border: #e0e0e0;
    --input-focus-border: #333333;
    --button-hover: #000000;
    --error-background: #f5f5f5;
    --error-text: #333333;
    --loading-text: #666666;
    --accent-color: #333333;
    --review-background: #f8f8f8;
    --review-border: #e0e0e0;
    --review-text: #333333;
    --review-time: #666666;
}

/* Gece modu renkleri */
body.night {
    --primary-color: #ffffff;
    --secondary-color: #cccccc;
    --text-color: #ffffff;
    --heading-color: #ffffff;
    --background-color: #000000;
    --card-background: #1a1a1a;
    --card-shadow: 0 2px 8px rgba(0,0,0,0.3);
    --card-hover-shadow: 0 4px 12px rgba(0,0,0,0.4);
    --header-background: #1a1a1a;
    --button-text: #ffffff;
    --status-open: #ffffff;
    --status-closed: #cccccc;
    --status-unknown: #999999;
    --rating-star: #ffffff;
    --border-color: #333333;
    --input-background: #1a1a1a;
    --input-text: #ffffff;
    --input-border: #333333;
    --input-focus-border: #ffffff;
    --button-hover: #cccccc;
    --error-background: #1a1a1a;
    --error-text: #ffffff;
    --loading-text: #cccccc;
    --accent-color: #ffffff;
    --review-background: #1a1a1a;
    --review-border: #333333;
    --review-text: #ffffff;
    --review-time: #cccccc;
}

/* Genel stiller */
body {
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Başlık stili */
.food-section h2 {
    color: var(--heading-color);
    text-align: center;
    margin: 2rem 0;
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: color 0.3s ease;
    position: relative;
}

body.night .food-section h2 {
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.food-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Arama kutusu stili */
.search-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.search-box {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box input,
.search-box select {
    flex: 1;
    min-width: 200px;
}

.search-box button {
    min-width: 120px;
}

input[type="text"], select {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    background-color: var(--input-background);
    color: var(--input-text);
    transition: all 0.3s ease;
    text-transform: uppercase !important;
}

input[type="text"]:focus, select:focus {
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
    outline: none;
}

button {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--button-text);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase !important;
}

button:hover {
    background-color: var(--button-hover);
    transform: translateY(-1px);
}

/* Sonuçlar bölümü */
.results-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Restoran kartı stilleri */
.restaurant-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    width: 100%;
}

body.night .restaurant-card {
    background: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.restaurant-card:hover {
    transform: translateY(-5px);
}

.restaurant-image {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Restoran başlığı */
.restaurant-name {
    color: #000000 !important;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-transform: uppercase !important;
}

body.night .restaurant-name {
    color: #ffffff !important;
}

/* Restoran türü */
.restaurant-cuisine {
    color: #ffffff;
    font-size: 0.9rem;
    background: #000000;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    display: inline-block;
    text-transform: uppercase !important;
    margin-bottom: 1rem;
}

body.night .restaurant-cuisine {
    background: #ffffff;
    color: #000000;
}

/* Mesafe bilgisi */
.restaurant-distance {
    color: #000000 !important;
    font-size: 0.9rem;
    background: #ffffff;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    width: fit-content;
    text-transform: uppercase !important;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

body.night .restaurant-distance {
    color: #ffffff !important;
    background: #1a1a1a;
    border: 1px solid #333333;
}

/* Adres bilgisi */
.restaurant-address {
    color: #000000 !important;
    font-size: 0.9rem;
    background: #ffffff;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-transform: uppercase !important;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

body.night .restaurant-address {
    color: #ffffff !important;
    background: #1a1a1a;
    border: 1px solid #333333;
}

/* Durum göstergesi */
.restaurant-status {
    display: inline-block !important;
    padding: 0.3rem 0.8rem !important;
    border-radius: 4px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    margin: 0.5rem 0 !important;
}

.status-open {
    background-color: #4CAF50 !important;
    color: white !important;
}

.status-closed {
    background-color: #f44336 !important;
    color: white !important;
}

body.night .status-open {
    background-color: #4CAF50 !important;
    color: white !important;
}

body.night .status-closed {
    background-color: #f44336 !important;
    color: white !important;
}

/* Butonlar */
.restaurant-actions {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    justify-content: center;
}

.route-button,
.reviews-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 0 1.2rem !important;
    border-radius: 6px !important;
    border: none !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    flex: 1 !important;
    text-transform: uppercase !important;
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    margin: 0 !important;
    width: calc(50% - 7.5px) !important;
    min-width: calc(50% - 7.5px) !important;
    max-width: calc(50% - 7.5px) !important;
}

body.night .route-button,
body.night .reviews-button {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.route-button:hover,
.reviews-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Yorumlar bölümü */
.reviews-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: none; /* Varsayılan olarak gizli */
}

.reviews-section.active {
    display: block; /* Aktif olduğunda görünür */
}

.reviews-section h4 {
    color: #000000;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

body.night .reviews-section h4 {
    color: #ffffff;
}

.review {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

body.night .review {
    background: #1a1a1a;
    border: 1px solid #333333;
}

.review:last-child {
    margin-bottom: 0;
}

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

.reviewer-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.review-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 500;
    color: #000000;
    margin-bottom: 0.25rem;
}

body.night .reviewer-name {
    color: #ffffff;
}

.review-rating {
    color: #ffd700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.review-time {
    color: #666666;
    font-size: 0.8rem;
}

body.night .review-time {
    color: #cccccc;
}

.review-text {
    color: #000000;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

body.night .review-text {
    color: #ffffff;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .food-section {
        padding: 0.5rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .search-container {
        padding: 0.5rem;
        margin: 0.5rem 0;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .search-box {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .search-box input,
    .search-box select,
    .search-box button {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .restaurant-card {
        flex-direction: column;
        padding: 1rem;
        margin: 0.5rem 0;
        width: 100%;
        box-sizing: border-box;
    }

    .restaurant-image {
        width: 100%;
        height: 200px;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .restaurant-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .restaurant-info {
        width: 100%;
        box-sizing: border-box;
    }

    .restaurant-name {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .restaurant-cuisine {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
    }

    .restaurant-distance,
    .restaurant-address {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
    }

    .restaurant-status {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
    }

    .restaurant-actions {
        flex-direction: row !important;
        gap: 0.5rem;
        margin-top: 0.5rem;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        justify-content: center;
    }

    .route-button,
    .reviews-button {
        width: calc(50% - 7.5px) !important;
        min-width: calc(50% - 7.5px) !important;
        max-width: calc(50% - 7.5px) !important;
        margin: 0 !important;
        padding: 0 1rem !important;
    }

    .restaurant-rating {
        padding: 0.4rem 0.8rem;
        gap: 0.3rem;
        margin: 0.5rem 0;
    }

    .rating-stars {
        font-size: 0.9rem;
    }

    .rating-number {
        font-size: 0.8rem;
    }

    .rating-count {
        font-size: 0.7rem;
    }
}

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

    .food-section {
        padding: 0.3rem;
    }

    .search-container {
        padding: 0.3rem;
    }

    .search-box input,
    .search-box select,
    .search-box button {
        font-size: 16px; /* iOS'ta zoom sorununu önlemek için */
        padding: 0.5rem;
    }

    .restaurant-card {
        padding: 0.8rem;
    }

    .restaurant-image {
        height: 180px;
    }

    .restaurant-name {
        font-size: 1.1rem;
    }

    .restaurant-cuisine,
    .restaurant-distance,
    .restaurant-address,
    .restaurant-status {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .route-button,
    .reviews-button {
        font-size: 0.8rem;
        padding: 0 0.8rem !important;
    }
}

body {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    transition: all 0.5s ease;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

body.day {
    background-color: #f0f0f0;
    color: #333;
}

body.night {
    background-color: #333;
    color: #fff;
}

body.night .container {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body.night .status-section {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#day-status {
    font-size: 10em;
    text-align: center;
    margin: 0;
    padding: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: all 0.3s ease;
}

body.day #day-status {
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

body.night #day-status {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

    .status-section {
        padding: 15px;
        margin-bottom: 30px;
    }

    #day-status {
        font-size: 6em;
        padding: 0 15px;
    }

    .food-section {
        padding: 1.5rem;
    }

    .search-container {
        padding: 20px;
    }

    .search-container input,
    .search-container select,
    .search-container button {
        width: 100%;
        margin-bottom: 10px;
    }
}

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

    .status-section {
        padding: 12px;
        margin-bottom: 25px;
    }

    #day-status {
        font-size: 5em;
        padding: 0 15px;
    }

    .food-section {
        padding: 1rem;
    }

    .search-container {
        padding: 15px;
    }

    .food-section h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
}

#visitor-count {
    font-size: 1.2rem;
    color: #ffffff;
    margin-top: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

body.night #visitor-count {
    color: #ffffff;
}

.food-section {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

body.night .food-section {
    background: rgba(255, 255, 255, 0.05);
}

.restaurant-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    gap: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

body.dark-mode .restaurant-card {
    background: rgba(30, 30, 30, 0.95);
}

body.night .restaurant-card {
    background: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.restaurant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.restaurant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.restaurant-card:hover::before {
    transform: translateX(100%);
}

.restaurant-image {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

body.dark-mode .restaurant-image {
    background: rgba(30, 30, 30, 0.9);
}

body.night .restaurant-image {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.restaurant-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.restaurant-card:hover .restaurant-image {
    transform: scale(1.05);
}

.restaurant-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.restaurant-name {
    font-size: 1.6em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

body.dark-mode .restaurant-name {
    color: #ffffff;
}

body.night .restaurant-name {
    color: #ffffff;
}

.restaurant-cuisine {
    font-size: 1em;
    color: #ffffff;
    background: var(--accent-color);
    padding: 6px 15px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    text-transform: uppercase !important;
    letter-spacing: 1px;
}

.restaurant-distance {
    font-size: 1.1em;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    border-radius: 20px;
    width: fit-content;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

body.dark-mode .restaurant-distance {
    color: #ffffff;
}

body.night .restaurant-distance {
    background: rgba(255, 255, 255, 0.05);
}

.restaurant-distance::before {
    content: '📍';
    font-size: 1.1em;
}

.no-results {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    color: #ffffff;
    font-size: 1.2em;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

body.dark-mode .no-results {
    background: rgba(30, 30, 30, 0.95);
    color: #ffffff;
}

body.night .no-results {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.restaurant-address {
    font-size: 1em;
    color: #ffffff;
    margin: 8px 0;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

body.night .restaurant-address {
    background: rgba(255, 255, 255, 0.05);
}

.route-button {
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.route-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.route-icon {
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .restaurant-address {
        font-size: 0.9em;
        padding: 6px 12px;
    }

    .route-button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .restaurant-address {
        font-size: 0.85em;
        padding: 5px 10px;
    }

    .route-button {
        padding: 7px 14px;
        font-size: 0.85em;
    }
}

.restaurant-status {
    font-size: 1.1em;
    padding: 6px 15px;
    border-radius: 20px;
    width: fit-content;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.restaurant-status::before {
    content: '⏰';
    font-size: 1.1em;
}

.status-open {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-closed {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.status-unknown {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

@media (max-width: 768px) {
    .restaurant-status {
        font-size: 1em;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .restaurant-status {
        font-size: 0.9em;
        padding: 4px 10px;
    }
}

.loading {
    text-align: center;
    padding: 20px;
    font-size: 1.2em;
    color: #666;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.restaurant-actions {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.route-button,
.reviews-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--button-text);
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    flex: 1;
    text-transform: uppercase !important;
    height: 45px;
    min-height: 45px;
    max-height: 45px;
}

.reviews-button {
    background-color: var(--accent-color);
}

.route-button:hover,
.reviews-button:hover {
    background-color: var(--button-hover);
    transform: translateY(-1px);
}

.reviews-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.reviews-section h4 {
    color: #000000;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

body.night .reviews-section h4 {
    color: #ffffff;
}

.review {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

body.night .review {
    background: #1a1a1a;
    border: 1px solid #333333;
}

.review:last-child {
    margin-bottom: 0;
}

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

.reviewer-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.review-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 500;
    color: #000000;
    margin-bottom: 0.25rem;
}

body.night .reviewer-name {
    color: #ffffff;
}

.review-rating {
    color: #ffd700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.review-time {
    color: #666666;
    font-size: 0.8rem;
}

body.night .review-time {
    color: #cccccc;
}

.review-text {
    color: #000000;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

body.night .review-text {
    color: #ffffff;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .restaurant-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .route-button,
    .reviews-button {
        width: 100%;
    }

    .review-header {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }

    .review-info {
        text-align: left;
    }
}

.day-status-text {
    text-transform: uppercase !important;
    font-size: 10em !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 20px !important;
    font-weight: bold !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 15px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.day-status-text::before {
    content: 'DIŞARISI' !important;
    display: block !important;
    font-size: 0.25em !important;
    margin-bottom: 0.5em !important;
    opacity: 0.8 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

@media (max-width: 1200px) {
    .day-status-text {
        font-size: 8em !important;
    }
}

@media (max-width: 992px) {
    .day-status-text {
        font-size: 7em !important;
    }
}

@media (max-width: 768px) {
    .day-status-text {
        font-size: 5.5em !important;
        padding: 0 15px !important;
    }
}

@media (max-width: 576px) {
    .day-status-text {
        font-size: 4em !important;
        padding: 0 10px !important;
    }
}

@media (max-width: 400px) {
    .day-status-text {
        font-size: 3.5em !important;
        padding: 0 8px !important;
    }
}

/* Onay kutusu stilleri */
.filter-options {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: var(--card-background);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-checkbox label {
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
}

/* Popup stilleri */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

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

.popup-content {
    background: var(--card-background);
    border-radius: 15px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    animation: popup-appear 0.3s ease;
}

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

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: none;
}

.popup-reviews {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-review {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--border-color);
}

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

.popup-reviewer-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.popup-review-info {
    flex: 1;
}

.popup-reviewer-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.popup-review-rating {
    color: #ffd700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.popup-review-time {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.popup-review-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        padding: 1.5rem;
    }

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

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

    .popup-review-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Restoran puanı ve değerlendirme sayısı */
.restaurant-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    flex-wrap: nowrap;
    width: 100%;
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.rating-stars {
    color: #ffd700;
    font-size: 1.1rem;
    line-height: 1;
    white-space: nowrap;
}

.rating-number {
    color: #000000;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

.rating-count {
    color: #666666;
    font-size: 0.9rem;
    white-space: nowrap;
}

body.night .rating-number {
    color: #ffffff;
}

body.night .rating-count {
    color: #cccccc;
}

body.night .restaurant-rating {
    background: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .restaurant-rating {
        padding: 0.4rem 0.8rem;
        gap: 0.3rem;
    }

    .rating-stars {
        font-size: 1rem;
    }

    .rating-number {
        font-size: 0.9rem;
    }

    .rating-count {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .restaurant-rating {
        padding: 0.3rem 0.6rem;
        gap: 0.2rem;
    }

    .rating-stars {
        font-size: 0.9rem;
    }

    .rating-number {
        font-size: 0.8rem;
    }

    .rating-count {
        font-size: 0.7rem;
    }
} 