/* Yeme İçme Sayfası CSS */

/* Hero Section - Yeme İçme Teması */
.yeme-icme-hero {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(255, 152, 0, 0.15) 0%, 
        rgba(255, 193, 7, 0.1) 25%,
        rgba(76, 175, 80, 0.08) 50%,
        rgba(169, 20, 70, 0.1) 100%);
    border-radius: 8px;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    animation: foodHeroGradient 10s ease-in-out infinite;
}

@keyframes foodHeroGradient {
    0%, 100% {
        background: linear-gradient(135deg, 
            rgba(255, 152, 0, 0.15) 0%, 
            rgba(255, 193, 7, 0.1) 25%,
            rgba(76, 175, 80, 0.08) 50%,
            rgba(169, 20, 70, 0.1) 100%);
    }
    25% {
        background: linear-gradient(225deg, 
            rgba(76, 175, 80, 0.12) 0%, 
            rgba(169, 20, 70, 0.08) 25%,
            rgba(255, 152, 0, 0.1) 50%,
            rgba(255, 193, 7, 0.15) 100%);
    }
    50% {
        background: linear-gradient(315deg, 
            rgba(169, 20, 70, 0.1) 0%, 
            rgba(255, 152, 0, 0.15) 25%,
            rgba(255, 193, 7, 0.08) 50%,
            rgba(76, 175, 80, 0.12) 100%);
    }
    75% {
        background: linear-gradient(45deg, 
            rgba(255, 193, 7, 0.08) 0%, 
            rgba(76, 175, 80, 0.15) 25%,
            rgba(169, 20, 70, 0.12) 50%,
            rgba(255, 152, 0, 0.1) 100%);
    }
}

.yeme-icme-hero::before {
    content: '🍽️';
    position: absolute;
    font-size: 8rem;
    opacity: 0.1;
    animation: foodIconFloat 15s ease-in-out infinite;
    top: 10%;
    left: 10%;
}

.yeme-icme-hero::after {
    content: '☕';
    position: absolute;
    font-size: 6rem;
    opacity: 0.1;
    animation: foodIconFloat 12s ease-in-out infinite reverse;
    bottom: 15%;
    right: 15%;
}

@keyframes foodIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
    }
    75% {
        transform: translateY(-25px) rotate(7deg);
    }
}

.yeme-icme-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: heroTitleSlide 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(-40px) scale(0.8);
}

@keyframes heroTitleSlide {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.yeme-icme-hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    animation: heroDescSlide 1.2s ease-out 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes heroDescSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content */
.yeme-icme-main {
    background: #f8f9fa;
    padding: 3rem 0;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
    width: 100%;
}

/* Restoran Filtreleri */
.restoran-filters {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    padding: 2.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    border-radius: 12px;
    position: relative;
    animation: filterSlideDown 1s ease-out 0.6s forwards;
    opacity: 0;
    transform: translateY(-30px);
}

@keyframes filterSlideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-btn {
    padding: 1rem 2rem;
    border: 2px solid #FF9800;
    background: transparent;
    color: #FF9800;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
    animation: btnReveal 0.6s ease-out forwards;
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
}

.filter-btn:nth-child(1) { animation-delay: 0.8s; }
.filter-btn:nth-child(2) { animation-delay: 0.9s; }
.filter-btn:nth-child(3) { animation-delay: 1.0s; }
.filter-btn:nth-child(4) { animation-delay: 1.1s; }
.filter-btn:nth-child(5) { animation-delay: 1.2s; }
.filter-btn:nth-child(6) { animation-delay: 1.3s; }

@keyframes btnReveal {
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(45deg, #FF9800, #FFC107);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.filter-btn:hover {
    color: #fff !important;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 28px rgba(255, 152, 0, 0.4);
    border-color: #FFC107;
    background: linear-gradient(45deg, #FF9800, #FFC107) !important;
}

.filter-btn:hover::before {
    width: 0 !important;
    height: 0 !important;
}

.filter-btn:hover span {
    color: #ffffff !important;
    position: relative;
    z-index: 10;
}

.filter-btn:hover,
.filter-btn:hover *,
.filter-btn:hover span {
    color: #ffffff !important;
}

.filter-btn.active {
    background: linear-gradient(45deg, #FF9800, #FFC107) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.5);
    transform: scale(1.05);
    border-color: transparent;
}

.filter-btn.active span {
    color: #fff !important;
    font-weight: 700;
}

@keyframes foodActiveWave {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255, 152, 0, 0);
    }
    100% {
        box-shadow: 0 8px 20px rgba(255, 152, 0, 0.5);
    }
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

/* Restoranlar Grid */
.restoranlar-grid {
    padding: 2rem 0;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

/* Restoran Kartı */
.restoran-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.restoran-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.restoran-logo {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    background: radial-gradient(circle, rgba(248,248,248,0) 0%, rgba(240,240,240,0.3) 100%);
    overflow: hidden;
    padding: 30px;
    border-bottom: 2px solid rgba(255, 152, 0, 0.1);
    position: relative;
}

.restoran-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255,152,0,0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.restoran-logo img {
    width: 180px;
    height: 120px;
    object-fit: contain;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.default-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 1;
    position: relative;
}

.restoran-card:hover .restoran-logo img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

.restoran-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: none;
}

.restoran-card:nth-child(1) { animation-delay: 1.4s; }
.restoran-card:nth-child(2) { animation-delay: 1.5s; }
.restoran-card:nth-child(3) { animation-delay: 1.6s; }
.restoran-card:nth-child(4) { animation-delay: 1.7s; }
.restoran-card:nth-child(5) { animation-delay: 1.8s; }
.restoran-card:nth-child(6) { animation-delay: 1.9s; }
.restoran-card:nth-child(7) { animation-delay: 2.0s; }
.restoran-card:nth-child(8) { animation-delay: 2.1s; }

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

.restoran-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.restoran-card:hover {
    transform: translateY(-15px) scale(1.05) rotateY(2deg);
    box-shadow: 0 25px 50px rgba(255, 152, 0, 0.25);
}

.restoran-card:hover::before {
    left: 100%;
}

/* Restoran Resmi */
.restoran-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.restoran-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.9);
}

.restoran-card:hover .restoran-image img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

/* Rating Badge */
.restoran-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #FFD700;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    animation: ratingPulse 2s ease-in-out infinite;
}

@keyframes ratingPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.restoran-rating i {
    font-size: 0.8rem;
}

/* Restoran İçeriği */
.restoran-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.restoran-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.restoran-card:hover .restoran-content h3 {
    color: #FF9800;
}

.restoran-category {
    color: #FF9800;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255, 152, 0, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    margin: 0;
}

.restoran-desc {
    color: var(--grey);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.restoran-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.restoran-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--grey);
    font-size: 0.9rem;
}

.restoran-location i {
    color: #FF9800;
}

.restoran-price span {
    color: #4CAF50;
    font-weight: 700;
    font-size: 1.1rem;
}

.restoran-hours {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--grey);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.restoran-hours i {
    color: #FF9800;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    .yeme-icme-hero {
        height: 350px;
    }

    .restoran-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .restoran-logo {
        height: 160px;
        padding: 25px;
    }
    
    .restoran-logo::before {
        width: 120px;
        height: 120px;
    }
    
    .restoran-logo img {
        width: 140px;
        height: 90px;
    }

    .yeme-icme-main {
        padding: 2rem 0;
    }

    .restoran-filters {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    .filter-buttons {
        gap: 0.8rem;
    }

    .filter-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .grid-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .yeme-icme-hero {
        height: 300px;
        padding: 1.5rem;
    }

    .restoran-image {
        height: 180px;
    }

    .restoran-content {
        padding: 1.5rem;
    }

    .restoran-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}

/* Restaurant Modal Styles */
.restaurant-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.restaurant-modal.show {
    opacity: 1;
}

.restaurant-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.restaurant-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 24px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.restaurant-modal.show .restaurant-modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: #333;
}

.modal-close:hover {
    background: white;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-restaurant-header {
    display: flex;
    padding: 40px;
    border-bottom: 1px solid #f0f0f0;
    gap: 30px;
    align-items: center;
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
    border-radius: 24px 24px 0 0;
}

.modal-logo-section {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 20px;
}

.modal-logo-section img {
    width: 160px;
    height: 120px;
    object-fit: contain;
}

.default-modal-logo {
    font-size: 60px;
    color: #FF9800;
    opacity: 0.3;
}

.modal-info-section {
    flex: 1;
}

.modal-info-section h2 {
    font-size: 32px;
    margin: 0 0 15px 0;
    color: #333;
    font-weight: 700;
}

.modal-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.modal-category {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.modal-price {
    background: #f5f5f5;
    color: #666;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.modal-price.price-budget { color: #4CAF50; }
.modal-price.price-moderate { color: #FF9800; }
.modal-price.price-expensive { color: #F44336; }
.modal-price.price-luxury { color: #9C27B0; }

.modal-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-rating .stars {
    display: flex;
    gap: 3px;
}

.modal-rating .stars i {
    color: #FFD700;
    font-size: 18px;
}

.modal-rating .rating-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.modal-restaurant-body {
    padding: 40px;
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section h3 i {
    color: #FF9800;
    font-size: 18px;
}

.modal-section p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 24px;
    color: #FF9800;
    width: 30px;
    text-align: center;
}

.info-card > div {
    flex: 1;
}

.info-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 3px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-value {
    display: block;
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.modal-actions {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.modal-actions .btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
}

.modal-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.3);
}

.modal-actions .btn-outline {
    background: transparent;
    color: #FF9800;
    border: 2px solid #FF9800;
}

.modal-actions .btn-outline:hover {
    background: #FF9800;
    color: white;
}

@media (max-width: 768px) {
    .restaurant-modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .modal-restaurant-header {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }
    
    .modal-logo-section {
        width: 140px;
        height: 140px;
    }
    
    .modal-info-section h2 {
        font-size: 24px;
    }
    
    .modal-restaurant-body {
        padding: 20px;
    }
    
    .modal-info-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-badges {
        justify-content: center;
    }
    
    .modal-rating {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .yeme-icme-hero {
        height: 250px;
        padding: 1rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .restoran-content {
        padding: 1.2rem;
    }

    .restoran-content h3 {
        font-size: 1.2rem;
    }
}

/* Animasyon sınıfları */
.restoran-card.fade-in {
    animation: fadeInScale 0.6s ease forwards;
}

.restoran-card.fade-out {
    animation: fadeOutScale 0.3s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--grey);
}

.empty-state i {
    font-size: 4rem;
    color: #FF9800;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 1rem;
    color: var(--grey);
}
