/* Golden Vision - Modern Updates CSS */

/* ====== MODERN HEADER STYLES ====== */
header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 249, 249, 0.9) 100%) !important;
    border-bottom: 1px solid rgba(201, 165, 92, 0.2) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 15px 0 !important;
}

header.scrolled {
    padding: 10px 0 !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 249, 249, 0.95) 100%) !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08) !important;
}

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

.logo::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--gold-gradient);
    margin-left: 10px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(201, 165, 92, 0.5);
    transform: translateZ(0);
}

.logo h1 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a4785 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.logo p {
    color: var(--primary-color) !important;
    font-size: 12px;
    font-weight: 500;
    margin-top: 2px;
}

/* Modern Navigation */
nav ul li a {
    color: var(--secondary-color) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

nav ul li a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s cubic-bezier(0.77, 0, 0.175, 1) !important;
}

nav ul li a:hover::after, 
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color) !important;
    font-weight: 700;
}

/* Mobile Menu */
.menu-toggle {
    background: var(--gold-gradient);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(201, 165, 92, 0.3);
    transition: all 0.3s ease;
}

.menu-toggle i {
    color: white;
    font-size: 18px;
}

/* ====== MODERN SECTION REVEAL ANIMATIONS ====== */

/* Fade Up Reveal Animation */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), 
                transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Scale Animation */
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), 
                transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Clip Path Reveal Animation */
.reveal-clip {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-clip.revealed {
    clip-path: inset(0 0 0 0);
}

/* Staggered Children Animation */
.reveal-stagger-parent .reveal-stagger-child {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger-parent.revealed .reveal-stagger-child:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger-parent.revealed .reveal-stagger-child:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger-parent.revealed .reveal-stagger-child:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger-parent.revealed .reveal-stagger-child:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger-parent.revealed .reveal-stagger-child:nth-child(5) {
    transition-delay: 0.5s;
}

.reveal-stagger-parent.revealed .reveal-stagger-child:nth-child(6) {
    transition-delay: 0.6s;
}

.reveal-stagger-parent.revealed .reveal-stagger-child {
    opacity: 1;
    transform: translateY(0);
}

/* Split Text Animation */
.reveal-split-parent .word {
    display: inline-block;
    overflow: hidden;
}

.reveal-split-parent .char {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-split-parent.revealed .char {
    transform: translateY(0);
}

/* Section Entry Effect */
.section-entry {
    position: relative;
    overflow: hidden;
}

.section-entry::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
    opacity: 0.05;
}

.section-entry.revealed::before {
    transform: scaleX(1);
}

/* Hero Modern Animation */
.hero-modern {
    position: relative;
    overflow: hidden;
}

.hero-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1),
                opacity 1s cubic-bezier(0.77, 0, 0.175, 1);
    mix-blend-mode: overlay;
    z-index: 1;
}

.hero-modern.revealed::after {
    transform: translateY(0);
    opacity: 0.2;
}

/* Services Card Modern Animation */
.service-card {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    will-change: transform, box-shadow;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 165, 92, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    border-radius: 15px;
}

.service-card:hover::before {
    opacity: 1;
}

/* Modern Button Hover Effect */
.btn {
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.btn:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Smooth Scrolling for Sections */
html {
    scroll-behavior: smooth !important;
}

/* Testimonials Modern Animation */
.testimonial {
    transform: scale(0.9);
    opacity: 0.5;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slick-active .testimonial {
    transform: scale(1);
    opacity: 1;
}

/* Pulse Effect for CTA buttons */
.btn-primary {
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: var(--gold-gradient);
    z-index: -2;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* Modern Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gold-gradient);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* 3D Tilt Effect for Cards */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s ease;
}

.tilt-card:hover {
    transform: rotateX(5deg) rotateY(5deg);
}

.tilt-card-inner {
    transform: translateZ(20px);
} 