/* Global Styles */
:root {
    --primary-color: #5A3A31;
    --primary-gradient: linear-gradient(135deg, #5A3A31 0%, #8c5b4d 100%);
    --text-color: #362118;
    --bg-color: #FBF8ED;
    --card-bg: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 20px;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Outfit', 'Playpen Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-bottom: 80px;
}

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

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

/* Hero Section */
.hero {
    width: 100%;
    height: 400px;
    background-image: url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Centered text */
    padding: 40px;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-subtitle {
    font-family: 'Sour Gummy', 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 500px;
    line-height: 1.5;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    color: white;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* Animations */
@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* Section Styles */
.section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.2;
}

/* Happy Hour Map Card */
.main-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    display: block;
    border: 2px solid transparent;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.main-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.main-card h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.main-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(90, 58, 49, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(90, 58, 49, 0.4);
}

/* Community Section */
.community-card {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.community-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.community-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.community-card p {
    font-family: 'Sour Gummy', 'Outfit', sans-serif;
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.6;
}

.btn-white {
    background: white;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Happy Hour Map Promo Card */
.promo-card {
    display: block;
    text-decoration: none;
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    color: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.happy-hour-card {
    background:
        linear-gradient(rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.5)),
        url('../img/map-bg.png');
    background-size: cover;
    background-position: center;
}

/* Floating pin icon */
.happy-hour-card::after {
    content: "📍";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    opacity: 0.9;
}

.promo-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.promo-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.promo-content p {
    font-family: 'Sour Gummy', 'Outfit', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.promo-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: center;
}

/* Hover effects (desktop only) */
@media (hover: hover) {
    .promo-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

    .promo-card:hover .promo-button {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    }
}

/* World Grid */
.world-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.country-card {
    background-color: var(--card-bg);
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 180px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* Stagger map cards */
.country-card:nth-child(1) { animation-delay: 0.6s; }
.country-card:nth-child(2) { animation-delay: 0.7s; }
.country-card:nth-child(3) { animation-delay: 0.8s; }
.country-card:nth-child(4) { animation-delay: 0.9s; }
.country-card:nth-child(5) { animation-delay: 1.0s; }
.country-card:nth-child(6) { animation-delay: 1.1s; }
.country-card:nth-child(7) { animation-delay: 1.2s; }
.country-card:nth-child(8) { animation-delay: 1.3s; }

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    transition: all 0.3s ease;
}

.country-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.country-card:hover::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.country-overlay {
    position: relative;
    z-index: 1;
    padding: 15px;
    width: 100%;
}

.country-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: block;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cities {
    font-family: 'Sour Gummy', 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: white;
    display: block;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* About & Contact */
.about-section {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.about-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #c66464;
}

/* HiTech Section */
.hitech-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    display: block;
    border: 2px dashed #dee2e6;
    color: #6c757d;
    transition: all 0.3s ease;
}

.hitech-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.hitech-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #495057;
    font-weight: 700;
}

.hitech-card p {
    font-size: 1rem;
    font-style: italic;
}

/* Social Media Section */
.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.social-icon {
    font-size: 1.8rem;
    color: #999;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Bottom Navigation Spacer */
.bottom-nav-spacer {
    height: 20px;
}

/* Sticky Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-top: 1px solid #f0f0f0;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: #999;
    transition: all 0.3s ease;
    border-radius: 12px;
    min-width: 70px;
}

.bottom-nav-item:hover {
    color: var(--primary-color);
    background: rgba(90, 58, 49, 0.1);
}

.bottom-nav-item.active {
    color: var(--primary-color);
    background: rgba(90, 58, 49, 0.15);
}

.bottom-nav-item.disabled {
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.bottom-nav-item.disabled:hover {
    background: transparent;
    transform: none;
    color: #ccc;
}

.bottom-nav-item i {
    font-size: 1.4rem;
}

.bottom-nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
}

/* Mobile Specific Styles */
@media (max-width: 767px) {
    body {
        padding-bottom: 70px;
    }

    .bottom-nav {
        padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    }

    .bottom-nav-item {
        min-width: 60px;
        padding: 6px 8px;
        gap: 3px;
    }

    .bottom-nav-item i {
        font-size: 1.2rem;
    }

    .bottom-nav-item span {
        font-size: 0.65rem;
    }
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        max-width: 600px;
    }

    .world-grid {
        grid-template-columns: repeat(3, 1fr);
    }



    .bottom-nav-item {
        min-width: 90px;
    }

    .bottom-nav-item i {
        font-size: 1.6rem;
    }

    .bottom-nav-item span {
        font-size: 0.75rem;
    }

    .country-card {
        min-height: 220px;
    }
}

@media (min-width: 1024px) {
    .hero {
        height: 600px;
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .world-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .country-card {
        min-height: 250px;
    }
}

/* Legal Footer */
.legal-footer {
    font-family: 'Sour Gummy', 'Outfit', sans-serif;
    text-align: center;
    margin: 20px 0;
    font-size: 0.9em;
    opacity: 0.8;
}

.legal-footer a {
    color: inherit;
    text-decoration: none;
    margin: 0 10px;
}

/* Splash Screen Styles */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeOutSplash 0.4s ease-out 1.8s forwards;
    pointer-events: none;
}

.splash-animation-container {
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.splash-drinks {
    position: relative;
    width: 200px;
    height: 250px;
}

.splash-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
}

.splash-drink-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Drink Flashing Animations */
.frame-1 { animation: showFrame 0.15s linear 0.1s forwards; }
.frame-2 { animation: showFrame 0.15s linear 0.25s forwards; }
.frame-3 { animation: showFrame 0.15s linear 0.4s forwards; }
.frame-4 { animation: showFrame 1.0s linear 0.55s forwards; }

.frame-4 .splash-drink-img {
    animation: fadeOutImage 0.2s ease-out 0.8s forwards;
}

.splash-final-brand {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.splash-site-icon {
    width: 200px; /* Exact same size as splash-drinks */
    height: 250px;
    object-fit: contain;
    opacity: 0;
    animation: fadeInIcon 0.3s ease-out 0.8s forwards;
}

.splash-logo {
    font-family: 'Playpen Sans', 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-color);
    opacity: 0;
    animation: fadeInLogo 0.3s ease-out 0.8s forwards;
}

@keyframes showFrame {
    0%, 99.9% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes fadeOutImage {
    to { opacity: 0; }
}

@keyframes fadeInIcon {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInLogo {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutSplash {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes slideUpSplash {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 767px) {
    #splash-screen {
        animation: slideUpSplash 0.6s cubic-bezier(0.4, 0, 0.2, 1) 1.8s forwards;
    }
}