@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html,
body {
    background-color: #000;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Force no scroll */
    height: 100vh;
}

/* App Container - Centers content on larger screens, full width on mobile */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #000;
    /* Changed to black to reveal rounded corners */
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Hero Header - Full Bleed */
.hero-header {
    position: relative;
    width: 100%;
    height: 50vh;
    /* Reduced from 60vh to save screen space */
    overflow: hidden;
    z-index: 1;
}

/* ... (skipping unchanged lines) ... */

/* Content Body - Contains the buttons with padding */
.content-body {
    background-color: #ffcc33;
    padding: 20px;
    margin-top: -50px;
    flex-grow: 1;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    border-radius: 30px 30px 0 0;
}



.image-layer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Gradient overlay for text readability */
.image-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from top-left (dark) to ensure logo visibility */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Removed Hero Gradient as requested */
.hero-gradient {
    display: none;
}

.logo-layer {
    position: absolute;
    top: 5px;
    /* Almost touching the top */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: center;
}

.logo {
    width: 90px;
    /* Balanced logo size */
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

/* Content Body - Contains the buttons with padding */
.content-body {
    background-color: #ffcc33;
    padding: 10px 15px 5px 15px;
    /* Compressing padding */
    margin-top: 0px;
    /* Lowered to show more image */
    flex-grow: 1;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    border-radius: 30px 30px 0 0;
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Reduced gap */
}

/* Common Button Styles */
.main-button {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    /* More compact padding */
    border-radius: 16px;
    /* Slightly smaller radius for compact look */
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.main-button:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(15, 15, 15, 0.98);
    border-color: #ffcc33;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.secondary-main {
    background: #000;
    border: 2px solid #000;
}

.secondary-main:hover {
    background: #222;
    border-color: #fff;
}

.wide {
    width: 100%;
    justify-content: flex-start;
    gap: 15px;
}

/* Icons */
.icon-circle,
.icon-box,
.icon-pin,
.icon-avisos,
.icon-calendar {
    width: 35px;
    /* Reduced from 45px */
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    /* Reduced from 28px */
    color: #fce340;
    border: none;
    background: none;
}

.icon-pin {
    font-size: 30px;
    /* Adjusted Base */
}

.icon-avisos {
    font-size: 26px;
}

.icon-calendar {
    border: none;
    font-size: 28px;
    width: auto;
    height: auto;
}

.main-button:hover i,
.grid-btn:hover i {
    color: #fff;
    transform: scale(1.2);
}

.main-button i,
.grid-btn i {
    color: #fce340;
    transition: all 0.3s ease;
}

.btn-text {
    font-weight: 300;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1.2;
    flex-grow: 1;
    text-transform: uppercase;
}

.sub-text {
    display: block;
    font-size: 9px;
    color: #ccc;
    margin-top: 3px;
    font-weight: 700;
}

/* Grid Buttons */
.icons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 6px;
    /* Reduced gap */
}

.grid-btn {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 8px;
    /* More compact padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 16px;
    gap: 6px;
    /* Reduced gap */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.grid-btn:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(15, 15, 15, 0.98);
    border-color: #ffcc33;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.grid-btn .icon-circle,
.grid-btn .icon-box,
.grid-btn .icon-pin,
.grid-btn .icon-avisos {
    width: 40px;
    height: 40px;
    font-size: 25px;
    /* Increased Base */
    margin-bottom: 2px;
    border: none;
    background: none;
    transition: transform 0.2s;
}

.grid-btn .icon-circle {
    transform: scale(1.15);
    /* compensation for whatsapp icon */
}

.grid-btn .icon-pin {
    transform: scale(1.1);
    /* compensation for map pin */
}

.modal-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-tooltip {
    background: rgba(255, 204, 51, 0.1);
    border: 1px solid rgba(255, 204, 51, 0.3);
    color: #ffcc33;
    font-size: 11px;
    padding: 8px 12px;
    border-radius: 12px;
    line-height: 1.4;
    text-align: center;
    position: relative;
    animation: fadeInUp 0.5s ease backwards 0.3s;
}

.btn-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(255, 204, 51, 0.3);
}

.btn-tooltip i {
    margin-right: 5px;
}

.btn-label {
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.icon-calendar {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: none;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #000;
    /* Darker for better contrast on yellow */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.5px;
    opacity: 0.8;
}

.footer i {
    font-size: 18px;
    animation: finger-tap 1.5s ease-in-out infinite;
}

.footer span {
    animation: text-pulse 2s ease-in-out infinite;
}

@keyframes finger-tap {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes text-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .icons-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Developer Credits */
.developer-credits {
    text-align: center;
    font-size: 11px;
    color: #222;
    /* Matching button color */
    opacity: 0.8;
    margin-top: 40px;
    /* Increased significantly as requested */
    padding-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.developer-credits a {
    color: #222;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.3s;
}

.developer-credits a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 204, 51, 0.3);
    position: relative;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.close-modal:hover {
    opacity: 1;
    color: #ffcc33;
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header i {
    font-size: 40px;
    color: #ffcc33;
    margin-bottom: 10px;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffcc33;
}

.modal-body {
    margin-bottom: 25px;
}

.highlight-text {
    font-weight: 700;
    color: #ffcc33;
    margin-bottom: 15px;
    font-size: 14px;
}

.modal-body p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hours-list {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.hour-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hour-item .day {
    font-weight: 700;
    color: #ccc;
}

.hour-item .time {
    font-weight: 800;
    color: #fff;
}

.modal-action-btn {
    display: inline-block;
    background: #ffcc33;
    color: #000;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
    width: 100%;
}

.modal-action-btn:hover {
    background: #fff;
    transform: scale(1.02);
}