:root {
    --primary: #87ceeb; /* Sky Blue */
    --primary-dark: #5dade2;
    --accent: #00ced1; /* Dark Turquoise */
    --bg-main: #ffffff;
    --bg-sub: #f0faff; /* Very light blue tint */
    --bg-card: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(135, 206, 235, 0.3);
}

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

body {
    font-family: 'Outfit', 'Noto Serif SC', serif;
    background-color: var(--bg-sub);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Water/Crystal Background */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1) 0%, rgba(255, 255, 255, 1) 50%, rgba(0, 206, 209, 0.05) 100%);
}

/* Header - Robust Centering */
header {
    padding: 120px 0 60px;
    width: 100%;
    text-align: center;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo {
    font-size: 5rem; /* Large and impactful */
    font-weight: 800;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo span {
    font-weight: 200;
    font-size: 0.4em;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary); /* Reset for span */
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.subtitle {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 0.5em; /* Traditional aesthetic */
    margin-top: 25px;
    padding-left: 0.5em; /* Important: Offset the letter-spacing of the last character */
    opacity: 0.8;
    display: block;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 120px;
}

.image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(135, 206, 235, 0.1);
}

.image-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(135, 206, 235, 0.3);
    border-color: var(--primary);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    display: block;
    aspect-ratio: 1/1;
}

.image-card:hover img {
    transform: scale(1.1);
}

/* Overlay & Download Button */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(135, 206, 235, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-card:hover .overlay {
    opacity: 1;
}

.btn-download {
    background: #ffffff;
    color: var(--primary-dark);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.image-card:hover .btn-download {
    transform: scale(1);
}

.btn-download:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: scale(1.1) !important;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: rgba(240, 250, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(135, 206, 235, 0.4);
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    color: var(--primary-dark);
    font-size: 32px;
    cursor: pointer;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.close-btn:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: rotate(90deg);
}

.modal-info {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
}

.btn-primary {
    background: var(--primary-dark);
    color: #fff;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 15px 30px rgba(93, 173, 226, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(93, 173, 226, 0.6);
}

/* Footer */
footer {
    padding: 100px 0;
    text-align: center;
    background: #fff;
    border-top: 1px solid var(--glass-border);
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-sub);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    border: 3px solid var(--bg-sub);
}


