



/* Header Styles */
.header {
    background: linear-gradient(135deg, #1a4a69 0%, #ae0841 100%);
    color: white;
    padding: 25px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 3px solid white;
    background: white;
}

.library-info h1 {
    font-size: 28px;   
    font-weight: 600;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    opacity: 0.95;
}

.separator {
    color: rgba(255,255,255,0.5);
}

.header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.rating-box {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 8px;
}

.rating-number {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

.stars {
    font-size: 14px;
    margin: 5px 0;
}

.reviews {
    font-size: 12px;
    opacity: 0.9;
}

.action-buttons {
    display: flex;
    gap: 12px;
}
  

/* Navigation Tabs */
.nav-tabs {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.tabs {
    display: flex;
    list-style: none;
    gap: 0;
    overflow-x: auto;
}

.tab-item {
    padding: 15px 19px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid #00000000;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-right: 1px solid #e2e2e2;
}

.tab-item:hover {
    color: #5e81ac;
    background: #f8f9fa;
}

    .tab-item.active {
        color: #E91E63;
        border-bottom-color: #3F51B5;
        background: #f8f9fa;
    }

/* Main Content */
.main-content {
    padding: 10px 0;
}

.content-wrapper {
    display: grid;
     gap: 30px;
}

.tab-content {
    display: none;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(94, 129, 172, 0.1);
}

.tab-content.active {
    display: block;
}

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

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

.loading {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 18px;
}

/* Professional Circular Loader */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 60px 20px;
}

.circular-loader {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #5e81ac;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* Skeleton Loader (Alternative) */
.skeleton-loader {
    padding: 30px;
}

.skeleton-line {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 15px;
}

.skeleton-line.title {
    height: 30px;
    width: 60%;
    margin-bottom: 25px;
}

.skeleton-line.short {
    width: 80%;
}

.skeleton-line.medium {
    width: 90%;
}

.skeleton-box {
    height: 150px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 15px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* About Us Styles */
.about-content h2 {
    color: #2e3440;
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #5e81ac, #81a1c1);
    border-radius: 2px;
}

.about-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #5e81ac 0%, #81a1c1 100%);
    color: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(94, 129, 172, 0.3);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: transform 0.5s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(94, 129, 172, 0.4);
}

.stat-card:hover::before {
    transform: scale(1.2);
}

.stat-number {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 14px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* Amenities Styles */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.amenity-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #5e81ac;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.amenity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #5e81ac, #81a1c1);
    transition: width 0.3s ease;
}

.amenity-card:hover {
    transform: translateX(5px) translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 129, 172, 0.2);
    border-left-color: #81a1c1;
}

.amenity-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.amenity-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.amenity-card:hover .amenity-icon {
    transform: scale(1.1) rotate(5deg);
}

.amenity-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #2e3440;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.amenity-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Gallery Styles */
.gallery-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #2e3440;
    position: relative;
    padding-bottom: 15px;
}

.gallery-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #5e81ac, #81a1c1);
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(94, 129, 172, 0.3), rgba(129, 161, 193, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.4), transparent);
    color: white;
    padding: 20px 15px 15px;
    font-weight: 600;
    font-size: 15px;
    z-index: 2;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-label {
    padding-bottom: 20px;
}

/* Seat Availability Styles */
.seats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.seats-header h2 {
    font-size: 24px;
    color: #2e3440;
    font-weight: 600;
}

.date-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.date-selector label {
    font-weight: 500;
    color: #555;
}

.date-selector input {
    padding: 10px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.date-selector input:focus {
    outline: none;
    border-color: #5e81ac;
    box-shadow: 0 0 0 3px rgba(94, 129, 172, 0.1);
}

.seats-grid {
    display: grid;
    gap: 20px;
}

.seat-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.seat-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #5e81ac, #81a1c1);
}

.seat-section:hover {
    border-color: #5e81ac;
    box-shadow: 0 6px 20px rgba(94, 129, 172, 0.15);
    transform: translateY(-2px);
}

.seat-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2e3440;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.availability {
    display: flex;
    gap: 25px;
    align-items: center;
}

.seat-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.seat-status {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
}

.seat-status::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(255,255,255,0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.seat-section:hover .seat-status::before {
    opacity: 1;
}

.available {
    background: linear-gradient(135deg, #a3be8c, #8ab77a);
    color: white;
}

.occupied {
    background: linear-gradient(135deg, #bf616a, #d08770);
    color: white;
}

.total-seats {
    color: #666;
    font-size: 13px;
    margin-top: 8px;
    font-style: italic;
}

.btn-book {
    margin-top: 20px;
    background: linear-gradient(135deg, #5e81ac, #81a1c1);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(94, 129, 172, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-book::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-book:hover::before {
    width: 300px;
    height: 300px;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 129, 172, 0.4);
}

.btn-book:active {
    transform: translateY(0);
}

.btn-book:disabled {
    background: linear-gradient(135deg, #ccc, #ddd);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-book:disabled:hover {
    transform: none;
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.sidebar-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.sidebar-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2e3440;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.sidebar-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #5e81ac, #81a1c1);
    border-radius: 2px;
}

.btn-orange {
    background: linear-gradient(135deg, #ff6b35, #ff8555);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-orange::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-orange:hover::before {
    width: 300px;
    height: 300px;
}

.btn-orange:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.btn-blue {
    background: linear-gradient(135deg, #5e81ac, #81a1c1);
    color: white;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(94, 129, 172, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-blue::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-blue:hover::before {
    width: 300px;
    height: 300px;
}

.btn-blue:hover {
    box-shadow: 0 6px 20px rgba(94, 129, 172, 0.4);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    display: block;
}

.contact-info p {
    margin-bottom: 12px;
    color: #555;
    font-size: 14px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #5e81ac;
    transition: all 0.3s ease;
}

.contact-info p:hover {
    background: #e8eef4;
    transform: translateX(3px);
}

.map-placeholder {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.map-placeholder:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.map-placeholder img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.map-placeholder:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
     }
    
    
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-actions {
        align-items: flex-start;
        width: 100%;
        display:none;
    }
    
    .action-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .btn {
        
    }
    
    .library-info h1 {
        font-size: 22px;
    }
    
    .meta-info {
        flex-wrap: wrap;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}





