/* Modern Base Template CSS */
/* Enhanced styles for location base template */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --black: #000000;
    --border-radius: 0.75rem;
    --border-radius-sm: 0.5rem;
    --border-radius-lg: 1rem;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    --shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    --shadow-lg: 0 1rem 3rem rgba(0,0,0,0.175);
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Modern Professional Breadcrumb Styles */
.breadcrumb-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.breadcrumb-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.modern-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modern-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
    position: relative;
    transition: var(--transition);
}

.modern-breadcrumb .breadcrumb-item:not(:last-child)::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 1rem;
    opacity: 0.6;
    transition: var(--transition);
}

.modern-breadcrumb .breadcrumb-item:hover:not(:last-child)::after {
    opacity: 1;
    transform: scale(1.2);
}

.modern-breadcrumb .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255,255,255,0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.modern-breadcrumb .breadcrumb-item a::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.5s ease;
}

.modern-breadcrumb .breadcrumb-item a:hover::before {
    left: 100%;
}

.modern-breadcrumb .breadcrumb-item a:hover {
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.9);
    border-color: var(--primary-color);
}

.modern-breadcrumb .breadcrumb-item a i {
    font-size: 0.9rem;
    transition: var(--transition);
}

.modern-breadcrumb .breadcrumb-item a:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
}

.modern-breadcrumb .breadcrumb-item.active {
    color: var(--dark-color);
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.modern-breadcrumb .breadcrumb-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 1rem 0;
    }

    .modern-breadcrumb {
        font-size: 0.85rem;
        gap: 0.25rem;
    }

    .modern-breadcrumb .breadcrumb-item:not(:last-child)::after {
        margin: 0 0.5rem;
        width: 4px;
        height: 4px;
    }

    .modern-breadcrumb .breadcrumb-item a {
        padding: 0.4rem 0.8rem;
        gap: 0.3rem;
    }

    .modern-breadcrumb .breadcrumb-item.active {
        padding: 0.4rem 1rem;
    }
}

/* Dark Mode Support for Breadcrumb */
@media (prefers-color-scheme: dark) {
    .breadcrumb-container {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #3a3a3a 100%);
        border-bottom-color: rgba(255,255,255,0.1);
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }

    .modern-breadcrumb .breadcrumb-item a {
        background: rgba(0,0,0,0.3);
        color: #e0e0e0;
        border-color: rgba(255,255,255,0.1);
    }

    .modern-breadcrumb .breadcrumb-item a:hover {
        background: rgba(0,0,0,0.5);
        color: white;
        border-color: var(--primary-color);
    }

    .modern-breadcrumb .breadcrumb-item.active {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
    }
}

/* Enhanced Accessibility */
.modern-breadcrumb .breadcrumb-item a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.25);
}

.modern-breadcrumb .breadcrumb-item a:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Print Styles */
@media print {
    .breadcrumb-container {
        background: white !important;
        box-shadow: none !important;
        border-bottom: 1px solid #ccc !important;
        padding: 0.5rem 0 !important;
    }

    .modern-breadcrumb .breadcrumb-item a {
        background: transparent !important;
        color: #333 !important;
        border: none !important;
        padding: 0.25rem 0.5rem !important;
    }

    .modern-breadcrumb .breadcrumb-item.active {
        background: transparent !important;
        color: #000 !important;
        font-weight: bold !important;
    }
}

/* Animation Keyframes */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes breadcrumbGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    }
}

/* Hero Section */
.location-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    margin-bottom: 3rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.6) 50%,
        rgba(0,0,0,0.8) 100%
    );
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 0;
    color: white;
    z-index: 2;
}

/* Hero Top Info */
.hero-top-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.location-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
    text-transform: capitalize;
}

.location-badge.primary {
    background: rgba(0, 123, 255, 0.3);
    border-color: rgba(0, 123, 255, 0.4);
}

.location-badge.premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.3));
    border-color: rgba(255, 215, 0, 0.4);
    animation: shimmer 2s infinite;
}

.location-badge.bronze {
    background: rgba(205, 127, 50, 0.3);
    border-color: rgba(205, 127, 50, 0.4);
}

.location-badge.silver {
    background: rgba(192, 192, 192, 0.3);
    border-color: rgba(192, 192, 192, 0.4);
}

.location-badge.gold {
    background: rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.4);
}

.location-badge.diamond {
    background: linear-gradient(135deg, rgba(185, 242, 255, 0.3), rgba(0, 191, 255, 0.3));
    border-color: rgba(185, 242, 255, 0.4);
    animation: sparkle 1.5s infinite;
}

.location-badge.rating {
    background: rgba(255, 193, 7, 0.3);
    border-color: rgba(255, 193, 7, 0.4);
}

.location-emoji {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

/* Hero Info Grid */
.hero-info-grid {
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 1rem;
}

.info-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-content i {
    width: 20px;
    text-align: center;
    opacity: 0.9;
}

.status-indicator {
    margin-right: auto;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

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

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

.location-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.location-address-info {
    margin-bottom: 2rem;
}

.location-address {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-hierarchy {
    font-size: 1rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-call {
    background: rgba(40, 167, 69, 0.9);
    color: white;
    border-color: rgba(255,255,255,0.2);
}

.btn-call:hover {
    background: var(--success-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.btn-directions {
    background: rgba(0, 123, 255, 0.9);
    color: white;
    border-color: rgba(255,255,255,0.2);
}

.btn-directions:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.btn-share {
    background: rgba(255,255,255,0.2);
    color: white;
    border-color: rgba(255,255,255,0.3);
}

.btn-share:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

/* Main Content */
.location-content {
    margin-top: -1rem;
    position: relative;
    z-index: 1;
}

/* Quick Info Grid */
.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.quick-info-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    display: block;
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.info-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    text-decoration: none;
}

.info-value:hover {
    color: var(--primary-color);
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.section-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--primary-color);
}

.image-count {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.section-content {
    padding: 2rem;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin: 0;
}

/* Location Slogan in Content Section */
.location-slogan-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.location-slogan-quote {
    margin: 0;
    padding: 0;
    text-align: center;
    position: relative;
}

.slogan-text {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 500;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.slogan-quote-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.7;
    position: absolute;
    z-index: 1;
}

.slogan-quote-icon:first-child {
    top: -0.5rem;
    right: -0.5rem;
}

.slogan-quote-icon:last-child {
    bottom: -0.5rem;
    left: -0.5rem;
}

/* Modern Gallery */
.modern-gallery {
    padding: 1.5rem;
}

.gallery-main {
    margin-bottom: 1rem;
}

.main-image-container {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.main-image-container:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.main-image-container:hover .main-image {
    transform: scale(1.05);
}

.main-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.1) 50%,
        rgba(0,0,0,0.7) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.main-image-container:hover .main-image-overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.overlay-content i {
    font-size: 1.5rem;
}

.image-counter {
    align-self: flex-end;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Gallery Thumbnails */
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.thumbnail-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.thumbnail-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.thumbnail-item:hover .thumbnail-image {
    transform: scale(1.1);
}

.more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.no-images {
    text-align: center;
    padding: 3rem;
    color: var(--secondary-color);
}

.no-images i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-images p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .location-title {
        font-size: 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .quick-info-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .section-content {
        padding: 1.5rem;
    }

    .modern-gallery {
        padding: 1rem;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .main-image-overlay {
        padding: 1rem;
    }

    .overlay-content {
        font-size: 1rem;
    }

    .location-slogan-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .slogan-text {
        font-size: 1.1rem;
    }

    .hero-top-info {
        flex-direction: column;
        gap: 1rem;
    }

    .location-badges {
        justify-content: center;
    }

    .location-emoji {
        font-size: 2.5rem;
        align-self: center;
    }

    .hero-info-grid {
        text-align: center;
    }

    .info-content {
        justify-content: center;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .tags-container {
        justify-content: center;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .location-hero {
        height: 50vh;
        min-height: 300px;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .location-title {
        font-size: 1.75rem;
    }

    .btn-hero {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Ratings Section */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avg-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warning-color);
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars i {
    color: #e4e5e9;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.stars i.active {
    color: #ffc107;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-stars i {
    color: #e4e5e9;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.rating-stars i.active {
    color: #ffc107;
}

.rating-count {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.ratings-list {
    padding: 1.5rem;
}

.rating-item {
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.rating-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.rating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: var(--dark-color);
}

.rating-date {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-comment {
    color: var(--dark-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Sidebar Styles */
.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-title i {
    color: var(--primary-color);
}

/* Location Map */
.location-map {
    height: 250px;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.map-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--secondary-color);
    z-index: 1;
}

.map-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    animation: pulse 2s infinite;
}

.map-placeholder p {
    margin: 0;
    font-weight: 500;
}

/* Custom marker styles */
.custom-marker {
    background: none !important;
    border: none !important;
}

.leaflet-popup-content-wrapper {
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow);
}

.leaflet-popup-content {
    margin: 0.75rem;
}

.map-actions {
    padding: 1rem 1.5rem;
}

.btn-map {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-map:hover {
    background: var(--dark-color);
    transform: translateY(-1px);
    color: white;
}

/* Contact Information */
.contact-info {
    padding: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.contact-value {
    font-weight: 600;
    color: var(--dark-color);
    text-decoration: none;
}

.contact-value:hover {
    color: var(--primary-color);
}

/* Working Hours Status Styles */
.working-hours-info,
.working-hours-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
    width: fit-content;
}

.status-badge.open {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.status-badge.closed {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.status-badge i {
    font-size: 0.5rem;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Share Buttons */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1.5rem;
}

.share-btn {
    padding: 0.75rem;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.copy {
    background: var(--secondary-color);
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Related Locations */
.related-locations {
    padding: 1.5rem;
}

.related-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f3f4;
    transition: var(--transition);
}

.related-item:last-child {
    border-bottom: none;
}

.related-item:hover {
    background: #f8f9fa;
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
}

.related-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

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

.no-image {
    width: 100%;
    height: 100%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.related-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.related-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.3;
}

.related-category {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin: 0;
}

.related-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.25rem;
}

.related-link:hover {
    color: var(--dark-color);
}

/* Amenities Section */
.amenities-count {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.amenity-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.amenity-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.amenity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.amenity-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1rem;
}

.amenity-description {
    font-size: 0.85rem;
    color: var(--secondary-color);
    line-height: 1.4;
}

/* Tags Section */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.5rem;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,123,255,0.2);
}

.tag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
}

.tag-item i {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Animations */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Error Page Styles */
.error-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.error-content {
    text-align: center;
    max-width: 500px;
}

.error-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

#lightboxImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    width: 100%;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

.lightbox-prev {
    margin-left: -60px;
}

.lightbox-next {
    margin-right: -60px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

.scale-in {
    animation: scaleIn 0.3s ease-out;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

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

/* Focus States */
.btn-hero:focus,
.btn-map:focus,
.share-btn:focus,
.gallery-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero-actions,
    .share-buttons,
    .lightbox-modal,
    .map-actions {
        display: none !important;
    }

    .location-hero {
        height: auto;
        min-height: auto;
        page-break-inside: avoid;
    }

    .content-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 0.125rem 0.25rem rgba(0,0,0,0.3);
        --shadow: 0 0.5rem 1rem rgba(0,0,0,0.4);
        --shadow-lg: 0 1rem 3rem rgba(0,0,0,0.5);
    }

    .quick-info-card,
    .content-section,
    .sidebar-section {
        border: 2px solid var(--dark-color);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .gallery-item:hover,
    .quick-info-card:hover,
    .rating-item:hover {
        transform: none;
    }
}
