/* Reset and base styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e74c3c;
    --secondary-color: #2c3e50;
    --accent-color: #34495e;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
    background: var(--white);
    border-radius: 25px;
    box-shadow: var(--shadow);
    padding: 5px;
    display: flex;
    gap: 2px;
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    padding: 5px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-top {
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.header-contacts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    position: relative;
}

.logo-img {
    width: 150px;
    transition: var(--transition);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    font-size: 15px;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 140px 0 80px;
    margin-top: 0px;
    min-height: 30vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* Products Section */
.products {
    padding: 60px 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: clamp(28px, 4vw, 42px);
    color: var(--secondary-color);
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 600;
}

.product-info p {
    color: #666;
    line-height: 1.5;
}

/* About Section */
.about {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.about-image {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Advantages */
.advantages {
    padding: 60px 0;
    background: var(--secondary-color);
    color: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.advantage-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.advantage-icon {
    font-size: 40px;
    margin-bottom: 20px;
    height: 80px;
    width: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
}

.advantage-item p {
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

/* Contact */
.contact {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info strong {
    color: var(--secondary-color);
    min-width: 100px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
    background: var(--light-bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    transform: translateY(-2px);
}

.contact-form textarea {
    height: 140px;
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: var(--accent-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-logo {
    width: 150px;
    filter: brightness(0) invert(1);
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; z-index: 1002; }
    nav { position: fixed; top: 0; left: -100%; width: 80%; height: 100vh; background: var(--white); transition: var(--transition); z-index: 1001; padding: 80px 30px; }
    nav.active { left: 0; }
    .hero { background-attachment: scroll; min-height: 60vh; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero { padding: 80px 0 40px; }
}

/* ===================== CUSTOM ===================== */
.section-title-bottom {
    font-size: clamp(20px, 4vw, 20px);
    text-align: center;
    margin: 40px 0;
    color: var(--secondary-color);
    font-weight: 400;
}

.video_title {
    text-align: center;
    font-weight: 600;
    font-size: 22px;
    padding: 15px;
}

.container_video { max-width: 1200px; margin: 0 auto; }

.video-overlay-wrapper {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
}

.video-overlay-wrapper video { width: 100%; height: 100%; object-fit: cover; }

.elementor-custom-embed-image-overlay {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: opacity 0.4s ease; z-index: 1;
}

.elementor-custom-embed-image-overlay.fade-out { opacity: 0; }

.elementor-custom-embed-play i {
    font-size: 70px; color: white;
    text-shadow: 0 0 15px rgba(0,0,0,.7);
}

.btn_custom {
    display: inline-block;
    background: #000000b2 !important;
    color: var(--white);
    padding: 10px 25px;
    border-radius: 15px;
    font-weight: 600;
    float: right; margin: 20px;
}

.footer_description {
    font-size: 13px;
    text-align: justify;
    border-right: 1px solid rgb(214 219 223);
    padding-right: 20px;
    color: rgb(214 219 223);
}

.white_title { color: #fff !important; }

/* ===== TAWK.TO FIX ===== */
#tawkchat-container,
iframe[src*="tawk.to"] {
    z-index: 99999 !important;
}

@media (max-width: 768px) {
    #tawkchat-container { bottom: 80px !important; }
}
