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

:root {
    --primary-color: #E3BE78;
    --secondary-color: #8B7355;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    height: 100vh;
}

.hero {
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 20px;
    text-align: center;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 600px;
    width: 100%;
    height: 100%;
    padding: 0;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin: 0;
}

.hero-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.hero-content > img {
    max-width: 35%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Hero carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 70%;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    align-self: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    animation: carouselFade 8s infinite;
}

/* Ensure carousel images don't inherit hero-content img styles */
.hero-carousel .carousel-image {
    box-shadow: none !important;
    border-radius: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain !important;
}

.carousel-image.slide1 { animation-delay: 0s; }
.carousel-image.slide2 { animation-delay: 4s; }

@keyframes carouselFade {
    0% { opacity: 0; }
    5% { opacity: 1; }
    45% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 0; }
}

.download-options {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid var(--white);
    min-width: 160px;
}

.download-btn:hover {
    background-color: #fff;
    border-color: var(--white);
    color: #000;
    
}

/* QR Code Popup Styles */
.qr-code-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    margin-bottom: 10px;
}

.qr-code-popup::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--white);
}

.qr-code-content {
    padding: 20px;
    text-align: center;
    min-width: 280px;
}

.qr-code-placeholder {
    width: 160px;
    height: 160px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin: 0 auto 12px;
    position: relative;
    background: #f9f9f9;
    overflow: hidden;
    padding: 2px;
    box-sizing: border-box;
}

.qr-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: fill;
    display: block;
    border-radius: 4px;
    box-shadow: none !important;
}

.qr-text {
    color: var(--text-color);
    font-size: 16px !important;
    font-weight: 500;
    margin: 0;
    text-shadow: none !important;
}

/* Show QR code on hover (web only) */
@media screen and (min-width: 1024px) {
    .download-btn.ios,
    .download-btn.android {
        position: relative;
    }

    .download-btn.ios:hover .qr-code-popup,
    .download-btn.android:hover .qr-code-popup {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Mobile-first: 2x2 grid layout for download buttons */
@media screen and (max-width: 767px) {
    .hero-content {
        gap: 10px;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    .hero-content > div img {
        max-width: 80%;
    }
    .hero-carousel { max-width: 60%; }
    
    .download-options {
        display: grid;
        //grid-template-columns: 1fr 1fr;
        gap: 18px;
        justify-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 180px;
        font-size: 1.2rem;
        //padding: 6px 8px;
        text-align: center;
        min-width: auto;
    }
    
    .qr-code-content {
        min-width: 220px;
        padding: 15px;
    }
    
    .qr-code-placeholder {
        width: 120px;
        height: 120px;
        box-sizing: border-box;
        position: relative;
        padding: 2px;
    }
}

/* Tablet and desktop: horizontal layout */
@media screen and (min-width: 768px) {
    .container {
        max-width: 100%;
    }
    
    .hero-content {
        gap: 15px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-content > img {
        max-width: 35%;
    }
    .hero-carousel { max-width: 50%; }

    .download-options {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px;
        width: 100%;
        margin: 0 auto;
    }

    .download-btn {
        flex: none !important;
        width: auto !important;
        max-width: none !important;
        font-size: 0.9rem;
        padding: 10px 18px;
    }
}

@media screen and (min-width: 1024px) {
    .container {
        max-width: 100%;
    }
    
    .hero-content h2 {
        font-size: 5rem;
    }

    .hero-content p {
        font-size: 1.75rem;
    }
    
    .download-btn {
        font-size: 1rem;
        padding: 12px 20px;
        min-width: 160px;
    }
    
    .qr-code-content {
        min-width: 300px;
        padding: 25px;
    }
    
    .qr-code-placeholder {
        width: 180px;
        height: 180px;
        box-sizing: border-box;
        position: relative;
        padding: 2px;
    }
} 
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255/var(--tw-text-opacity));
}
.text-\[80px\] {
  font-size: 5rem;
}
.mt-\[15px\] {
  margin-top: 0.1rem;
}
.text-white\/\[0\.6\] {
  color: hsla(0,0%,100%,.6);
}
.text-\[28px\] {
  font-size: 1.75rem;
}
.mt-\[18px\] {
  margin-top: 0.005rem;
}
.mt-\[43px\] {
  margin-top: 3.6875rem;
}