/* Place Details Styles */

/* Theme Variables */
:root {
    /* Dark Theme (default) */
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --header-bg: rgba(30, 30, 30, 0.98);
    --card-bg: rgba(40, 40, 40, 0.9);
    --border-color: #444;
    --input-bg: rgba(255, 255, 255, 0.1);
    --footer-bg: #111;
    
    /* Blue accent colors */
    --dark-blue: #1a237e;
    --medium-blue: #283593;
    --light-blue: #3f51b5;
    --glow-blue: #5c6bc0;
}



/* Breadcrumb */
.breadcrumb {
    background: #222222;
    padding: 1rem 0;
    margin-top: 70px;
    border-bottom: 1px solid #333333;
    box-shadow: 0 1px 0 rgba(26, 35, 126, 0.3);
    border-radius: 0 0 12px 12px;
}

.breadcrumb a {
    color: #ffffff;
    opacity: 0.7;
    text-decoration: none;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.breadcrumb a:hover {
    color: #1a7ce8;
    text-shadow: 0 0 5px #1a7ce8;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: #ffffff;
    opacity: 0.5;
}

.breadcrumb .current {
    color: #ffffff;
    font-weight: 300;
}

/* Place Hero */
.place-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: flex-end;
    padding: 3rem 0;
}

.place-title {
    font-size: 2.5rem;
    font-weight: 100;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 20px #1a7ce8, 0 0 40px #5c6bc0;
    animation: placeTitleGlow 3s ease-in-out infinite alternate;
}

@keyframes placeTitleGlow {
    from {
        text-shadow: 0 0 20px #1a7ce8, 0 0 40px #5c6bc0;
    }
    to {
        text-shadow: 0 0 30px #1a7ce8, 0 0 60px #5c6bc0, 0 0 80px #3f51b5;
    }
}

.place-subtitle {
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.6;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.place-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666666;
    font-size: 0.9rem;
    font-weight: 300;
}

.meta-item i {
    color: #5c6bc0;
    width: 20px;
    text-shadow: 0 0 5px #1a7ce8;
}

/* Place Content */
.place-content {
    padding: 4rem 0;
    background: #1e1e1e;
    transition: background-color 0.3s ease;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-content {
    max-width: none;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 100;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, #5c6bc0, #1a7ce8);
    box-shadow: 0 0 5px #1a7ce8;
}

.content-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #ffffff;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
    transition: color 0.3s ease;
}

/* Features List */
.features-list {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #2d2d2d;
    border-radius: 12px;
    border: 1px solid #1a237e;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(26, 35, 126, 0.2);
}

.feature-item:hover {
    border-color: #5c6bc0;
    box-shadow: 0 0 15px rgba(92, 107, 192, 0.4);
}

.feature-item i {
    font-size: 1.2rem;
    color: #5c6bc0;
    margin-top: 0.25rem;
    text-shadow: 0 0 5px #1a7ce8;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 300;
}

/* Place Gallery */
.place-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
}

.place-gallery .gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1a237e;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(26, 35, 126, 0.2);
}

.place-gallery .gallery-item:hover {
    border-color: #5c6bc0;
    box-shadow: 0 0 20px rgba(92, 107, 192, 0.4);
    transform: scale(1.02);
}

.place-gallery .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: none;
    transition: filter 0.3s ease;
}

.place-gallery .gallery-item:hover img {
    filter: none;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 1rem;
    font-size: 0.8rem;
    font-weight: 300;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.place-gallery .gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Safety Warning */
.safety-warning {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #222222;
    border: 1px solid #333333;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.safety-warning i {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0.6;
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.safety-warning h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.safety-warning ul {
    margin: 0;
    padding-left: 1rem;
}

.safety-warning li {
    margin-bottom: 0.5rem;
    color: #ffffff;
    opacity: 0.7;
    font-weight: 300;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.info-box,
.related-places,
.share-box {
    background: #222222;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid #333333;
    box-shadow: 0 0 10px rgba(26, 35, 126, 0.2);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.info-box h3,
.related-places h3,
.share-box h3 {
    color: #5c6bc0;
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 8px #1a7ce8;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #333333;
    transition: border-color 0.3s ease;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #ffffff;
    font-weight: 300;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.info-item span {
    color: #ffffff;
    opacity: 0.7;
    text-align: right;
    transition: color 0.3s ease;
    font-weight: 300;
    font-size: 0.9rem;
}

/* Related Places */
.related-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #1a237e;
}

.related-item:last-child {
    border-bottom: none;
}

.related-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    filter: grayscale(100%);
}

.related-info h4 {
    font-size: 0.9rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-info p {
    font-size: 0.8rem;
    color: #bbbbbb;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.related-info a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 300;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-info a:hover {
    color: #1a7ce8;
    text-shadow: 0 0 5px #1a7ce8;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s ease;
    color: #888888;
    background: transparent;
    border: 1px solid #1a237e;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 5px rgba(26, 35, 126, 0.2);
}

.share-btn:hover {
    background: #1a237e;
    color: #1a7ce8;
    border-color: #5c6bc0;
    box-shadow: 0 0 15px rgba(92, 107, 192, 0.5);
    text-shadow: 0 0 8px #1a7ce8;
}

.share-btn i {
    font-size: 1rem;
}

/* Place Navigation */
.place-navigation {
    background: #2d2d2d;
    padding: 2rem 0;
    border-top: 1px solid #1a237e;
    box-shadow: inset 0 1px 0 rgba(26, 35, 126, 0.3);
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: transparent;
    color: #aaaaaa;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 300;
    border: 1px solid #1a237e;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 0 5px rgba(26, 35, 126, 0.2);
}

.nav-btn:hover {
    background: #1a237e;
    color: #1a7ce8;
    border-color: #5c6bc0;
    box-shadow: 0 0 15px rgba(92, 107, 192, 0.5);
    text-shadow: 0 0 8px #1a7ce8;
}

.nav-btn i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        position: static;
        top: auto;
    }
    
    .place-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .place-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .place-title {
        font-size: 2.5rem;
    }
    
    .place-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-overlay {
        padding: 2rem 0;
    }
    
    .place-gallery {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        gap: 1rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .place-title {
        font-size: 2rem;
    }
    
    .content-section {
        margin-bottom: 2rem;
    }
    
    .info-box,
    .related-places,
    .share-box {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .safety-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .related-item {
        flex-direction: column;
        text-align: center;
    }
    
    .related-item img {
        width: 100%;
        height: 150px;
    }
}
