/*=========================================
<< --- ROOT VARIABLES & GLOBAL STYLES --- >>
=========================================*/
:root {
    /* Neutrals & backgrounds */
    --bg-color: #F7F3EE;   
    --bg-secondary: #EFE8E2;
    --bg-light: #FDF9F5;
    --bg-light-secondary: #F4EDE7;
    --bg-dark: #D4C3B1;
    --surface-color: #FFFDFA; 
    --light-gray: #EEE7DC;   
    --border-color: #DDD2C6;

    /* Primary brand tones */
    --primary-color:    #B08B6E; 
    --primary-dark:     #8A6B4F;   
    --primary-light:    #D4C3B1;   
    --primary-gradient: linear-gradient(45deg, #B08B6E 0%, #D4C3B1 100%);
    --secondary-gradient: linear-gradient(45deg, #D4C3B1 0%,  transparent 100%);
    --dark-gradient: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    --primary-accent: var(--primary-color);
    --secondary-accent: #C49B73;

    /* Text and footer*/
    --text-bright: #F1EBE2;
    --text-dark: #333031;
    --text-light: #7A716C;
    --text-muted: #867E79;
    --text-dark-headings: #000000;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
    --footer-bg: #8A6B4F;

    /* Shadows & transitions */
    --shadow-color: rgba(0, 0, 0, 0.2);
    --transition-duration: 0.35s;
    --transition: all var(--transition-duration) ease-in-out;

    /* Typography & layout */
    --font-family-sans: 'Poppins', sans-serif;
    --font-primary: 'Poppins', sans-serif;
    --font-family-serif: 'DM Serif Display', serif;
    --font-family-serif-secondary: 'Playfair Display', serif;
    --font-family-cursive: 'Great Vibes', cursive;
    --header-height: 75px;
    --border-radius-main: 12px;
    --testimonial-gap: 1rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
    scroll-behavior: smooth;
}

/*==================================
NAVABAR STYLES STARTS
==================================*/
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: transparent;
    transition: background-color var(--transition), box-shadow var(--transition), height var(--transition);
    background-color: var(--surface-color); 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border-color);
}

.site-header.scrolled {
    height: 70px;
}

.site-header .container,
.inv-header-inner {
    height: 100%;
}

.header-flex {
    display: flex;
    align-items: center;
    gap: 20px; /* spacing between button and heading */
}
/* FIXED: Removed max-width and padding, now handled by the parent .container div */
.inv-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inv-logo-wrap img {
    max-height: 50px;
    transition: filter var(--transition);
    border-radius: 8px;
}

#primary_menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.mega-menu-item {
    position: relative;
}

.main-menu-link {
    display: block;
    padding: 10px 18px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.main-menu-link:hover,
.main-menu-link.active {
    color: var(--primary-color);
}

.has-submenu>a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.mega-menu-item:hover>a::after {
    transform: rotate(180deg);
}

.sub-nav {
    display: none;
    position: absolute;
    top: 90%;
    left: 0;
    background: var(--surface-color);
    min-width: 240px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

.mega-menu-item:hover>.sub-nav,
.mega-menu-item:focus-within>.sub-nav {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.sub-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-nav-item {
    position: relative;
}

.sub-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sub-menu-link:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
    padding-left: 25px;
}

.sub-nav .has-submenu>a::after {
    content: '\f054';
    transform: none;
}

.sub-nav .has-submenu:hover>a::after {
    transform: scale(1.1);
    color: var(--primary-color);
}

.sub-sub-menu {
    display: none;
    position: absolute;
    top: -11px;
    left: 100%;
    background: var(--surface-color);
    min-width: 240px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sub-nav-item:hover>.sub-sub-menu,
.sub-nav-item:focus-within>.sub-sub-menu {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.menu-toggle,
.submenu-toggle-button {
    display: none;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition)-in-out;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
        font-size: 1.5rem;
        cursor: pointer;
        border: none;
        background: none;
        color: var(--text-dark);
        z-index: 1001;
        align-items: center;
        height: 100%;
    }

    #primary_menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 0 40px 0;
        gap: 0;
        transition: right var(--transition)-in-out;
        overflow-y: auto;
        z-index: 1000;
    }

    #primary_menu.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    #primary_menu .mega-menu-item {
        width: 100%;
    }

    #primary_menu .main-menu-link,
    #primary_menu .sub-menu-link {
        color: #fff;
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #primary_menu .has-submenu {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    #primary_menu .has-submenu>.main-menu-link {
        flex-grow: 1;
    }

    .submenu-toggle-button {
        display: block;
        padding: 15px 25px;
        cursor: pointer;
        color: var(--text-dark);
        font-size: 0.9rem;
    }

    .submenu-toggle-button i {
        transition: transform var(--transition);
    }

    #primary_menu .submenu-open>.submenu-toggle-button i {
        transform: rotate(180deg);
    }

    #primary_menu .has-submenu>a::after {
        display: none;
    }

    .sub-nav,
    .sub-sub-menu {
        flex-basis: 100%;
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        transform: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition)-out;
    }

    #primary_menu .submenu-open>.sub-nav,
    #primary_menu .submenu-open>.sub-sub-menu {
        max-height: 1000px;
    }

    #primary_menu .sub-nav-item .sub-menu-link {
        padding-left: 45px;
    }

    #primary_menu .sub-sub-menu .sub-menu-link {
        padding-left: 65px;
    }
}

/*==================================
NAVBAR STYLES END
==================================*/

/*==================================
FLOATING SOCIAL WIDGET STYLES START
==================================*/
@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px var(--shadow-color);
    }

    50% {
        box-shadow: 0 5px 30px var(--shadow-color);
    }

    100% {
        box-shadow: 0 5px 20px var(--shadow-color);
    }
}

.floating-social-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    transition: transform var(--transition);
}

.floating-social-widget.is-lifted {
    transform: translateY(-80px);
}

.social-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: absolute;
    bottom: 75px;
    right: 5px;
}

.social-options a {
    visibility: hidden;
    pointer-events: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--surface-color);
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(10px) scale(0.5);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-social-widget.active .social-options a {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.social-options a:nth-child(1) {
    transition-delay: 0.24s;
}

.social-options a:nth-child(2) {
    transition-delay: 0.21s;
}

.social-options a:nth-child(3) {
    transition-delay: 0.18s;
}

.social-options a:nth-child(4) {
    transition-delay: 0.15s;
}

.social-options a:nth-child(5) {
    transition-delay: 0.12s;
}

.social-options a:nth-child(6) {
    transition-delay: 0.09s;
}

.social-options a .tooltip {
    position: absolute;
    right: 65px;
    background: var(--primary-dark);
    color: var(--surface-color);
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-options a:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

.social-options a:hover {
    color: var(--surface-color);
    transform: scale(1.15) !important;
}

.social-options a.facebook:hover {
    background: #1877F2;
}

.social-options a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-options a.twitter:hover {
    background: #1DA1F2;
}

.social-options a.linkedin:hover {
    background: #0A66C2;
}

.social-options a.youtube:hover {
    background: #FF0000;
}

.social-options a.whatsapp:hover {
    background: #25D366;
}

.social-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color:  var(--primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: pulse 2.5s infinite;
    transition: transform 0.3s ease;
}

.social-toggle-btn:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

.social-toggle-btn .toggle-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-social-widget.active .social-toggle-btn .toggle-icon {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .floating-social-widget {
        bottom: 20px;
        right: 20px;
    }

    .floating-social-widget.is-lifted {
        transform: translateY(-70px);
    }
}

/*==================================
FLOATING SOCIAL WIDGET STYLES END
==================================*/

/*==================================
FOOTER STYLES START
==================================*/
.site-footer {
    background-color: var(--footer-bg);
    color: var(--surface-color);
    padding-top: 60px;
    font-size: 0.9rem;
    position: relative;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Cg fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.04"%3E%3Cpath opacity=".5" d="M96 95h4v1h-4v-1zm-7 5h4v1h-4v-1zm7 0h4v1h-4v-1zm-7 0h4v1h-4v-1zm-7 0h4v1h-4v-1zm-7 0h4v1h-4v-1zm-7 0h4v1h-4v-1zm-7 0h4v1h-4v-1zm-7 0h4v1h-4v-1zm-7 0h4v1h-4v-1zm-7 0h4v1h-4v-1zm-7 0h4v1h-4v-1zm-7 0h4v1h-4v-1z"/%3E%3Cpath d="M6 5V0h1v5h-1zm6 0V0h1v5h-1zm6 0V0h1v5h-1zm6 0V0h1v5h-1zm6 0V0h1v5h-1zm6 0V0h1v5h-1zm6 0V0h1v5h-1zm6 0V0h1v5h-1zm6 0V0h1v5h-1zm6 0V0h1v5h-1zm6 0V0h1v5h-1zm6 0V0h1v5h-1zm6 0V0h1v5h-1z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    position: relative;
    font-family: var(--font-family-serif);
    font-size: 1.5rem;
    color: var(--surface-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col .logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-col img{
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.footer-col p,
.footer-col li {
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col a {
    color: var(--surface-color);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-col a:hover {
    color: var(--light-gray);
    padding-left: 5px;
}

.contact-icon{
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.newsletter-form {
    margin-top: 30px;
}

.newsletter-form p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--surface-color);
}

.newsletter-input-group {
    display: flex;
}

.newsletter-input-group input {
    flex-grow: 1;
    padding: 0 15px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--surface-color);
    border-radius: 8px 0 0 8px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(84, 69, 49, 0.25);
}

.newsletter-input-group button {
     padding: 0 20px;
    height: 48px;
    border: none;
    background: var(--primary-gradient);
    color: var(--surface-color);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.newsletter-input-group button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px var(--shadow-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.developer-info {
    display: inline-block;
    font-family: var(--font-family-sans);
    color: var(--surface-color);
    transition: transform 0.3s ease;
}

.developer-info a {
    color: inherit;
    text-decoration: none;
}

.developer-info a:hover {
    color: var(--light-gray);
    text-decoration: underline;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-legal-links a:hover {
    color: var(--surface-color);
    text-decoration: underline;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links a {
        margin: 5px 10px;
    }
}
/*====================================
FOOTER STYLES END
====================================*/