/* Duck Hunters Demo - hunt.css */
/* Hunting/Backwoods thematic naming convention */

/* ================================
   ANIMATIONS (with .animate-ready)
   ================================ */

.animate-ready .marsh-hero {
    animation: duck-fade 0.7s ease-out;
}

.animate-ready .hunt-section {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-ready .hunt-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-ready .camo-table tr {
    opacity: 0;
    transform: translateX(-15px);
}

.animate-ready .camo-table.visible tr {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.animate-ready .camo-table.visible tr:nth-child(1) { transition-delay: 0.05s; }
.animate-ready .camo-table.visible tr:nth-child(2) { transition-delay: 0.1s; }
.animate-ready .camo-table.visible tr:nth-child(3) { transition-delay: 0.15s; }
.animate-ready .camo-table.visible tr:nth-child(4) { transition-delay: 0.2s; }
.animate-ready .camo-table.visible tr:nth-child(5) { transition-delay: 0.25s; }
.animate-ready .camo-table.visible tr:nth-child(6) { transition-delay: 0.3s; }
.animate-ready .camo-table.visible tr:nth-child(7) { transition-delay: 0.35s; }
.animate-ready .camo-table.visible tr:nth-child(8) { transition-delay: 0.4s; }
.animate-ready .camo-table.visible tr:nth-child(9) { transition-delay: 0.45s; }
.animate-ready .camo-table.visible tr:nth-child(10) { transition-delay: 0.5s; }
.animate-ready .camo-table.visible tr:nth-child(11) { transition-delay: 0.55s; }
.animate-ready .camo-table.visible tr:nth-child(12) { transition-delay: 0.6s; }

@keyframes duck-fade {
    from {
        opacity: 0.6;
        transform: scale(1.01);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ================================
   HEADER STATES
   ================================ */

.blind-header.scrolled {
    background: rgba(47, 79, 47, 0.99);
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

/* Mobile nav animation */
.animate-ready .camo-nav {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.animate-ready .camo-nav.open {
    transform: translateY(0);
    opacity: 1;
}

/* Hamburger toggle */
.shotgun-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.shotgun-toggle.active span:nth-child(2) {
    opacity: 0;
}
.shotgun-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================
   BUTTON ENHANCEMENTS
   ================================ */

.animate-ready .btn-shell {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-camo:hover {
    background: linear-gradient(135deg, #6b8e23 0%, #3d5c3d 100%);
}

/* ================================
   TABLE HOVER
   ================================ */

.camo-table tbody tr {
    transition: background-color 0.15s ease;
}

.camo-table tbody tr:hover {
    background-color: rgba(85, 107, 47, 0.1) !important;
}

/* ================================
   FAQ STYLES
   ================================ */

.faq-duck {
    transition: background-color 0.15s ease;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: var(--shell-radius);
}

.faq-duck:hover {
    background-color: #f8f8f8;
}

/* ================================
   GAME OVERLAY
   ================================ */

.animate-ready .hunt-overlay {
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.animate-ready .hunt-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.animate-ready .game-blind {
    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.animate-ready .hunt-overlay.open .game-blind {
    transform: scale(1);
}

/* ================================
   IMAGE FIGURES
   ================================ */

.hunt-figure {
    transition: transform 0.2s ease;
}

.hunt-figure:hover {
    transform: scale(1.01);
}

.hunt-figure img {
    transition: box-shadow 0.2s ease;
}

.hunt-figure:hover img {
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ================================
   ADDITIONAL PAGE STYLES
   ================================ */

/* About page */
.hunt-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.hunt-article h1 {
    font-family: var(--display-font);
    font-size: 2rem;
    color: var(--forest-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.hunt-article p {
    margin-bottom: 1.2rem;
}

.hunt-article h2 {
    font-family: var(--display-font);
    font-size: 1.4rem;
    color: var(--marsh-brown);
    margin: 2rem 0 1rem;
}

/* Contact form */
.blind-form {
    max-width: 600px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: var(--shell-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--forest-dark);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #ddd;
    border-radius: var(--shell-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--camo-green);
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

/* Legal pages */
.legal-hunt {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.legal-hunt h1 {
    font-family: var(--display-font);
    font-size: 1.9rem;
    color: var(--forest-dark);
    margin-bottom: 0.5rem;
}

.legal-hunt .updated {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-hunt h2 {
    font-family: var(--display-font);
    font-size: 1.35rem;
    color: var(--marsh-brown);
    margin: 2rem 0 1rem;
}

.legal-hunt p,
.legal-hunt li {
    margin-bottom: 0.8rem;
    color: #444;
}

.legal-hunt ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-hunt a {
    color: var(--forest-dark);
}

/* 404 page */
.lost-hunt {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 1.5rem;
}

.lost-hunt h1 {
    font-family: var(--display-font);
    font-size: 6rem;
    color: var(--camo-green);
    margin-bottom: 1rem;
}

.lost-hunt h2 {
    font-family: var(--display-font);
    font-size: 1.6rem;
    color: var(--forest-dark);
    margin-bottom: 1rem;
}

.lost-hunt p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* ================================
   RESPONSIVE ENHANCEMENTS
   ================================ */

@media (max-width: 768px) {
    .hunt-article,
    .legal-hunt {
        padding: 2rem 1rem;
    }
    
    .blind-form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .lost-hunt h1 {
        font-size: 4rem;
    }
    
    .hunt-figure {
        margin: 1.5rem -1rem;
    }
    
    .hunt-figure img {
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .shell-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-shell {
        width: 100%;
        justify-content: center;
    }
    
    .camo-table {
        display: block;
        overflow-x: auto;
    }
}

/* ================================
   FOCUS & ACCESSIBILITY
   ================================ */

:focus-visible {
    outline: 3px solid var(--duck-teal);
    outline-offset: 2px;
}

.btn-shell:focus-visible {
    outline-offset: 4px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .camo-table th {
        border: 2px solid var(--camo-green);
    }
    
    .camo-table td {
        border: 1px solid #333;
    }
    
    .btn-shell {
        border: 2px solid currentColor;
    }
}

/* ================================
   PRINT STYLES
   ================================ */

@media print {
    .animate-ready .hunt-section {
        opacity: 1;
        transform: none;
    }
    
    .camo-table {
        page-break-inside: avoid;
    }
    
    .decoy-faq {
        page-break-inside: avoid;
    }
    
    .hunt-figure {
        page-break-inside: avoid;
    }
}
