/* CSS Reset and Base Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-gray-900: #111827;
    --text-gray-700: #374151;
    --text-gray-600: #4b5563;
    --text-gray-500: #6b7280;
    --text-gray-200: #e5e7eb;
    --bg-white: #ffffff;
    --bg-gray-50: #f9fafb;
    --border-gray-100: #f3f4f6;
    --border-gray-200: #e5e7eb;
    --border-gray-300: #d1d5db;
    --green-500: #22c55e;
    --yellow-400: #facc15;
    --blue-100: #dbeafe;
    --whatsapp-green: #25D366;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-gray-900);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.font-emblema-one-regular {
    font-family: "Emblema One", system-ui;
    font-weight: 10;
    font-style: normal;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

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

.nav-brand {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links {
    display: none;
}

.nav-contact {
    display: none;
}

.nav-links a,
.nav-contact a {
    color: var(--text-gray-700);
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-contact a:hover {
    color: var(--primary-color);
}

#mobile-menu-button {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 40;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-gray-200);
}

#mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-links {
    padding: 1.5rem 1rem;
}

.mobile-menu-links a {
    display: block;
    font-size: 1.125rem;
    color: var(--text-gray-700);
    padding: 0.5rem 0;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Footer */
.footer {
    background-color: var(--text-gray-900);
    color: var(--bg-white);
    padding: 1.5rem 0;
}

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

.footer .copyright {
    color: #9ca3af;
    text-align: center;
}

.footer .socials {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer .social-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1f2937;
    border-radius: 9999px;
    transition: background-color 0.3s;
}

.footer .social-icon:hover {
    background-color: var(--primary-color);
}

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

.footer .links a {
    color: #9ca3af;
    transition: color 0.3s;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    background-color: var(--primary-color);
    color: var(--bg-white);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 3.5rem;
    height: 3.5rem;
    bottom: 6.5rem;
    right: 2rem;
    background-color: var(--whatsapp-green);
    color: var(--bg-white);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float i {
    font-size: 1.75rem;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive Styles */
@media (min-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .nav-links,
    .nav-contact {
        display: flex;
        align-items: center;
        gap: 3rem;
    }

    #mobile-menu-button {
        display: none;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Placeholder for main content */
.main-content-placeholder {
    padding-top: 6rem;
    /* To offset fixed navbar */
    text-align: center;
}

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

.main-content-placeholder p {
    font-size: 1rem;
    color: var(--text-gray-600);
}