/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5dc; /* Light beige */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    height: 60px;
}

nav {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

#nav-menu {
    list-style: none;
    display: flex;
}

#nav-menu li {
    margin-left: 30px;
}

#nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    transition: color 0.3s;
}

#nav-menu li a:hover {
    color: #d4af37; /* Gold */
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f5dc 0%, #e8e8cc 100%);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn.primary {
    background-color: #d4af37;
    color: #fff;
}

.btn.primary:hover {
    background-color: #b8860b;
}

.btn.secondary {
    background-color: #fff;
    color: #333;
    border: 2px solid #d4af37;
}

.btn.secondary:hover {
    background-color: #d4af37;
    color: #fff;
}

/* About Section */
.about {
    padding: 50px 0;
    text-align: center;
}

.about h1 {
    margin-bottom: 30px;
}

.about-logo {
    height: 400px;
    margin: 30px 0;
}

.about p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 50px 0;
}

.services h1 {
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-item h2 {
    margin-bottom: 15px;
    color: #d4af37;
}

/* Gallery Section */
.gallery {
    padding: 50px 0;
}

.gallery h1 {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .caption {
    padding: 15px;
    background-color: #fff;
}

.gallery-item h3 {
    margin-bottom: 5px;
    color: #333;
}

.gallery-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-content {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1002;
}

#caption {
    text-align: center;
    color: #ccc;
    padding: 15px 20px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile lightbox improvements */
@media (max-width: 768px) {
    .lightbox {
        padding: 15px 12px;
        /* Stack image and caption vertically on smaller screens and center them */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .lightbox-content {
        max-height: 60vh;
        width: auto;
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }

    /* Make caption readable and scrollable if long */
    #caption {
        width: calc(100% - 24px);
        max-width: 720px;
        max-height: 30vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: transparent;
        text-align: center;
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }

    #caption {
        padding: 10px 15px;
        font-size: 14px;
    }

    #caption h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    #caption p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .lightbox {
        padding: 10px;
    }

    .lightbox-content {
        max-height: 55vh;
        width: auto;
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }

    #caption {
        width: calc(100% - 20px);
        max-height: 28vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        text-align: center;
    }

    .close {
        top: 5px;
        right: 15px;
        font-size: 30px;
    }

    #caption {
        padding: 8px 10px;
        font-size: 12px;
    }

    #caption h3 {
        font-size: 14px;
    }

    #caption p {
        font-size: 12px;
    }
}

.swipe-hint {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-align: center;
    pointer-events: none;
}

@media (max-width: 768px) {
    .swipe-hint {
        display: block;
    }
}

/* Contact Section */
.contact {
    padding: 50px 0;
}

.contact h1 {
    text-align: center;
    margin-bottom: 40px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-info h2 {
    margin-bottom: 20px;
    color: #d4af37;
}

.contact-info p {
    margin-bottom: 10px;
}

.map {
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: #d4af37;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hamburger {
        display: flex;
    }

    #nav-menu {
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        display: none;
        padding: 10px;
        border-radius: 5px;
    }

    #nav-menu.show {
        display: flex;
    }

    #nav-menu li {
        margin: 10px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}