/* Custom styles for Young At Art */

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

/* Hero geometric shapes */
.hero-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #14b8a6, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #f59e0b, transparent 70%);
    bottom: 10%;
    left: 5%;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: #0d9488;
    top: 30%;
    left: -40px;
    border-radius: 24px;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.shape-diamond {
    width: 80px;
    height: 80px;
    background: #fbbf24;
    top: 60%;
    right: 15%;
    border-radius: 16px;
    transform: rotate(30deg);
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

/* Service card hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d9488, #14b8a6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Button hover lift */
a:hover {
    transition: all 0.3s ease;
}

/* Testimonial quote marks */
section p::before,
section p::after {
    content: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-circle-2 {
        width: 120px;
        height: 120px;
    }
    
    .shape-square-1 {
        width: 60px;
        height: 60px;
    }
    
    .shape-diamond {
        width: 40px;
        height: 40px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
