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

:root {
    --primary: #030213;
    --primary-foreground: #ffffff;
    --background: #ffffff;
    --foreground: #030213;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

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

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    z-index: 50;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: cover;
    border-radius: var(--radius);
}

.nav-logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.desktop-menu {
    display: none;
    gap: 1rem;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    transition: color 0.3s ease;
}

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

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--gray-700);
    cursor: pointer;
    font-size: 1.5rem;
}

.mobile-menu {
    display: none;
    background: var(--background);
    border-top: 1px solid var(--gray-200);
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    color: var(--gray-700);
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 1rem;
}

.carousel-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.carousel-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: rgba(3, 2, 19, 0.9);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.25rem;
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: white;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

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

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.text-content p {
    color: var(--gray-700);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(3, 2, 19, 0.2), transparent);
    border-radius: var(--radius);
}

/* Mission Vision Section */
.mission-vision-section {
    padding: 5rem 0;
    background: var(--background);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.mission-card, .vision-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.values-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

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

.value-item {
    text-align: center;
    padding: 1.5rem;
}

.value-icon {
    width: 4rem;
    height: 4rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.value-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

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

.product-card {
    background: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 16rem;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.product-header {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.product-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.product-header h3 {
    color: white;
    margin: 0;
    font-size: 1.25rem;
}

.product-content {
    padding: 1.5rem;
}

.product-content p {
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.product-content h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.product-features {
    list-style: none;
    text-align: left;
}

.product-features li {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: "•";
    color: var(--primary);
    font-weight: 700;
    position: absolute;
    left: 0;
}

.product-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.product-btn:hover {
    background: rgba(3, 2, 19, 0.9);
}

.download-section {
    text-align: center;
    margin-top: 3rem;
}

.download-btn {
    background: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn:hover {
    background: rgba(3, 2, 19, 0.9);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: var(--background);
}

.gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    background: var(--gray-100);
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.gallery-container {
    position: relative;
}

.gallery-category {
    display: none;
}

.gallery-category.active {
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    background: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

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

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

.gallery-info {
    padding: 1rem;
}

.gallery-info h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-specs span {
    font-size: 0.75rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
}

.product-specs span::before {
    content: "•";
    color: var(--primary);
    margin-right: 0.5rem;
    font-weight: 700;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: none;
}

.gallery-btn:hover {
    background: rgba(3, 2, 19, 0.9);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.gallery-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: none;
    background: var(--gray-300);
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: none;
}

.gallery-dot.active {
    background: var(--primary);
}

.category-description {
    text-align: center;
    margin-top: 3rem;
}

.category-description h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.category-description p {
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--background);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-left h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 24rem;
    margin-bottom: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.faq-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.accordion-header {
    width: 100%;
    padding: 1rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background: var(--gray-50);
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 0 1rem 1rem 1rem;
}

.accordion-item.active .accordion-content {
    display: block;
}

.contact-form-container h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    color: var(--gray-700);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(3, 2, 19, 0.1);
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.captcha-question {
    background: var(--gray-100);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    font-size: 1.125rem;
    font-weight: 500;
}

.captcha-container input {
    width: 5rem;
    text-align: center;
}

.refresh-captcha {
    background: #22c55e;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

.refresh-captcha:hover {
    background: #16a34a;
}

.captcha-help {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: rgba(3, 2, 19, 0.9);
}

/* Social Media Section */
.social-section {
    padding: 3rem 0;
    background: var(--gray-50);
}

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

.social-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.social-content p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.facebook { background: #1877f2; }
.instagram { background: #e4405f; }
.linkedin { background: #0077b5; }
.whatsapp { background: #25d366; }

/* Footer */
.footer {
    background: var(--background);
    padding: 3rem 0;
}

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

.footer-box {
    background: transparent;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 2px solid #000000;
    box-shadow: var(--shadow-lg);
}

.footer-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 700;
}

.footer-box p {
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.company-info p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.footer-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-box ul li {
    margin-bottom: 0.5rem;
}

.footer-box ul li a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-box ul li a:hover {
    color: var(--primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.contact-item i {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item p {
    color: var(--gray-700);
    font-size: 0.875rem;
    margin: 0;
}

.schedule-info {
    color: var(--gray-700);
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.schedule-item i {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.schedule-item div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-day {
    display: flex;
    flex-direction: column;
}

.day-name {
    font-weight: 500;
    color: #000000;
    margin: 0;
}

.schedule-day p:not(.day-name) {
    color: var(--gray-700);
    margin: 0;
    font-size: 0.875rem;
}

.footer-bottom {
    margin-top: 2rem;
}

.footer-bottom-box {
    background: transparent;
    padding: 1rem;
    border-radius: var(--radius);
    border: 2px solid #000000;
    box-shadow: var(--shadow-lg);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.copyright p {
    color: var(--gray-700);
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.footer-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (min-width: 768px) {
    .desktop-menu {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .carousel-content h1 {
        font-size: 3.5rem;
    }

    .carousel-content p {
        font-size: 1.5rem;
    }

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

    .mission-vision-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-links {
        justify-content: flex-end;
    }
}

@media (min-width: 1024px) {
    .carousel-content h1 {
        font-size: 4rem;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.hidden {
    display: none;
}

.active {
    opacity: 1 !important;
    display: block !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Success/Error Messages */
.success-message {
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: none;
}

.error-message {
    background: #ef4444;
    color: white;
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: none;
}