/* =====================================================
   LOCATIONS PAGE - Stilovi za stranicu lokacija
   ===================================================== */

/* ==========================================
   LOCATIONS HERO
   ========================================== */
.locations-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
}

.locations-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,107,0,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,140,0,0.1) 0%, transparent 50%);
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.locations-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

.locations-hero__content {
    position: relative;
    z-index: 1;
}

.locations-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255,107,0,0.2), rgba(255,140,0,0.1));
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255,107,0,0.3);
    animation: fadeInUp 0.6s ease-out;
}

.locations-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.locations-hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* ==========================================
   LOCATIONS GRID
   ========================================== */
.locations-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   LOCATION CARD
   ========================================== */
.location-card {
    background: linear-gradient(145deg, #1a1a1a, #141414);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out both;
}

.location-card:nth-child(2) {
    animation-delay: 0.15s;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.4),
        0 0 40px rgba(255,107,0,0.1);
    border-color: rgba(255,107,0,0.3);
}

.location-card__map {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.location-card__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(30%) contrast(1.1);
    transition: filter 0.3s ease;
    pointer-events: none;
}

.location-card:hover .location-card__map iframe {
    filter: grayscale(0%) contrast(1);
}

.location-card__map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    cursor: pointer;
}

.location-card__map-overlay i {
    font-size: 2.5rem;
}

.location-card__map-overlay span {
    font-weight: 600;
    font-size: 1.1rem;
}

.location-card__map:hover .location-card__map-overlay {
    opacity: 1;
}

.location-card__status {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

.location-card__status--open {
    background: rgba(16, 185, 129, 0.9);
    color: white;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.location-card__status--closed {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.location-card__body {
    padding: 32px;
}

.location-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.location-card__info {
    flex: 1;
}

.location-card__name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.location-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255,107,0,0.15), rgba(255,140,0,0.1));
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.location-card__badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.location-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255,193,7,0.2), rgba(255,193,7,0.1));
    color: #ffc107;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,193,7,0.3);
}

.location-card__rating:hover {
    background: linear-gradient(135deg, rgba(255,193,7,0.3), rgba(255,193,7,0.2));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,193,7,0.2);
}

.location-card__rating i {
    color: #ffc107;
}

.location-card__rating-value {
    font-weight: 700;
    color: #fff;
}

.location-card__rating-count {
    color: rgba(255,255,255,0.7);
    font-weight: 400;
}

.location-card__number {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(255,107,0,0.3);
}

.location-card__details {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.location-card__detail {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.location-card__detail:hover {
    background: rgba(255,107,0,0.05);
    border-color: rgba(255,107,0,0.2);
}

.location-card__detail-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(255,107,0,0.2), rgba(255,140,0,0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
}

.location-card__detail-content {
    flex: 1;
}

.location-card__detail-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.location-card__detail-value {
    font-weight: 600;
    color: var(--text-primary);
}

.location-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.location-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.location-card__btn--primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(255,107,0,0.3);
}

.location-card__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,0,0.4);
}

.location-card__btn--secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.location-card__btn--secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* ==========================================
   DELIVERY INFO SECTION
   ========================================== */
.delivery-info {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.delivery-info::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,107,0,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.delivery-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.delivery-card:nth-child(1) { animation-delay: 0s; }
.delivery-card:nth-child(2) { animation-delay: 0.1s; }
.delivery-card:nth-child(3) { animation-delay: 0.2s; }

.delivery-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,107,0,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.delivery-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(255,107,0,0.2), rgba(255,140,0,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    position: relative;
}

.delivery-card__icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px dashed rgba(255,107,0,0.3);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.delivery-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.delivery-card__text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.delivery-card__highlight {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 16px;
    background: var(--primary-gradient);
    border-radius: 50px;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 991px) {
    .locations-grid {
        gap: 30px;
    }
    
    .locations-hero {
        min-height: 300px;
    }
    
    .locations-hero__title {
        font-size: 2.25rem;
    }
    
    .locations-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .locations-hero {
        min-height: 250px;
    }
    
    .locations-hero__content {
        padding: 0 20px;
    }
    
    .locations-hero__badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .locations-hero__title {
        font-size: 1.75rem;
    }
    
    .locations-hero__subtitle {
        font-size: 0.95rem;
    }
    
    .locations-section {
        padding: 50px 0;
    }
    
    .location-card {
        border-radius: 16px;
    }
    
    .location-card:hover {
        transform: none;
    }
    
    .location-card__map {
        height: 200px;
    }
    
    .location-card__body {
        padding: 20px;
    }
    
    .location-card__name {
        font-size: 1.3rem;
    }
    
    .location-card__badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .location-card__desc {
        font-size: 0.9rem;
    }
    
    .location-card__info-item {
        font-size: 0.9rem;
        padding: 10px 0;
    }
    
    .location-card__info-item i {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .location-card__actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .delivery-info {
        padding: 50px 0;
    }
    
    .delivery-info__title {
        font-size: 1.5rem;
    }
    
    .delivery-info__grid {
        gap: 20px;
    }
    
    .delivery-card {
        padding: 25px 20px;
    }
    
    .delivery-card__icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .delivery-card__title {
        font-size: 1rem;
    }
    
    .delivery-card__text {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .locations-hero {
        min-height: 200px;
    }
    
    .locations-hero__badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .locations-hero__title {
        font-size: 1.5rem;
    }
    
    .locations-hero__subtitle {
        font-size: 0.85rem;
    }
    
    .locations-section {
        padding: 40px 0;
    }
    
    .location-card__map {
        height: 180px;
    }
    
    .location-card__body {
        padding: 16px;
    }
    
    .location-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .location-card__name {
        font-size: 1.2rem;
    }
    
    .location-card__desc {
        font-size: 0.85rem;
    }
    
    .location-card__info-item {
        font-size: 0.85rem;
        padding: 8px 0;
    }
    
    .location-card__info-item i {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .delivery-info {
        padding: 40px 0;
    }
    
    .delivery-info__badge {
        font-size: 0.7rem;
    }
    
    .delivery-info__title {
        font-size: 1.3rem;
    }
    
    .delivery-card {
        padding: 20px 15px;
    }
    
    .delivery-card__icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .delivery-card__title {
        font-size: 0.95rem;
    }
}

@media (max-width: 375px) {
    .locations-hero__title {
        font-size: 1.35rem;
    }
    
    .location-card__name {
        font-size: 1.1rem;
    }
    
    .location-card__body {
        padding: 14px;
    }
}
