/**
 * Custom stylesheet for the location management system
 * Theme: Modern Web 3.0 with Persian language support
 */

/* General Styles */
body {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* RTL text direction adjustments */
.rtl {
    direction: rtl;
    text-align: right;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
}

/* Cards styling */
.card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

/* Location grid */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Button styles */
.btn {
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b5fe2 0%, #1c3fad 100%);
    transform: translateY(-2px);
}

/* Admin panel styles */
.sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #4e73df 0%, #224abe 100%);
    color: white;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    font-size: 0.9rem;
    border-radius: 5px;
    margin: 0.2rem 0;
}

.sidebar .nav-link:hover, 
.sidebar .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link i {
    margin-left: 0.5rem;
    width: 20px;
    text-align: center;
}

/* Single location page */
.location-header {
    position: relative;
    padding: 2rem 0;
    color: #fff;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/header-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.location-gallery img {
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-info-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.location-info-item h4 {
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Video player */
.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin: 2rem 0;
}

.video-container video {
    width: 100%;
    display: block;
}

/* Admin forms */
.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .card-img-top {
        height: 180px;
    }
}

/* Animation effects */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} 