/* Structural Reset Rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    
    /* 1. Link your background picture */
    background-image: url('img/logo.jpg'); 
    
    /* 2. Freeze the background picture in place */
    background-attachment: fixed; 
    
    /* 3. Ensure the image covers the entire screen space */
    background-size: cover; 
    
    /* 4. Center the background picture */
    background-position: center; 
    
    /* 5. Prevent the picture from tiling/repeating */
    background-repeat: no-repeat; 
}


.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header Navbar Layout */
.navbar {
    background: #fff;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: DimGray;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white !important;
}

a, a:visited {
    color: DimGray !important;
    text-decoration: none;
    transition: color 0.2s;
}

/* Main Section Frameworks */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

/* Hero Screen UI */
.hero {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 7rem 0;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.15rem;
    color: #aaa;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: #fff;
    color: #111;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.9;
}

/* Responsive CSS Grid Gallery */
.gallery-section {
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 6px;
    background-color: #eee;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.04);
}

/* About Layout Block */
.about-section {
    background: #f4f4f4;
    text-align: center;
}

.about-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

/* Interactive Lightbox Overlay */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 85%;
    max-height: 75vh;
    border-radius: 4px;
    animation: zoomIn 0.25s ease;
}

#lightbox-caption {
    color: #ccc;
    margin-top: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
}

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

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

/* Footer Section styling */
footer {
    background: #111;
    color: #777;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* Change your gallery background from solid white to transparent */
.gallery-section {
    background: transparent;
}

/* Change your about background from light gray to a semi-transparent card block */
.about-section {
    background: rgba(255, 255, 255, 0.35); /* Semi-transparent white overlay */
    backdrop-filter: blur(5px); /* Optional: Blurs the background image behind the text */
    text-align: center;
}