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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 64px;
    display: flex;
    align-items: center;
}

.header .container {
    max-width: 100%;
    padding: 0;
}

.nav-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
}

.logo {
    display: flex;
    align-items: center;
    justify-self: center;
}

.logo-image {
    width: auto;
    height: 24px;
    object-fit: contain;
}

/* Hamburger Menu for Mobile */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    justify-self: end;
    z-index: 10;
}

.hamburger-menu span {
    width: 24px;
    height: 3px;
    background: #314A59;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    z-index: 999;
    overflow-y: auto;
}

.nav-menu.active {
    display: flex;
}

.nav-buttons-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.nav-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #C62828;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(20%) sepia(93%) saturate(2878%) hue-rotate(346deg) brightness(88%) contrast(95%);
}

.nav-buttons {
    display: none;
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    justify-content: center;
    text-decoration: none;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: #25D366;
    color: white;
}

.btn-primary:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #C62828;
    border: 2px solid #C62828;
}

.btn-secondary .btn-icon {
    filter: brightness(0) saturate(100%) invert(20%) sepia(93%) saturate(2878%) hue-rotate(346deg) brightness(88%) contrast(95%);
}

.btn-secondary:hover {
    background: #C62828;
    color: white;
}

.btn-secondary:hover .btn-icon {
    filter: brightness(0) invert(1);
}

.btn-accent {
    background: #C62828;
    color: white;
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 24px;
    width: auto;
    height: 56px;
}

.btn-accent:hover {
    background: #a02020;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.3);
}

.btn-outline {
    background: white;
    color: #314A59;
    border: 2px solid #25D366;
    padding: 12px 24px;
    width: auto;
    height: 56px;
}

.btn-icon-wa {
    width: 24px;
    height: 24px;
}

.btn-arrow {
    width: 16px;
    height: 16px;
}

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

.btn-outline:hover .btn-icon-wa,
.btn-outline:hover .btn-arrow {
    filter: brightness(0) invert(1);
}

.btn-outline-white {
    background: transparent;
    color: #314A59;
    border: 1px solid #314A59;
    border-radius: 24px;
    padding: 14px 32px;
    font-size: 16px;
    width: auto;
    height: 56px;
}

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

/* Footer */
.footer {
    background: #fff;
    color: #000;
    padding: 40px 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    height: 24px;
    width: auto;
}

.footer-info p {
    font-size: 14px;
    line-height: 1.8;
    color: #4d4d4d;
    margin-bottom: 12px;
}

.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #4d4d4d;
    align-items: flex-start;
}

.contact-icon-img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border-radius: 12px;
}

.footer-bottom {
    background: #C62828;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #FFFFFF;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }

    .nav-wrapper {
        padding: 0 24px;
        grid-template-columns: auto 1fr auto;
    }

    .logo {
        justify-self: start;
    }

    .logo-image {
        width: auto;
        height: 24px;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
    }

    .footer-info {
        flex: 1;
        max-width: 350px;
    }

    .footer-contact {
        flex: 1;
        max-width: 350px;
    }

    .footer-map {
        flex: 1;
        max-width: 350px;
    }
}

/* Desktop Small - Sidebar appears in product page */
@media (min-width: 1024px) {
    .nav-wrapper {
        padding: 0 40px;
    }
}

/* Desktop Medium - Product page 1200px */
@media (min-width: 1200px) {
    .nav-wrapper {
        padding: 0 60px;
    }
}

/* Desktop - Full Menu Appears */
@media (min-width: 1280px) {
    .nav-wrapper {
        padding: 0 40px;
        gap: 60px;
    }

    .hamburger-menu {
        display: none;
    }

    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        gap: 32px;
        padding: 0;
        justify-self: center;
        overflow: visible;
    }

    .nav-link {
        padding: 0;
        font-size: 14px;
        white-space: nowrap;
    }

    .nav-icon {
        width: 20px;
        height: 20px;
    }

    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        width: 100%;
        height: 3px;
        background: #C62828;
    }

    .nav-buttons-mobile {
        display: none;
    }

    .nav-buttons {
        display: flex;
        gap: 12px;
        align-items: center;
        justify-self: end;
        justify-content: flex-end;
    }

    .nav-buttons .btn {
        width: 135px;
        height: 40px;
        font-size: 14px;
    }

    .nav-buttons .btn-primary {
        width: 160px;
    }

    .logo-image {
        width: auto;
        height: 24px;
    }
}

/* Desktop Large */
@media (min-width: 1440px) {
    .nav-wrapper {
        padding: 0 80px;
        gap: 80px;
    }

    .nav-menu {
        gap: 36px;
    }

    .logo-image {
        width: auto;
        height: 24px;
    }

    .nav-buttons .btn {
        width: 141px;
    }

    .nav-buttons .btn-primary {
        width: 166px;
    }
}

/* Desktop Extra Large */
@media (min-width: 1600px) {
    .nav-wrapper {
        padding: 0 160px;
        gap: 100px;
    }

    .logo-image {
        width: auto;
        height: 24px;
    }

    .nav-menu {
        gap: 40px;
    }
}
