/*
Theme Name: Child Elementor
Template: hello-elementor
*/

/* ==========================
Base Reset
========================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #222;
}

.hidden {
	display: none !important;
}

/* ==========================
Header
========================== */

.site-header {
    width: 100%;
    background: #F8F6E9;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
	
	position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-inline: clamp(15px, 5vw, 120px);
    min-height: 80px;
}

/* Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;

    text-decoration: none;
    color: inherit;
}

.logo-wrapper h2 {
    margin: 0;
    color: #696969 !important;
    transition: color 0.2s ease;
}

.logo-wrapper:hover h2 {
    color: #1A1A1A !important;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img,
.custom-logo {
    width: 64px;
    height: auto;
    display: block;
}

/* Navigation */
.main-navigation .nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;

    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    position: relative;
    display: inline-block;
    color: #696969 !important;
    text-decoration: none;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0.75rem 0;
    transition: color 0.2s ease;
}

/* Underline */
.main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.45rem; /* Adjust to move the line closer/farther from the text */
    width: 100%;
    height: 2px;
    background: #1A1A1A;

    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hover */
.main-navigation a:hover {
    color: #1A1A1A !important;
}

.main-navigation a:hover::after {
    transform: scaleX(1);
}

/* Current page */
.current-menu-item > a {
    color: #1A1A1A !important;
}

.current-menu-item > a::after {
    transform: scaleX(1);
}

/* ==========================
   Footer
========================== */

.site-footer {
    background: #1A1A1A;
    color: #F8F6E9;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 5rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(2rem, 5vw, 6rem);

    padding: clamp(3rem, 5vw, 5rem) clamp(15px, 5vw, 120px);
}

/* ==========================
   Logo
========================== */

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;

    text-decoration: none;
    color: inherit;
}

.footer-logo-wrapper img {
    width: 64px;
    height: auto;
    display: block;
}

.footer-logo-wrapper h2 {
    margin: 0;
    color: #F0F0F0 !important;
    font-size: 2rem;
    transition: color .25s ease;
}

.footer-logo-wrapper:hover h2 {
    color: #FFFFFF !important;
}

/* ==========================
   Links
========================== */

.footer-links h4 {
    margin-bottom: 1rem;
    color: #F0F0F0 !important;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: .75rem;
}

.footer-menu .current-menu-item > a {
    color: var(--e-global-color-primary) !important;
}

.footer-menu .current-menu-item > a:hover {
    color: var(--e-global-color-5758e89) !important;
}

.footer-menu a,
.footer-legal a {
    position: relative;
    text-decoration: none;
    transition: color .25s ease-in-out;
}

/* ==========================
   Bottom Bar
========================== */

.copy-content {
    display: flex;
    justify-content: center;
    align-items: center;
	gap: 8px;

    padding: 1.25rem clamp(15px, 5vw, 120px);

    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-copy p {
    margin: 0;
    color: rgba(248,246,233,.6);
    font-size: .9rem;
}

/* ==========================
   Responsive
========================== */

/* Tablet */
@media (max-width: 1024px) {

    .footer-container {
        gap: 3rem;
        padding-inline: clamp(15px, 4vw, 60px);
    }

    .footer-logo-wrapper h2 {
        font-size: 1.8rem;
    }

    .footer-links {
        min-width: 180px;
    }

}


/* Mobile */
@media (max-width: 767px) {
	.logo-wrapper h2 {
		display: none;
	}
	
	.main-navigation .nav-menu {
		gap: 1.5rem;
	}
	
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .footer-logo-wrapper h2 {
        font-size: 1.75rem;
    }

    .footer-links {
        width: 100%;
    }

    .footer-menu li {
        margin-bottom: .65rem;
    }

    .copy-content {
        flex-direction: column;
        gap: .75rem;
        text-align: center;
    }

    .footer-copy,
    .footer-legal {
        width: 100%;
        text-align: center;
    }

}