﻿/* Shared Styles from Index */
:root {
    --brand-lightest: #EBEDEA;
    --brand-light: #CAD2C5;
    --brand-medium: #84A98C;
    --brand-teal: #52796F;
    --brand-darkTeal: #354F52;
    --brand-darkest: #2F3E46;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    margin: 0;
}

.playfair {
    font-family: 'Playfair Display',serif !important
}
/* Navbar states */
#navbar {
    transition: background-color .35s ease,backdrop-filter .35s ease,box-shadow .35s ease
}

.nav-transparent {
    background-color: transparent;
    box-shadow: none
}

.nav-glass {
    background-color: rgba(0, 105, 92, 0.5);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 24px rgba(0,0,0,.2);
    border-bottom: 1px solid rgba(235,237,234,.08)
}

/* Animated visibility */
.nav-visible {
    opacity: 1 !important;
    transform: translateY(0) !important
}

.nav-hidden {
    opacity: 0 !important;
    transform: translateY(-6px) !important
}

/* Nav link underline + color states */
.nav-link {
    position: relative;
    transition: color .25s ease,opacity .25s ease
}

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -4px;
        left: 0;
        background-color: currentColor;
        transition: width .25s ease
    }

    .nav-link:hover::after {
        width: 100%
    }

.nav-dark {
    color: var(--brand-teal) !important
}

.nav-light {
    color: var(--brand-lightest) !important
}

.nav-icon {
    transition: transform .2s ease,opacity .2s ease,color .25s ease
}

.icon-dark {
    color: var(--brand-teal) !important
}

.icon-light {
    color: var(--brand-lightest) !important
}

.nav-icon:hover {
    transform: scale(1.08);
    opacity: .85
}

#navbar-logo {
    transition: opacity .3s ease,transform .3s ease
}

/* Drawer (outside navbar) */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(2px);
    z-index: 98;
    display: none
}

.drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 18rem;
    background: rgba(53,79,82,.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
    z-index: 99;
    display: none;
    flex-direction: column;
    padding-top: 6rem;
    padding-bottom: 1.5rem
}

.drawer-item {
    border-bottom: 1px solid rgba(235,237,234,.18);
    color: var(--brand-lightest);
    padding: .75rem 1.5rem
}

    .drawer-item:last-child {
        border-bottom: none
    }

.drawer-close {
    position: absolute;
    top: 18px;
    right: 18px;
    color: var(--brand-lightest);
    font-size: 1.25rem
}

@keyframes drawerIn {
    0% {
        transform: translateX(-100%);
        opacity: 0
    }

    100% {
        transform: translateX(0);
        opacity: 1
    }
}

.drawer-enter {
    animation: drawerIn .35s ease-out forwards
}

/*.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
    border-radius: 9999px;
    background-color: var(--brand-darkTeal);
    color: var(--brand-lightest);
    box-shadow: 0 16px 32px rgba(0,0,0,.28);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease,transform .25s ease;
    z-index: 60
}

    .scroll-top.visible {
        opacity: 1;
        pointer-events: auto;
        animation: fadeScaleIn .4s ease-out forwards
    }*/

/*.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #354F52;*/ /* brand teal */
    /*color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 9999;
    pointer-events: auto !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .scroll-top.show {
        opacity: 1;
        visibility: visible;
    }*/

    .scroll-top:hover {
        transform: translateY(-3px) scale(1.04)
    }

/* Ensure icon anchors are compact and centered */
#navbar .nav-icon,
#navbar a i.fa-brands {
    line-height: 1;
}

/* Prevent stray text spacing around icons */
#navbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger lines light */
#mobile-menu-btn.light span {
    background-color: var(--brand-lightest);
}

/* Logo filter if using same asset */
.logo-light {
    filter: brightness(0) invert(1);
}

/* Dark vs light states */
.nav-dark {
    color: var(--brand-teal) !important;
}

.nav-light {
    color: var(--brand-lightest) !important;
}

.icon-dark {
    color: var(--brand-teal) !important;
}

.icon-light {
    color: var(--brand-lightest) !important;
}

/* Logo filter if you use same asset */
.logo-light {
    filter: brightness(0) invert(1);
}

.border-brand-light {
    border-color: var(--brand-light);
}
/* Ensure staggered bounce looks smooth */
.animate-bounce {
    animation: bounce 1.5s infinite;
}

/* Animation Utilities */
/* Explicitly defining keyframes here to ensure CSS visibility */
@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-active {
    animation: fadeInUp 0.8s ease-out forwards;
}

.dark-gradient-bg {
    background: linear-gradient(135deg, #2F3E46 0%, #354F52 50%, #52796F 100%);
}

.faq-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

    .faq-card:hover {
        border-color: #84A98C;
        background: rgba(255, 255, 255, 0.05);
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 1s cubic-bezier(1, 0, 1, 0);
    padding-top: 1rem;
}

.faq-item.active .chevron-icon {
    transform: rotate(180deg);
    color: #84A98C;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}


/* Parallax Background */
.parallax-bg {
    background-image: url('/img/contact-bg.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}

.overlay {
    background: linear-gradient(to bottom, rgba(47, 62, 70, 0.75), rgba(53, 79, 82, 0.95));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.glass-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.input-field {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

    .input-field:focus {
        background: rgba(255, 255, 255, 0.1);
        border-color: #84A98C;
        outline: none;
        box-shadow: 0 0 0 2px rgba(132, 169, 140, 0.2);
    }

.error-msg {
    color: #ff6b6b;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in {
    animation: slideIn 0.8s ease-out forwards;
}

/* Custom Success Modal */
#success-message {
    display: none;
    animation: slideIn 0.5s ease-out;
}
