/* ============================
   GLOBAL STYLES
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, Serif;
    background-color: darkgreen(144, 144, 144);
    color: gold;
}

/* ============================
   NAVIGATION BAR
============================ */
.container {
    width: 100%;
    min-height: 100vh;
    background: #ffc845;
    position: relative;
}

.nav-grid {
    display: grid;
    grid-template-columns: max-content auto max-content;
    align-items: center;
    background: linear-gradient(to bottom,
            rgba(9, 108, 9, 0.85) 20%,
            /* Dark green at top */
            rgba(4, 81, 4, 0.85) 60%,
            /* Deep shadow middle */
            rgba(5, 47, 1, 0.9) 100%
            /* Rich dark at bottom */
        );
    background-color: darkgreen;
    padding: 2px 25px;
    /* Reduced vertical padding */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.nav-left ul,
.nav-right ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    padding: 3px;
    margin: 4px;
}

.nav-left ul {
    justify-content: flex-start;
}

.nav-grid ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
    padding: 12px 12px;
    letter-spacing: 4px;
}

.nav-grid ul li a:hover {
    background-color: #000;
    border-radius: 5px;
}

.logo {
    height: 120px;
    max-width: 500px;
    object-fit: contain;
}

.logo2 {
    height: 200px;
    max-width: 400px;
    object-fit: contain;
}


.active {
    position: absolute;
    z-index: 1;
    background: #000;
    border-radius: 5px;
    transition: left 0.3s ease, width 0.2s 0.2s ease;
}

.hero-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    padding: 20px 35px;
    background: rgba(0, 0, 0, 0.5);
    /* subtle backdrop */
    /* thin gold border */
    border-radius: 10px;
    max-width: 60%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.hero-text h1 {
    font-size: 2.5rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #FFD700;
    /* gold headline */
    margin: 0 0 10px 0;
    letter-spacing: 2px;
}

.hero-text p {
    font-size: 1.3rem;
    font-family: "Calibri", sans-serif;
    color: #fff;
    margin: 0;
    font-style: italic;
    /* gives it that 'quote' feel */
    line-height: 1.5;
}



/* Responsive Navbar */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        text-align: center;
        padding: 5px 0;
    }

    nav .logo {
        margin-left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 5px;
        margin-right: 0;
    }

    nav ul li a {
        padding: 5px;
    }
}

/* ============================
   SLIDESHOW SECTION
============================ */
#slideshow1 {
    width: 100%;
    height: 850px;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

#slideshow2 {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

#slideshow3 {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 1s ease-in-out;
    display: block;
}

/* ============================
   ABOUT US SECTION
============================ */
#about h2 {
    color: darkgoldenrod;
    font-size: 28px;
    text-align: center;
    margin-top: 0;
}

/* ============================
   SERVICES & GENERAL SECTIONS
============================ */
section {
    padding: 0px 5%;
    text-align: center;
}

.box {
    background-color: #fff;
    position: relative;
    top: -80px;
    z-index: 1;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    border: 5px solid gold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #000;
    font-size: 18px;
    line-height: 1.6;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.box:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.box5 {
    background-color: #fff;
    position: relative;
    top: -500px;
    z-index: 1;
    padding: 20px;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 15px;
    border: 5px solid gold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #000;
    font-size: 1.5rem;
    line-height: 1.6;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.box5:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

#gallery_intro h2 {
    color: darkgoldenrod;
    font-size: 28px;
    text-align: center;
    margin-top: 0;
}

.box2 {
    background-color: #fff;
    position: relative;
    top: -20px;
    /* Changed to avoid potential overlap; adjust if needed */
    z-index: 1;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    border: 5px solid gold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #000;
    font-size: 18px;
    line-height: 1.6;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.box2:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* ============================
   GALLERY PAGE
============================ */
.gallery {
    text-align: center;
    padding: 50px 5%;
}

.gallery h1 {
    color: gold;
    font-size: 32px;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

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

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    margin-bottom: 10px;
    object-fit: contain;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.lightbox.show .lightbox-img {
    transform: scale(1);
    opacity: 1;
}

.lightbox-caption {
    color: white;
    font-size: 18px;
    margin-top: 15px;
    text-align: center;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    font-family: Georgia, serif;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 8px 12px;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    /* Above everything */
}


/* ============================
   CONTACT FORM
============================ */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
    background: #5d5d5d;
    outline: none;
    transition: box-shadow 0.3s ease-in-out;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 8px gold;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    background: gold;
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.contact-form button:hover {
    background: #000;
    color: gold;
    box-shadow: 0 0 10px gold;
}

.input-row {
    display: flex;
    gap: 10px;
}

.input-row input {
    flex: 1;
}

/*Contact Info Form*/

#contactInfo h2 {
    color: rgb(255, 255, 255);
    font-size: 20px;
    text-align: center;
    margin-top: 0;
}

.contactInfo textarea {
    width: 100%;
    color: darkgreen;
    outline: none;
    transition: box-shadow 0.3s ease-in-out;
}


/* ============================
   RESPONSIVE STYLES
============================ */
@media (max-width: 600px) {
    .input-row {
        flex-direction: column;
    }
}

/* ============================
   FOOTER SECTION
============================ */
/* Footer main container with dark green background */
.footer {
    background-color: #000;
    color: rgb(255, 255, 255);
    font-family: Georgia, Serif;
    margin-top: 5px;
}

.footer-container {
    background: linear-gradient(to bottom,
            rgba(12, 113, 12, 0.85) 20%,
            /* Dark green at top */
            rgba(3, 55, 3, 0.85) 100%,
            /* Deep shadow middle */
        );
    background-color: darkgreen;
    padding: 20px 10% 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Footer logo styling */
.footer-logo h2 {
    font-size: 17px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    margin-bottom: 17px;
}

/* Contact Info section: fixed spacing & alignment */
.footer-info {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 800px;
}

/* Each contact info block */
.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgb(255, 255, 255);
}

.footer-icon {
    font-size: 16px;
    margin-bottom: 2px;
}

/* Footer bottom */
.footer-bottom {
    background-color: #000;
    padding: 18px 5%;
    font-size: 12px;
    color: #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Mobile responsive tweaks */
@media (max-width: 768px) {
    .footer-info {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}