/* CSS Styles for Bowzon Turbine Landing Page (Light Sky-Blue Tech Theme with Real Photos) */

/* CSS RESET & VARIABLES */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #0284c7; /* Sky Blue */
    --primary-hover: #0ea5e9;
    --dark-bg: #0f2d4a; 
    --dark-alt: #0b2238;
    --light-bg: #e0f2fe; /* Soft light-blue background tint */
    --white: #ffffff;
    --text-color: #1e293b;
    --text-muted: #475569;
    --border-color: #bae6fd;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-bg);
    line-height: 1.25;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-bg);
}

.btn-large {
    padding: 14px 30px;
    font-size: 1rem;
}
.logo-img {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
    
    /* Сдвигаем яркость на максимум и инвертируем, делая картинку полностью белой */
    filter: brightness(0) invert(1);
}
.btn-block {
    display: block;
    width: 100%;
}

/* SECTIONS & IMAGES */
.section {
    padding: 90px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
}

.text-white {
    color: var(--white) !important;
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4 {
    color: var(--white);
}

.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.badge-accent {
    color: #bae6fd;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.lead-paragraph {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-img {
    width: 100%;
    max-width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* GRIDS */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.align-center {
    align-items: center;
}

/* HEADER & NAV */
.site-header {
    background-color: var(--dark-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-subtext {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.7rem;
    color: #bae6fd;
    letter-spacing: 4px;
    line-height: 1;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-link {
    font-family: var(--font-heading);
    color: #bae6fd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: #38bdf8;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* HERO SECTION - Now references the downloaded local image */
.hero-section {
    position: relative;
    background-color: #0c2340; 
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 180px 0;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 35, 64, 0.95) 0%, rgba(15, 45, 74, 0.75) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 750px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(2, 132, 199, 0.15);
    border: 1px solid var(--primary-color);
    color: #bae6fd;
    padding: 6px 14px;
    border-radius: 40px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #bae6fd;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* ABOUT SECTION */
.about-visual .visual-box {
    position: relative;
}

.about-visual .accent-border {
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    z-index: -1;
}

.highlights-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 35px;
}

.highlight-card {
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}

.highlight-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.highlight-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* SERVICES SECTION */
.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-body {
    padding: 25px;
}

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card-text {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* SUPPLY SECTION */
.styled-list {
    list-style: none;
    margin-top: 25px;
}

.styled-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.styled-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 800;
}

/* PARTS SECTION */
.parts-categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 35px;
}

.category-item h4 {
    font-size: 1.1rem;
    color: #bae6fd;
    margin-bottom: 6px;
}

.category-item p {
    font-size: 0.92rem;
    color: #bae6fd;
    opacity: 0.85;
}

/* CASES SECTION */
.case-card {
    background-color: var(--white);
    border: 1px solid #bae6fd;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.case-card:hover {
    box-shadow: 0 5px 20px rgba(2, 132, 199, 0.08);
}

.case-body {
    padding: 25px;
}

.case-tag {
    display: inline-block;
    background-color: rgba(2, 132, 199, 0.08);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.case-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.case-card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* LEAD FORM SECTION (TEXTAREA FIX) */
.quote-container {
    max-width: 650px;
    width: 100%;
}

.quote-form-wrap {
    background-color: var(--white);
    padding: 45px;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    width: 100%;
}

.quote-form-wrap .form-header {
    margin-bottom: 30px;
}

.lead-form .form-group {
    margin-bottom: 20px;
    width: 100%;
}

.lead-form label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.lead-form .required {
    color: #e53935;
}

.lead-form input[type="text"], 
.lead-form textarea {
    width: 100%;
    max-width: 100%; 
    padding: 12px 16px;
    border: 1px solid #bae6fd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    box-sizing: border-box; 
}

.lead-form textarea {
    resize: vertical; 
}

.lead-form input[type="text"]:focus, 
.lead-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-response {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

/* FOOTER */
.site-footer {
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    padding-bottom: 45px;
}

.footer-info .footer-about {
    color: #bae6fd;
    margin-top: 20px;
    font-size: 0.92rem;
    max-width: 380px;
    opacity: 0.85;
}

.footer-contact-details h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
}

.footer-contact-details p {
    color: #bae6fd;
    font-size: 0.92rem;
    margin-bottom: 10px;
    opacity: 0.85;
}

.footer-bottom {
    background-color: var(--dark-alt);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.copyright {
    color: #94a3b8;
    font-size: 0.85rem;
}

.disclaimer {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .grid-3col {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .reverse-mobile {
        direction: rtl;
    }
    .reverse-mobile > * {
        direction: ltr;
    }
    
    .site-header {
        padding: 10px 0;
    }
    
    .nav-toggle {
        display: block;
        z-index: 101;
    }
    
    .hamburger, .hamburger::before, .hamburger::after {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--white);
        position: relative;
        transition: var(--transition);
    }
    
    .hamburger::before { content: ""; position: absolute; top: -8px; left: 0; }
    .hamburger::after { content: ""; position: absolute; top: 8px; left: 0; }
    
    .nav-toggle.active .hamburger { background-color: transparent; }
    .nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
    .nav-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 100;
        transition: var(--transition);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .quote-form-wrap {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .grid-3col {
        grid-template-columns: 1fr;
    }
    
    .highlights-container {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* LANGUAGE SWITCHER */
.language-switcher {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border: 1px solid rgba(186, 230, 253, 0.45);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
}

.lang-btn {
    min-width: 42px;
    padding: 6px 9px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #bae6fd;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

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

.footer-contact-details a {
    color: inherit;
    text-decoration: none;
}

.footer-contact-details a:hover {
    color: var(--white);
    text-decoration: underline;
}

html[lang="zh-CN"] body {
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

@media (max-width: 768px) {
    .language-switcher {
        margin-bottom: 4px;
    }
}

/* Invisible anti-spam honeypot. Do not use display:none: some simple bots skip it. */
.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
