/* Additional custom styles */

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

/* Custom geometric shapes */
.rotated-square {
    transform: rotate(45deg);
}

.rotated-triangle {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Ensure all text is readable */
.hero-gradient h1,
.hero-gradient p,
.hero-gradient .badge {
    position: relative;
    z-index: 10;
}

/* Button focus states */
button:focus,
a:focus {
    outline: 2px solid #a11530;
    outline-offset: 2px;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animation for floating shapes */
@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);
    }
}

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

.float-2 {
    animation: float-delayed 8s ease-in-out infinite;
}

.float-3 {
    animation: float 7s ease-in-out infinite;
}

/* Reduced motion preference */
@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;
    }
}

/* Print styles */
@media print {
    nav,
    .geo-shape,
    .float-1,
    .float-2,
    .float-3 {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero-gradient {
        background: #f0f0f0 !important;
    }

    .hero-gradient h1,
    .hero-gradient p {
        color: black !important;
    }
}
