/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #E31E24;
    --navy-blue: #1e2f4d;
    --dark-blue: #15233a;
    --white: #ffffff;
    --light-gray: #f8f5f5;
    --gray: #666666;
    --dark-text: #333333;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ===================================
   Header & Navigation
   =================================== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-red);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    transition: all 0.3s;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #c41a1f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--navy-blue);
    border-color: var(--navy-blue);
}

.btn-secondary:hover {
    background-color: var(--navy-blue);
    color: var(--white);
}

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

.btn-light:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-download {
    width: 100%;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 80px 0;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ===================================
   Page Hero
   =================================== */
.page-hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* ===================================
   Catalog Section
   =================================== */
.catalog-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.catalog-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.catalog-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.catalog-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--navy-blue);
}

.catalog-features {
    margin-top: 25px;
}

.catalog-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkmark {
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.catalog-download {
    text-align: center;
}

.catalog-info {
    margin-top: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* ===================================
   Why Choose Section
   =================================== */
.why-choose {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--navy-blue);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===================================
   About Section
   =================================== */
.about-preview,
.about-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.about-text h2 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.8;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* ===================================
   Core Values
   =================================== */
.core-values {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* ===================================
   Global Presence & Vision
   =================================== */
.global-presence,
.vision-statement {
    padding: 60px 0;
    text-align: center;
}

.global-presence {
    background-color: var(--light-gray);
}

.global-presence h2,
.vision-statement h2 {
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.global-presence p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--gray);
    line-height: 1.8;
}

.vision-statement blockquote {
    max-width: 700px;
    margin: 0 auto;
    font-size: 2rem;
    font-style: italic;
    color: var(--navy-blue);
}

.vision-statement footer {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--gray);
    font-style: normal;
}

/* ===================================
   Products Section
   =================================== */
.featured-products,
.products-section {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 600;
}

.compare-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

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

.product-info {
    padding: 25px;
}

.product-category {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-info h3 {
    font-size: 1.2rem;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.product-spec {
    color: var(--gray);
    margin-bottom: 20px;
}

.product-specs {
    margin: 15px 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-label {
    color: var(--gray);
}

.spec-value {
    color: var(--dark-text);
    font-weight: 500;
}

/* ===================================
   Filters Section
   =================================== */
.filters-section {
    padding: 40px 0;
    background-color: var(--light-gray);
}

.filters-section h3 {
    font-size: 1.5rem;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-text);
}

.filter-select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--white);
    cursor: pointer;
}

.filter-results {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===================================
   Product Features Section
   =================================== */
.product-features-section {
    padding: 60px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.product-features-section h2 {
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.product-features-section > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

/* ===================================
   Custom Solution
   =================================== */
.custom-solution {
    padding: 60px 0;
    text-align: center;
}

.custom-solution h2 {
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.custom-solution p {
    color: var(--gray);
    margin-bottom: 25px;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-category {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.gallery-info h3 {
    color: var(--white);
    font-size: 1.1rem;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: 80px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--navy-blue);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    color: var(--navy-blue);
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--gray);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 25px;
}

.contact-form {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
}

/* ===================================
   Product Detail Page
   =================================== */
.breadcrumb {
    padding: 20px 0;
    background-color: var(--light-gray);
}

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

.product-detail {
    padding: 80px 0;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.main-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin-bottom: 30px;
}

.technical-diagram h3 {
    font-size: 1.3rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.technical-diagram img {
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.product-detail-info .product-badge {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
}

.product-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin: 20px 0;
    line-height: 1.8;
}

.specifications,
.applications,
.key-features {
    margin-top: 30px;
}

.specifications h3,
.applications h3,
.key-features h3 {
    font-size: 1.3rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: 12px 0;
}

.specs-table td:first-child {
    color: var(--gray);
}

.application-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--light-gray);
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--navy-blue);
    font-weight: 500;
}

.features-list-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature-item-compact {
    color: var(--gray);
}

.related-products {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.related-products h2 {
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 40px;
    text-align: center;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-column p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-tagline {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
}

.footer-contact svg {
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .values-grid,
    .products-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-card {
        grid-template-columns: 1fr;
    }

    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link {
        display: block;
        padding: 15px 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid,
    .values-grid,
    .products-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .catalog-card {
        padding: 30px;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .features-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
