/* =============================================
   MADAME SOPHIE BAKERY - STYLESHEET
   Mobile First Responsive Design
   ============================================= */

/* =============================================
   RESET E BASE
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-brown: #6d4c41;
    --secondary-brown: #5d4037;
    --dark-brown: #3e2723;
    --gold: #c9a961;
    --light-bg: #f8f5f0;
    --cream: #e0d7c7;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-strong);
}

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

/* =============================================
   MESSAGES
   ============================================= */
.message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--secondary-brown) 100%);
    color: var(--light-bg);
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

.site-footer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4em;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-info {
    margin: 25px 0;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.footer-info a {
    color: var(--gold);
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--white);
}

.piva {
    margin-top: 15px;
    font-size: 0.9em;
    opacity: 0.9;
}

.copyright {
    margin-top: 20px;
    font-size: 0.85em;
    opacity: 0.8;
}

.admin-link {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 169, 97, 0.3);
}

.admin-link a {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9em;
}

.admin-link a:hover {
    color: var(--white);
}

/* =============================================
   GALLERIA
   ============================================= */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--cream);
    border-radius: 25px;
    color: var(--secondary-brown);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
    font-size: 0.95em;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h3 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.gallery-item-overlay p {
    color: var(--light-bg);
    font-size: 0.85em;
    line-height: 1.4;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--gold);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-info {
    text-align: center;
    margin-top: 20px;
    color: var(--white);
}

.lightbox-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.lightbox-info p {
    font-size: 0.95em;
    opacity: 0.9;
}

/* Frecce navigazione GRANDI */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    background: rgba(201, 169, 97, 0.95);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 4em;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2001;
    box-shadow: 0 6px 30px rgba(0,0,0,0.4);
    font-weight: 300;
    line-height: 1;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-nav:hover {
    background: rgb(201, 169, 97);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(1.05);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 70px;
        height: 70px;
        font-size: 3em;
    }
    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }
}

/* Frecce navigazione lightbox */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(201, 169, 97, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2em;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

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

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

.lightbox-nav:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

/* Mobile: frecce dentro l immagine */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.8em;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

/* =============================================
   ADMIN AREA
   ============================================= */
.admin-header {
    background: var(--dark-brown);
    color: var(--white);
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    color: var(--gold);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.admin-nav a {
    padding: 10px 20px;
    background: var(--gold);
    color: var(--dark-brown);
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.admin-nav a:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.admin-table {
    width: 100%;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    margin-bottom: 30px;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--primary-brown);
    color: var(--white);
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
}

.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--cream);
    font-size: 0.9em;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background: var(--light-bg);
}

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

.btn {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark-brown);
}

.btn-primary:hover {
    background: #b89451;
    transform: translateY(-2px);
}

.btn-danger {
    background: #d32f2f;
    color: var(--white);
}

.btn-danger:hover {
    background: #b71c1c;
}

.btn-success {
    background: #388e3c;
    color: var(--white);
}

.btn-success:hover {
    background: #2e7d32;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8em;
}

.action-btns {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

/* Login Form */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow-strong);
    max-width: 400px;
    width: 100%;
    border-top: 5px solid var(--gold);
}

.login-box h1 {
    margin-bottom: 30px;
    font-size: 1.8em;
}

/* =============================================
   RESPONSIVE - TABLET (min-width: 768px)
   ============================================= */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    
    .container {
        padding: 40px 30px;
    }
    
    .info-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .map-container {
        height: 400px;
    }
    
    .contact-form {
        padding: 40px 35px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .gallery-item img {
        height: 300px;
    }
    
    .hamburger {
        width: 55px;
        height: 55px;
    }
    
    .toast-menu {
        width: 400px;
    }
}

/* =============================================
   RESPONSIVE - DESKTOP (min-width: 1024px)
   ============================================= */
@media (min-width: 1024px) {
    h1 {
        font-size: 3em;
    }
    
    .description {
        font-size: 1.2em;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .gallery-item img {
        height: 350px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 15px;
        font-size: 1em;
    }
}

/* =============================================
   RESPONSIVE - LARGE DESKTOP (min-width: 1440px)
   ============================================= */
@media (min-width: 1440px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-brown);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* =============================================
   HAMBURGER MENU BUTTON
   ============================================= */
.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background: var(--primary-brown);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px var(--shadow-strong);
    transition: transform 0.3s ease, background 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.05);
    background: var(--secondary-brown);
}

.hamburger:active {
    transform: scale(0.95);
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* =============================================
   TOAST MENU
   ============================================= */
.toast-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.toast-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.toast-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--secondary-brown) 100%);
    z-index: 1002;
    padding: 30px 20px;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -5px 0 25px var(--shadow-strong);
}

.toast-menu.active {
    right: 0;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25px;
    height: 3px;
    background: var(--gold);
    transition: all 0.3s ease;
}

.menu-close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-close:hover span {
    background: var(--white);
}

.menu-logo {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
}

.menu-logo h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.decorative-line-menu {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 0 auto;
}

.menu-items {
    list-style: none;
    margin: 40px 0;
}

.menu-items li {
    margin-bottom: 5px;
}

.menu-items a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    color: var(--light-bg);
    font-size: 1.1em;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.menu-items a:hover {
    background: rgba(201, 169, 97, 0.2);
    transform: translateX(5px);
}

.menu-items a.active {
    background: var(--gold);
    color: var(--dark-brown);
    font-weight: 700;
}

.menu-icon {
    font-size: 1.3em;
    min-width: 30px;
}

.menu-footer {
    text-align: center;
    color: var(--cream);
    font-size: 0.9em;
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(201, 169, 97, 0.3);
}

.menu-footer p {
    margin-bottom: 8px;
}

/* =============================================
   MAIN CONTENT
   ============================================= */
.main-content {
    min-height: calc(100vh - 250px);
}

/* =============================================
   HEADER IMAGE
   ============================================= */
.header-image {
    width: 100%;
    display: block;
    box-shadow: 0 4px 6px var(--shadow);
}

/* =============================================
   CONTAINER
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    text-align: center;
    color: var(--primary-brown);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px var(--shadow);
}

h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-brown);
    margin-bottom: 15px;
    font-size: 1.6em;
}

.decorative-line {
    width: 150px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 20px auto;
}

.description {
    text-align: center;
    font-size: 1.05em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--secondary-brown);
    font-weight: 300;
    line-height: 1.8;
}

/* =============================================
   INFO CARDS
   ============================================= */
.info-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
    border-top: 4px solid var(--gold);
}

.info-card h2 {
    font-size: 1.5em;
}

.info-card p {
    margin-bottom: 10px;
}

.orari-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 15px;
    margin-top: 15px;
    font-size: 0.95em;
}

.orario-day {
    font-weight: 600;
}

.chiuso {
    color: #d32f2f;
    font-weight: 700;
}

/* =============================================
   MAP
   ============================================= */
.map-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    margin-bottom: 40px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-form {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
    max-width: 600px;
    margin: 0 auto 40px;
    border-top: 4px solid var(--gold);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8em;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-brown);
    font-weight: 500;
    font-size: 0.95em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--cream);
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

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

.submit-btn {
    background: linear-gradient(135deg, var(--primary-brown) 0%, #8d6e63 100%);
    color: var(--white);
    padding: 14px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-strong);
}

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

/* =============================================
   MESSAGES
   ============================================= */
.message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--secondary-brown) 100%);
    color: var(--light-bg);
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

.site-footer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4em;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-info {
    margin: 25px 0;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.footer-info a {
    color: var(--gold);
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--white);
}

.piva {
    margin-top: 15px;
    font-size: 0.9em;
    opacity: 0.9;
}

.copyright {
    margin-top: 20px;
    font-size: 0.85em;
    opacity: 0.8;
}

.admin-link {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 169, 97, 0.3);
}

.admin-link a {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9em;
}

.admin-link a:hover {
    color: var(--white);
}

/* =============================================
   GALLERIA
   ============================================= */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--cream);
    border-radius: 25px;
    color: var(--secondary-brown);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
    font-size: 0.95em;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h3 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.gallery-item-overlay p {
    color: var(--light-bg);
    font-size: 0.85em;
    line-height: 1.4;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--gold);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-info {
    text-align: center;
    margin-top: 20px;
    color: var(--white);
}

.lightbox-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.lightbox-info p {
    font-size: 0.95em;
    opacity: 0.9;
}

/* =============================================
   ADMIN AREA
   ============================================= */
.admin-header {
    background: var(--dark-brown);
    color: var(--white);
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    color: var(--gold);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.admin-nav a {
    padding: 10px 20px;
    background: var(--gold);
    color: var(--dark-brown);
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.admin-nav a:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.admin-table {
    width: 100%;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    margin-bottom: 30px;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--primary-brown);
    color: var(--white);
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
}

.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--cream);
    font-size: 0.9em;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background: var(--light-bg);
}

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

.btn {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark-brown);
}

.btn-primary:hover {
    background: #b89451;
    transform: translateY(-2px);
}

.btn-danger {
    background: #d32f2f;
    color: var(--white);
}

.btn-danger:hover {
    background: #b71c1c;
}

.btn-success {
    background: #388e3c;
    color: var(--white);
}

.btn-success:hover {
    background: #2e7d32;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8em;
}

.action-btns {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

/* Login Form */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow-strong);
    max-width: 400px;
    width: 100%;
    border-top: 5px solid var(--gold);
}

.login-box h1 {
    margin-bottom: 30px;
    font-size: 1.8em;
}

/* =============================================
   RESPONSIVE - TABLET (min-width: 768px)
   ============================================= */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    
    .container {
        padding: 40px 30px;
    }
    
    .info-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .map-container {
        height: 400px;
    }
    
    .contact-form {
        padding: 40px 35px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .gallery-item img {
        height: 300px;
    }
    
    .hamburger {
        width: 55px;
        height: 55px;
    }
    
    .toast-menu {
        width: 400px;
    }
}

/* =============================================
   RESPONSIVE - DESKTOP (min-width: 1024px)
   ============================================= */
@media (min-width: 1024px) {
    h1 {
        font-size: 3em;
    }
    
    .description {
        font-size: 1.2em;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .gallery-item img {
        height: 350px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 15px;
        font-size: 1em;
    }
}

/* =============================================
   RESPONSIVE - LARGE DESKTOP (min-width: 1440px)
   ============================================= */
@media (min-width: 1440px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}