/*
Theme Name: ident-IT_Child-Theme
Template: Divi
Author: ident-IT
Author URI: http://www.ident-it.at
Version: 4.6.6.1603287875
Updated: 2020-10-21 15:44:35

*/

body #wfacp-e-form .wfacp-payment-tab-list.wfacp-active {
    border-bottom-color: #ffcc00;
}

/* Custom Header Section Global Styles */
.custom-header-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    background-color: #0B1121;
    height: 65vh;
    margin-bottom: -100px;
    z-index: 1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { background-color: #373f43; }
    20% { background-color: #1a1e20; }
    40% { background-color: #373f43; }
    60% { background-color: #232525; }
    80% { background-color: #121618; }
}

/* Base Grid - Static (no animation) */
.custom-header-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

/* Floating Bubbles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.bubble:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: floatBubble1 30s linear infinite;
}

.bubble:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: 10%;
    animation: floatBubble2 25s linear infinite;
}

.bubble:nth-child(3) {
    width: 250px;
    height: 250px;
    top: 20%;
    left: 20%;
    animation: floatBubble3 35s linear infinite;
}

@keyframes floatBubble1 {
    0% { transform: translate(-100px, -100px) rotate(0deg); }
    25% { transform: translate(50px, 0) rotate(90deg); }
    50% { transform: translate(100px, 100px) rotate(180deg); }
    75% { transform: translate(0, 50px) rotate(270deg); }
    100% { transform: translate(-100px, -100px) rotate(360deg); }
}

@keyframes floatBubble2 {
    0% { transform: translate(100px, 100px) rotate(0deg); }
    25% { transform: translate(0, -50px) rotate(-90deg); }
    50% { transform: translate(-100px, 0) rotate(-180deg); }
    75% { transform: translate(50px, 100px) rotate(-270deg); }
    100% { transform: translate(100px, 100px) rotate(-360deg); }
}

@keyframes floatBubble3 {
    0% { transform: translate(50px, -50px) rotate(0deg); }
    33% { transform: translate(-50px, 100px) rotate(120deg); }
    66% { transform: translate(100px, 0) rotate(240deg); }
    100% { transform: translate(50px, -50px) rotate(360deg); }
}

/* Highlight Area */
.grid-highlight {
    position: absolute;
    width: 400px;
    height: 400px;
    pointer-events: none;
    opacity: 0;
    transform: translate(-200px, -200px);
    transition: opacity 0.5s ease;
    z-index: 2;
}

/* Grid Overlay - Using exact positioning from example */
.grid-highlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 204, 0, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 204, 0, 0.2) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 50px 50px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

/* Intense Center */
.grid-highlight::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle at center,
        rgba(255, 204, 0, 0.3) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.header-content {
    position: relative;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    z-index: 3;
}

.header-text {
    max-width: 700px;
    position: relative;
}

.header-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.2s forwards;
}

/* Gradient Line with Glow */
.animated-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffcc00, transparent);
    width: 0;
    bottom: -20px;
    left: 0;
    opacity: 0;
    animation: lineWidth 0.8s forwards 0.6s;
    box-shadow: 0 0 1px rgba(255, 204, 0, 0.5);
}

@keyframes lineWidth {
    0% { 
        width: 0;
        opacity: 0;
    }
    100% { 
        width: 100%;
        opacity: 1;
    }
}

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

/* Button Styling */
.header-button {
    display: inline-block;
    background-color: #ffcc00;
    color: #000000;
    padding: 12px 30px;
    margin-top: 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.4s forwards;
    z-index: 1;
}

.header-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 204, 0, 0.4);
}

/* Divi Module Integration */
.et_pb_code_inner .custom-header-section {
    margin: -20px -20px; /* Compensate for Divi module padding */
    width: calc(100% + 40px);
}

/* Responsive Adjustments */
@media (max-width: 980px) {
    .header-text {
        text-align: center;
    }
    
    .animated-line {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .custom-header-section {
        height: 50vh;
    }
    
    .header-text {
        text-align: center;
        padding: 0 10px;
    }
    
    .header-title {
        font-size: 28px !important;
    }
    
    .header-subtitle {
        font-size: 16px !important;
    }
    
    .header-button {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .bubble:nth-child(1) {
        width: 200px;
        height: 200px;
    }
    
    .bubble:nth-child(2) {
        width: 150px;
        height: 150px;
    }
    
    .bubble:nth-child(3) {
        width: 100px;
        height: 100px;
    }
}


/*Product*/

.et-db #et-boc .et-l .et_pb_wc_add_to_cart .quantity input.qty {
    max-width: none !important;
}