/*
Theme Name: Aurevya Child Theme
Theme URI: https://aurevya.com
Description: Custom child theme for Aurevya Wealth website, built on Avada theme with custom nav walkers for header and footer menus.
Author: Aurevya Wealth
Author URI: https://aurevya.com
Template: Avada
Version: 1.0.0
Text Domain: aurevya
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   Aurevya Wealth Custom Styles
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

/* ==========================================================================
   CSS Variables / Custom Properties
   ========================================================================== */
:root {
    --aurevya-gold: #b59533;
    --aurevya-dark: #130429;
    --aurevya-gray: #808285;
    --aurevya-white: #ffffff;
    --aurevya-black: #000000;
    --aurevya-header-height: 80px;
    --aurevya-header-height-small: 58px;
}

/* ==========================================================================
   Typography
   ========================================================================== */
@font-face {
    font-family: 'RivieraNights-Regular';
    src: url('assets/fonts/RivieraNights-Regular.otf') format('opentype'),
         url('assets/fonts/RivieraNights-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RivieraNights-Light';
    src: url('assets/fonts/RivieraNights-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Body text */
p, .teaser {
    font-family: 'RivieraNights-Regular', sans-serif !important;
    font-size: 17px;
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600 !important;
}

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

/* Transparent header at top */
.fusion-header-wrapper.at-top {
    background-color: transparent !important;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.3);
}

.fusion-header-wrapper {
    height: var(--aurevya-header-height);
    position: relative;
    transition: all 0.3s linear;
    width: 100%;
    z-index: 99;
}

/* Header when scrolled */
.fusion-header-wrapper.-small {
    height: var(--aurevya-header-height-small);
}

/* Logo styling */
.fusion-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fusion-logo img {
    max-width: 60px;
    height: auto;
    transition: all 0.3s ease;
}

.fusion-header-wrapper.-small .fusion-logo img {
    max-width: 45px;
}

/* Menu button styling */
.fusion-flyout-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.fusion-toggle-icon-line {
    background-color: var(--aurevya-white);
    height: 2px;
    width: 25px;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Search icon styling */
.fusion-flyout-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fusion-flyout-search-toggle .awb-icon-search {
    color: var(--aurevya-white);
    font-size: 18px;
}

/* ==========================================================================
   Flyout Menu (Left Navigation) Styles
   ========================================================================== */

.aurevya-leftnavbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 350px;
    height: 100vh;
    background-image: url('assets/images/menu-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 9999;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.aurevya-leftnavbar.active {
    left: 0;
}

/* Main menu list */
.aurevya-menu-list {
    list-style: none;
    margin: 0;
    padding: 20px;
}

.aurevya-menu-list li {
    margin-bottom: 10px;
}

.aurevya-menu-list .linknav {
    color: var(--aurevya-white);
    text-decoration: none;
    font-family: 'RivieraNights-Regular', sans-serif;
    font-size: 16px;
    display: block;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.aurevya-menu-list .linknav:hover {
    color: var(--aurevya-gold);
}

/* Submenu items indentation */
.aurevya-menu-list .menu-item-depth-1 {
    margin-left: 25px;
}

.aurevya-menu-list .menu-item-depth-2 {
    margin-left: 50px;
}

/* Submenu toggle */
.aurevya-menu-list .linknavsubmenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.aurevya-menu-list .arrow {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid var(--aurevya-white);
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.aurevya-menu-list .linknavsubmenu.active .arrow {
    transform: rotate(90deg);
}

/* Left submenu container */
.leftsubnavbar-container {
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
}

.leftsubnavbar-container.active {
    display: block;
}

.leftsubnavbar {
    list-style: none;
    margin: 0;
    padding: 10px 20px;
}

.leftsubnavbar li {
    margin-bottom: 8px;
}

.leftsubnavbar .linknav {
    font-size: 14px;
}

/* Return button in submenu */
.returnbtn {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--aurevya-white);
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.returnbtn .icon-arrow_left {
    margin-right: 10px;
}

/* Menu close button */
.aurevya-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--aurevya-white);
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
}

/* Menu overlay */
.aurevya-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.aurevya-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu icon at bottom of flyout */
.aurevya-menu-icon {
    padding: 15px;
    text-align: center;
    margin-top: auto;
}

.aurevya-menu-icon img {
    max-width: 60px;
    height: auto;
}

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

.aurevya-footer {
    background-color: var(--aurevya-dark);
    padding: 40px 0;
    text-align: center;
}

/* Social links section */
.aurevya-social-links {
    margin-bottom: 30px;
}

.aurevya-social-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.aurevya-social-links li {
    display: inline-block;
}

.aurevya-social-links .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: var(--aurevya-white);
    transition: color 0.3s ease, transform 0.3s ease;
}

.aurevya-social-links .social-link:hover {
    color: var(--aurevya-gold);
    transform: scale(1.1);
}

.aurevya-social-links .social-link svg {
    width: 45px;
    height: 45px;
}

.aurevya-social-links .social-link svg path {
    fill: currentColor;
}

/* Talk to us link */
.aurevya-footer-cta {
    margin-bottom: 30px;
}

.aurevya-footer-cta a {
    color: var(--aurevya-white);
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    transition: color 0.3s ease;
}

.aurevya-footer-cta a:hover {
    color: var(--aurevya-gold);
}

/* Footer menu links */
.aurevya-footer-links {
    margin-bottom: 20px;
}

.aurevya-footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.aurevya-footer-links li {
    display: inline-block;
}

.aurevya-footer-links .footer-item {
    color: var(--aurevya-white);
    font-family: 'RivieraNights-Regular', sans-serif;
    font-size: 14px;
}

.aurevya-footer-links a.footer-item {
    text-decoration: none;
    transition: color 0.3s ease;
}

.aurevya-footer-links a.footer-item:hover {
    color: var(--aurevya-gold);
}

/* Copyright */
.aurevya-copyright {
    color: var(--aurevya-white);
    font-family: 'RivieraNights-Regular', sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Disclaimer */
.aurevya-disclaimer {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.aurevya-disclaimer p {
    color: var(--aurevya-white);
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}

.aurevya-disclaimer .disclaimer-readmore,
.aurevya-disclaimer .disclaimer-collapse {
    color: var(--aurevya-gold);
    text-decoration: none;
    font-size: 12px;
    margin-left: 10px;
}

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

@media (max-width: 768px) {
    :root {
        --aurevya-header-height: 60px;
    }
    
    .aurevya-leftnavbar {
        width: 100%;
    }
    
    .aurevya-menu-list .menu-item-depth-1,
    .aurevya-menu-list .menu-item-depth-2 {
        margin-left: 15px;
    }
    
    .aurevya-footer-links ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .aurevya-social-links ul {
        flex-wrap: wrap;
    }
}

@media (min-width: 769px) {
    .aurevya-leftnavbar {
        top: var(--aurevya-header-height);
        height: calc(100vh - var(--aurevya-header-height));
    }
    
    .fusion-header-wrapper.-small .aurevya-leftnavbar {
        top: var(--aurevya-header-height-small);
        height: calc(100vh - var(--aurevya-header-height-small));
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.aurevya-gold {
    color: var(--aurevya-gold) !important;
}

.aurevya-dark {
    color: var(--aurevya-dark) !important;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Clear floats */
.clear {
    clear: both;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

