/* Custom Styles for Fidel Cano-Leon Real Estate Website */

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

/* Clip path for asymmetric layouts */
.clip-path-slant {
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

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

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

::-webkit-scrollbar-thumb {
    background: #a11d48;
    border-radius: 5px;
}

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

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(26, 13, 30, 0.1);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #a11d48 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover effects for cards */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 13, 30, 0.15);
}

/* Button pulse effect */
@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

.btn-pulse:hover {
    animation: pulse-ring 1.5s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .clip-path-slant {
        clip-path: none;
    }
    
    .lg\:col-span-7 {
        grid-column: span 1 / span 1;
    }
    
    .lg\:col-start-1 {
        grid-column-start: 1;
    }
    
    .lg\:col-span-5 {
        grid-column: span 1 / span 1;
    }
    
    .lg\:col-start-8 {
        grid-column-start: 1;
    }
    
    .lg\:row-start-1 {
        grid-row-start: 1;
    }
}

/* Print styles */
@media print {
    nav, #contact, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-plum-900, .bg-plum-800 {
        background: #f5f5f5 !important;
        color: #000 !important;
    }
}
