/* =================================================================
   GSAP Off-Canvas Header — Elementor Widget Styles
   ================================================================= */

:root {
    --gsap-offcanvas-bg: #0a0a0a;
    --gsap-brand: #a89f91;
    --gsap-font: 'Lora', sans-serif;
}

/* --- Widget wrapper --------------------------------------------- */
.gsap-widget-wrapper {
    display: block;
    width: 100%;
}

/* --- Header bar -------------------------------------------------- */
.gsap-site-header {
   
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 1rem 3vw;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: none;
    z-index: 11;
    position: relative;
}

/* ── Transparent mode (for homepage) ──
   Enable via the widget's "Transparent Header" toggle.
   When user scrolls → JS adds .is-scrolled → white bg kicks in.   */
.gsap-site-header.gsap-header-transparent {
    background-color: transparent;
    color: #ffffff;
}

.gsap-site-header.gsap-header-transparent .gsap-line {
    background-color: #ffffff;
}

.gsap-site-header.gsap-header-transparent .gsap-search-btn {
    color: #ffffff;
}

.gsap-site-header.gsap-header-transparent .gsap-logo-text {
    color: #ffffff;
}

/* When scrolled down — override transparent back to solid white */
.gsap-site-header.is-sticky {
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
     transform: translateY(-100%);
  opacity: 0;
  animation: slideDown 0.5s ease forwards;
   
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}



/* --- 3 columns --------------------------------------------------- */
.gsap-header-col {
    display: flex;
    align-items: center;
}

.gsap-header-left {
    justify-content: flex-start;
}

.gsap-header-center {
    justify-content: center;
}

.gsap-header-right {
    justify-content: flex-end;
}

/* --- Logo -------------------------------------------------------- */
.gsap-logo-text {
    font-family: var(--gsap-font);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
    transition: color 0.4s ease;
}

.gsap-logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.gsap-logo .custom-logo {
    height: 36px;
    width: auto;
}

.gsap-logo-img {
    height: 36px;
    width: auto;
}

/* --- Hamburger --------------------------------------------------- */
.gsap-site-header button {
    background-color: transparent;
    border: none;
    outline: none;
}
.gsap-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.gsap-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1a1a1a;
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.8, 0, 0.2, 1),
        background-color 0.4s ease !important;
}

.gsap-menu-toggle.active .gsap-line:nth-child(1) {
    transform: translateY(5.75px) rotate(45deg);
}

.gsap-menu-toggle.active .gsap-line:nth-child(2) {
    transform: translateY(-5.75px) rotate(-45deg);
}

/* --- Search button ----------------------------------------------- */
.gsap-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.25s ease, color 0.4s ease;
}

.gsap-search-btn:hover {
    color: #000;
    background: none;
}

/* ================================================================
   OVERLAYS — appended to <body> by JS
================================================================ */

/* --- Full-screen Search Overlay --------------------------------- */
.gsap-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100000;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gsap-search-overlay.is-open {
    pointer-events: auto;
}

/* Close × */
.gsap-search-close {
    position: absolute;
    top: 2rem;
    right: 5vw;
    background: none;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    padding: 8px;
    opacity: 0.35;
    transition: opacity 0.25s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
}

.gsap-search-close:hover {
    background: none;
    opacity: 1;
    transform: rotate(90deg);
    color: #000;
}

/* Center wrapper */
.gsap-search-inner {
    width: 90%;
    max-width: 720px;
}

.gsap-search-hint {
    font-family: var(--gsap-font);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

/* Form row */
.gsap-search-form {
    display: flex;
    align-items: center;
    border-bottom: 1.5px solid #1a1a1a;
    padding-bottom: 0.75rem;
}

.gsap-search-form .gsap-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--gsap-font);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    color: #1a1a1a;
    padding: 0.25rem 0;
    outline: none;
    caret-color: var(--gsap-brand);
    border: none;
}

.gsap-search-input::placeholder {
    color: rgba(0, 0, 0, 0.18);
}

.gsap-search-submit {
    background: none;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    opacity: 0.45;
    transition: opacity 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
    transition: 0.5s all;
}

.gsap-search-submit:hover {
    opacity: 1;
    transform: translateX(4px);
    background: #adadad;
}

/* --- Off-canvas menu panel -------------------------------------- */
.gsap-offcanvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--gsap-offcanvas-bg);
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 0 5vw;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

.gsap-menu-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* --- Nav items -------------------------------------------------- */
.gsap-main-nav {
    flex-grow: 1;
}

.gsap-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gsap-nav-item {
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.gsap-nav-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--gsap-font);
    font-size: clamp(1.8rem, 2.5vw, 3.2rem);
    font-weight: 300;
    line-height: 1;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.4s ease, transform 0.4s ease;
    text-transform: uppercase;
}

.gsap-nav-link:hover,
.gsap-nav-link.gsap-active-color {
    color: #8c7a66;
    transform: translateX(10px);
}

.gsap-icon {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    margin-left: 2rem;
    font-weight: 300;
    line-height: 1;
    margin-top: -5px;
    transition: transform 0.4s ease;
}

/* Sub-nav */
.gsap-sub-nav {
    list-style: none;
    display: none;
}

.gsap-sub-nav-item {
    margin-top: 1rem;
    overflow: hidden;
}

.gsap-sub-nav-link {
    display: inline-block;
    font-family: var(--gsap-font);
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.5s ease, transform 0.5s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gsap-sub-nav-link:hover {
    color: var(--gsap-brand);
}

/* Menu footer */
.gsap-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: right;
    margin-bottom: 2rem;
}

.gsap-menu-footer p {
    font-size: 0.9rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.gsap-menu-footer .contact_title {
        font-family: "Open Sans", Sans-serif;
    font-size: 16px;
    color: #8C7A66;
    font-weight: 300;
    letter-spacing: 0.5px;
}
.gsap-menu-footer a, .gsap-menu-footer .contact_info {
    font-family: var(--gsap-font);
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.gsap-menu-footer a:hover {
    color: var(--gsap-brand);
}

.gsap-socials {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.gsap-socials a {
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 900px) {
    .gsap-menu-container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        height: 100%;
        gap: 4rem;
        padding-top: 150px;
    }

    .gsap-menu-footer {
        text-align: left;
    }

    .gsap-socials {
        justify-content: flex-start;
    }
}