/* Modern Website Effects */
:root {
    --primary-color-rgb: 212, 183, 149;
    --accent-color-rgb: 149, 183, 212;
    --text-color: #333;
    --background-color: #fff;
}

/* Particle Background */
.particle-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

/* Reveal on Scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3D Tilt Cards */
.tilt-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card:hover {
    box-shadow: 0 20px 40px rgba(var(--primary-color-rgb), 0.2);
}

/* Modern Buttons */
.modern-button {
    position: relative;
    padding: 15px 30px;
    background: linear-gradient(135deg,
        rgba(var(--primary-color-rgb), 0.9),
        rgba(var(--accent-color-rgb), 0.9));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.modern-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.8) 50%,
        rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.modern-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
}

.modern-button:hover::before {
    transform: translateX(100%);
}

/* Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--primary-color-rgb), 0.2);
}

/* Animated Numbers */
.counter-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-color);
    text-align: center;
    line-height: 1;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 4px solid rgba(var(--primary-color-rgb), 0.1);
    border-left-color: rgb(var(--primary-color-rgb));
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg,
        rgb(var(--primary-color-rgb)),
        rgb(var(--accent-color-rgb)));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}

/* Animated Border */
.animated-border {
    position: relative;
    padding: 3px;
    background: linear-gradient(45deg,
        rgba(var(--primary-color-rgb), 0.5),
        rgba(var(--accent-color-rgb), 0.5),
        rgba(var(--primary-color-rgb), 0.5));
    border-radius: 20px;
    animation: borderRotate 4s linear infinite;
}

.animated-border::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 19px;
    background: white;
    z-index: 0;
}

@keyframes borderRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Image Hover Effect */
.image-hover {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.image-hover img {
    transition: all 0.5s ease;
    width: 100%;
    height: auto;
}

.image-hover:hover img {
    transform: scale(1.1);
}

.image-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(var(--primary-color-rgb), 0),
        rgba(var(--primary-color-rgb), 0.3)
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-hover:hover::after {
    opacity: 1;
}

/* Floating Elements */
.float-element {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px;
    }

    .gradient-text {
        font-size: 2rem;
    }

    .counter-value {
        font-size: 2.5rem;
    }

    .modern-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #fff;
        --background-color: #1a1a1a;
    }

    .glass-card,
    .tilt-card {
        background: rgba(26, 26, 26, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .animated-border::before {
        background: var(--background-color);
    }

    .loader {
        background: var(--background-color);
    }
} 