/* Custom styles for Your Stores Real Estate */

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

/* Geometric shapes for hero */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7ea3, #ff4d7a);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f9cfd9, #fce7eb);
    bottom: 10%;
    left: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb3c4, #ffd5dd);
    top: 30%;
    left: -50px;
    animation: float 6s ease-in-out infinite;
}

.shape-square-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f4a3b8, #ec6a92);
    top: 60%;
    right: 10%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #f9cfd9;
    top: 15%;
    left: 15%;
    animation: float 12s ease-in-out infinite reverse;
}

.shape-dots {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    top: 0;
    left: 0;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

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

/* Scroll reveal animations - only for below-fold content */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .testimonial-card {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .service-card.revealed,
    .testimonial-card.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card hover effects */
.service-card:hover {
    transform: translateY(-4px);
}

/* Navbar styles */
.nav-scrolled {
    background: rgba(61, 7, 18, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

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

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

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

/* Selection color */
::selection {
    background: #f9cfd9;
    color: #3d0712;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    border-color: #c0244b !important;
    box-shadow: 0 0 0 3px rgba(192, 36, 75, 0.1) !important;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active nav link */
.nav-link-active {
    position: relative;
}

.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff7ea3;
    border-radius: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-circle-2 {
        width: 120px;
        height: 120px;
    }
    
    .shape-square-1 {
        width: 100px;
        height: 100px;
    }
    
    .shape-triangle-1 {
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
        border-bottom: 87px solid #f9cfd9;
    }
}
