/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for fixed navbar */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a; 
}
::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b8941f; 
}

.hero-bg {
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Smooth Fade In Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Luxury Hover Effects */
.luxury-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

/* Image Overlay Effect */
.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.7s;
    z-index: 1;
}

.image-overlay:hover::before {
    left: 100%;
}

/* Team Member Card Effect */
.team-card {
    position: relative;
    overflow: hidden;
}

.team-card img {
    transition: transform 0.6s ease;
}

.team-card:hover img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.95), transparent);
    transform: translateY(100%);
    transition: transform 0.5s ease;
    padding: 2rem 1.5rem;
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

/* Gold Accent Line */
.gold-line {
    position: relative;
    padding-left: 20px;
}

.gold-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: linear-gradient(to bottom, #d4af37, #f4d03f);
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Glowing Effect */
.glow-on-hover {
    transition: box-shadow 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

/* Smooth Section Transitions */
.section-transition {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-transition.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page Transition Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    z-index: 10000;
    transition: width 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    opacity: 1;
}

.progress-bar.loading {
    animation: progressLoading 0.7s ease-out forwards;
}

.progress-bar.complete {
    opacity: 0;
}

@keyframes progressLoading {
    0% {
        width: 0%;
    }
    60% {
        width: 80%;
    }
    100% {
        width: 100%;
    }
}
