/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FAF7EE;
}

::-webkit-scrollbar-thumb {
    background: #C96840;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #BB4E2A;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(250, 247, 238, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Hero Shapes */
.shape-circle-1 {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #F5E6E0 0%, #EBc7b8 100%);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    position: absolute;
    bottom: 15%;
    left: 3%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #F4EFDA 0%, #EBE5B8 100%);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-rect-1 {
    position: absolute;
    top: 25%;
    left: 8%;
    width: 120px;
    height: 120px;
    background: #C96840;
    opacity: 0.1;
    border-radius: 24px;
    transform: rotate(45deg);
    animation: rotate 12s linear infinite;
}

.shape-rect-2 {
    position: absolute;
    bottom: 25%;
    right: 8%;
    width: 80px;
    height: 80px;
    background: #D4C45C;
    opacity: 0.15;
    border-radius: 16px;
    transform: rotate(30deg);
    animation: rotate 10s linear infinite reverse;
}

/* Floating Cards */
.floating-card {
    animation: floatCard 4s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: 1s;
}

/* Scroll Line Animation */
.scroll-line {
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #1A1512);
    animation: scrollDown 1.5s ease-in-out infinite;
}

/* Service Cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

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

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Mobile Menu */
.mobile-link {
    transition: all 0.3s ease;
}

.mobile-link:hover {
    color: #C96840;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    .floating-card,
    .hero-shape,
    .scroll-line {
        display: none !important;
    }
}
