:root {
    --bg-color: #fffbf5;
    --primary-color: #C9A961;
    --primary-hover: #B89952;
    --text-dark: #3D3D3D;
    --text-light: #7A7A7A;
    --text-white: #FFFBF5;
    --hover-bg: #F0EBE3;
    --border-color: #C9A961;
    --header-color: #ede7dc;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}
html, body {
    background-color: var(--bg-color);
    font-family: system-ui, sans-serif;
    margin: 0;
    padding: 0;
    height:100%;
}
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*--------NAVIGATION---------*/
.head-bar {
    position: sticky;
    top: 0;
    display: flex;
    background-color: var(--header-color);
    width:100%;
    height: 80px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;

}
.nav-container {
    min-width: 65%;
    max-width: 75rem;
    display: flex;
    margin-inline: auto;
    align-items: center;
    justify-content: space-between;
}
.container
{
    min-width: 65%;
    max-width: 75rem;
    margin: 0 auto;

}
.logo-link img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

.nav-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;

}

/*for responsive padding goes to 0*/

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-text h1 {
    font-size: 1.325rem;
    color: var(--text-dark);
    font-weight: 600;
}

.logo-text p {
    font-size: 0.875rem;
    color: var(--text-light);
}
.nav-link-container{
    display: flex;
    align-items: center;
    padding: 0 3rem;

}

@media (min-width: 768px) {.nav-link {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    order: 1;
}}
.nav-link i{
    margin-left: -1rem;

}

.nav-link a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.5rem 1.15rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    background: transparent;

}

/* Update this section in your style.css */
.nav-link a.active,
.dropbtn.active,
.lang-btn a.active {
    background-color: var(--primary-color) !important;
    color: var(--text-white) !important;
}
.nav-link a.active + i,
.dropbtn.active + i {
    color: var(--text-white) !important;
}


.header-img
{
    height: 400px;
}

/* fix this later, need to figure out how to make active */
.nav-link.active, .dropdown-btn.active {
    background-color: var(--primary-color);
    color: var(--text-white);
}

/* Dropdown Menu*/
.dropdown {
    position: relative;

}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    min-width: 180px; /* updated min-width */
    flex-direction: column;
    z-index: 50;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
}
.dropdown-content a {
    padding: 0.5rem 1rem;
}
.dropdown:hover .dropdown-content {
    display: flex;

}
.dropdown-content a:hover {
    background-color: var(--header-color);

}

/* End-dropdown Menu */
.nav-links-container {
    display: flex;
}

.lang-btn
{
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    border: none;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--text-white);
    order: 2;

}
.lang-btn i{
    margin-right: -0.5rem;
    padding-left: 1rem;
}
.lang-btn a{
    color: var(--text-white);
    text-decoration: none;
    padding-right: 1rem;
    padding-left: 1rem;

}

.lang-btn:hover {
    background-color: var(--primary-hover);
}

.header-img
{
    width:100%;
}
/* Hamburger (mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background-color: var(--primary-color);
    border: 10px solid var(--primary-color);
    border-radius: 7px;
    cursor: pointer;
    order: 3;
}
.hamburger span {
    width: 15px;
    height: 2px;
    background: white;
}

@media (max-width: 768px) {
    .nav-link i {
        display: none !important;
    }
    .hamburger {
        display: flex;
        flex-direction: column;
        order: 2; !important

    }

    .lang-btn {
        order: 1; !important
        display: flex;

    }
    .lang-btn i{
        padding-left: -1rem;
    }
    .lang-btn a{
        padding-right: -1rem;
        text-decoration: none;
    }
    .nav-link {
        order: 3; !important
    }
    .bar {
        width: 25px;
        height: 3px;
        background-color: #333;
        transition: 0.4s; /* Smooth animation */
    }
    .nav-links-container {
        display: flex;
        flex-wrap: wrap;         /* Allows menu to drop to a new line */
        justify-content: flex-end;
        gap: 0.5rem;
    }
    /* The "X" State (Triggered by JS) */
    .hamburger.is-active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .hamburger.is-active .bar:nth-child(2) {
        opacity: 0; /* Hide middle bar */
    }
    .hamburger.is-active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    .nav-container
    {
        justify-content: space-between;
        width: 100%;
        padding-right: 1rem;
        position: relative;
        display: flex;
        flex-wrap: wrap;
        height: auto; !important;
    }
    .nav-inner {
        padding: 0 1rem;
        flex: 1;

    }

    #navLinks {
        position: absolute;
        top: 100%; /* Positions it right under the header */
        left: 0;
        width: 100%;
        background: var(--bg-color);
        display: none; /* Hidden by default */
        flex-direction: column;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        order: 3;
    }

    #navLinks.active {
        display: flex;

    }

    .dropdown-content {
        display: none;
        flex-direction: column;
        padding-left: 1rem;
        gap: 0.5rem;

    }
    .dropdown-content a {
        display: block;    /* This forces each link onto its own new line */
        width: 100%;       /* Ensures the clickable area spans the whole width */
        padding: 12px 25px; /* Makes them easier to tap with a thumb */
        box-sizing: border-box;
    }
    .dropdown.active .dropdown-content {
        display: flex;

    }
    .dropdown-content {
        display: none;       /* Keep it hidden until clicked */
        position: static;    /* This is the magic: it stays in the flow! */
        width: 100%;
        background-color: #fcfcfc; /* Lightly different color so it looks nested */
        padding-left: 20px;  /* Indent the sub-links */
        box-shadow: none;    /* Remove the "floating" shadow */
    }

    .dropdown.active .dropdown-content {
        display: block;      /* Pushes the next main menu item down */
    }

    .header-img{
        height: 300px;
        display:block;
        object-fit: cover;
        width: 100%;
    }
}



/*----------END NAVIGATION---------*/



/*----------FOOTER-----------*/
.footer {
    padding: 3rem 0;
    background-color: var(--header-color);
    padding-left: 1rem;

}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 2fr auto;
    margin-bottom: 2rem;
    padding-right: 15px;
    padding-left: 30px;

}

.footer-section {
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    margin-top: -1rem;
}

.logo-img {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
}

.temple-name {
    font-size: 1.5rem;
    line-height: 2rem;
    color: #3D3D3D;
    font-weight: 600;
}

.description {
    font-size: 1.125rem;
    line-height: 1.625;
    color: #7A7A7A;
}

.section-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: #3D3D3D;
    margin-bottom: 1rem;
    font-weight: 600;
	justify-content:center;
	    display: flex;
	align-items:center;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
	justify-content:center;
	align-items:center;
}

.info-list li {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #7A7A7A;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid #C9A961;

}

.copyright {
    font-size: 1.125rem;

    color: #7A7A7A;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .footer-section {
        padding: 20px 0;

    }
    .footer-bottom {
        margin: 0 auto;
        width: 90%;
    }


}
/*-------------END FOOTER--------------*/

/*----------Responsive part-----------*/

/*----------End Responsive part-------*/