@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --main-color: #d3ad7f;
    --black: #13131a;
    --bg: #010103;
    --border: .1rem solid rgba(255,255,255,.3);
}

* {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-transform: capitalize;
    transition: .2s linear; 
}

html {
    font-size: 62.5%;
    overflow: auto; /* Changed from overflow: hidden */
    padding-top: 0;
    scroll-behavior: smooth;
}


html::-webkit-scrollbar {
    width: .8rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 5rem;
}

body {
    background: var(--bg);
}

section {
    padding: 2rem 7%;
}
.heading {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;
}

.heading span {
    color: var(--main-color);
    text-transform: uppercase;
}

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: .9rem 3rem;
    font-size: 1.7rem;
    color: #fff;
    background: var(--main-color);
    cursor: pointer;
}

.btn:hover {
    letter-spacing: .2rem;
}

/* Enhanced Header */
.header {
    background: rgba(1,1,3,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 7%;
    border-bottom: 1px solid rgba(211,173,127,0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header.scrolled {
    background: rgba(1,1,3,0.98);
    box-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 7%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo img {
    height: 5rem;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1);
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--main-color);
    display: none;
}

/* Navigation */
.navbar {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link i {
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--main-color);
    background: rgba(211,173,127,0.1);
    transform: translateY(-2px);
}

.nav-link:hover i {
    transform: scale(1.2);
}

.nav-link.active {
    color: var(--main-color);
    background: rgba(211,173,127,0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--main-color);
    border-radius: 2px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Search Container */
.search-container {
    position: relative;
}

.search-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(211,173,127,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-btn:hover {
    background: rgba(211,173,127,0.2);
    border-color: var(--main-color);
    transform: scale(1.1);
}

.search-btn i {
    color: #fff;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.search-btn:hover i {
    color: var(--main-color);
}

.search-form {
    position: absolute;
    top: 60px;
    right: 0;
    width: 350px;
    background: rgba(1,1,3,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(211,173,127,0.3);
    border-radius: 25px;
    padding: 1rem;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.search-form.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.search-form input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.6rem;
    padding: 1rem 1.5rem;
    padding-right: 5rem;
    border-radius: 20px;
    border: 1px solid rgba(211,173,127,0.2);
}

.search-form input::placeholder {
    color: #ccc;
}

.search-submit {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--main-color);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: #f4d03f;
    transform: translateY(-50%) scale(1.1);
}

.search-submit i {
    color: #000;
    font-size: 1.4rem;
}

/* Cart Container */
.cart-container {
    position: relative;
}

.cart-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(211,173,127,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.cart-btn:hover {
    background: rgba(211,173,127,0.2);
    border-color: var(--main-color);
    transform: scale(1.1);
}

.cart-btn i {
    color: #fff;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.cart-btn:hover i {
    color: var(--main-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--main-color);
    color: #000;
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.cart-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    width: 400px;
    max-height: 500px;
    background: rgba(1,1,3,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(211,173,127,0.3);
    border-radius: 15px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
}

.cart-dropdown.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(211,173,127,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
}

.cart-total {
    color: var(--main-color);
    font-size: 1.6rem;
    font-weight: 600;
}

.cart-items-container {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid rgba(211,173,127,0.2);
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(45deg, var(--main-color), #f4d03f);
    color: #000;
    padding: 1.5rem;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211,173,127,0.3);
}

/* User Container */
.user-container {
    position: relative;
}

.user-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(211,173,127,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.user-btn:hover {
    background: rgba(211,173,127,0.2);
    border-color: var(--main-color);
    transform: scale(1.1);
}

.user-btn i {
    color: #fff;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.user-btn:hover i {
    color: var(--main-color);
}

.user-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    width: 280px;
    background: rgba(1,1,3,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(211,173,127,0.3);
    border-radius: 15px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
}

.user-dropdown.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.user-info {
    padding: 2rem;
    border-bottom: 1px solid rgba(211,173,127,0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info i {
    color: var(--main-color);
    font-size: 2.5rem;
}

.user-info span {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
}

.user-menu {
    list-style: none;
    margin: 0;
    padding: 1rem 0;
}

.user-menu li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.user-menu li a:hover {
    background: rgba(211,173,127,0.1);
    color: var(--main-color);
}

.user-menu li a i {
    width: 20px;
    text-align: center;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 1rem;
}

.menu-line {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(1,1,3,0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: left 0.3s ease;
}

.mobile-nav-overlay.active {
    left: 0;
}

.mobile-nav-content {
    padding: 2rem;
    height: 100%;
    overflow-y: auto;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(211,173,127,0.3);
}

.mobile-nav-header img {
    height: 4rem;
}

.mobile-nav-header h2 {
    color: var(--main-color);
    font-size: 2.4rem;
    margin: 0;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin-bottom: 1rem;
}

.mobile-nav-menu li.divider {
    height: 1px;
    background: rgba(211,173,127,0.3);
    margin: 2rem 0;
}

.mobile-nav-menu li a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.mobile-nav-menu li a:hover {
    background: rgba(211,173,127,0.1);
    color: var(--main-color);
    transform: translateX(10px);
}

.mobile-nav-menu li a i {
    font-size: 2rem;
    width: 30px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem 5%;
    }
    
    .navbar {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo-text {
        display: block;
        font-size: 1.8rem;
    }
    
    .header-actions {
        gap: 1rem;
    }
    
    .search-form {
        width: 280px;
    }
    
    .cart-dropdown {
        width: 320px;
    }
}

/* Enhanced Hero Section */
.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(1,1,3,0.8), rgba(19,19,26,0.9)), 
                url('../image/home-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(211,173,127,0.1) 0%, transparent 50%);
    z-index: 1;
}

/* Floating Coffee Beans Animation */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-bean {
    position: absolute;
    font-size: 2rem;
    color: var(--main-color);
    animation: float 6s ease-in-out infinite;
    opacity: 0.3;
}

.bean-1 { left: 10%; animation-delay: 0s; animation-duration: 8s; }
.bean-2 { left: 20%; animation-delay: 1s; animation-duration: 7s; }
.bean-3 { left: 70%; animation-delay: 2s; animation-duration: 9s; }
.bean-4 { left: 80%; animation-delay: 3s; animation-duration: 6s; }
.bean-5 { left: 90%; animation-delay: 4s; animation-duration: 8s; }

@keyframes float {
    0%, 100% { 
        transform: translateY(100vh) rotate(0deg); 
        opacity: 0; 
    }
    10%, 90% { 
        opacity: 0.3; 
    }
    50% { 
        transform: translateY(-10vh) rotate(180deg); 
        opacity: 0.6; 
    }
}

.home .content {
    max-width: 70rem;
    position: relative;
    z-index: 2;
    animation: slideInUp 1s ease-out;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    background: rgba(211,173,127,0.2);
    border: 1px solid var(--main-color);
    padding: 0.5rem 2rem;
    border-radius: 25px;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out 0.3s both;
}

.hero-badge span {
    color: var(--main-color);
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Title */
.hero-title {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease-out both;
}

.title-line:nth-child(2) {
    animation-delay: 0.5s;
}

.title-line.highlight {
    background: linear-gradient(45deg, var(--main-color), #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--main-color);
    animation: expandWidth 1s ease-out 1.2s both;
}

/* Hero Description */
.hero-description {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.primary-btn {
    background: linear-gradient(45deg, var(--main-color), #f4d03f);
    color: #000;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f4d03f, var(--main-color));
    transition: left 0.3s ease;
    z-index: -1;
}

.primary-btn:hover::before {
    left: 0;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(211,173,127,0.3);
}

.secondary-btn {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 1.5rem 3rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    border-color: var(--main-color);
    color: var(--main-color);
    transform: translateY(-3px);
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ccc;
    font-size: 1.4rem;
}

.feature-item i {
    color: var(--main-color);
    font-size: 1.8rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #ccc;
    font-size: 1.2rem;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.scroll-mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--main-color);
    border-radius: 15px;
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--main-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .home .content {
        max-width: 90%;
    }
}
.footer {
    background: var(--black);
    text-align: center;
}

.footer .share {
    padding: 1rem 0;
}

.footer .share a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem; 
    color: #fff;
    border: var(--border);
    margin:.3rem;
    border-radius: 50%;
}

.footer .share a:hover {
    background-color: var(--main-color);
}

.footer .credit {
    font-size: 2rem;
    color:#fff;
    font-weight: lighter;
    padding: 1.5rem;
}
.footer .credit span{
    color: var(--main-color);
}
/* login */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('image/bg.png') no-repeat center center;
    background-size: cover;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    
}
.form {
    max-width: 500px;
    width: 100%;
    padding: 5rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; 
}
.head {
    font-size: 3.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 1rem;
}
.form p {
    text-align: center;
    color: #555;
    margin-bottom: 2rem;
}
.input-box {
    margin-bottom: 2rem; 
}
.input-box label {
    display: block;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}
.input-box input {
    width: 100%;
    padding: 1rem;
    font-size: 1.5rem;
    color: #555;
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    transition: border-color 0.3s;
    
}
.input-box input:focus {
    border-color: #d3ad7f; 
    outline: none;
}
.sign_btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.5rem;
    color: #fff;
    background-color: rgb(129, 118, 118); 
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 1rem;
}
.sign_btn:hover {
    background-color: rgb(68, 64, 64); 
}
.pa {
    text-align: center;
    margin-bottom: 2rem;
    cursor: pointer;
    font-size: 15px;
}
.a {
    text-align: center;
    font-size: 15px;
}
.pa a {
    color: #555;
    text-decoration: none;
    font-size: 1.2rem;
}
.pa a:hover {
    text-decoration: underline;
}
.para {
    text-align: center;
    color: #555; 
    font-size: 15px;
}
.create_btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.5rem;
    color: #fff;
    background-color: rgb(129, 118, 118); 
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 1rem;
}
.create_btn:hover {
    background-color: rgb(68, 64, 64); 
}
nav.category {
    background-color: var(--bg); 
    padding-bottom: 2rem;
    padding-top: 1rem;
    text-align: center; 
    border-bottom: var(--border); 
    position: sticky; 
    top: 0;
    z-index: 100; 
}

/* navigation links */
nav.category a {
    font-size: 1.8rem;
    color: #ffd19a; 
    text-decoration: none; 
    margin: 0 1.5rem; 
    padding: 0.5rem 1rem; 
    border-radius: 5px; 
    transition: background-color 0.3s ease, color 0.3s ease; 
}

/* Hover effect for the links */
nav.category a:hover {
    background-color: var(--main-color); 
    color: var(--black);
}


nav.category a.active {
    background-color: var(--main-color); 
    color: var(--black); 
}

.menu .box-container .btn{
    background: var(--main-color);
    color: #2e1700;
    font-size: 1.5rem;
}

.menu .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
}

.menu .box-container .box{
    padding: 5rem;
    text-align: center;
    border: var(--border);

}

.menu .box-container .box img{
    height: 20rem;

    width: 20rem;   
    object-fit: cover; 
    border-radius: 5px; 
}

.menu .box-container .box h3{
    color: antiquewhite;
    font-size: 2rem;
    padding: 1rem 0;
}

.menu .box-container .box .price{
    color: rgb(255, 255, 255);
    font-size: 2rem;
    padding: 1rem 0;
}

.menu .box-container .box span{
    color: rgb(196, 155, 103);
    font-size: 1.5rem;
    text-decoration: line-through;
}

.menu .box-container .box:hover{
    background: #f2e8df;

}

.menu .box-container .box:hover > *{
    color: var(--black);
}
/* Welcome Section Styles */
.welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--bg); /* Use your existing background variable */
}

/* Picture Area */
.pic-area {
    text-align: center;
    margin-bottom: 3rem;
}

.pic-area-text h2 {
    color: var(--main-color);
    font-size: 3rem;
}

.home__name {
    font-size: 5rem;
    color: #fff;
}

.logo-first {
    color: var(--main-color);
}

.logo-last {
    color: #fff;
}

.pic-area h3 {
    color: #fff;
    font-size: 2rem;
    margin: 1rem 0;
}

.btn-order {
    padding: 1rem 2rem;
    font-size: 1.6rem;
    color: #fff;
    background: var(--main-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-order:hover {
    background: #b59466; /* Darker shade for hover effect */
}
/* Main Area */
.main-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    opacity: 0; /* Start hidden for fade-in effect */
    animation: fadeIn 1s forwards; /* Fade-in animation */
}

/* Section Area */
.section-area {
    display: flex;
    flex-direction: column; /* Stack text and image vertically on smaller screens */
    align-items: center; /* Center align items */
    justify-content: center; /* Center justify */
    padding: 2rem;
    background: #1a1a1a; /* Dark background for sections */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease; /* Smooth transform transition */
}

/* Hover effect for section areas */
.section-area:hover {
    transform: translateY(-2px); /* Slight lift effect on hover */
}

/* Heading Styling */
.section-area h1 {
    color: var(--main-color);
    font-size: 4rem; /* Adjusted for better scaling */
    margin-bottom: 1rem;
}

/* Text Box Styling */
.box-text {
    flex: 1;
    padding: 1rem;
    text-align: center; /* Center text for better presentation */
}

/* Image Box Styling */
.box-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Image Styling */
.box-img img {
    max-width: 80%; /* Adjust width for better responsiveness */
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease; /* Smooth zoom effect on hover */
}

/* Zoom effect on image hover */
.box-img img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Paragraph Styling */
p {
    font-size: 2.5rem; /* Increased font size for better readability */
    line-height: 1.6; /* Improved line height */
    color: #e0e0e0; /* Lighter text color for contrast */
    padding: 1rem 0; /* Padding for spacing */
    text-align: justify; /* Justify text for better layout */
}

/* Statistics Section */
.stats {
    padding: 8rem 7% 5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../image/coffee-beans-bg.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 4rem;
    color: #fff;
    margin-bottom: 5rem;
    text-transform: uppercase;
}

.section-title span {
    color: var(--main-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(211, 173, 127, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    border-color: var(--main-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(211, 173, 127, 0.2);
}

.stat-icon {
    font-size: 4rem;
    color: var(--main-color);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.2) rotateY(360deg);
}

.stat-number {
    font-size: 4.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
    font-family: 'Arial', sans-serif;
    position: relative;
}

.stat-number::after {
    content: '+';
    position: absolute;
    right: -20px;
    top: 0;
    font-size: 3rem;
    color: var(--main-color);
    opacity: 0;
    animation: fadeInPlus 0.5s ease forwards;
    animation-delay: 2s;
}

.stat-label {
    font-size: 1.8rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

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

@keyframes fadeInPlus {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-number.animate {
    animation: countUp 0.8s ease;
}

/* Responsive Design for Stats */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .stat-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 2rem 1rem;
    }
}

/* Keyframe Animations */
@keyframes fadeIn {
    0% {
        opacity: 0; /* Start hidden */
    }
    100% {
        opacity: 1; /* Fade in */
    }
}

/* Enhanced Header Styles */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
}

.logo-text {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--main-color);
    display: none;
}

.navbar {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--main-color);
    background: rgba(211,173,127,0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--main-color);
    background: rgba(211,173,127,0.15);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-toggle,
.cart-toggle,
.user-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.search-toggle:hover,
.cart-toggle:hover,
.user-toggle:hover {
    color: var(--main-color);
    background: rgba(211,173,127,0.1);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--main-color);
    color: var(--black);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.cart-count.show {
    transform: scale(1);
}

/* Enhanced Header Components */
.search-container {
    position: relative;
}

.search-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-btn:hover {
    color: var(--main-color);
    background: rgba(211,173,127,0.1);
    transform: scale(1.1);
}

.search-form {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 300px;
    transform: translateY(-10px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(211,173,127,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-form.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.search-form input {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.6rem;
    color: var(--black);
    border-radius: 20px;
    outline: none;
}

.search-form input::placeholder {
    color: #666;
}

.search-submit {
    background: var(--main-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    transform: scale(1.1);
    background: #f4d03f;
}

.cart-container {
    position: relative;
}

.cart-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.cart-btn:hover {
    color: var(--main-color);
    background: rgba(211,173,127,0.1);
    transform: scale(1.1);
}

.cart-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: #fff;
    border-radius: 15px;
    padding: 0;
    min-width: 350px;
    max-height: 400px;
    transform: translateY(-10px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(211,173,127,0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.cart-dropdown.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.cart-header {
    background: var(--main-color);
    color: var(--black);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.cart-total {
    font-size: 1.6rem;
    font-weight: 700;
}

.cart-items-container {
    max-height: 250px;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    color: var(--black);
}

.cart-item-info .price {
    color: var(--main-color);
    font-weight: 600;
    font-size: 1.3rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.checkout-btn {
    width: 100%;
    text-align: center;
    padding: 1.2rem;
    background: var(--main-color);
    color: var(--black);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: #f4d03f;
    transform: translateY(-2px);
}

.user-container {
    position: relative;
}

.user-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.user-btn:hover {
    color: var(--main-color);
    background: rgba(211,173,127,0.1);
    transform: scale(1.1);
}

.user-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: #fff;
    border-radius: 15px;
    padding: 0;
    min-width: 250px;
    transform: translateY(-10px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(211,173,127,0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.user-dropdown.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.user-info {
    background: var(--main-color);
    color: var(--black);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info i {
    font-size: 2rem;
}

.user-info span {
    font-weight: 600;
    font-size: 1.6rem;
}

.user-menu {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}

.user-menu li {
    margin: 0;
}

.user-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--black);
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.user-menu a:hover {
    background: rgba(211,173,127,0.1);
    color: var(--main-color);
}

.user-menu i {
    width: 20px;
    text-align: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.8rem;
    flex-direction: column;
    gap: 0.4rem;
}

.menu-line {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1,1,3,0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-nav-content {
    padding: 2rem;
    height: 100%;
    overflow-y: auto;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(211,173,127,0.3);
}

.mobile-nav-header img {
    width: 40px;
    height: 40px;
}

.mobile-nav-header h2 {
    color: var(--main-color);
    font-size: 2.4rem;
    margin: 0;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin: 0;
}

.mobile-nav-menu a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-nav-menu a:hover {
    background: rgba(211,173,127,0.1);
    color: var(--main-color);
    transform: translateX(10px);
}

.mobile-nav-menu .divider {
    height: 1px;
    background: rgba(211,173,127,0.3);
    margin: 2rem 0;
}

/* Header scroll effects */
.header.scrolled {
    background: rgba(1,1,3,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Responsive header */
@media (max-width: 768px) {
    .navbar {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .search-form {
        min-width: 250px;
    }
    
    .cart-dropdown,
    .user-dropdown {
        min-width: 280px;
        right: -50px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 5%;
    }
    
    .header-actions {
        gap: 1rem;
    }
    
    .logo img {
        height: 4rem;
    }
    
    .search-form {
        min-width: 200px;
        right: -80px;
    }
    
    .cart-dropdown,
    .user-dropdown {
        min-width: 250px;
        right: -100px;
    }
}

