/*
Theme Name: SZMH-Euro Metall
Theme URI: https://szmheumetall.com
Author: Rozmann Botond
Author URI: https://rozmannbotond.hu
Description: Egyedi WordPress sablon az SZMH-Euro Metall Kft. számára. Generál kivitelezés, tetőfedés, bádogos munkák és ipari csarnokok szakszerű kivitelezése.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
License URI: https://szmheumetall.com
Text Domain: szmh-theme
Tags: custom-theme, construction, tailwindcss, one-page
*/

/* ================================================
   ALAP CSS RESET & OVERRIDES
   (Tailwind CDN-nel dolgozunk, de ezek kellenek
   a WordPress téma alapértelmezett stílusainak
   felülírásához.)
   ================================================ */

/* Kék háttér és tap highlight eltüntetése mobilon */
* {
    -webkit-tap-highlight-color: transparent;
}

button:focus {
    outline: none !important;
}

/* ================================================
   MÁRKA SZÍNEK KÉNYSZERÍTÉSE
   (WordPress téma / plugin felülírások ellen)
   ================================================ */

/* Szövegszín */
.text-primary { color: #E63946 !important; }
.hover\:text-primary:hover { color: #E63946 !important; }

/* Háttérszín */
.bg-primary { background-color: #E63946 !important; }
.hover\:bg-primary-dark:hover { background-color: #ba2d39 !important; }

/* Gombok szövegszíne: mindig fehér */
a.bg-primary, button.bg-primary {
    color: #ffffff !important;
    text-decoration: none !important;
}
a.bg-primary:hover, button.bg-primary:hover {
    color: #ffffff !important;
}

/* Navigációs linkek */
nav a:hover {
    color: #E63946 !important;
}
nav a.bg-primary:hover {
    color: #ffffff !important;
    background-color: #ba2d39 !important;
}

/* Footer linkek */
footer a:hover {
    color: #E63946 !important;
}

/* Kártya ikonok: hover állapotban fehérek */
.group:hover .group-hover\:text-white {
    color: #ffffff !important;
}

/* ================================================
   HOVER SEGÉDOSZTÁLYOK
   ================================================ */

.gomb:hover {
    color: #E63946 !important;
}

.gomb2:hover {
    color: #fff !important;
}

.facebook:hover {
    background-color: #E63946 !important;
}

.szolgh3 {
    color: #fff;
}

/* ================================================
   LAYOUT
   ================================================ */

.header-height {
    height: auto;
    min-height: 6rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* ================================================
   TIPOGRÁFIA FELÜLÍRÁSOK
   ================================================ */

h1 {
    line-height: 1.2 !important;
}
@media (min-width: 1024px) {
    h1 { line-height: 80px !important; }
}

h2 {
    line-height: 55px !important;
}

/* ================================================
   HERO STÍLUSOK
   ================================================ */

.hero-text-stroke {
    color: transparent;
    -webkit-text-stroke: 2px white;
    opacity: 0.9;
    padding-bottom: 0.1em;
    display: inline-block;
}

.hero-grid-overlay {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}

/* ================================================
   SCROLL INDIKÁTOR
   ================================================ */

.mouse-icon {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: #E63946;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouse-scroll 1.5s infinite;
}

@keyframes mouse-scroll {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

/* ================================================
   MARQUEE (Logó Carousel)
   ================================================ */

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
}

.marquee-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    animation: marquee 40s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

/* ================================================
   GSAP KEZDETI ÁLLAPOTOK
   (Megakadályozza a villanást betöltéskor)
   ================================================ */

.gsap-fade-up,
.gsap-slide-left,
.gsap-slide-right {
    opacity: 0;
    visibility: hidden;
}

/* ================================================
   SCROLLBAR ELREJTÉS
   ================================================ */

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ================================================
   RÓLUNK OLDAL - IDÉZETJEL
   ================================================ */

.quote-mark {
    font-family: Georgia, serif;
    font-size: 8rem;
    line-height: 1;
    color: #E63946;
    opacity: 0.15;
    position: absolute;
    top: -20px;
    left: -10px;
    user-select: none;
    pointer-events: none;
}

/* Safari border-radius fix */
.gallery-item {
    -webkit-transform: translateZ(0);
}

/* ================================================
   ELÉRHETŐSÉGEK - SELECT FIX
   ================================================ */

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

/* ================================================
   DROPDOWN MENÜ
   ================================================ */

.nav-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
}

.nav-dropdown-parent:hover .nav-dropdown,
.nav-dropdown-parent:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
