/* Header Styles */
.header {
    background: #ffffff01; 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 20px 80px;
    position: fixed; 
    top: 0;
    left: 0; 
    width: 100%; 
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    margin: 0 auto;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo img {
    height: 44px;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    gap: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    font-size: 16px;
    font-family: 'Geist', sans-serif;
    letter-spacing: -0.4px;
    font-weight: 400;
    word-wrap: break-word;
    color: #222221;
    text-decoration: none;
    padding: 6px 20px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    font-weight: 600;
}

/* Order Button */
.order-btn {
    background: #222221;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 16px;
    font-family: 'Geist', sans-serif;
    letter-spacing: -0.2px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.order-btn:hover {
    background: #000;
    transform: translateY(-1px);
}

/* Hero*/
.hero {
    width: 100%;
    height: 780px;
    background-image: url('/assets/images/img/Hero-img.png');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end; 
    padding: 80px; 
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.text-group {
    display: flex;
    flex-direction: column;
    gap: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-title {
    font-family: 'Geist', sans-serif;
    font-size: 72px;
    font-weight: 500;
    line-height: 72px;
    color: #222221;
    margin: 0;
    letter-spacing: -3px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.hero-subtitle {
    font-family: 'Geist', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #898683;
    margin: 0;
    line-height: 28px;
    letter-spacing: -0.4px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.hero .order-btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.1s forwards;
}

.dash {
    background: #f5f5f5;
    height: 2px;
    width: auto;
    margin-left: 80px;
    margin-right: 80px;
    margin-top: 120px;
    margin-bottom: 100px;
}

.content {
    width: 100%;
    padding-left: 80px;
    padding-right: 80px;
    box-sizing: border-box;
}

.How-it-works {
    display: flex;
    flex-direction: column;
    gap: 110px;
}

.content-title h1 {
    font-family: 'Geist', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: #222221;
    margin: 0;
    text-align: flex-start;
    letter-spacing: -0.4px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease;
}

.list:hover {
    transform: translateX(5px);
}

.list h2 {
    font-family: 'Geist', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #222221;
    margin: 0;
    letter-spacing: -0.4px;
    line-height: auto;
}

.list p {
    font-family: 'Geist', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #898683;
    line-height: auto;
    letter-spacing: -0.4px;
    margin: 0;
}

.operating-hours {
    display: flex;
    flex-direction: column;
    gap: 96px;
}

.content-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: flex-start;
}

.content-header h1 {
    font-family: 'Geist', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: #222221;
    margin: 0;
}

.content-header .subtitle {
    font-family: 'Geist', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #898683;
    margin: 0;
    letter-spacing: -0.4px;
    line-height: auto;
}

.hours-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.time-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.time-item h3 {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #222221;
    margin: 0;
    text-transform: none;
    letter-spacing: -0.4px;
}

.cards-container {
    display: flex;
    gap: 40px;
    flex: 1;
}

.card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
    background: rgb(237, 236, 231, 0.5);
    border-radius: 12px;
    border: #EDECE7 solid 1px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
}

#card {
    background: rgb(246, 242, 220, 0.5);
    border-radius: 12px;
    border: #F6F2DC solid 1px;
}

.card h2 {
    font-family: 'Geist', sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.4px;
    line-height: auto;
    color: #222221;
    margin: 0;
}

.card p {
    font-family: 'Geist', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #898683;
    line-height: auto;
    letter-spacing: -0.4px;
    margin: 0;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animation Classes */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 744px) and (max-width: 1279px) {
    .header {
        background: none;
        padding: 16px 64px;
    }
    .hero {
        height: 1028px;
        padding: 64px; 
    }
    .hero-title {
        font-family: 'Geist', sans-serif;
        font-size: 64px;
        font-weight: 500;
        line-height: 64px;
    }
    .hero-subtitle {
        font-family: 'Geist', sans-serif;
        font-size: 20px;
        font-weight: 400;
        line-height: 20px;
    }
    .dash {
        margin-left: 64px;
        margin-right: 64px;
    }
    #dash {
        margin-top: 110px;
    }
    .content {
        width: 82%;
        padding-left: 64px;
    }
    .How-it-works {
        gap: 110px;
    }
    .content-title h1 {
        font-size: 40px;
        line-height: auto;
    }
    .container {
        flex-direction: column;
        gap: 60px;
    }
    .list {
        text-align: flex-start;
    }
    .operating-hours {
        gap: 60px;
    }
    .content-header h1 {
        font-size: 40px;
    }
    .content-header .subtitle {
        font-size: 18px;
    }
    
    .time-group {
        flex-direction: column; 
        gap: 16px;
        align-items: center;
    }
    
    .time-item {
        text-align: center;
    }
    
    .time-item .time {
        font-size: 20px;
    }
    
    .cards-container {
        flex-direction: column;
        gap: 32px;
    }
    
    .card {
        padding: 24px 20px;
    }
    
    .card h2 {
        font-size: 20px;
    }
    
    .card p {
        font-size: 18px;
    }
}

@media (min-width: 320px) and (max-width: 743px){
    .header {
        padding: 16px 20px;
    }
    .logo img {
        height: 32px;
        width: auto;
    }
    .nav-link {
        display: none;
    }
    .order-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    .hero {
        height: 600px;
        padding: 20px; 
    }
    .hero-content {
        gap: 24px;
    }

    .text-group {
        gap: 12px;
    }
    .hero-title {
        font-family: 'Geist', sans-serif;
        font-size: 44px;
        font-weight: 500;
        line-height: 44px;
    }
    .hero-subtitle {
        font-family: 'Geist', sans-serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 18px;
    }
    .dash {
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 120px;
        margin-bottom: 40px;
    }
    #dash {
        margin-top: 40px;
    }
    .content {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .How-it-works {
        gap: 60px;
    }
    .content-title h1 {
        font-size: 32px;
        line-height: auto;
    }
    .container {
        flex-direction: column;
        gap: 40px;
    }
    .list {
        text-align: flex-start;
        gap: 16px;
    }

    .list h2{
        font-size: 18px;
        line-height: auto;
    }
    .list p{
        font-size: 18px;
    }
    .operating-hours {
        gap: 50px;
    }
    .content-header h1 {
        font-size: 32px;
    }
    .content-header .subtitle {
        font-size: 18px;
    }
    .time-group {
        flex-direction: column; 
        gap: 16px;
        align-items: center;
    }
    .time-item {
        text-align: center;
    }
    .time-item .time {
        font-size: 18px;
    }  
    .cards-container {
        flex-direction: column;
        gap: 32px;
    } 
    .card {
        padding: 20px 16px;
    } 
    .card h2 {
        font-size: 18px;
    } 
    .card p {
        font-size: 18px;
    }
}