/* Wolf of Wilderness Dog Food - Custom Styles */

/* ===== FONTS ===== */
body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== FOREST/WILDERNESS COLOR PALETTE ===== */
/* Primary accent color - deep moss/forest green */
.bg-forest-100 {
    background-color: #ecf0e4;
}
.bg-forest-200 {
    background-color: #d4dfc8;
}
.bg-forest-500 {
    background-color: #4a6b3e;
}
.bg-forest-600 {
    background-color: #3b5731;
}
.text-forest-200 {
    color: #d4dfc8;
}
.text-forest-500 {
    color: #4a6b3e;
}
.text-forest-600 {
    color: #3b5731;
}
.border-forest-500 {
    border-color: #4a6b3e;
}
.ring-forest-500 {
    --tw-ring-color: #4a6b3e;
}

/* Amber/rust warm accent (berries, wild herbs) */
.bg-amber-warm {
    background-color: #fef6e8;
}
.text-amber-warm {
    color: #b45309;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse-soft {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-up-delay {
    animation: fadeUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== HEADER STYLES ===== */
#header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ===== MOBILE MENU TRANSITIONS ===== */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.open {
    display: block;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #a8a29e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #78716c;
}

/* ===== FOCUS STYLES FOR ACCESSIBILITY ===== */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #4a6b3e;
    outline-offset: 2px;
}

/* ===== FORM INPUT STYLES ===== */
input::placeholder {
    color: #a8a29e;
}

input:focus {
    outline: none;
}

/* ===== CARD HOVER EFFECTS ===== */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ===== SECTION SPACING ===== */
.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* ===== GRADIENT BACKGROUNDS ===== */
.bg-gradient-wild {
    background: linear-gradient(135deg, #fafaf9 0%, #ecf0e4 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #292524 0%, #1c1917 100%);
}

/* ===== BUTTON STYLES ===== */
.btn-primary {
    background-color: #4a6b3e;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgb(74 107 62 / 0.3);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgb(74 107 62 / 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #44403c;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: 2px solid #d6d3d1;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #a8a29e;
    background-color: #fafaf9;
}

/* ===== TESTIMONIAL CAROUSEL (MOBILE) ===== */
#testimonial-carousel {
    position: relative;
}

#testimonial-track {
    display: flex;
    transition: transform 0.3s ease;
}

#testimonial-track > div {
    flex: 0 0 100%;
    padding: 0 1rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #d6d3d1;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.testimonial-dot.active {
    background-color: #4a6b3e;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 640px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats .w-px {
        width: 100%;
        height: 1px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    header,
    footer,
    #mobile-menu,
    button,
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== SELECTION STYLES ===== */
::selection {
    background-color: #4a6b3e;
    color: white;
}

::-moz-selection {
    background-color: #4a6b3e;
    color: white;
}

/* ===== PROSE/ARTICLE STYLES FOR INNER PAGES ===== */
.prose-custom h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #292524;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prose-custom h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #292524;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.prose-custom p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #57534e;
    margin-bottom: 1.25rem;
}

.prose-custom ul, .prose-custom ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose-custom ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: #57534e;
    line-height: 1.7;
}

.prose-custom ol li {
    list-style: decimal;
    margin-bottom: 0.5rem;
    color: #57534e;
    line-height: 1.7;
}

.prose-custom strong {
    color: #292524;
    font-weight: 700;
}

.prose-custom table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08);
}

.prose-custom th {
    background-color: #4a6b3e;
    color: white;
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.prose-custom td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e7e5e4;
    color: #44403c;
    font-size: 0.95rem;
}

.prose-custom tr:last-child td {
    border-bottom: none;
}

.prose-custom tr:nth-child(even) td {
    background-color: #fafaf9;
}
