/* Compact filter dropdowns for photography modal */
.compact-filter {
    min-width: 150px;
    max-width: 150px;
    width: 150px;
    font-size: 1rem;
    padding: 0.3rem 0.7rem;
    height: auto;
    max-height: 810px; /* Increased from 540px to 810px */
    min-width: 320px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-align: left;
    border-radius: 0!important;
}

/* Experiments Modal Row Consistent Height */
.experiment-item {
    min-height: 170px;
    align-items: stretch !important;
    display: flex;
}

[v-cloak] {
    display: none;
}

/* Screen reader only text */
.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;
}

.html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #F7F7F7;
    font-family: 'Quicksand', sans-serif;
    overflow: hidden;
}
.interest-link:hover, .interest-link:focus {
    color: #fff !important;
    background: #23272f;
    box-shadow: 0 4px 20px rgba(35,39,47,0.18);
    border-color: #23272f;
    outline: 2px solid #23272f;
    transform: translateY(-2px);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s, outline 0.3s;
}
 
 .rating-stars .fa-star.filled {
    color: #f59e0b;
}
h1 {
    font-size: 64px;
    font-weight: 700;
}

h4 {
    font-size: 28px;
    font-weight: 200;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}


.interest-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    color: white;
    background: rgba(0,0,0,0.1);
    text-decoration: none;
    min-width: 140px;
    font-size: 1.15rem;
    font-weight: 600;
    gap: 12px;
    border: 2px solid transparent;
}
.interest-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 0;
    background: #23272f;
    z-index: 0;
    transition: height 0.3s cubic-bezier(.4,0,.2,1);
}
.interest-link:hover, .interest-link:focus {
    color: #fff;
    background: #23272f;
    box-shadow: 0 4px 20px rgba(35,39,47,0.18);
    border-color: #23272f;
    transform: translateY(-2px);
}
.interest-link:hover::after, .interest-link:focus::after {
    height: 100%;
}
.interest-link img {
    width: 36px;
    height: 36px;
    margin: 0 8px 0 0;
    transition: filter 0.2s;
    z-index: 1;
}
.interest-link:hover img, .interest-link:focus img {
    filter: brightness(0) invert(1);
}
.interest-link span, .interest-link img {
    position: relative;
    z-index: 1;
}

.jumbotron{
    height: 100vh;
}

.jumbotron {
    background: no-repeat center right fixed url(../img/background.jpg);
    background-color: #62585499;
    background-blend-mode: soft-light;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin-bottom: 0px;
    padding: 0px;
}

.jumbotron .container {
    position: relative;
    top: 28%;
    z-index: 4;
    text-align: center;
}

.jumbotron .container > * {
    text-align: center;
    color: #FFFFFF;
}

.portrait-container {
    margin-bottom: 20px;
}

.portrait-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: #4d2822;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-radius: 130px !important;
    transform: scale(1.1);
}

.portrait-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.jumbotron .container h1 {
    margin-bottom: 20px;
    display: inline-block;
}

.jumbotron .container h4 a {
    color: white;
    cursor: pointer;
}

.jumbotron .container h4 a:hover {
    text-decoration: underline;
}

#backgroundcredit {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    color: #adadaf;
    font-size: 9px;
}

#social {
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 999;
    list-style-type:none;
    padding: 0;
}

#social li a {
    text-decoration: none;
    background: #4d2822;
    border: solid 1px #ffffff33;
    color: white;
    border-radius: 50px!important;
    font-size: 18px;
    line-height: 40px;
    text-align: center;
    width: 40px;
    height: 40px;
    margin: 5px;
    float: left;
    margin-right: -5px;
}

#social li a:hover {
    background: #bd2130;
    color: white;
}

/* Login Button Styles */
.login-button {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    background: #4d2822;
    border: solid 1px #ffffff33;
    color: white;
    border-radius: 25px !important;
    font-size: 14px;
    font-weight: 400;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.login-button:hover {
    background: #bd2130;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.login-button i {
    margin-right: 8px;
}

/* Food Section Overlay */
.food-section-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(77, 40, 34, 0.3) 0%, 
        rgba(98, 88, 84, 0.4) 50%, 
        rgba(0, 0, 0, 0.5) 100%);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease-out;
}

.food-section-content {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(25px) saturate(1.2);
    -webkit-backdrop-filter: blur(25px) saturate(1.2);
    border-radius: 20px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    box-shadow: 
        0 32px 64px rgba(77, 40, 34, 0.3),
        0 16px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(77, 40, 34, 0.1);
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(77, 40, 34, 0.3) 0%, 
        rgba(98, 88, 84, 0.4) 50%, 
        rgba(0, 0, 0, 0.5) 100%);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(12px) saturate(1.3);
        -webkit-backdrop-filter: blur(12px) saturate(1.3);
    }
}

.modal-content {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.75) 0%, 
        rgba(255, 255, 255, 0.65) 100%);
    backdrop-filter: blur(25px) saturate(1.2);
    -webkit-backdrop-filter: blur(25px) saturate(1.2);
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    box-shadow: 
        0 32px 64px rgba(77, 40, 34, 0.3),
        0 16px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(77, 40, 34, 0.1);
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 160px 30px, rgba(255, 255, 255, 0.3), transparent);
    pointer-events: none;
    opacity: 0.6;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, 
        #4d2822 0%, 
        #6b3a2f 50%, 
        #5a2e24 100%);
    color: white;
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 12px rgba(77, 40, 34, 0.3);
    position: relative;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.login-form {
    padding: 40px 32px;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    color: #4d2822;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Quicksand', sans-serif;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0.9;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(77, 40, 34, 0.15);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        inset 0 2px 4px rgba(77, 40, 34, 0.05),
        0 4px 8px rgba(0, 0, 0, 0.05);
}

.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(77, 40, 34, 0.15);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        inset 0 2px 4px rgba(77, 40, 34, 0.05),
        0 4px 8px rgba(0, 0, 0, 0.05);
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

.form-group textarea:focus {
    outline: none;
    border-color: #4d2822;
    box-shadow: 
        0 0 0 4px rgba(77, 40, 34, 0.15),
        0 8px 16px rgba(77, 40, 34, 0.2),
        inset 0 2px 4px rgba(77, 40, 34, 0.1);
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px) scale(1.02);
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 35px;
}

.btn-login, .btn-cancel {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-login {
    background: linear-gradient(135deg, #4d2822 0%, #6b3a2f 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(77, 40, 34, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, #3d1f1a 0%, #5a2e24 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(77, 40, 34, 0.4);
}

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

.btn-cancel {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 2px solid rgba(108, 117, 125, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-cancel:hover {
    background: rgba(108, 117, 125, 0.2);
    color: #495057;
    border-color: rgba(108, 117, 125, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Food Section Styles */
.food-section-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.food-section-content {
    background: white;
    border-radius: 20px;
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.food-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #4d2822 0%, #6b3a2f 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.food-section-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

.food-close {
    background: none;
    border: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.food-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(90deg);
}

/* Food Filters */
.food-filters {
    display: flex;
    gap: 15px;
    padding: 30px 40px;
    background: #f8fafc;
    border-bottom: 1px solid lightgray;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #64748b;
    font-size: 14px;
    font-family: 'Quicksand', sans-serif;
    min-width: 150px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #4d2822;
    box-shadow: 0 0 0 3px rgba(77, 40, 34, 0.1);
}

.clear-filters-btn {
    padding: 10px 15px;
    border: 1px solid #ef4444;
    border-radius: 8px;
    background: #ef4444;
    color: white;
    font-size: 14px;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.clear-filters-btn:hover {
    background: #dc2626;
    border-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Public Restaurant Grid */
.public-restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    padding: 30px 40px;
    flex: 1;
    overflow-y: auto;
}

.public-restaurant-card {
    background: white;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.public-restaurant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.restaurant-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.restaurant-actions {
    display: flex;
    gap: 8px;
}

.map-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: #3b82f6;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.map-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    background: #2563eb;
}

.restaurant-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-score {
    font-size: 24px;
    font-weight: 700;
    color: #f59e0b;
}

.rating-stars {
    display: flex;
    gap: 2px;
}
.rating-stars .fa-star.filled {
    color: #f59e0b;
}

.restaurant-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.restaurant-cuisine {
    font-size: 13px;
    color: #7c3aed;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.restaurant-description {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
}

.restaurant-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.restaurant-location:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.restaurant-location i {
    color: #ef4444;
    font-size: 16px;
}

.restaurant-meta {
    display: flex;
    justify-content: flex-end;
}

.price-range {
    font-weight: 600;
    color: #10b981;
    font-size: 16px;
}

/* Responsive Design for Food Section */
@media (max-width: 768px) {
    .food-section-content {
        width: 98%;
        height: 95vh;
    }
    
    .food-section-header {
        padding: 20px 25px 15px;
    }
    
    .food-section-header h2 {
        font-size: 24px;
    }
    
    .food-filters {
        padding: 20px 25px;
        border-bottom: 1px solid lightgray;
        flex-direction: column;
    }
    
    .filter-select {
        min-width: unset;
        width: 100%;
    }
    
    .public-restaurant-grid {
        grid-template-columns: 1fr;
        padding: 20px 25px;
        gap: 20px;
        flex: 1;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .food-section-overlay {
        padding: 10px;
    }
    
    .food-section-header {
        padding: 15px 20px;
    }
    
    .food-filters {
        padding: 15px 20px;
        border-bottom: 1px solid lightgray;
    }
    
    .public-restaurant-grid {
        padding: 15px 20px;
    }
    
    .public-restaurant-card {
        padding: 20px;
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .login-form {
        padding: 20px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .login-button {
        bottom: 20px;
        left: 20px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Photography Modal Styles */
.photo-filters {
    padding: 20px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e2e8f0;
}

.tag-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tag-btn {
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    cursor: pointer;
    border-radius: 25px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tag-btn:hover {
    background: #4d2822 !important;
    color: white !important;
    border-color: #4d2822 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 40, 34, 0.3);
}

.tag-btn.active {
    background: #4d2822 !important;
    color: white !important;
    border-color: #4d2822 !important;
    box-shadow: 0 4px 12px rgba(77, 40, 34, 0.3);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 32px;
    max-height: 70vh;
    overflow-y: auto;
}

.photo-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.photo-image-container {
    width: 100%;
    aspect-ratio: 16/9;
    height: 180px;
    min-height: 120px;
    max-height: 220px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.photo-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    background: #222;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(77, 40, 34, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.photo-expand-icon {
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.photo-info {
    padding: 16px;
}

.photo-description {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.photo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.photo-tag {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.photo-tag-more {
    font-size: 12px;
    color: #64748b;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

/* Photo Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

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

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

.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(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-nav:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-image-container {
    width: 80vw;
    max-width: 960px;
    aspect-ratio: 16/9;
    height: auto;
    max-height: 540px;
    min-width: 320px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.lightbox-image {
    width: 100%;
    height: 100%;
    max-width: 1440px; /* Increased from 960px to 1440px */
    max-height: 810px; /* Increased from 540px to 810px */
    object-fit: contain;
    aspect-ratio: 16/9;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: #222;
}

.lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
}

.lightbox-counter {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-info {
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 8px;
}

.lightbox-description {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Quicksand', sans-serif;
}

.lightbox-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.lightbox-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-family: 'Quicksand', sans-serif;
}

/* Responsive adjustments for lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .lightbox-counter {
        top: 10px;
        left: 10px;
        transform: none;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-info {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 15px;
    }
    
    .lightbox-description {
        font-size: 16px;
    }
    
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        padding: 20px;
    }
    
    .photo-filters {
        padding: 15px 20px;
    }
    
    .tag-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

.lightbox-image-placeholder {
    width: 70vw;
    height: 60vh;
    min-width: 300px;
    min-height: 200px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.lightbox-placeholder-icon {
    color: #b0b0b0;
    font-size: 64px;
    opacity: 0.7;
}