/* Custom Styles for Velvet Life Insurance */

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Custom Selection Color */
::selection {
    background-color: #C1DFD4;
    color: #1F4336;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F0F7F4;
}

::-webkit-scrollbar-thumb {
    background: #9BC7B8;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6FA898;
}

/* Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Hero Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #2D5A4A 0%, #4A8A7A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Soft Shadow Utility */
.shadow-soft {
    box-shadow: 0 10px 40px -10px rgba(45, 90, 74, 0.15);
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(45, 90, 74, 0.2);
}

/* Form Input Focus Ring */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(45, 90, 74, 0.1);
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
}

/* Image Hover Zoom */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Background Pattern Animation */
@keyframes patternMove {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.pattern-animate {
    animation: patternMove 8s ease-in-out infinite;
}

/* Button Press Effect */
button:active {
    transform: scale(0.98);
}

/* Card Shine Effect */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.card-shine:hover::before {
    left: 100%;
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 1.875rem !important;
    }
}

/* Print Styles */
@media print {
    nav, footer, #contact {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
}