/* ============================= */
/* GOOGLE MATERIAL SYMBOLS       */
/* ============================= */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* ============================= */
/* GRADIENTS & UTILITIES         */
/* ============================= */
.signature-gradient {
    background: linear-gradient(to right, #1b1a1b, #302f30);
}

.text-editorial {
    letter-spacing: 0.15rem;
    text-transform: uppercase;
}

/* ============================= */
/* GLASS NAV                     */
/* ============================= */
.glass-nav {
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Ensure EVERY link inside the navbar is white */
.glass-nav a {
    color: #ffffff !important;
}

/* ============================= */
/* ADVANCED NAV LINKS            */
/* ============================= */
.nav-link-modern {
    position: relative;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    display: inline-block;
    padding: 8px 0;
    
    /* Smooth, high-end easing for the text expansion */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Advanced Hover Effect - The Text */
.nav-link-modern:hover {
    transform: translateY(-2px);
    letter-spacing: 0.22rem;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.8),
        0 0 16px rgba(255, 255, 255, 0.4);
}

/* Advanced Hover Effect - The Animated Sweep Underline */
.nav-link-modern::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ffffff;
    
    /* Starts invisible and scaled to 0 on the right */
    transform: scaleX(0);
    transform-origin: right;
    
    /* Premium luxury curve for the draw effect */
    transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* On hover, scale to 100% originating from the left */
.nav-link-modern:hover::before {
    transform: scaleX(1) !important;
    transform-origin: left;
}

/* ============================= */
/* ACTIVE/CLICK STATE            */
/* ============================= */
.nav-link-modern:active {
    transform: scale(0.96) translateY(0);
    transition: all 0.1s ease;
}


/* ============================= */
/* GLASS EFFECT FOR GHL FORM     */
/* ============================= */

#_builder-form {
    backdrop-filter: blur(15px) !important;
}
 
#form-full_name .field-label {
    color: #ffffff !important;
}

/* ============================= */
/* FUNKY CTA HOVER EFFECT        */
/* ============================= */
@keyframes jiggle {
    0% { transform: rotate(-1deg); }
    50% { transform: rotate(1deg) scale(1.05); }
    100% { transform: rotate(-1deg); }
}

a[href*="wa.me"]:hover {
    animation: jiggle 0.3s infinite;
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

/* ============================= */
/* WHATSAPP WIDGET               */
/* ============================= */
.whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: transparent; 
    width: 80px; /* Increased size */
    height: 80px; /* Increased size */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-icon {
    width: 100%;  /* Icon will fill the container */
    height: 100%; /* Icon will fill the container */
    /* Add a drop shadow to make the icon pop from the background */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg) scale(1.1); }
    10% { transform: translate(-1px, -2px) rotate(-1deg) scale(1.1); }
    20% { transform: translate(-3px, 0px) rotate(1deg) scale(1.1); }
    30% { transform: translate(3px, 2px) rotate(0deg) scale(1.1); }
    40% { transform: translate(1px, -1px) rotate(1deg) scale(1.1); }
    50% { transform: translate(-1px, 2px) rotate(-1deg) scale(1.1); }
    60% { transform: translate(-3px, 1px) rotate(0deg) scale(1.1); }
    70% { transform: translate(3px, 1px) rotate(-1deg) scale(1.1); }
    80% { transform: translate(-1px, -1px) rotate(1deg) scale(1.1); }
    90% { transform: translate(1px, 2px) rotate(0deg) scale(1.1); }
    100% { transform: translate(1px, -2px) rotate(-1deg) scale(1.1); }
}

/* ============================= */
/* LANGUAGE TOGGLE SWITCH        */
/* ============================= */
.lang-flag {
    width: 24px;
    height: auto;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.lang-flag.active {
    opacity: 1;
    transform: scale(1.1);
}

.lang-switch {
    width: 40px;
    height: 22px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    padding: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lang-switch-handle {
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* State for English (toggled to the right) */
.lang-switch.en .lang-switch-handle {
    transform: translateX(18px);
}