/* Luxury Theme Variables */
:root {
    --primary: #3a86ff;
    --primary-soft: rgba(58, 134, 255, 0.1);
    --dark: #121212;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.luxury-theme {
    background-color: #fff;
    color: #333;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4 {
    font-family: var(--font-secondary);
    font-weight: 700;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner {
    text-align: center;
}

.preloader-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.preloader-icon span {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

.preloader-icon span:nth-child(2) {
    border-top-color: rgba(58, 134, 255, 0.5);
    animation-delay: 0.2s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cursor Effect */
.cursor, .cursor-follower {
    position: fixed;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor {
    width: 8px;
    height: 8px;
    background-color: #fff;
    transition: width 0.3s, height 0.3s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    transition: all 0.3s ease-out;
}

.cursor.active {
    width: 16px;
    height: 16px;
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-width: 2px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(18, 18, 18, 0.85), rgba(18, 18, 18, 0.85)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1172&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down-link {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 15px;
    position: relative;
}

.scroll-down-anim {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: #fff;
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Clients Marquee */
.clients-marquee {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.marquee {
    display: flex;
    width: 200%;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 50%;
    flex-shrink: 0;
}

.client-logo {
    margin: 0 2rem;
    flex-shrink: 0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.client-logo img {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .client-logo {
        margin: 0 1rem;
    }
    
    .client-logo img {
        max-height: 35px;
    }
}

/* Service Cards */
.service-card {
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15) !important;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .card-overlay {
    opacity: 0.8;
}

/* Icon Boxes */
.icon-box {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    transition: all 0.3s ease;
}

.icon-box-sm {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.bg-primary-soft {
    background-color: var(--primary-soft);
}

/* Testimonial Slider */
.testimonial-slider {
    position: relative;
}

.testimonial-item {
    padding: 0 15px;
}

.testimonial-content {
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(58, 134, 255, 0.1);
    line-height: 1;
    z-index: 0;
}

.rating {
    color: #ffc107;
}

/* Gradient Background */
.bg-gradient-primary {
    background: var(--gradient);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* Section Padding */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .navbar {
        background-color: var(--dark);
    }
}

@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}