/* Custom styles for Almanzar Insurance */

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

/* Geometric background shapes */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
}

.geo-triangle-1 {
    top: 15%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: #FF4521;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: float 20s ease-in-out infinite;
}

.geo-circle-1 {
    bottom: 20%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: #FF5C3A;
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.geo-square-1 {
    top: 50%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: #FF4521;
    transform: rotate(45deg);
    animation: rotate 25s linear infinite;
}

.geo-circle-2 {
    top: 70%;
    left: 15%;
    width: 100px;
    height: 100px;
    background: #FF8A70;
    border-radius: 50%;
    animation: float 18s ease-in-out infinite;
}

.geo-triangle-2 {
    top: 40%;
    left: 2%;
    width: 200px;
    height: 200px;
    background: #FF5C3A;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: rotate 30s linear infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

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

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

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

/* Mobile menu */
.mobile-menu-link {
    display: block;
    padding: 0.5rem 0;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(12, 12, 16, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 69, 33, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

::-webkit-scrollbar-thumb {
    background: #4A4A54;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF4521;
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23737380' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .geo-triangle-1,
    .geo-circle-1,
    .geo-square-1,
    .geo-circle-2,
    .geo-triangle-2 {
        animation: none;
    }
    
    .scroll-reveal {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}
