/* ==========================================
   GLOBAL & RESET STYLES
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    padding: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
    text-align: center;
    padding: 50px 20px 30px;
    display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  padding: 20px 0;
  gap: 15px;
}

.header-logo {
  height: 50px; 
  width: auto;  
  display: block;
}

header h1 {
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 2.2rem;
    margin-bottom: 8px;
}

header p {
    color: #666;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
}

nav a {
    text-decoration: none;
    color: #777;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.2s;
}

nav a:hover, nav a.active {
    color: #000;
    font-weight: 600;
}

main {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* ==========================================
   1. GALLERY MASONRY (INDEX.HTML)
   ========================================== */
.masonry-gallery {
    column-count: 3;
    column-gap: 25px;
}

@media (max-width: 900px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-gallery {
        column-count: 1;
    }
}

.asset {
    position: relative;
    margin-bottom: 25px;
    break-inside: avoid;
    overflow: hidden;
    background-color: #f9f9f9;
}

.gallery-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.gallery-item-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.caption {
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 300;
    line-height: 1.4;
}

.asset:hover .overlay {
    opacity: 1;
}

.asset:hover img {
    transform: scale(1.03);
}

/* ==========================================
   2. COMMISSION SERVICES (COMMISSION.HTML)
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}

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

.service-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-details h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.service-details .price {
    font-size: 0.95rem;
    color: #276749;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-details p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-commission {
    display: inline-block;
    text-align: center;
    padding: 10px 15px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background 0.2s;
}

.btn-commission:hover {
    background: #333;
}

/* ==========================================
   3. AUTHENTICATOR SECTION
   ========================================== */
.auth-wrapper {
    border-top: 1px solid #eaeaea;
    padding-top: 60px;
}

.auth-container {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    text-align: center;
}

.auth-input-group {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.auth-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 0.95rem;
    outline: none;
    text-transform: uppercase;
}

.auth-input-group button {
    padding: 12px 24px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s;
}

.auth-input-group button:hover {
    background: #333;
}

.auth-result {
    margin-top: 25px;
    text-align: left;
    display: none;
    padding: 20px;
    border-radius: 4px;
}

.auth-result.valid {
    background-color: #f4fdf8;
    border: 1px solid #c6f6d5;
}

.auth-result.invalid {
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    text-align: center;
    color: #e53e3e;
}

.status-badge {
    display: inline-block;
    background: #276749;
    color: white;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 3px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.auth-details img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    margin-top: 12px;
    border-radius: 3px;
}

/* ==========================================
   4. ABOUT PAGE & FOOTER
   ========================================== */
.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
}

.contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact-info a {
    color: #1a1a1a;
    text-decoration: underline;
    font-weight: 500;
}

footer {
    text-align: center;
    padding: 60px 0 30px;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #eaeaea;
    margin-top: 50px;
}
/* ==========================================
   5. LIGHTBOX MODAL STYLES
   ========================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
    padding: 20px;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 2px;
}

.lightbox-caption {
    color: #ffffff;
    margin-top: 15px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    font-weight: 300;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}

.lightbox-close:hover {
    color: #bbb;
}