/* Custom styles for Ronin Wear */

/* Geometric shape animations */
.geo-shape {
    position: absolute;
    opacity: 0.6;
    pointer-events: none;
}

.geo-triangle-1 {
    top: 15%;
    right: 5%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: float 8s ease-in-out infinite;
    opacity: 0.15;
}

.geo-square-1 {
    top: 60%;
    left: 3%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0f766e, #0d9488);
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite reverse;
    opacity: 0.1;
}

.geo-circle-1 {
    bottom: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    border: 3px solid #14b8a6;
    border-radius: 50%;
    animation: pulse-ring 4s ease-in-out infinite;
    opacity: 0.2;
}

.geo-diamond-1 {
    top: 40%;
    left: 8%;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5eead4, #2dd4bf);
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
    opacity: 0.08;
}

.geo-triangle-2 {
    bottom: 30%;
    right: 15%;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #115e59, #0f766e);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: float 9s ease-in-out infinite reverse;
    opacity: 0.12;
}

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

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

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

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

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

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

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

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

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

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

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

/* Selection color */
::selection {
    background: #0d9488;
    color: #f0fdfa;
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

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

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}
