/* Anaokul Detay Sayfası CSS */

/* Hero Section */
.school-detail-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.school-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(230, 108, 169, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(214, 101, 160, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.school-detail-hero .container {
    position: relative;
    z-index: 2;
}

/* Hero Navigation */
.hero-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #4a5568;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(214, 101, 160, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-btn:hover {
    background: rgba(230, 108, 169, 0.1);
    color: #e66ca5;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(230, 108, 169, 0.2);
}

.school-type-badge {
    background: linear-gradient(135deg, #e66ca5, #d665a0);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(230, 108, 169, 0.3);
}

/* Hero Title Section */
.hero-title h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-subtitle > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    font-weight: 500;
}

.hero-subtitle i {
    color: #e66ca5;
    font-size: 1.1rem;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    letter-spacing: 0.025em;
}

.hero-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.hero-action-btn:hover::before {
    left: 100%;
}

.hero-action-btn i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-action-btn:hover i {
    transform: scale(1.1);
}

.hero-action-btn.website-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-action-btn.website-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    color: white;
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.hero-action-btn.phone-btn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-action-btn.phone-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(72, 187, 120, 0.4);
    color: white;
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.hero-action-btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

/* Responsive Actions */
@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-action-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
}

/* Hero Review Widget */
.hero-review-widget {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(214, 101, 160, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.review-score {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.score-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e66ca5;
}

.score-stars {
    display: flex;
    gap: 0.2rem;
}

.score-stars i {
    color: #ffd700;
    font-size: 1.2rem;
}

.score-count {
    color: #718096;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* Main Content */
.school-detail-content {
    padding: 3rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Detail Sections */
.detail-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(214, 101, 160, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: #e66ca5;
    font-size: 1.3rem;
}

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

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(230, 108, 169, 0.05);
    border-radius: 12px;
    border-left: 4px solid #e66ca5;
}

.info-item i {
    color: #e66ca5;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.info-content {
    flex: 1;
}

.info-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.25rem;
}

.info-value {
    color: #2d3748;
    font-weight: 500;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(214, 101, 160, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 108, 169, 0.15);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #e66ca5;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #718096;
    font-weight: 500;
    font-size: 0.9rem;
}

/* School Image */
.school-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.school-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, #e66ca5, #d665a0);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.contact-card .section-title {
    color: white;
}

.contact-card .section-title i {
    color: rgba(255, 255, 255, 0.8);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.contact-item i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Reviews Section */
.reviews-summary {
    background: rgba(230, 108, 169, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.rating-bars {
    margin: 1rem 0;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.bar-label {
    width: 60px;
    color: #4a5568;
    font-weight: 500;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e66ca5, #d665a0);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.bar-count {
    width: 40px;
    text-align: right;
    color: #718096;
    font-size: 0.9rem;
}

/* Review Item */
.review-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(214, 101, 160, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.review-author {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.review-date {
    color: #718096;
    font-size: 0.9rem;
}

.review-rating {
    display: flex;
    gap: 0.2rem;
}

.review-rating i {
    color: #ffd700;
}

.review-text {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #718096;
    font-size: 0.9rem;
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* Metrics Section */
.metrics-section {
    margin-bottom: 3rem;
}

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

.metric-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(214, 101, 160, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 108, 169, 0.15);
}

.metric-card.primary {
    background: linear-gradient(135deg, #e66ca5, #d665a0);
    color: white;
}

.metric-card.info {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
}

.metric-card.warning {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
}

.metric-card.success {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
}

.metric-info {
    flex: 1;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(214, 101, 160, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    overflow: hidden;
}

.info-card .card-header {
    background: linear-gradient(135deg, rgba(230, 108, 169, 0.1), rgba(214, 101, 160, 0.05));
    border-bottom: 1px solid rgba(214, 101, 160, 0.1);
    padding: 1.5rem 2rem;
}

.info-card .card-header h5 {
    margin: 0;
    font-weight: 700;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card .card-header i {
    color: #e66ca5;
    font-size: 1.2rem;
}

.info-card .card-body {
    padding: 2rem;
}

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

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h6 {
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.info-item p {
    color: #2d3748;
    margin: 0;
    line-height: 1.6;
}

/* Modern Review Section Styles */
.reviews-section-modern {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
}

.reviews-header-modern {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title-modern {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-subtitle-modern {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Review Summary Card */
.review-summary-card-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
}

.overall-rating-display-modern {
    text-align: center;
    margin-bottom: 2rem;
}

.rating-score-large {
    margin-bottom: 1rem;
}

.score-number-large {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.score-max-large {
    font-size: 1.5rem;
    opacity: 0.8;
}

.rating-stars-large {
    margin-bottom: 1rem;
}

.rating-stars-large .bi-star-fill {
    color: #ffc107;
    font-size: 1.5rem;
    margin: 0 2px;
}

.rating-count-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Rating Breakdown */
.rating-breakdown-modern {
    margin-bottom: 2rem;
}

.breakdown-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rating-bar-label-modern {
    display: flex;
    align-items: center;
    width: 40px;
    font-size: 0.9rem;
}

.star-number {
    margin-right: 5px;
}

.rating-bar-container-modern {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    margin: 0 10px;
    overflow: hidden;
}

.rating-bar-fill-modern {
    height: 100%;
    background: #ffc107;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-bar-count {
    width: 30px;
    text-align: right;
    font-size: 0.9rem;
}

/* Category Ratings */
.category-ratings-modern {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
}

.category-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.category-rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.category-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.category-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-stars .bi-star-fill {
    color: #ffc107;
    font-size: 0.8rem;
}

.category-number {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Empty Reviews Card */
.empty-reviews-card-modern {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.empty-icon {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.empty-reviews-card-modern h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-reviews-card-modern p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Review Form Card */
.review-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 2rem;
}

.review-form-header {
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
}

.review-form-header h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.review-form-header p {
    margin-bottom: 0;
    opacity: 0.9;
}

.review-form-body {
    padding: 2rem;
}

/* Modern Form Elements */
.form-group-modern {
    margin-bottom: 1.5rem;
}

.form-label-modern {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.required {
    color: #e74c3c;
}

.form-control-modern,
.form-select-modern,
.form-textarea-modern {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control-modern:focus,
.form-select-modern:focus,
.form-textarea-modern:focus {
    outline: none;
    border-color: #e91e63;
    background: white;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-textarea-modern {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Modern Rating Input */
.rating-input-container {
    text-align: center;
}

.rating-input-modern {
    margin-bottom: 0.5rem;
}

.rating-stars-input-modern {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.rating-star-modern {
    font-size: 2rem;
    color: #dee2e6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-star-modern:hover {
    color: #ffc107;
    transform: scale(1.1);
}

.rating-text {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
}

/* Submit Button */
.btn-submit-modern {
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    width: 100%;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

/* Comments Section */
.comments-section-modern {
    margin-top: 3rem;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0;
}

.comments-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-dropdown select {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    background: white;
    min-width: 150px;
}

/* Comment Cards */
.comments-list-modern {
    margin-top: 2rem;
}

.comments-container-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-card-modern {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.comment-card-modern:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.comment-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.comment-author-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar-modern {
    font-size: 2rem;
    color: #e91e63;
}

.author-info-modern {
    display: flex;
    flex-direction: column;
}

.author-name-modern {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.comment-date-modern {
    font-size: 0.85rem;
    color: #6c757d;
}

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

.rating-stars-modern .bi-star-fill {
    color: #ffc107;
    font-size: 1rem;
}

.rating-value-modern {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.comment-body-modern {
    margin-bottom: 1rem;
}

.comment-text-modern {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Category Ratings in Comments */
.comment-category-ratings-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 1rem;
}

.category-rating-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.category-name-modern {
    font-weight: 600;
    color: #495057;
}

.category-stars-modern .bi-star-fill {
    color: #ffc107;
    font-size: 0.8rem;
}

.category-score-modern {
    font-weight: 600;
    color: #2c3e50;
}

/* Comment Actions */
.comment-actions-modern {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.action-btn-modern {
    background: none;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.action-btn-modern:hover {
    background: #e91e63;
    color: white;
    border-color: #e91e63;
}

.helpful-btn-modern.helpful-marked {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.helpful-count-modern {
    font-weight: 600;
}

/* Replies */
.comment-replies-modern {
    margin-top: 1rem;
    padding-left: 2rem;
    border-left: 3px solid #e9ecef;
}

.reply-card-modern {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.reply-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.reply-author-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #495057;
}

.reply-date-modern {
    font-size: 0.8rem;
    color: #6c757d;
}

.reply-content-modern p {
    margin-bottom: 0;
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Empty Comments */
.empty-comments-modern {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #dee2e6;
}

.empty-icon-modern {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.empty-comments-modern h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-comments-modern p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* Location Info Panel Styles */
.location-info-panel {
    padding: 1.5rem;
    background: #f8f9fa;
    height: 400px;
    overflow-y: auto;
}

.location-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.location-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.location-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e91e63, #ad1457);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.location-icon i {
    color: white;
    font-size: 1.1rem;
}

.location-content {
    flex: 1;
}

.location-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-value {
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.4;
    font-size: 0.95rem;
}

/* General Info Fields */
.general-info-field {
    background: rgba(230, 108, 169, 0.03);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(214, 101, 160, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.general-info-field::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #e66ca5, #d665a0);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.general-info-field:hover {
    background: rgba(230, 108, 169, 0.06);
    border-color: rgba(214, 101, 160, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 108, 169, 0.1);
}

.general-info-field:hover::before {
    opacity: 1;
}

.general-info-field h6 {
    color: #4a5568;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.general-info-field h6::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #e66ca5, #d665a0);
    border-radius: 50%;
    display: inline-block;
}

.general-info-field p {
    color: #2d3748;
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

/* General Info Row */
.general-info-row {
    margin-bottom: 1.5rem;
}

.general-info-row:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments for general info */
@media (max-width: 768px) {
    .general-info-field {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .general-info-field h6 {
        font-size: 0.85rem;
    }
    
    .general-info-field p {
        font-size: 0.95rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-btn {
        justify-content: center;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .category-ratings .row > div {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .school-detail-hero {
        padding: 1.5rem 0 2rem;
    }
    
    .hero-navigation {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .back-btn,
    .school-type-badge {
        text-align: center;
        justify-content: center;
    }
    
    .detail-section {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-review-widget {
        padding: 1rem;
    }
    
    .review-score {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-card .card-header,
    .info-card .card-body {
        padding: 1.5rem;
    }
    
    .review-item {
        padding: 1.5rem;
    }
    
    .overall-rating {
        padding: 1.5rem;
    }
    
    .rating-value {
        font-size: 2.5rem;
    }
}

/* Smooth Transitions */
.detail-section,
.stat-card,
.review-item,
.action-btn,
.metric-card,
.info-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Focus States for Accessibility */
.back-btn:focus,
.action-btn:focus,
.helpful-btn:focus {
    outline: 2px solid #e66ca5;
    outline-offset: 2px;
}

/* Photo Gallery Styles */
.enhanced-gallery {
    margin: 1rem 0;
}

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

.photo-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.photo-item.featured {
    grid-column: span 2;
}

.photo-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.photo-item.featured .photo-wrapper {
    height: 300px;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-wrapper img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.3) 60%,
        rgba(0,0,0,0.7) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: flex-end;
}

.photo-title {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.photo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    width: fit-content;
}

.photo-badge.official {
    background: rgba(40, 167, 69, 0.9);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.photo-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.photo-meta .uploader {
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    font-weight: 500;
}

.photo-meta .date {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
}

.photo-actions {
    align-self: flex-start;
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Empty Gallery Styles */
.empty-gallery {
    padding: 3rem 2rem;
    text-align: center;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-state i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1.5rem;
}

.empty-state h6 {
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.empty-state p {
    color: #868e96;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Photo Modal Styles */
.photo-modal-content {
    position: relative;
}

.photo-modal-content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.photo-modal-info {
    padding: 1rem;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.photo-modal-info h6 {
    margin-bottom: 0.5rem;
    color: #495057;
    font-weight: 600;
}

.photo-modal-info p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Modern Lightbox Styles */
.modern-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-lightbox.active {
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
}

.lightbox-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #f8f9fa;
}

.lightbox-info {
    padding: 20px;
    background: white;
}

.lightbox-info h5 {
    margin: 0 0 10px 0;
    color: #333;
    font-weight: 600;
}

.lightbox-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.lightbox-meta span {
    display: flex;
    align-items: center;
}

.lightbox-meta i {
    margin-right: 5px;
}

.lightbox-info p {
    margin: 10px 0;
    color: #555;
    line-height: 1.5;
}

.lightbox-counter {
    text-align: center;
    margin-top: 10px;
}

.lightbox-counter span {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Gallery Grid Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item.featured {
    grid-column: span 2;
}

.gallery-item.gallery-hidden {
    display: none;
}

.gallery-item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.gallery-item.featured .gallery-item-image {
    height: 300px;
}

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

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

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

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

.gallery-item-overlay i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.gallery-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.gallery-badge.official {
    background: #28a745;
    color: white;
}

.gallery-item-info {
    padding: 15px;
}

.gallery-item-meta {
    margin-bottom: 8px;
}

.gallery-item-description {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.gallery-show-more {
    text-align: center;
    padding: 20px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lightbox-container {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .lightbox-close {
        top: -40px;
        right: 0;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-info {
        padding: 15px;
    }
    
    .lightbox-image {
        max-height: 60vh;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    
    .gallery-item.featured {
        grid-column: span 1;
    }
    
    .gallery-item-image {
        height: 160px;
    }
    
    .gallery-item.featured .gallery-item-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .lightbox-prev {
        left: 10px;
        top: 10px;
        transform: none;
    }
    
    .lightbox-next {
        right: 10px;
        top: 10px;
        transform: none;
    }
    
    .lightbox-close {
        top: 10px;
        right: 60px;
    }
}
