/* Variables */
:root {
    --bg-main: #111111;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --gold-main: #ffb742;
    --gold-light: #ffd67f;
    --gold-gradient: linear-gradient(135deg, var(--gold-main), var(--gold-light));
    --glass-bg: rgba(26, 26, 26, 0.7);
    --glass-border: rgba(255, 183, 66, 0.2);
    --transition: all 0.3s ease;
}

/* Reset & Base */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-main);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Background Animation Container */
#bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 50% 0%, #2a2a2a 0%, var(--bg-main) 70%);
    opacity: 0.6;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #111;
    box-shadow: 0 4px 15px rgba(255, 183, 66, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 183, 66, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-main);
    border: 2px solid var(--gold-main);
}

.btn-secondary:hover {
    background: rgba(255, 183, 66, 0.1);
    transform: translateY(-3px);
}

.btn-wa {
    background: #25D366;
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-wa:hover {
    transform: scale(1.05);
    background: #128C7E;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: inline-flex;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold-main);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Sections */
section {
    padding: 6rem 5% 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Home / Hero */
#home {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 8rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 4px solid var(--gold-main);
    box-shadow: 0 0 30px rgba(255, 183, 66, 0.2);
    transition: var(--transition);
}

.profile-img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(255, 183, 66, 0.4);
}

/* Stats */
#stats {
    min-height: auto;
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    padding: 3rem 5%;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: var(--bg-main);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
    flex: 1;
    max-width: 300px;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-10px);
    border-color: var(--glass-border);
}

.stat-box h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Preview About */
#preview-about {
    min-height: auto;
    text-align: center;
    align-items: center;
}

.preview-content {
    max-width: 800px;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.preview-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.preview-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* About Full */
#about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.about-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Property */
.search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-bar-wrapper {
    display: flex;
    width: 100%;
    gap: 1rem;
    align-items: center;
}

.search-bar {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
}

.filter-toggle {
    display: flex;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    white-space: nowrap;
    align-items: center;
    gap: 0.5rem;
}

.search-bar i {
    position: absolute;
    left: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.search-bar input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border-radius: 50px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    font-size: 1rem;
    transition: var(--transition);
}

.search-bar input:focus {
    border-color: var(--gold-main);
    outline: none;
}

.filters {
    display: none; /* Hidden by default */
    flex-direction: column;
    width: 100%;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    gap: 1rem;
}

.filters.show {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.filters select, .filters button {
    width: 100%;
}

.filters select {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    outline: none;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.filters select:focus {
    border-color: var(--gold-main);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.property-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 183, 66, 0.15);
    border-color: var(--glass-border);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.type-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.status-badge {
    background: rgba(255, 183, 66, 0.2);
    color: var(--gold-main);
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-price {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: auto;
}

/* Contact */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-form {
    padding: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 500;
    color: var(--text-secondary);
}

.input-group input, .input-group textarea {
    padding: 1rem;
    border-radius: 10px;
    background: var(--bg-main);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.input-group textarea {
    resize: none;
    overflow-y: auto;
}

.input-group input[type="file"] {
    padding: 0.8rem;
    background: var(--bg-main);
    border: 1px dashed rgba(255,255,255,0.2);
    cursor: pointer;
}

.input-group input[type="file"]::file-selector-button {
    background: var(--gold-gradient);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    margin-right: 1rem;
    transition: var(--transition);
}

.input-group input[type="file"]::file-selector-button:hover {
    transform: scale(1.05);
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--gold-main);
    box-shadow: 0 0 10px rgba(255, 183, 66, 0.1);
}

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

.form-message {
    text-align: center;
    font-weight: 500;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    color: #4ade80;
    display: block;
}

.form-message.error {
    color: #f87171;
    display: block;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--glass-border);
}

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

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-main);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.social-icons a:hover {
    background: var(--gold-gradient);
    color: #111;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--gold-main);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--gold-gradient);
    color: #111;
    transform: translateY(-5px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    overflow: auto;
}

.modal-content {
    background-color: var(--bg-secondary);
    margin: 5% auto;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    animation: modalFadeIn 0.3s;
    overflow: hidden;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--gold-main);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

#modal-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.modal-info {
    padding: 2rem;
}

.modal-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#modal-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-info .location {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#modal-price {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.modal-desc {
    margin-bottom: 2rem;
}

.modal-desc h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-desc p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.admin-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.admin-search-input {
    padding: 0.8rem 1rem;
    border-radius: 50px;
    background: var(--bg-main);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    outline: none;
    min-width: 200px;
    flex: 1;
    max-width: 300px;
}

.admin-search-input:focus {
    border-color: var(--gold-main);
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.admin-table th, .admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-table th {
    background: rgba(255, 183, 66, 0.1);
    color: var(--gold-main);
    font-weight: 600;
}

.admin-table tr:hover {
    background: rgba(255,255,255,0.02);
}

.admin-table img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
}

.action-btns {
    display: flex;
    gap: 0.5rem;
    position: relative;
    z-index: 10;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 11;
    pointer-events: auto;
}

.btn-icon i {
    pointer-events: none;
}

.btn-icon.edit:hover { color: #4ade80; }
.btn-icon.delete:hover { color: #f87171; }

/* Responsive */
@media (max-width: 992px) {
    #home {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    
    .nav-links a {
        color: #ffffff;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: inline-flex !important;
    }
    
    .btn-wa {
        display: none; /* Hide WA button in navbar on mobile to save space, or move it to menu */
    }
    
    #stats {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .profile-img {
        width: 250px;
        height: 250px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 4rem 5% 2rem;
    }
    
    .filters.show {
        display: flex;
        flex-direction: column;
    }
    
    .filter-toggle {
        display: flex !important;
    }
    
    .admin-container {
        padding: 0 1rem;
    }
    
    .admin-table th, .admin-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .action-btns {
        display: flex;
        gap: 0.5rem;
        position: relative;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-info {
        padding: 1.5rem;
    }
    
    #modal-img {
        height: 250px;
    }
    
    #modal-title {
        font-size: 1.5rem;
    }
    
    #modal-price {
        font-size: 1.3rem;
    }

    .property-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }

    .contact-form, .modal-form {
        padding: 1.5rem;
    }

    .preview-content {
        padding: 1.5rem;
    }

    .stat-box {
        width: 100%;
        max-width: 100%;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn-primary, .btn-secondary, .btn-wa {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
    }

    .admin-container h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-actions {
        width: 100%;
        flex-direction: column;
    }

    .admin-search-input {
        width: 100%;
        max-width: 100%;
    }

    #btn-add-property {
        width: 100%;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform:scale(0.9); opacity:0}
    to {transform:scale(1); opacity:1}
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--gold-main);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    z-index: 10000;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 183, 66, 0.8);
    color: #000;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        padding: 10px;
        font-size: 20px;
    }
    .lightbox-content {
        max-width: 100%;
        max-height: 70vh;
        margin-top: 20px;
    }
}

/* Modal Gallery Navigation */
.gallery-wrapper {
    position: relative;
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.3s;
}

.gallery-nav-btn:hover {
    background: var(--gold-main);
    color: black;
}

#gallery-prev {
    left: 5px;
}

#gallery-next {
    right: 5px;
}

#modal-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    width: 100%;
}

#modal-gallery::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}
