/* Custom styles for Ten41 Uniform & Tactical */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Subtle gradient for hero right column */
.hero-gradient {
    background: linear-gradient(135deg, #fce4e8 0%, #fdf8f6 50%, #f9f0df 100%);
}

/* Card hover effects */
.product-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(196, 40, 66, 0.1);
}

/* Image zoom on hover */
.product-card img {
    transition: transform 0.7s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

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

/* Selection color */
::selection {
    background-color: #fce4e8;
    color: #6a1625;
}

/* Navbar scroll state */
nav.scrolled {
    box-shadow: 0 1px 20px rgba(196, 40, 66, 0.08);
}

/* Mobile menu animation */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.closed {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

/* Hamburger animation */
.menu-line {
    transition: all 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.25rem;
}

/* Testimonial card hover */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(196, 40, 66, 0.08);
}

/* Button ripple effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:active::after {
    width: 200px;
    height: 200px;
}

/* Form input transitions */
input, textarea, select {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Subtle pattern overlay for CTA */
.cta-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.05) 1px, transparent 1px),
                       radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Floating animation for badge */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

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

/* Decorative line animation */
@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

/* Counter animation */
.counter {
    display: inline-block;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Print styles */
@media print {
    nav, #mobile-menu, .reveal { display: none; }
    body { color: #000; background: #fff; }
    .magazine-grid { grid-template-columns: 1fr; }
}
