/* Custom Styles for Terri's Treats */

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

/* Custom animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D15722, #C48F42);
    top: -100px;
    right: -100px;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #C48F42;
    bottom: 20%;
    left: 5%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #D15722;
    top: 40%;
    right: 10%;
    opacity: 0.2;
    animation: float 5s ease-in-out infinite;
}

.geo-circle-4 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D15722, #C48F42);
    bottom: -100px;
    right: -50px;
    opacity: 0.05;
}

.geo-rect-1 {
    width: 100px;
    height: 100px;
    background: #C48F42;
    top: 30%;
    left: 8%;
    opacity: 0.1;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}

.geo-rect-2 {
    width: 60px;
    height: 60px;
    border: 3px solid #D15722;
    bottom: 30%;
    right: 15%;
    opacity: 0.15;
    transform: rotate(30deg);
}

.geo-rect-3 {
    width: 80px;
    height: 80px;
    background: #D15722;
    top: 20%;
    left: 5%;
    opacity: 0.05;
    transform: rotate(15deg);
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #C48F42;
    top: 50%;
    right: 5%;
    opacity: 0.08;
    transform: rotate(20deg);
    animation: float 9s ease-in-out infinite reverse;
}

/* Hero badge animation */
.hero-badge {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Nav link hover effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D15722;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu animations */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }
#mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.5s; }

/* Menu card hover */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D15722, #C48F42);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #B83F18, #A47236);
}

/* Focus styles */
input:focus, textarea:focus, button:focus {
    outline: none;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .geo-circle-2 {
        width: 100px;
        height: 100px;
    }
    
    .geo-rect-1 {
        width: 50px;
        height: 50px;
    }
}

/* Print styles */
@media print {
    .geo-shape, .animate-float {
        display: none;
    }
}
