/*
Theme Name: EDV-Crew Child Theme
Theme URI: https://edv-crew.de
Description: Custom Child Theme für EDV-Crew basierend auf Hello Elementor
Author: EDV-Crew
Author URI: https://edv-crew.de
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edv-crew-child
*/

/* ============================================
   EDV-Crew Custom Styles
   ============================================ */

:root {
    --navy-blue: #001F5C;
    --ocean-blue: #0033A0;
    --accent-teal: #00A8B5;
    --light-gray: #F5F7FA;
    --medium-gray: #E8EDF3;
    --text-dark: #1a2332;
    --text-gray: #5a6c7d;
}

/* ============================================
   Sticky Header Shrink Effect
   ============================================ */

/* Header Normal State */
.elementor-location-header {
    transition: all 0.3s ease;
}

/* Header beim Scrollen */
.elementor-sticky--effects {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Logo verkleinern beim Scrollen */
.elementor-sticky--effects .elementor-widget-image img {
    max-height: 45px !important;
    transition: all 0.3s ease;
}

/* Navigation verkleinern beim Scrollen */
.elementor-sticky--effects .elementor-nav-menu {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* ============================================
   Button Styles
   ============================================ */

.elementor-button.btn-primary {
    background-color: var(--accent-teal) !important;
    color: white !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.elementor-button.btn-primary:hover {
    background-color: #008999 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 168, 181, 0.3) !important;
}

.elementor-button.btn-secondary {
    background-color: transparent !important;
    color: var(--ocean-blue) !important;
    border: 2px solid var(--ocean-blue) !important;
    transition: all 0.3s ease !important;
}

.elementor-button.btn-secondary:hover {
    background-color: var(--ocean-blue) !important;
    color: white !important;
}

/* ============================================
   Service Cards Hover Effects
   ============================================ */

.service-card {
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12) !important;
    border-top-color: var(--accent-teal) !important;
}

/* ============================================
   Navigation Hover Effects
   ============================================ */

.elementor-nav-menu--main .elementor-item {
    position: relative;
    transition: color 0.3s ease;
}

.elementor-nav-menu--main .elementor-item:hover {
    color: var(--ocean-blue) !important;
}

.elementor-nav-menu--main .elementor-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-teal);
    transition: width 0.3s ease;
}

.elementor-nav-menu--main .elementor-item:hover::after {
    width: 100%;
}

/* ============================================
   Smooth Scrolling
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   Service Icon Gradient
   ============================================ */

.service-icon-gradient {
    background: linear-gradient(135deg, var(--ocean-blue), var(--accent-teal)) !important;
}

/* ============================================
   Hero Section Shape Divider
   ============================================ */

.hero-wave svg {
    fill: white;
}

/* ============================================
   Counter/Stats Animation
   ============================================ */

.elementor-counter-number {
    color: var(--ocean-blue) !important;
    font-weight: 700 !important;
}

/* ============================================
   Scroll to Top Button
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-teal);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 168, 181, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    display: flex;
}

.scroll-to-top:hover {
    background: #008999;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 168, 181, 0.4);
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 1024px) {
    /* Tablet Anpassungen */
    .elementor-sticky--effects .elementor-widget-image img {
        max-height: 40px !important;
    }
}

@media (max-width: 768px) {
    /* Mobile Anpassungen */
    .elementor-sticky--effects .elementor-widget-image img {
        max-height: 35px !important;
    }
    
    .hero h1 {
        font-size: 2rem !important;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* ============================================
   Custom List Styles (Checkmarks)
   ============================================ */

.service-list li::before {
    content: '✓';
    color: var(--accent-teal);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ============================================
   Partner Logos Section
   ============================================ */

.partner-logo {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

/* ============================================
   Contact Form Styling
   ============================================ */

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    padding: 12px;
    transition: border-color 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    border-color: var(--accent-teal);
    outline: none;
}

.wpcf7-form input[type="submit"] {
    background-color: var(--accent-teal) !important;
    color: white !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #008999 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 168, 181, 0.3) !important;
}

/* ============================================
   Maritime Accents (optional)
   ============================================ */

.maritime-element {
    position: relative;
}

.maritime-element::before {
    content: '';
    position: absolute;
    /* Subtle rope/anchor decoration if needed */
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .elementor-location-header,
    .elementor-location-footer,
    .scroll-to-top {
        display: none !important;
    }
}

/* ============================================
   Accessibility Improvements
   ============================================ */

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--navy-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
}

/* ============================================
   Performance Optimizations
   ============================================ */

/* GPU Acceleration for Animations */
.service-card,
.elementor-button,
.scroll-to-top {
    will-change: transform;
    transform: translateZ(0);
}

/* Smooth Font Rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
