/* Custom Styles for Khoraadeo Karran Real Estate Website */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Geometric Shapes Animation */
.geometric-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    top: 60%;
    right: 5%;
    animation-delay: -5s;
}

.shape-circle-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(255, 255, 255, 0.15);
    top: 25%;
    right: 15%;
    transform: rotate(45deg);
    animation-delay: -3s;
}

.shape-square-1 {
    width: 100px;
    height: 100px;
    background: rgba(251, 191, 36, 0.3);
    top: 70%;
    left: 10%;
    transform: rotate(30deg);
    animation-delay: -7s;
}

.shape-diamond-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    top: 40%;
    left: 5%;
    transform: rotate(45deg);
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-3deg);
    }
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .geometric-shape {
        animation: none;
    }
    
    .scroll-reveal {
        transition: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #9333ea, #7e22ce);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #a855f7, #9333ea);
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

/* Button Hover Effects */
button[type="submit"]:hover {
    transform: translateY(-2px);
}

/* Image Hover Effects */
img {
    transition: transform 0.3s ease;
}

/* Print Styles */
@media print {
    .geometric-shape {
        display: none;
    }
    
    .scroll-reveal {
        opacity: 1 !important;
    }
}
