/* === Custom Styles for Vac-Fresh === */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

/* === Geometric Hero Shapes === */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 3px solid #2dd4bf;
    top: -100px;
    right: -80px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #2dd4bf;
    bottom: 15%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: #5eead4;
    top: 25%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

.shape-square-2 {
    width: 80px;
    height: 80px;
    border: 3px solid #99f6e4;
    top: 60%;
    right: 10%;
    transform: rotate(20deg);
    animation: float-slow 12s ease-in-out infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #2dd4bf;
    bottom: 25%;
    right: 20%;
    animation: spin-slow 25s linear infinite reverse;
}

.shape-ring-1 {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid #99f6e4;
    top: 10%;
    left: 25%;
    animation: float-slow 18s ease-in-out infinite;
}

.shape-dots {
    top: 40%;
    right: 5%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, #5eead4 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.3;
    animation: float-slow 10s ease-in-out infinite;
}

/* === Animations === */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

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

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Navbar Scroll State === */
.navbar-scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* === Mobile Menu === */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* === Focus Styles === */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* === Accessibility === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* === Utility === */
.text-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
