/* Tectum Hero CSS - Simplified Version */

/* Reset - ONLY for tectum-hero */
.tectum-hero * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main container */
.tectum-hero {
    position: relative;
    width: 100%;
    min-height: 700px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Force all text white - ONLY in hero section */
.tectum-hero,
.tectum-hero *,
.tectum-hero h1,
.tectum-hero h2,
.tectum-hero p,
.tectum-hero a,
.tectum-hero span {
    color: #ffffff !important;
}

/* Background */
.tectum-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tectum-hero .dark {
    background: transparent linear-gradient(90deg, #111, #333) 0 0 no-repeat padding-box;
    height: 650px;
    position: absolute;
    width: 100%;
    z-index: -1;
}

/* Triangles */
.tectum-hero .triangle {
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
    opacity: 0.05;
}

.tectum-hero .triangle-1 {
    background-image: url(../img/triangle-dark-left.svg);
    height: 85vw;
    left: 0;
    top: 50%;
    transform: translateY(-60%);
    width: 60vw;
}

.tectum-hero .triangle-2 {
    background-image: url(../img/triangle-dark-left.svg);
    bottom: 20vw;
    height: 258px;
    left: 30vw;
    transform: translateY(50%);
    width: 150px;
}

.tectum-hero .triangle-3 {
    background-image: url(../img/triangle-dark-left.svg);
    height: 155px;
    left: 40vw;
    top: 8vw;
    width: 90px;
}

/* Container */
.tectum-hero .hero-container {
    position: relative;
    z-index: 10;
    padding-top: 0rem;
}

.tectum-hero .hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Text column */
.tectum-hero .hero-text-column {
    color: #ffffff !important;
}

.tectum-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 3rem !important;
    color: #ffffff !important;
}

.tectum-hero .h2 {
    font-size: 2rem !important;
}

@media (min-width: 1200px) {
    .tectum-hero .h2 {
        font-size: 2.75rem !important;
    }
}

.tectum-hero .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 3rem !important;
    color: #ffffff !important;
    /* NO OPACITY - FULL WHITE */
}

/* CTA Button */
.tectum-hero .text-triangle {
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.05em !important;
    display: inline-block !important;
    position: relative !important;
    padding-left: 20px !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
}

.tectum-hero .text-triangle:hover {
    transform: translateX(5px);
    color: #ffffff !important;
}

.tectum-hero .text-triangle::before {
    content: '▶' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.7rem !important;
    color: #ffffff !important;
}
.tectum-hero .text-triangle::after {
   display:none!important;
}

/* Visual column */
.tectum-hero .hero-visual-column {
    position: relative;
}

/* Hero placeholder */
.tectum-hero .hero-placeholder {
    height: 123px;
}

@media (max-width: 1200px) {
    .tectum-hero .hero-placeholder {
        height: 161px;
    }
}

/* Logo Grid */
.tectum-hero .logos {
    column-gap: 24px;
    display: flex;
    position: absolute;
    width: 100%;
    z-index: 9;
    opacity: 1;
}

.tectum-hero .logos .flex-placeholder {
    flex: 1;
}

.tectum-hero .logos .items {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}

.tectum-hero .logos .small-item,
.tectum-hero .logos .large-item {
    align-items: center;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    display: flex;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
}

.tectum-hero .logos .small-item {
    height: 120px;
    width: 120px;
}

.tectum-hero .logos .large-item {
    height: 140px;
    width: 140px;
}

.tectum-hero .logos .small-item:hover,
.tectum-hero .logos .large-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

.tectum-hero .logos .small-item img {
    height: auto;
    width: 30%;
}

.tectum-hero .logos .large-item img {
    height: auto;
    width: 60%;
}

/* Car image */
.tectum-hero .hero-car {
    height: auto;
    margin-top: -7.5rem;
    width: 100%;
    position: relative;
    z-index: 8;
}

/* Bootstrap utilities - ONLY in hero */
.tectum-hero .mb-5 {
    margin-bottom: 3rem !important;
}

.tectum-hero .pt-5 {
    padding-top: 3rem !important;
}

.tectum-hero .text-white {
    color: #ffffff !important;
}

.tectum-hero .text-uppercase {
    text-transform: uppercase !important;
}

/* Responsive - Desktop */
@media (min-width: 992px) {
    .tectum-hero .hero-inner {
        display: flex;
        align-items: center;
        gap: 60px;
    }
    
    .tectum-hero .hero-text-column {
        flex: 0 0 400px;
    }
    
    .tectum-hero .hero-visual-column {
        flex: 1;
        position: relative;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .tectum-hero .hero-container {
        padding-top: 5rem;
    }
    
    .tectum-hero .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .tectum-hero .hero-description {
        text-align: center;
    }
    
    .tectum-hero .hero-text-column {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .tectum-hero .logos {
        display: none;
    }
    
    .tectum-hero .hero-car {
        margin-top: 2rem;
    }
    
    .tectum-hero .triangle-2,
    .tectum-hero .triangle-3 {
        display: none;
    }
}

/* Override any theme colors - ONLY in hero */
body .tectum-hero h1,
body .tectum-hero h2,
body .tectum-hero p,
body .tectum-hero a,
body .tectum-hero span,
#ajax-content-wrap .tectum-hero *,
.container-wrap .tectum-hero *,
.nectar-global-section .tectum-hero * {
    color: #ffffff !important;
}


/**
 * Tectum Hero Plugin Styles
 * Including Audi configuration warning styles
 */

/* Existing hero styles - add your current CSS here */
.tectum-hero {
    /* Your existing hero styles */
}

/* Audi Configuration Warning Styles */
.audi-code-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    color: #856404;
    padding: 12px 16px;
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    animation: fadeIn 0.3s ease-in;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Icon styling */
.audi-code-warning svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Text styling */
.audi-code-warning span {
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .audi-code-warning {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .audi-code-warning svg {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }
}

/* Dark theme support (if your configurator has dark mode) */
.dark-theme .audi-code-warning,
[data-theme="dark"] .audi-code-warning {
    background-color: #44403c;
    border-color: #57534e;
    color: #fbbf24;
}

.dark-theme .audi-code-warning svg,
[data-theme="dark"] .audi-code-warning svg {
    fill: #fbbf24;
}

/* Animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional styling for when warning appears in a modal/popup */
.modal .audi-code-warning,
.popup .audi-code-warning,
.configurator-modal .audi-code-warning {
    margin: 12px 0;
}

/* Style adjustments for different configurator layouts */
.configurator-step-3 .audi-code-warning,
.configuration-code-section .audi-code-warning {
    max-width: 500px;
}

/* Ensure warning doesn't break form layouts */
.form-group .audi-code-warning,
.input-group + .audi-code-warning {
    width: 100%;
    box-sizing: border-box;
}