/* Custom styles for Sunset Trailer Court */

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

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c4623a, #d4a574);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d4784f, #e8c4a0);
}

/* Selection color */
::selection {
    background: #c4623a;
    color: #f5efe6;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #c4623a;
    outline-offset: 2px;
}

/* Button ripple effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::before {
    width: 300px;
    height: 300px;
}

/* Card glow effect on hover */
.feature-card:hover {
    box-shadow: 0 0 40px rgba(196, 98, 58, 0.2);
}

/* Gold line animation */
.gold-line {
    position: relative;
    overflow: hidden;
}

.gold-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Pulse animation for status dot */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Form input focus animation */
input:focus,
textarea:focus,
select:focus {
    transform: scale(1.01);
}

/* Image hover zoom */
img {
    transition: transform 0.3s ease;
}

.feature-card img:hover {
    transform: scale(1.05);
}

/* Responsive typography */
@media (max-width: 640px) {
    .font-display {
        font-size: 2rem;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
}

@media (min-width: 769px) {
    .font-display {
        font-size: 3rem;
    }
}

/* Print styles */
@media print {
    .btn-primary,
    .animate-bounce {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
