/*
Theme Name: AffiNinja
Theme URI: https://affininja.com
Author: AffiNinja Team
Author URI: https://affininja.com
Description: A premium iGaming affiliate network theme - Built by Affiliates, Backed by Tech
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: affininja
Tags: affiliate, igaming, casino, custom-logo, custom-menu, featured-images, theme-options
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --affi-yellow: #F5B800;
    --affi-yellow-light: #FFD54F;
    --affi-yellow-dark: #E5A800;
    --affi-black: #1A1A1A;
    --affi-dark: #2D2D2D;
    --affi-gray: #666666;
    --affi-gray-light: #F5F5F5;
    --affi-white: #FFFFFF;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--affi-black);
    background: var(--affi-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bangers', sans-serif;
    letter-spacing: 2px;
    line-height: 1.2;
}

/* ==========================================================================
   Container
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HEADER - CLEAN AND SIMPLE
   ========================================================================== */
.site-header {
    background: var(--affi-black);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    height: 35px;
    width: auto;
}

.site-logo span {
    font-family: 'Bangers', sans-serif;
    font-size: 24px;
    color: var(--affi-yellow);
    letter-spacing: 2px;
}

/* Navigation - visible on desktop */
.main-navigation {
    display: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    color: var(--affi-white);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--affi-yellow);
}

/* Show navigation on desktop */
@media (min-width: 1025px) {
    .main-navigation {
        display: block;
    }
}

/* Header buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: var(--affi-white);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.lang-flag {
    font-size: 16px;
}

.lang-toggle svg {
    width: 10px;
    height: 10px;
    transition: transform 0.3s ease;
}

.language-switcher:hover .lang-toggle svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--affi-black);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 8px;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 100;
}

.language-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: var(--affi-white);
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lang-option:hover {
    background: rgba(245, 184, 0, 0.15);
    color: var(--affi-yellow);
}

.lang-option.active {
    background: var(--affi-yellow);
    color: var(--affi-black);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--affi-yellow);
    color: var(--affi-black);
}

.btn-primary:hover {
    background: var(--affi-yellow-light);
}

.btn-secondary {
    background: transparent;
    color: var(--affi-white);
    border: 2px solid var(--affi-white);
}

.btn-secondary:hover {
    background: var(--affi-white);
    color: var(--affi-black);
}

.btn-dark {
    background: var(--affi-black);
    color: var(--affi-white);
}

.btn-outline {
    background: transparent;
    color: var(--affi-black);
    border: 2px solid var(--affi-black);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    background: url('assets/images/affininja_background_tiles_yellow.png') center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 72px);
    color: var(--affi-black);
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 rgba(255,255,255,0.5);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--affi-black);
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-text {
    font-size: 16px;
    color: var(--affi-dark);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-link {
    color: var(--affi-black);
    font-weight: 600;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-ninja {
    max-width: 650px;
    width: 100%;
    animation: float 4s ease-in-out infinite;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background: var(--affi-white);
    padding: 80px 0;
}

.section-label {
    display: block;
    font-size: 12px;
    color: var(--affi-gray);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--affi-black);
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--affi-gray-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    width: 150px;
    height: auto;
    margin: 0 auto;
}

.service-title {
    font-size: 20px;
    color: var(--affi-black);
    margin-bottom: 15px;
}

.service-text {
    font-size: 14px;
    color: var(--affi-gray);
    line-height: 1.7;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    background: var(--affi-gray-light);
    padding: 80px 0;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--affi-black);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.about-text {
    font-size: 16px;
    color: var(--affi-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-ninja {
    max-width: 500px;
    width: 100%;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    background: var(--affi-black);
    padding: 80px 0;
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-image {
    display: flex;
    justify-content: center;
}

.cta-ninja {
    max-width: 500px;
    width: 100%;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--affi-yellow);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.cta-subtitle {
    font-size: 24px;
    color: var(--affi-white);
    margin-bottom: 15px;
}

.cta-text {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    background: url('assets/images/affininja_background_yellow.png') center center;
    background-size: cover;
    padding: 80px 0;
}

.testimonials-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.testimonials-title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--affi-black);
    text-transform: uppercase;
}

.testimonial-card {
    background: var(--affi-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.testimonial-text {
    font-size: 18px;
    color: var(--affi-dark);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--affi-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    font-family: 'Bangers', sans-serif;
    font-size: 24px;
    color: var(--affi-gray);
}

.author-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--affi-black);
}

.author-info span,
.author-info .author-site {
    font-size: 14px;
    color: var(--affi-gray);
}

/* Ninja in corner of testimonial card */
.testimonial-ninja {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 180px;
    height: auto;
    opacity: 0.15;
    pointer-events: none;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-nav button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--affi-black);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-nav button:hover {
    background: var(--affi-black);
    color: var(--affi-white);
}

.testimonial-nav button:hover svg {
    stroke: var(--affi-white);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    background: var(--affi-black);
    transform: scale(1.2);
}

.testimonials-track {
    position: relative;
    min-height: 300px;
}

.testimonial-card:not(.active) {
    display: none;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    background: var(--affi-white);
    padding: 80px 0;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--affi-black);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-content h2 span {
    color: var(--affi-yellow-dark);
}

.contact-content > p {
    font-size: 16px;
    color: var(--affi-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--affi-gray-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: var(--affi-yellow);
}

.contact-method-icon {
    width: 45px;
    height: 45px;
    background: var(--affi-yellow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--affi-black);
}

.contact-method-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--affi-black);
    margin-bottom: 2px;
}

.contact-method-info span {
    font-size: 13px;
    color: var(--affi-gray);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--affi-black);
    padding: 40px;
    border-radius: 20px;
}

.contact-form-wrapper h3 {
    font-family: 'Bangers', sans-serif;
    font-size: 28px;
    color: var(--affi-yellow);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.contact-form-wrapper > p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--affi-white);
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    color: var(--affi-white);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--affi-yellow);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--affi-yellow);
    color: var(--affi-black);
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--affi-yellow-light);
}

.form-note {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-align: center;
}

.contact-ninja {
    display: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--affi-black);
    color: var(--affi-white);
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 30px;
    margin-bottom: 15px;
}

.footer-company-info {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-column h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--affi-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   MOBILE RESPONSIVE - 1024px
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-inner,
    .about-inner,
    .cta-inner,
    .testimonials-inner,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE - 768px
   ========================================================================== */
@media (max-width: 768px) {
    /* HEADER - Always visible */
    .site-header {
        padding: 10px 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    
    .header-inner {
        padding: 0 15px;
    }
    
    .site-logo img {
        height: 28px;
    }
    
    .site-logo span {
        font-size: 20px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    /* Language switcher on mobile - compact */
    .lang-toggle {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .lang-toggle .lang-code {
        display: inline;
        font-size: 11px;
    }
    
    .lang-toggle svg {
        display: none;
    }
    
    .lang-dropdown {
        min-width: 90px;
        right: 0;
    }
    
    .lang-option {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .lang-option .lang-code {
        display: inline;
    }
    
    /* Bigger, consistent buttons on mobile */
    .header-actions .btn {
        padding: 10px 16px;
        font-size: 11px;
        font-weight: 600;
    }
    
    .btn-secondary {
        border-width: 2px;
    }
    
    /* HERO - CENTERED */
    .hero-section {
        padding: 80px 0 50px;
        min-height: auto;
        text-align: center;
    }
    
    .hero-inner {
        padding: 0 15px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-ninja {
        max-width: 300px;
        margin: 0 auto;
        animation: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* SECTIONS - CENTERED */
    .services-section,
    .about-section,
    .cta-section,
    .testimonials-section,
    .contact-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .section-label,
    .section-title {
        text-align: center;
    }
    
    /* SERVICES */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    /* ABOUT - CENTERED */
    .about-content {
        text-align: center;
    }
    
    .about-ninja {
        max-width: 300px;
        margin: 0 auto;
        animation: none;
    }
    
    /* CTA - CENTERED */
    .cta-ninja {
        max-width: 300px;
        margin: 0 auto;
        animation: none;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    /* TESTIMONIALS - CENTERED */
    .testimonials-title {
        text-align: center;
    }
    
    .testimonial-card {
        text-align: center;
        padding: 30px 25px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
    
    .testimonial-author {
        justify-content: center;
    }
    
    .testimonial-ninja {
        width: 100px;
        bottom: -10px;
        right: -10px;
        opacity: 0.1;
    }
    
    .testimonial-nav {
        justify-content: center;
    }
    
    /* CONTACT - CENTERED */
    .contact-content {
        text-align: center;
    }
    
    .contact-content h2 {
        text-align: center;
    }
    
    .contact-content > p {
        text-align: center;
    }
    
    .contact-methods {
        align-items: center;
    }
    
    .contact-method {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        justify-content: flex-start;
    }
    
    .contact-form-wrapper {
        padding: 25px;
        text-align: left;
    }
    
    .contact-form-wrapper h3,
    .contact-form-wrapper > p {
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-note {
        text-align: center;
    }
    
    /* FOOTER - CENTERED */
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-logo img {
        margin: 0 auto 15px;
    }
    
    .footer-column ul {
        align-items: center;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE - 480px (Small phones)
   ========================================================================== */
@media (max-width: 480px) {
    /* HEADER */
    .site-header {
        padding: 8px 0;
    }
    
    .header-inner {
        padding: 0 10px;
    }
    
    .site-logo img {
        height: 24px;
    }
    
    .site-logo span {
        font-size: 18px;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    /* Keep buttons decent size on small phones */
    .header-actions .btn {
        padding: 8px 14px;
        font-size: 10px;
    }
    
    /* Smaller lang toggle */
    .lang-toggle {
        padding: 6px 8px;
    }
    
    .lang-toggle .lang-code {
        font-size: 10px;
    }
    
    .lang-dropdown {
        min-width: 80px;
    }
    
    .lang-option .lang-code {
        display: inline;
    }
    
    /* HERO */
    .hero-inner {
        padding: 0 10px;
    }
    
    .hero-ninja {
        max-width: 220px;
    }
    
    /* CONTACT */
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .contact-form-wrapper h3 {
        font-size: 24px;
    }
    
    .contact-method {
        max-width: 100%;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE - 360px (Extra small phones)
   ========================================================================== */
@media (max-width: 360px) {
    .header-inner {
        padding: 0 8px;
    }
    
    .site-logo img {
        height: 20px;
    }
    
    .site-logo span {
        font-size: 14px;
    }
    
    .header-actions {
        gap: 4px;
    }
    
    .header-actions .btn {
        padding: 7px 12px;
        font-size: 9px;
    }
    
    .lang-toggle {
        padding: 5px 6px;
        font-size: 12px;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }

/* ==========================================================================
   ANIMATIONS - Safe (no horizontal transforms)
   ========================================================================== */

/* Fade in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Hero entrance animations */
.hero-title {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: heroTitleIn 0.8s ease forwards 0.2s;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 0.6s ease forwards 0.4s;
}

.hero-text {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 0.6s ease forwards 0.5s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 0.6s ease forwards 0.6s;
}

.hero-image {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: heroImageIn 1s ease forwards 0.3s;
}

@keyframes heroTitleIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Floating animation for ninja images */
.hero-ninja,
.about-ninja,
.cta-ninja {
    animation: float 4s ease-in-out infinite;
}

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

/* Button hover effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(245, 184, 0, 0.4);
}

.btn-dark:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Contact method hover */
.contact-method {
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-3px);
}

/* Form input focus */
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--affi-yellow);
    box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.2);
}

/* Submit button pulse */
.btn-submit {
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 184, 0, 0.4);
}

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