:root {
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --card-bg: #1e1e1e;
    --accent: #4a90e2;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    padding: 4rem 2rem 2rem;
    animation: fadeInDown 1s ease-out;
    width: 100%;
    max-width: 800px;
}

h1 {
    font-size: 4rem;
    margin: 0;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.weather-widget {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #ccc;
}

.weather-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.weather-value {
    font-weight: 700;
    color: #fff;
}

/* Masonry Layout */
.gallery-container {
    width: 100%;
    max-width: 1600px;
    padding: 2rem;
    box-sizing: border-box;
    columns: 3 350px; /* 3 columns, min width 350px */
    column-gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Lightbox (Modal) */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.close-btn:hover {
    opacity: 1;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .gallery-container { columns: 2 150px; padding: 1rem; }
    .weather-widget { gap: 1.5rem; font-size: 0.9rem; }
}

/* Contact Form Styles */
.contact-section {
    width: 100%;
    max-width: 600px;
    margin: 4rem 0 6rem; /* Extra bottom margin */
    padding: 2rem;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s, background 0.3s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

/* Hide honeypot field (CSP safe) */
input[name="_honey"] {
    display: none;
}
