/* Custom styles for The Scrapbook Princess website */

/* Geometric background shapes */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.08) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    bottom: 15%;
    left: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.05) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

.shape-circle-3 {
    top: 40%;
    right: 15%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 231, 183, 0.06) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.shape-square-1 {
    top: 25%;
    left: 3%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(52, 211, 153, 0.15);
    border-radius: 16px;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.shape-triangle-1 {
    bottom: 25%;
    right: 8%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(52, 211, 153, 0.08);
    animation: float 7s 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 cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    border-color: rgba(52, 211, 153, 0.5);
    box-shadow: 0 20px 60px -20px rgba(52, 211, 153, 0.15);
}

/* Process steps */
.process-step {
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
}

/* Gallery items */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(10, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(52, 211, 153, 0.1);
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Testimonial slider */
.testimonial-slide {
    transition: opacity 0.5s ease;
}

.testimonial-dot.active {
    background: #34d399 !important;
    width: 24px;
    border-radius: 9999px;
}

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

::-webkit-scrollbar-track {
    background: #102a43;
}

::-webkit-scrollbar-thumb {
    background: #334e68;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #34d399;
}

/* Selection color */
::selection {
    background: rgba(52, 211, 153, 0.3);
    color: #ffffff;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geometric-shape,
    .shape-circle-1,
    .shape-circle-2,
    .shape-circle-3,
    .shape-square-1,
    .shape-triangle-1 {
        animation: none !important;
    }
    
    .gallery-item img {
        transition: none !important;
    }
    
    .service-card {
        transition: none !important;
    }
}

/* Mobile menu animation */
#mobileMenu {
    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 {
    outline: none;
}

/* Button hover effects */
button[type="submit"]:hover {
    transform: translateY(-1px);
}

button[type="submit"]:active {
    transform: translateY(0);
}
