/**
 * Single Lokacija - Leon Theme Style
 * Map left, info right (like archive)
 */

/* ============================================
   FULL WIDTH BREAKOUT
   ============================================ */
.lok-page {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: none;
    padding: 0;
}

.lok-article {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.lok-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lok-hero__media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.lok-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.lok-hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.lok-hero__media--placeholder {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lok-hero__placeholder-text {
    font-family: 'Jost', sans-serif;
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 1.5rem;
    color: #ddd;
}

/* Hero Content */
.lok-hero__content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 30px 100px;
    text-align: center;
    color: #fff;
}

.lok-hero__inner {
    max-width: 800px;
}

.lok-hero__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 16px;
    margin-bottom: 15px;
}

.lok-hero__title {
    font-family: 'Jost', sans-serif;
    font-size: 32.2px;
    line-height: 45.08px;
    font-weight: 400;
    letter-spacing: 5.8px;
    text-transform: uppercase;
    margin: 0;
}

.lok-hero__address {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0 0 10px;
    opacity: 0.9;
}

/* Rating Display */
.lok-hero__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.lok-hero__stars {
    color: #ffc107;
    font-size: 14px;
    font-weight: 500;
}

.lok-hero__reviews {
    font-size: 12px;
    opacity: 0.8;
}

/* Hero Actions Bar */
.lok-hero__actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    gap: 0;
    background: #003366;
}

.lok-hero__action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 35px;
    color: #fff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.lok-hero__action:link,
.lok-hero__action:visited {
    color: #fff !important;
}

.lok-hero__action:last-child {
    border-right: none;
}

.lok-hero__action:hover,
.lok-hero__action:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.lok-hero__action svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ============================================
   SPLIT SECTION - Map LEFT, Panel RIGHT
   ============================================ */
.lok-split {
    display: flex;
    min-height: 560px;
    width: 100%;
}

/* Map Container - LEFT */
.lok-split__map {
    flex: 1;
    min-width: 0;
}

.lok-map {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 560px;
}

.lok-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* Custom Leon pin overlay */
.lok-map__pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    z-index: 10;
    pointer-events: none;
}

.lok-map__pin img {
    width: 52px;
    height: 65px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Info Panel - RIGHT */
.lok-split__panel {
    width: 480px;
    background: #fff;
    border-left: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
}

/* Today's Hours - Separate Block */
.lok-today {
    padding: 30px 25px;
    background: #f8f8f8;
    border-bottom: 1px solid #e6e6e6;
    text-align: center;
}

.lok-today__label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 8px;
}

.lok-today__time {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #333;
}

/* Panel Content */
.lok-panel__content {
    padding: 30px 25px;
    flex: 1;
    overflow-y: auto;
}

/* Section Titles - Theme Style */
.lok-section-title {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    line-height: 23.1px;
    font-weight: 400;
    letter-spacing: 3.96px;
    text-transform: uppercase;
    color: #333;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e6e6e6;
}

/* Hours List */
.lok-hours {
    margin-bottom: 30px;
}

.lok-hours__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lok-hours__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.lok-hours__row:last-child {
    border-bottom: none;
}

.lok-hours__row--active {
    background: #f0f7ff;
    margin: 0 -15px;
    padding: 10px 15px;
    border-radius: 4px;
    border-bottom: none;
}

.lok-hours__row--active .lok-hours__day,
.lok-hours__row--active .lok-hours__time {
    color: #003366;
    font-weight: 500;
}

.lok-hours__day {
    color: #333;
}

.lok-hours__time {
    color: #666;
    font-variant-numeric: tabular-nums;
}

/* Contact */
.lok-contact {
    margin-bottom: 30px;
}

.lok-contact__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.2s ease;
}

.lok-contact__item:hover {
    border-color: #003366;
    color: #003366;
}

.lok-contact__icon {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

/* Amenities */
.lok-amenities {
    margin-bottom: 30px;
}

.lok-amenities__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.lok-amenities__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
}

.lok-amenities__icon {
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

/* Directions Button */
.lok-directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: #003366;
    color: #fff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.lok-directions-btn:hover {
    background: #002244;
    color: #fff !important;
}

.lok-directions-btn svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   ABOUT SECTION - Blue Background (connected to above)
   ============================================ */
.lok-about {
    padding: 80px 30px;
    background: #003366;
}

.lok-about__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.lok-about__title {
    font-family: 'Jost', sans-serif;
    font-size: 28px;
    line-height: 39.2px;
    font-weight: 400;
    letter-spacing: 5.04px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 30px;
}

.lok-about__content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 19.6px;
}

.lok-about__content p {
    margin: 0 0 1.5em;
}

.lok-about__content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   GALLERY SECTION - Full Width, One Row
   ============================================ */
.lok-gallery {
    width: 100%;
}

.lok-gallery__grid {
    display: flex;
    width: 100%;
    gap: 3px;
}

.lok-gallery__item {
    position: relative;
    overflow: hidden;
    display: block;
    flex: 1;
    min-width: 0;
    height: 300px;
}

.lok-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lok-gallery__item:hover img {
    transform: scale(1.05);
}

.lok-gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 51, 102, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.lok-gallery__overlay svg {
    width: 36px;
    height: 36px;
    color: #fff;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.lok-gallery__item:hover .lok-gallery__overlay {
    background: rgba(0, 51, 102, 0.4);
}

.lok-gallery__item:hover .lok-gallery__overlay svg {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   OTHER LOCATIONS SECTION (connected to gallery)
   ============================================ */
.lok-other {
    padding: 80px 30px;
    background: #f8f8f8;
}

.lok-other__inner {
    max-width: 1600px;
    margin: 0 auto;
}

.lok-other__title {
    font-family: 'Jost', sans-serif;
    font-size: 28px;
    line-height: 39.2px;
    font-weight: 400;
    letter-spacing: 5.04px;
    text-transform: uppercase;
    color: #333;
    margin: 0 0 40px;
    text-align: center;
}

.lok-other__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.lok-other__card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lok-other__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.lok-other__card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.lok-other__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lok-other__card:hover .lok-other__card-image img {
    transform: scale(1.05);
}

.lok-other__card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e8e8;
    color: #ccc;
    font-size: 1.5rem;
    letter-spacing: 0.3em;
}

.lok-other__card-info {
    padding: 20px;
}

.lok-other__card-title {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333;
    margin: 0 0 5px;
}

.lok-other__card-city {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.lok-other__cta {
    text-align: center;
}

.lok-other__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: transparent;
    border: 1px solid #333;
    color: #333 !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s ease;
}

.lok-other__btn:hover {
    background: #003366;
    border-color: #003366;
    color: #fff !important;
}

.lok-other__btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .lok-other__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .lok-split__panel {
        width: 400px;
    }

    .lok-other__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .lok-split {
        flex-direction: column;
        min-height: auto;
    }

    .lok-split__map {
        order: 1;
    }

    .lok-map {
        height: 350px;
        min-height: 350px;
    }

    .lok-split__panel {
        order: 2;
        width: 100%;
        border-left: none;
        border-top: 1px solid #e6e6e6;
    }

    /* Gallery: 2 columns on tablet/mobile */
    .lok-gallery__grid {
        flex-wrap: wrap;
    }

    .lok-gallery__item {
        flex: 0 0 calc(50% - 1.5px);
        height: 220px;
    }
}

@media (max-width: 768px) {
    /* Hero: Make actions NOT absolute on mobile */
    .lok-hero {
        height: auto;
        min-height: auto;
        max-height: none;
        display: block;
    }

    .lok-hero__media {
        position: relative;
        height: 50vh;
        min-height: 300px;
    }

    .lok-hero__content {
        position: absolute;
        bottom: 50px; /* Space for action bar */
        left: 0;
        right: 0;
        padding: 30px 20px 15px;
        background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    }

    .lok-hero__badge {
        font-size: 9px;
        padding: 5px 10px;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
    }

    .lok-hero__address {
        font-size: 12px;
    }

    .lok-hero__rating {
        gap: 5px;
        margin-bottom: 3px;
    }

    .lok-hero__stars {
        font-size: 12px;
    }

    .lok-hero__reviews {
        font-size: 10px;
    }

    .lok-hero__title {
        font-size: 20px;
        line-height: 1.3;
        letter-spacing: 3px;
        margin: 0;
    }

    /* Actions bar: NOT absolute, 3 columns grid */
    .lok-hero__actions {
        position: relative;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .lok-hero__action {
        padding: 14px 10px;
        font-size: 10px;
        letter-spacing: 1px;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: none;
    }

    .lok-hero__action:last-child {
        border-right: none;
    }

    .lok-hero__action svg {
        width: 16px;
        height: 16px;
    }

    .lok-map {
        height: 300px;
        min-height: 300px;
    }

    .lok-today {
        padding: 25px 20px;
    }

    .lok-today__time {
        font-size: 24px;
    }

    .lok-panel__content {
        padding: 25px 20px;
    }

    .lok-section-title {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .lok-amenities__grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .lok-amenities__item {
        padding: 8px 12px;
        font-size: 12px;
    }

    .lok-about {
        padding: 50px 20px;
    }

    .lok-about__title {
        font-size: 20px;
        letter-spacing: 3.6px;
        margin-bottom: 20px;
    }

    .lok-gallery__item {
        flex: 0 0 calc(50% - 1.5px);
        height: 180px;
    }

    .lok-other {
        padding: 50px 20px;
    }

    .lok-other__title {
        font-size: 20px;
        letter-spacing: 3.6px;
        margin-bottom: 30px;
    }

    .lok-other__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .lok-other__card-image {
        height: 140px;
    }

    .lok-other__card-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .lok-hero__media {
        height: 45vh;
        min-height: 260px;
    }

    .lok-hero__placeholder-text {
        font-size: 3rem;
        letter-spacing: 1rem;
    }

    .lok-hero__content {
        bottom: 45px;
        padding: 20px 15px 10px;
    }

    .lok-hero__badge {
        font-size: 8px;
        padding: 4px 8px;
        margin-bottom: 5px;
    }

    .lok-hero__title {
        font-size: 16px;
        letter-spacing: 2px;
        margin: 0;
    }

    .lok-hero__address {
        font-size: 10px;
    }

    .lok-hero__rating {
        margin-bottom: 2px;
    }

    .lok-hero__stars {
        font-size: 10px;
    }

    .lok-hero__reviews {
        font-size: 8px;
    }

    .lok-hero__action {
        padding: 12px 8px;
        font-size: 9px;
        letter-spacing: 0.5px;
        gap: 5px;
    }

    .lok-hero__action span {
        display: block;
    }

    .lok-map {
        height: 280px;
        min-height: 280px;
    }

    .lok-gallery__item {
        flex: 0 0 calc(50% - 1.5px);
        height: 150px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .lok-page {
        width: auto;
        left: auto;
        right: auto;
        margin: 0;
    }

    .lok-hero {
        height: auto;
        min-height: auto;
    }

    .lok-hero__media {
        position: relative;
        height: 250px;
    }

    .lok-hero__gradient,
    .lok-hero__actions,
    .lok-gallery__overlay {
        display: none;
    }

    .lok-hero__content {
        position: relative;
        color: #000;
        background: #fff;
        padding: 20px;
    }

    .lok-split {
        display: block;
    }

    .lok-split__map {
        display: none;
    }

    .lok-split__panel {
        width: 100%;
        border: none;
    }

    .lok-about {
        background: #fff;
    }

    .lok-about__title {
        color: #003366;
    }

    .lok-about__content {
        color: #333;
    }

    .lok-gallery,
    .lok-other {
        display: none;
    }
}
