@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #E30613; /* Lanxess Red */
    --secondary: #000000; /* Black */
    --accent: #E30613;
    --background: #FFFFFF;
    --text: #2D2D2D;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
}
.dtectable{ overflow-x: auto;}
.dtectable table{ width: 100%; border-collapse: collapse; border-spacing: 0;  overflow: hidden;}
.dtectable table td{ padding: 10px; font-size: 16px; border:1px solid #d3dce3 }
.dtectable table tr:nth-of-type(odd) td{ background: #f1f1f1; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background-color: var(--background);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Base Styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

/* Tailwind custom styles overrides */
.bg-primary { background-color: var(--primary); }
.text-primary { color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.text-secondary { color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.text-accent { color: var(--accent); }
.bg-light-gray { background-color: var(--light-gray); }

.cont_form textarea{height: 120px;}

/* Hover utilities since Tailwind CDN doesn't know CSS vars */
.hover-bg-primary:hover { background-color: var(--primary) !important; }
.hover-text-white:hover { color: white !important; }
.hover-border-primary:hover { border-color: var(--primary) !important; }

/* Buttons - Lanxess style (often solid red or clean white with border) */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 0px; /* Sharp corners like industrial branding */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover {
    background: #b0050e; /* Darker red for better contrast on hover */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(227, 6, 19, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 26px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary); /* Keep border red on hover */
    color: white;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.2);
}

/* Cards - Lanxess style (clean, modular, no shadows or very subtle ones) */
.card {
    background: white;
    border: 1px solid var(--medium-gray);
    border-radius: 0px;
    padding: 24px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Header customization */
header .nav-link {
    position: relative;
    padding-bottom: 4px;
}
header .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}
header .nav-link:hover::after {
    width: 100%;
}

/* Floating Contact & Mobile Nav */
.floating-contact {
    position: fixed;
    right: 30px;
    bottom: 120px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-contact-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.floating-contact-item a {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.floating-contact-label {
    position: absolute;
    right: 100%;
    margin-right: 15px;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.2);
}

.floating-contact-label::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--primary);
}

.floating-contact-item:hover .floating-contact-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.floating-contact-item:hover a {
    transform: scale(1.1);
    background: var(--primary);
}

/* Search Input Animation */
#search-input-wrapper {
    transform-origin: right center;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Swiper Controls Optimization */
.swiper-button-next,
.swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease !important;
    color: white !important;
}

.swiper-button-next {
    right: 40px !important;
}

.swiper-button-prev {
    left: 40px !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    width: 60px !important; /* Expand on hover */
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem !important;
    font-weight: 900;
}

.swiper-pagination {
    bottom: 40px !important;
}

.swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: white !important;
    opacity: 0.5 !important;
    border-radius: 0 !important; /* Industrial square style */
    margin: 0 6px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--primary) !important;
    width: 32px !important; /* Progress bar style for active bullet */
}

/* Swiper Fade Animation Fix */
.animate-fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
