@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;500;700&family=Rubik:wght@400;500;700&display=swap');

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

body {
    font-family: 'Karla', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #010101;
}

a {
    color: #0085ff;
    text-decoration: none;
}

a:hover {
    color: #3aa0ff;
}

/* Header */
header {
    background: #010101;
    padding: 2.5rem 0 0;
    text-align: center;
    border-bottom: none;
}

.site-logo {
    display: inline-block;
}

.site-logo img {
    max-width: 450px;
    width: 100%;
    height: auto;
}

.logo-divider {
    max-width: 450px;
    margin: 1.5rem auto 0;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.4);
}

.tagline {
    color: #94a3b8;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-top: 0.75rem;
    text-align: center;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Rubik', sans-serif;
    color: #ffffff;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.25rem 0 0.4rem;
}

p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

ul {
    margin: 1rem 0 1rem 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Homepage two-column layout */
.home-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.home-text h3:first-of-type {
    margin-top: 0.5rem;
}

/* Photo mosaic */
.home-photos {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.photo-main {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 4px;
}

.photo-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.photo-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
}

.photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.photo-thumb img:hover {
    filter: grayscale(0%);
}

/* Homepage gallery section */
.home-gallery {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
}

/* Dynamic gallery grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.gallery-item:hover img {
    filter: grayscale(0%);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.92);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

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

/* Make clickable images show pointer */
.photo-main, .photo-thumb, .gallery-item {
    cursor: pointer;
}

/* Gallery empty state */
.gallery-empty {
    color: #94a3b8;
    text-align: center;
    padding: 2rem 1rem;
}

/* Contact bar */
.contact-bar {
    margin-top: 3rem;
    padding: 2rem;
    background: #0f172a;
    border-radius: 4px;
    text-align: center;
}

.contact-bar h3 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    color: #94a3b8;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.contact-phone {
    display: block;
    font-size: 1.8rem;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.contact-phone:hover {
    color: #0085ff;
}

.contact-email {
    display: block;
    font-size: 1.1rem;
    color: #94a3b8;
    transition: color 0.3s;
}

.contact-email:hover {
    color: #ffffff;
}

/* Footer */
footer {
    background: #010101;
    color: #555;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: none;
    font-size: 0.8rem;
}

.footer-contact {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #94a3b8;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .home-layout {
        grid-template-columns: 1fr;
    }

    .home-photos {
        order: -1;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .contact-phone {
        font-size: 1.4rem;
    }
}
