/* ===========================
   Global Styles
   =========================== */

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

:root {
    --primary-color: #c41e3a;
    --secondary-color: #f0f0f0;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --accent-color: #ff6b6b;
    --text-color: #333333;
    --border-color: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Header & Navigation
   =========================== */

.header {
    background-color: var(--light-color);
    border-bottom: 2px solid var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

.company-info h1 {
    font-size: 20px;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.registration {
    font-size: 11px;
    color: #666;
    margin: 3px 0 0 0;
    line-height: 1.2;
}

.nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a01830 100%);
    color: var(--light-color);
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 280px;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
}

.hero p {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.hero-description {
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.5;
}

.hero-image {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* ===========================
   Products Section
   =========================== */

.products {
    padding: 70px 20px;
    background-color: var(--light-color);
}

.products h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 45px;
    text-align: center;
    line-height: 1.3;
}

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

.product-card {
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(196, 30, 58, 0.2);
}

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

.product-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin: 18px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0 18px 18px 18px;
}

/* ===========================
   About Section
   =========================== */

.about {
    padding: 70px 20px;
    background-color: var(--secondary-color);
}

.about .container {
    max-width: 1200px;
}

.about h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.3;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-text p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
}

.about-image {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Why Choose Us Section
   =========================== */

.why-choose {
    padding: 70px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, var(--secondary-color) 100%);
}

.why-choose h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 45px;
    text-align: center;
    line-height: 1.3;
}

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

.feature-card {
    background: var(--light-color);
    padding: 28px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

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

.feature-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: bold;
}

.feature-card h3 {
    font-size: 17px;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* ===========================
   Business Overview Section
   =========================== */

.business-overview {
    padding: 70px 20px;
    background-color: var(--light-color);
}

.business-overview h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.3;
}

.overview-content {
    max-width: 800px;
    margin: 0 auto;
}

.overview-content > p {
    font-size: 15px;
    margin-bottom: 25px;
    text-align: justify;
    line-height: 1.7;
}

.business-list {
    list-style: none;
    padding: 0;
}

.business-list li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
}

.business-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

/* ===========================
   Contact Section
   =========================== */

.contact {
    padding: 70px 20px;
    background-color: var(--secondary-color);
}

.contact h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 45px;
    text-align: center;
    line-height: 1.3;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-item p {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ===========================
   Contact Form
   =========================== */

.contact-form {
    background: var(--light-color);
    padding: 28px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 13px;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(196, 30, 58, 0.2);
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 11px 28px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: #a01830;
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ===========================
   Footer
   =========================== */

.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 25px 20px;
    margin-top: 0;
}

.footer p {
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.5;
}

/* ===========================
   Responsive Design - Tablet
   =========================== */

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .logo-section {
        width: 100%;
        justify-content: center;
    }

    .nav {
        gap: 18px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 13px;
        padding: 6px 10px;
    }

    .hero {
        padding: 50px 15px;
        flex-direction: column-reverse;
        gap: 25px;
    }

    .hero-content {
        width: 100%;
    }

    .hero h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.4;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
    }

    .products {
        padding: 50px 15px;
    }

    .products h2 {
        font-size: 26px;
        margin-bottom: 35px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about {
        padding: 50px 15px;
    }

    .about h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .about-content {
        flex-direction: column;
        gap: 25px;
    }

    .about-text p {
        font-size: 14px;
        text-align: left;
    }

    .about-image {
        width: 100%;
        max-width: 100%;
    }

    .why-choose {
        padding: 50px 15px;
    }

    .why-choose h2 {
        font-size: 26px;
        margin-bottom: 35px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .business-overview {
        padding: 50px 15px;
    }

    .business-overview h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .overview-content > p {
        font-size: 14px;
        text-align: left;
    }

    .contact {
        padding: 50px 15px;
    }

    .contact h2 {
        font-size: 26px;
        margin-bottom: 35px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .company-info h1 {
        font-size: 18px;
    }

    .registration {
        font-size: 10px;
    }
}

/* ===========================
   Responsive Design - Mobile
   =========================== */

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    .header {
        padding: 10px 0;
    }

    .header .container {
        padding: 0 10px;
        gap: 8px;
    }

    .logo-section {
        gap: 8px;
        width: 100%;
    }

    .logo {
        width: 45px;
        height: 45px;
    }

    .company-info h1 {
        font-size: 15px;
        margin: 0;
    }

    .registration {
        font-size: 9px;
        margin: 2px 0 0 0;
    }

    .nav {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 11px;
        padding: 5px 8px;
    }

    .hero {
        padding: 35px 12px;
        gap: 18px;
    }

    .hero h2 {
        font-size: 20px;
        line-height: 1.3;
        word-wrap: break-word;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 12px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 11px;
        line-height: 1.4;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .products {
        padding: 35px 12px;
    }

    .products h2 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card {
        border-top: 3px solid var(--primary-color);
    }

    .product-image {
        height: 160px;
    }

    .product-card h3 {
        font-size: 15px;
        margin: 12px;
        margin-bottom: 8px;
    }

    .product-card p {
        font-size: 11px;
        margin: 0 12px 12px 12px;
        line-height: 1.4;
    }

    .about {
        padding: 35px 12px;
    }

    .about h2 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .about-content {
        gap: 18px;
    }

    .about-text p {
        font-size: 13px;
        text-align: left;
        margin-bottom: 12px;
    }

    .about-image {
        width: 100%;
        max-width: 100%;
    }

    .why-choose {
        padding: 35px 12px;
    }

    .why-choose h2 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

    .feature-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .feature-card h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 11px;
        line-height: 1.4;
    }

    .business-overview {
        padding: 35px 12px;
    }

    .business-overview h2 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .overview-content > p {
        font-size: 13px;
        text-align: left;
        margin-bottom: 18px;
    }

    .business-list li {
        font-size: 12px;
        padding: 8px 0 8px 22px;
        margin-bottom: 4px;
    }

    .business-list li:before {
        font-size: 14px;
    }

    .contact {
        padding: 35px 12px;
    }

    .contact h2 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info h3 {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .contact-item {
        margin-bottom: 15px;
    }

    .contact-item strong {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .contact-item p {
        font-size: 11px;
        line-height: 1.6;
    }

    .contact-form {
        padding: 18px;
        border-left: 3px solid var(--primary-color);
    }

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

    .form-group label {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group textarea {
        padding: 9px;
        font-size: 12px;
    }

    .btn-submit {
        padding: 10px 20px;
        font-size: 13px;
    }

    .footer {
        padding: 18px 12px;
    }

    .footer p {
        margin: 5px 0;
        font-size: 11px;
    }
}

/* ===========================
   Extra Small Devices
   =========================== */

@media (max-width: 360px) {
    .header .container {
        padding: 0 8px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .company-info h1 {
        font-size: 14px;
    }

    .registration {
        font-size: 8px;
    }

    .nav-link {
        font-size: 10px;
        padding: 4px 6px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .hero p {
        font-size: 11px;
    }

    .products h2,
    .about h2,
    .why-choose h2,
    .business-overview h2,
    .contact h2 {
        font-size: 18px;
    }

    .product-card h3 {
        font-size: 14px;
    }

    .product-card p {
        font-size: 10px;
    }

    .feature-card h3 {
        font-size: 13px;
    }

    .feature-card p {
        font-size: 10px;
    }
}
