/* Custom Styles */

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

/* Custom 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(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

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

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
    animation-delay: 1s;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Selection Color */
::selection {
    background: rgba(16, 185, 129, 0.3);
    color: #fff;
}

/* Input Autofill */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0f172a inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* Focus Ring */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Mobile Menu Animation */
.mobile-menu-open {
    transform: translateX(0) !important;
}

.mobile-menu-close {
    transform: translateX(100%) !important;
}

/* Image Hover Effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Gradient Text */
.text-transparent {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Box Shadows */
.shadow-mint-500\/10 {
    box-shadow: 0 10px 40px -10px rgba(16, 185, 129, 0.1);
}

.shadow-mint-500\/25 {
    box-shadow: 0 20px 50px -12px rgba(16, 185, 129, 0.25);
}

.shadow-mint-500\/30 {
    box-shadow: 0 25px 60px -15px rgba(16, 185, 129, 0.3);
}

/* Border Hover Effects */
.group:hover .group-hover\:border-mint-500\/50 {
    border-color: rgba(16, 185, 129, 0.5);
}

/* Background Hover Effects */
.group:hover .group-hover\:bg-mint-500\/20 {
    background-color: rgba(16, 185, 129, 0.2);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    .animate-float,
    .animate-float-delayed {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
