/* Custom styles for Put In Bay Marina website */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #faf9f6;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #3f6030;
}

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid #547e3e;
    outline-offset: 2px;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float-slow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(-3deg);
    }
}

@keyframes pulse-slow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Animation classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

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

/* Scroll reveal animations */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Header shadow on scroll */
header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Button hover effects */
button:hover, a:hover {
    transform: translateY(-2px);
}

button:active, a:active {
    transform: translateY(0);
}

/* Form styles */
input, textarea, select {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Image hover effects */
img {
    transition: transform 0.3s ease;
}

/* Card hover effects */
.rounded-3xl {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rounded-3xl:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.geometric-circle {
    border-radius: 50%;
}

.geometric-rect {
    border-radius: 16px;
}

/* Gradient backgrounds */
.gradient-forest {
    background: linear-gradient(135deg, #23341d 0%, #547e3e 100%);
}

.gradient-cream {
    background: linear-gradient(135deg, #faf9f6 0%, #ebe8df 100%);
}

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #23341d 0%, #547e3e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .rounded-3xl {
        border-radius: 1.5rem;
    }
}

/* Print styles */
@media print {
    header, footer, button, form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
