@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

body {
    background: #fff;
    color: #222;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}

.header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.45)),
        url("images/hero.jpg") center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 90px 20px;
}

.header h1 {
    font-size: 3rem;
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.1rem;
    margin-top: 15px;
    color: #f1f1f1;
}

.cta a {
    display: inline-block;
    margin: 25px 12px 0;
    padding: 14px 36px;
    background: #c9a24d;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta a:hover {
    background: #b08d3c;
    transform: translateY(-2px);
}

section {
    padding: 90px 20px;
}

.services,
.about,
.contact {
    background: #fafafa;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
}

section h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #c9a24d;
    display: block;
    margin: 15px auto 0;
}

.services h2,
.gallery h2,
.about h2,
.contact h2 {
    text-align: center;
    margin-bottom: 30px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-grid div {
    padding: 35px 25px;
    background: #fff;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-grid div:hover {
    transform: translateY(-6px);
}


.gallery-category h3 {
    cursor: pointer;
    margin: 40px 0 15px;
    font-size: 1.4rem;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-category h3::after {
    content: "+";
    font-size: 1.6rem;
    color: #c9a24d;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.4s ease;
}

.gallery-grid.active {
    max-height: 1200px;
    /* enough for multiple rows */
    opacity: 1;
}


.gallery-grid img {
    width: 100%;
    border-radius: 10px;
}

.about p,
.contact p {
    max-width: 800px;
    margin: auto;
    text-align: center;
    line-height: 1.7;
}

footer {
    text-align: center;
    padding: 20px;
    background: #f1f1f1;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

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

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;

}

@media (max-width: 768px) {

    body {
        padding-bottom: 60px;
    }

    .header {
        padding: 120px 20px;
    }

    .header h1 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    section {
        padding: 60px 15px;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .cta a {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .service-grid {
        gap: 15px;
    }

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

    .lightbox img {
        max-width: 95%;
        max-height: 80%;
    }

    .gallery-category h3 {
        font-size: 1.2rem;
    }

}