/* Custom Styles for Phillips Sarah */

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

/* Navbar Scroll Effect */
nav.scrolled {
    background: rgba(107, 15, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Mobile Menu Animation */
.mobile-menu-open #mobile-menu {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .menu-line:nth-child(3) {
    width: 24px;
    margin-left: 0;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Service Card Hover Effect */
.service-card {
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

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

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(50deg); }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #4A0A12;
}

/* Input Focus Animation */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(107, 15, 26, 0.1);
}

/* Button Hover Glow */
button:hover,
a:hover {
    box-shadow: 0 10px 40px rgba(107, 15, 26, 0.3);
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger Animation Delays */
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }
