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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
    color: #c0392b;
    transition: color 0.3s ease;
}

a:hover {
    color: #922b21;
}

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

/* Accessibility: visually hidden utility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Accessibility: skip link */
.skip-link {
    position: absolute;
    top: -48px;
    left: 0;
    background: #1a1a2e;
    color: #fff;
    padding: 10px 18px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 0 0 4px 0;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: #c0392b;
    color: white;
    padding: 12px 28px;
    border-radius: 4px;
    text-transform: uppercase;
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #922b21;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.35);
}

/* Header Styles */
header {
    background-color: #1a1a2e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo-name {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

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

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #e0e0e0;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

nav ul li a:hover {
    color: #e74c3c;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: #fff;
    background: none;
    border: none;
    padding: 6px 8px;
    line-height: 1;
}

.menu-toggle:hover {
    color: #e74c3c;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
        url('https://images.unsplash.com/photo-1513104890138-7c749659a591?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&h=1080&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 62px;
}

.hero-content h1 {
    font-size: 3.4rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: #e8e8e8;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f4f4f4;
}

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

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.about-stats {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    flex: 1;
    min-width: 120px;
}

.stat h3 {
    font-size: 2rem;
    color: #c0392b;
    margin-bottom: 5px;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.6rem;
    color: #1a1a2e;
}

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

.service-card {
    background-color: white;
    padding: 32px 28px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-top: 4px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    min-height: 240px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #c0392b;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.service-card i {
    font-size: 2.8rem;
    color: #c0392b;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

/* Location Section */
.location {
    padding: 80px 0;
    background-color: #f4f4f4;
}

.location h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.6rem;
    color: #1a1a2e;
}

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

.location-map iframe {
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: block;
    width: 100%;
}

.location-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.location-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-info p i {
    color: #c0392b;
    width: 18px;
    flex-shrink: 0;
}

/* Products Section */
.products {
    padding: 80px 0;
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.6rem;
    color: #1a1a2e;
}

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

.product-card {
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 20px 15px 10px;
    text-align: center;
}

.product-card p {
    padding: 0 15px 20px;
    text-align: center;
    color: #666;
    min-height: 80px;
}

.product-price {
    background-color: #c0392b;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 1.05rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.6rem;
    color: #1a1a2e;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #f4f4f4;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: "\201C";
    font-size: 5rem;
    position: absolute;
    top: 10px;
    left: 20px;
    color: #c0392b;
    opacity: 0.2;
    font-family: 'Barlow Condensed', serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author h4 {
    color: #c0392b;
    margin-bottom: 5px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.6rem;
    color: #1a1a2e;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    background-color: #f4f4f4;
    padding: 32px;
    border-radius: 6px;
}

.contact-form {
    background-color: white;
    padding: 32px;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #1a1a2e;
}

.form-optional {
    font-weight: 400;
    color: #777;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease;
    appearance: auto;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: 3px solid #c0392b;
    outline-offset: 1px;
    border-color: #c0392b;
}

.social-media {
    margin-top: 24px;
}

.social-media h4 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1a1a2e;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-media a:hover {
    background-color: #c0392b;
    color: white;
    transform: translateY(-3px);
}

.map-container {
    margin-top: 20px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Contact details icons */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #444;
}

.contact-item i {
    color: #c0392b;
    width: 18px;
    flex-shrink: 0;
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: #ccc;
    padding: 50px 0 20px;
}

.footer-brand {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

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

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #b0b0b0;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #e74c3c;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: #e74c3c;
    width: 18px;
    flex-shrink: 0;
}

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

.footer-bottom p + p {
    margin-top: 6px;
}

.security-indicator {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.88rem;
    color: #888;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

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

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 62px;
        left: -100%;
        flex-direction: column;
        background-color: #1a1a2e;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        padding: 20px 0;
        z-index: 999;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        margin: 15px 0;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .services h2,
    .contact h2,
    .testimonials h2,
    .products h2,
    .location h2 {
        font-size: 2rem;
    }

    .about-text h2,
    .contact-info h3 {
        font-size: 1.5rem;
    }

    .stat {
        min-width: 100px;
        padding: 15px;
    }

    .stat h3 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .container {
        width: 95%;
    }

    .hero {
        margin-top: 56px;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .btn {
        padding: 10px 22px;
        font-size: 0.95rem;
    }

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

    .products-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: 10px;
    }
}

/* Accessibility: focus-visible outlines */
:focus-visible {
    outline: 3px solid #c0392b;
    outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #c0392b;
    outline-offset: 3px;
    border-radius: 2px;
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background-color: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }

    .btn {
        border: 2px solid #000;
    }
}
