:root {
    --primary-color: #0a2e5d;
    --secondary-color: #ffc107;
    --text-color: #f0f0f0;
    --bg-color: #000000;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

#three-js-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 1rem;
    box-sizing: border-box;
}

header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--secondary-color);
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
}

main {
    flex-grow: 1;
    padding-top: 150px; 
}


.logo {
    width: clamp(60px, 12vw, 90px);
    height: auto;
    background: #fff;
    border-radius: 5px;
    flex-shrink: 0;
}

.header-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

header h1 {
    font-size: clamp(1.8rem, 6vw, 3.2rem);
    margin: 0;
    font-weight: bold;
    color: #fff;
    text-shadow: 
        2px 2px 0px #ff0000,
        -2px -2px 0px #0000ff;
}

.address {
    font-size: clamp(0.8rem, 3vw, 1.1rem);
    margin: 0.5rem 0 0 0;
    text-align: right;
}

.flashing-text {
    text-align: center;
    padding: 2rem 1rem;
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    font-weight: bold;
}

.flashing-text p {
    margin: 0.5rem 0;
    animation: flash 3s infinite alternate;
}

.flashing-text .line1 { color: #ff4d4d; animation-delay: 0s; }
.flashing-text .line2 { color: #4dff4d; animation-delay: 1s; }
.flashing-text .line3 { color: #4da6ff; animation-delay: 2s; }

@keyframes flash {
    0%, 100% { opacity: 1; text-shadow: 0 0 5px currentColor; }
    50% { opacity: 0.5; text-shadow: none; }
}

.menu {
    padding: 2rem 0;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-item {
    background-color: rgba(10, 46, 93, 0.8);
    border: 1px solid var(--secondary-color);
    color: var(--text-color);
    text-decoration: none;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.3s;
    backdrop-filter: blur(5px);
}

.menu-item:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.marquee-container {
    padding: 1.5rem 0;
    background-color: rgba(10, 46, 93, 0.8);
    font-size: 1.1rem;
    margin: 2rem 0;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-top: 1px solid var(--secondary-color);
    margin-top: auto;
}

footer h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

footer .name {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    transition: transform 0.3s, text-shadow 0.3s;
}

footer .name:hover {
    transform: scale(1.05);
    text-shadow: 0 0 8px #fff, 0 0 15px var(--secondary-color), 0 0 20px var(--secondary-color);
}

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

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-item span {
    font-size: 1.1rem;
}

.contact-item a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.contact-item a:hover {
    transform: scale(1.2);
}

.map-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s;
}
.map-link-inline:hover {
    text-decoration: underline;
    transform: scale(1.05);
}
.map-link-inline .fa-map-marker-alt {
    color: #DB4437;
}

.contact-item .fa-phone { color: #4da6ff; }
.contact-item .whatsapp-1 { color: #25D366; }
.contact-item .whatsapp-2 { color: #128C7E; }
.contact-item .fa-envelope { color: #ffc107; }

.home-logo-link {
    display: inline-block;
    margin-top: 2rem;
    font-size: 3rem;
    color: var(--secondary-color);
    transition: transform 0.3s, color 0.3s;
}
.home-logo-link:hover {
    transform: scale(1.1);
    color: #fff;
}

@media (max-width: 768px) {
    main {
        padding-top: 200px;
    }
    header {
        justify-content: center;
    }
    .header-text {
        align-items: center;
    }
    .address {
        text-align: center;
    }
    .menu-grid {
        grid-template-columns: 1fr 1fr;
    }
    .menu-item {
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}
