/* CSS Variables - Global Colors */
:root {
    --color-primary: #101010;
    --color-secondary: #B4B4B4;
    --color-accent: #6B6C72;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-primary);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--color-primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
}

.whatsapp-menu-item {
    display: none;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-btn:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn svg {
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: #ffffff;
    padding: 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-secondary);
    font-weight: 300;
}

/* Introduction Section */
.intro {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.intro-text strong {
    color: var(--color-accent);
    font-weight: 600;
}

/* Section Styles */
.mission,
.vision {
    padding: 5rem 0;
}

.mission {
    background-color: #ffffff;
}

.vision {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
}

.content-box {
    max-width: 900px;
    margin: 0 auto;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    text-align: justify;
}

/* Values Section */
.values {
    padding: 5rem 0;
    background-color: #ffffff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.value-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-accent);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.contact-wrapper {
    max-width: 1600px;
    margin: 0 auto;
}

.contact-description {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-primary);
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.contact-description a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-description a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.contact-form {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.form-image-container {
    flex: 0 0 460px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.contact-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.contact-image-desktop {
    display: block;
}

.contact-image-mobile {
    display: none;
}

.form-fields-container {
    flex: 1;
    min-width: 0;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
}

.required {
    color: #dc3545;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.form-group input:focus {
    outline: none;
    border-color: #b0b0b0;
    box-shadow: 0 0 0 3px rgba(176, 176, 176, 0.1);
}

.form-group input.input-valid {
    border-color: #28a745;
}

.form-group input.input-invalid {
    border-color: #dc3545;
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    resize: vertical;
    min-height: 120px;
}

.form-group textarea:focus {
    outline: none;
    border-color: #b0b0b0;
    box-shadow: 0 0 0 3px rgba(176, 176, 176, 0.1);
}

.form-group textarea.textarea-valid {
    border-color: #28a745;
}

.form-group textarea.textarea-invalid {
    border-color: #dc3545;
}

.required-note {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.submit-btn {
    width: 100%;
    padding: 0.875rem;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 2rem 0;
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-primary);
        flex-direction: column;
        gap: 0;
        padding: 80px 0 0 0;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a {
        display: block;
        padding: 1.5rem 2rem;
        color: var(--color-secondary);
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        color: #ffffff;
        background-color: rgba(255, 255, 255, 0.05);
        padding-left: 2.5rem;
    }

    .whatsapp-btn {
        display: none;
    }

    .whatsapp-menu-item {
        display: block;
    }

    .whatsapp-menu-item a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background-color: #25D366;
        color: #ffffff !important;
        margin: 1rem 2rem;
        border-radius: 25px;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    .whatsapp-menu-item a:hover {
        background-color: #20BA5A !important;
        padding-left: 1rem !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .intro-text,
    .content-text {
        font-size: 1rem;
        text-align: left;
    }

    .contact-form {
        padding: 1.5rem;
        flex-direction: column;
    }

    .form-image-container {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .contact-image {
        height: auto;
        max-height: 300px;
    }

    .contact-image-desktop {
        display: none;
    }

    .contact-image-mobile {
        display: block;
    }

    .form-fields-container {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .intro,
    .mission,
    .vision,
    .values,
    .contact {
        padding: 3rem 0;
    }

    .contact-form {
        padding: 1rem;
        flex-direction: column;
    }

    .form-image-container {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 1rem;
    }

    .contact-image {
        height: auto;
        max-height: 250px;
    }

    .contact-image-desktop {
        display: none;
    }

    .contact-image-mobile {
        display: block;
    }

    .form-fields-container {
        width: 100%;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 40px;
    }
}
