/* Custom styles for The Potting Shed */

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

/* Geometric Shape Animations */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 92, 61, 0.3), transparent);
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 185, 163, 0.4), transparent);
    border-radius: 50%;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-circle-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 141, 112, 0.2);
    top: 25%;
    right: 25%;
    animation-delay: -3s;
    transform: rotate(45deg);
}

.shape-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 92, 61, 0.3);
    bottom: 30%;
    left: 10%;
    animation-delay: -7s;
    transform: rotate(30deg);
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(255, 185, 163, 0.2);
    top: 40%;
    left: 5%;
    animation-delay: -8s;
}

.shape-triangle-2 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(255, 92, 61, 0.25);
    bottom: 15%;
    right: 30%;
    animation-delay: -12s;
    transform: rotate(180deg);
}

.shape-ring-1 {
    width: 180px;
    height: 180px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 15%;
    right: 15%;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(5deg);
    }
    66% {
        transform: translateY(20px) rotate(-3deg);
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu animations */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

.menu-line {
    transition: all 0.3s ease;
}

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

#mobileMenuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobileMenuBtn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(134, 22, 51, 0.1);
}

/* Button hover effects */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Form focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(134, 22, 51, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #a11737;
}

/* Selection color */
::selection {
    background: #c22246;
    color: white;
}
