/* This makes your gallery look like a real art exhibition */
.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #faf9f6; /* Off-white 'paper' color */
    padding: 20px;
}

.art-entry {
    width: 90%;
    max-width: 800px;
    margin-bottom: 50px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
}

.art-card img {
    width: 100%;
    height: auto;
    border: 10px solid white; /* Adds a frame look */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-radius: 2px;
}
/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: center;
    padding: 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

/* Smooth scrolling is key for internal links */
html {
    scroll-behavior: smooth;
}

.content-section {
    padding: 6rem 0;
    border-top: 1px solid var(--glass-white);
    margin-top: 4rem;
}

.content-section h2 {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 2rem;
}

/* General Page Styling */
body {
    background-color: #0f172a; /* Deep dark blue/black */
    color: #f8fafc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

/* Navigation Menu */
ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

ul li a {
    text-decoration: none;
    color: #38bdf8; /* Bright tech blue */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

ul li a:hover {
    color: #f0f9ff;
    border-bottom: 2px solid #38bdf8;
}

/* Typography */
h1 {
    font-size: 3.5rem; /* Slightly larger for impact */
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(to right, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* This adds the "Glow" effect */
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
    text-shadow: 0 0 20px rgba(129, 140, 248, 0.3);
}


/* This ensures all artwork titles are dark and visible */
h1, h2, h3, h4, h5, h6 {
    color: #0f172a !important; /* Deep Navy Blue */
    text-align: center;
    margin-top: 15px;
    display: block;
}

p {
    text-align: center;
    font-style: italic;
    color: #334155; /* Changed to a dark slate gray for perfect readability */
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* This makes the labels like Date, Technique, and Time look bold and dark */
p strong, p i {
    color: #1e293b; 
    font-weight: 700;
}

/* The 3-Column Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Forces exactly 3 columns */
    gap: 25px; /* Space between the 3 columns */
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Art Item with Transparency and Glow */
.art-item {
    position: relative;
    background: rgba(255, 255, 255, 0.05); /* Transparent background */
    border: 1px solid rgba(56, 189, 248, 0.3); /* Semi-transparent blue border */
    border-radius: 12px;
    padding: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* The Pop Glow Hover Effect */
.art-item:hover {
    transform: scale(1.08); /* Pops outward */
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6); /* Cyan glow */
    z-index: 10;
}

.art-item img {
    width: 100%;
    height: 350px; /* Fixed height for a clean grid */
    object-fit: cover; /* Crops images to fit perfectly without stretching */
    border-radius: 8px;
    display: block;
}

/* Responsive: 2 columns on tablets, 1 on phones */
@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

h1, h2 {
    /* The gradient colors (adjust hex codes to match your preference) */
    background: linear-gradient(to bottom, #7DD3FC, #3B82F6);
    
    /* This makes the background only show up where the letters are */
    -webkit-background-clip: text;
    background-clip: text;
    
    /* This hides the original solid color of the text */
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* Styling to match the photo */
    font-weight: bold;
    text-align: center;
    font-family: sans-serif;
    margin: 20px 0;
}

#backToTop {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed position in the corner */
  bottom: 30px; 
  right: 30px; 
  z-index: 99; /* Keeps it above other elements */
  border: none; 
  outline: none; 
  background-color: #1a1a2e; /* Dark background */
  color: #80c1ff; /* Light blue text */
  cursor: pointer; 
  padding: 15px; 
  border-radius: 50%; /* Makes it a circle */
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(128, 193, 255, 0.4); /* Subtle blue glow */
  transition: 0.3s; /* Smooth hover effect */
}

#backToTop:hover {
  background-color: #80c1ff;
  color: #1a1a2e;
  box-shadow: 0 0 25px rgba(128, 193, 255, 0.8);
}

/* Lightbox Background */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 15, 26, 0.9);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* The Enlarged Image */
.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px var(--accent-blue);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-main);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: var(--accent-blue);
}

.poetry-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
}

.poem-card {
    background: var(--glass-white);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    transition: all 0.4s ease;
}
.poem-title {
    color: var(--accent-blue);
    font-family: 'Playfair Display', serif; /* A classic serif font looks great for poetry */
    font-size: 2rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

.poem-lines p {
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.poem-date {
    display: block;
    margin-top: 25px;
    color: var(--text-dim);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
background: ;
