:root {
    --bg-color: #121212;
    --text-color: #ffffff;
    --accent-color: #d4af37; /* Luxury Gold */
    --card-bg: #1e1e1e;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    border-bottom: 1px solid #2a2a2a;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--accent-color);
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-color);
}

.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('hero-bg.jpg') center/cover;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 18px;
    color: #888;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: transform 0.2s;
}

.btn:hover {
    transform: scale(1.05);
}

.gallery {
    padding: 60px 5%;
    text-align: center;
}

.gallery h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--accent-color);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--card-bg);
    padding: 40px 20px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: #555;
    border-top: 1px solid #2a2a2a;
}


.card {
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    overflow: hidden; /* Keeps the image corners rounded */
    display: flex;
    flex-direction: column;
}

.gallery-img {
    width: 100%;
    height: 350px; /* Increased height to give the full subject room */
    object-fit: contain; /* Prevents cropping by fitting the entire image inside the frame */
    background-color: #161616; /* Adds a dark backing for portrait/varying image aspect ratios */
    transition: transform 0.5s ease;
}


.card:hover .gallery-img {
    transform: scale(1.05); /* Subtle zoom effect on hover */
}

.card-content {
    padding: 20px;
    text-align: left;
}

.card-content h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: var(--text-color);
}

.card-content p {
    margin: 0;
    font-size: 14px;
    color: #888;
}

/* Card Pointer Cursor */
.card {
    cursor: pointer;
}

/* Lightbox Background Overlay */
.lightbox {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95); /* Deep dark luxury fallback overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Show Lightbox when Active */
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

/* Full Screen Image Constraints */
.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    border: 1px solid #2a2a2a;
}

/* Caption Text */
#lightbox-caption {
    margin-top: 20px;
    font-size: 20px;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 500;
}

/* Elegant Close Button */
.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 200;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--accent-color);
}

/* Standalone About Page Formatting */
.about-page-main {
    padding: 100px 5%;
    min-height: 70vh; /* Keeps the footer pushed down neatly */
    display: flex;
    align-items: center;
}

.active-nav {
    color: var(--accent-color) !important;
    font-weight: bold;
}
