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

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

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

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

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

ul {
    list-style: none;
}

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

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    position: relative;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.section__subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 140px;
}

.btn--primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn--secondary {
    background: #4a5568;
    color: white;
}

.btn--secondary:hover {
    background: #2d3748;
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: #ff6b35;
    border-color: #ff6b35;
}

.btn--outline:hover {
    background: #ff6b35;
    color: white;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav__brand {
    display: flex;
    flex-direction: column;
}

.nav__logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 1.8rem;
    height: 1.8rem;
    color: #ff6b35;
    filter: brightness(1.1);
}

.nav__tagline {
    font-size: 0.85rem;
    color: #666;
    margin-top: -4px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    font-weight: 500;
    color: #4a5568;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: #ff6b35;
}

.nav__cta {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav__toggle-line {
    width: 25px;
    height: 3px;
    background: #4a5568;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff6b35' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 500px;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero__description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero__info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #4a5568;
}

.info__icon {
    font-size: 1.1rem;
}

.hero__image {
    position: relative;
}

.hero__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product__card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card__image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 1 !important;
}

.product__card:hover .card__img {
    transform: scale(1.05);
}

.card__content {
    padding: 1.5rem;
}

.card__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

.card__description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__text .section__title {
    text-align: left;
    margin-bottom: 2rem;
}

.about__text .section__title::after {
    left: 0;
    transform: none;
}

.about__description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature__icon {
    font-size: 1.5rem;
    margin-top: 2px;
}

.feature__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.3rem;
}

.feature__text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about__image {
    position: relative;
}

.about__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 1 !important;
}

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

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact__info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.info__card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #ff6b35;
}

.info__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

.info__text {
    color: #666;
    line-height: 1.6;
}

.info__text a {
    color: #ff6b35;
    font-weight: 500;
}

.info__text a:hover {
    text-decoration: underline;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #25d366;
    color: white !important;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-top: 4px;
}

.contact__map {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.map__container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.map__actions {
    display: flex;
    gap: 1rem;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__brand {
    max-width: 400px;
}

.footer__logo {
    width: 225px;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer__description {
    color: #cbd5e0;
    line-height: 1.6;
}

/* Footer Testimonials */
.footer__testimonials {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial {
    position: relative;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #ff6b35;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #cbd5e0;
    line-height: 1.5;
    transition: background-color 0.3s ease;
}

.testimonial:hover {
    background: rgba(255, 255, 255, 0.08);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -5px;
    left: 10px;
    font-size: 3rem;
    color: #ff6b35;
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 500;
    color: #ff6b35;
    font-size: 0.9rem;
    text-align: right;
}

/* .testimonial cite::before {
    content: "— ";
    color: #f7931e;
} */

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer__heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__link {
    color: #cbd5e0;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #ff6b35;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    color: #cbd5e0;
    font-size: 0.9rem;
}

.footer__location {
    color: #ff6b35;
    font-weight: 500;
}

.footer__credits {
    font-size: 0.9rem;
    color: #a0aec0;
    text-align: center;
    margin: 0;
    padding: 0;
}

.footer__credits .credit__link {
    color: #cbd5e0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer__credits .credit__link:hover {
    color: #ff6b35;
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social__text {
    color: #cbd5e0;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: #cbd5e0;
}

.social__link:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: translateY(-2px);
    color: #ff6b35;
}

.social__icon {
    width: 18px;
    height: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active .nav__toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav__toggle.active .nav__toggle-line:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active .nav__toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__cta {
        justify-content: center;
    }

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

    .about__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about__text .section__title::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .map__actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .products__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product__card {
        margin: 0 10px;
    }
}

/* Performance Optimizations */
.hero__img,
.card__img,
.about__img {
    will-change: transform;
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn--outline {
        border-width: 3px;
    }
    
    .section__title::after {
        height: 4px;
    }
}

/* Focus indicators for better accessibility */
.btn:focus,
.nav__link:focus,
.footer__link:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Loading states */
.card__img,
.hero__img,
.about__img {
    background: #f0f0f0;
}

.card__img[src=""],
.hero__img[src=""],
.about__img[src=""] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
