.gallery img {
    width: 300px;
    height: auto;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;

    /* Carved wood frame */
    padding: 6px; /* creates space for the frame */
    background: #3b2f23; /* deep wood base tone */
    border: 3px solid #c7b08a; /* light wood edge */

    /* Carved effect */
    box-shadow:
        inset 0 0 4px rgba(0,0,0,0.5),      /* inner shadow (carved look) */
        inset 0 0 10px rgba(0,0,0,0.3),     /* deeper inner grain */
        0 4px 10px rgba(0,0,0,0.6);         /* outer drop shadow */
}





/* --------------------------------------------------
   CA SQUARE ADMIN BUTTON (NEW)
-------------------------------------------------- */
.ca-btn-square {
    width: 34px;
    height: 34px;
    background: #000;
    color: #fff;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.ca-btn-square:hover {
    background: #111;
    border-color: #666;
}




/* --------------------------------------------------
   GLOBAL RESET
-------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: black;
    color: #eee;
    line-height: 1.5;
}

/* --------------------------------------------------
   BACKGROUND IMAGE (OPTIONAL)
-------------------------------------------------- */
/*
body {
  background: 
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("img/26.jpg") no-repeat center center fixed;
  background-size: cover;
}
*/

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
.header {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 20px;
    text-align: center;
}

.header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* --------------------------------------------------
   NAVIGATION
-------------------------------------------------- */
.nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.nav a {
    color: #eee;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.2s ease;
}

.nav a:hover {
    opacity: 0.7;
}

/* --------------------------------------------------
   INTRO TEXT
-------------------------------------------------- */
.intro {
    text-align: center;
    padding: 10px 20px;
    font-size: 1.1rem;
}

/* --------------------------------------------------
   GALLERY FOLDER BOX
-------------------------------------------------- */
.gallery-folder {
    text-align: center;
    margin: 20px 0;
}

.text-box {
    border: 2px solid white;
    padding: 15px;
    display: inline-block;
    border-radius: 8px;
    text-align: center;
}

/* --------------------------------------------------
   PREMIUM FLEXBOX GALLERY (OPTION A)
-------------------------------------------------- */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
}

.gallery img {
    width: 300px;
    height: auto;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.gallery img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/* --------------------------------------------------
   MODAL (LIGHTBOX)
-------------------------------------------------- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    text-align: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}
