/*
Theme Name: Hundikuu Agentuur
Theme URI: 
Author: Hundikuu Agentuur
Author URI: 
Description: Hundikuu.ee veebilehe alateema
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: hundikuu-agentuur
Tags: 
*/

:root {
    --hnd-overlay-gradient: linear-gradient(135deg, rgba(24, 165, 255, 0.5) 0%, rgba(153, 0, 224, 0.5) 100%);
    --hnd-primary-gradient: linear-gradient(135deg, #18A5FF 0%, #9900E0 100%);
    --hnd-primary-button-gradient: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --hnd-purple: #9900E0;
    --hnd-purple-dark: #5b21b6;
    --hnd-blue: #18A5FF;
}

/* ===== NUPUD ===== */
.wp-block-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.wp-block-button.button-primary a {
    background: #fff;
    color: var(--hnd-purple-dark);
    border: none;
}
.wp-block-button.button-primary a:before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hnd-primary-button-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.wp-block-button.button-primary a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    color: #fff;
}
.wp-block-button.button-primary a:hover:before {
    opacity: 1;
}

.wp-block-button.button-secondary a {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.wp-block-button.button-secondary a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.wp-block-button.button-secondary a:active, .wp-block-button.button-primary a:active {
    transform: translateY(0);
}

/* ===== GLOBAL STYLES ===== */
.hnd-lines:before, .hnd-lines:after {
    content: '';
    display: inline-block;
    width: 100px;
    height: 1px;
    background: #000;
    margin: 0 .5em .25em 0;
}

.hnd-lines:after {
    margin: 0 0 .25em .5em; 
}
.hnd-lines {
    font-weight: 700;
    text-transform: uppercase;
}

/* =====  HEADER ===== */
 .hnd-header .wp-block-site-logo {
        height: 30px;
        overflow: visible;
 }

    


/* ===== AVALEHT HERO BANNER ===== */
.hnd-banner {
    background: var(--hnd-overlay-gradient), url('https://development.hundikuu.ee/wp-content/uploads/hnd-home-cover.webp') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.home-hero-text p {
    font-size: 1.25rem;
    line-height: 1.6;
}

.hnd-content-bottom {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hnd-inner {
    max-width: 80vw !important;
    overflow: hidden;
}

.home-banner-img {
    max-width: 80vw;
    height: auto;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 0.7;
}

.mouse-border {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateY(12px);
    }

    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

.scroll-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}


@media screen and (max-width: 599px) {

    /* ===== AVALEHT HERO BANNER ===== */
   .hero-buttons {
        flex-direction: column;
        max-width: 80vw;
        gap: 1rem;
    }

   .hero-buttons .wp-block-button a, .hero-buttons .wp-block-button {
        width: 100%;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .hnd-header .custom-logo {
        height: 32px !important;
        width: auto !important;
        
    }



}

@media screen and (min-width: 600px) {

    /* ===== AVALEHT HEADER ===== */
    .avaleht-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            background-color 0.4s ease,
            box-shadow 0.4s ease;
        transform: translateY(-100%);
        /* Peidus */
        background-color: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
    }

    .avaleht-header.is-visible {
        transform: translateY(0);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .logged-in.admin-bar .avaleht-header {
        top: 32px;
    }

    .avaleht-header.is-hiding {
        transform: translateY(-100%);
    }

    .hnd-header .custom-logo {
        height: 44px !important;
        width: auto !important;
        transform: translateY(-.5rem);
    }
   
}