:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #ffffff;
    --light-text: #e2e8f0;
    --background-light: #f3f4f6;
    --white: #ffffff;
    --bg-dark: #0f172a;
    --bg-gradient: linear-gradient(to right, var(--bg-dark), hsl(226, 76%, 17%), #4220aa);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    background: var(--bg-gradient);
    line-height: 1.6;
    min-height: 100vh;
}

.navbar {
    background: rgba(20, 30, 60, 0.85) !important;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.10);
    border-radius: 0 0 1.2rem 1.2rem;
    padding: 0.5rem 0;
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    min-height: 54px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white) !important;
    padding: 0;
    display: flex;
    align-items: center;
    letter-spacing: 0.04em;
}

.navbar-brand img {
    height: 40px !important;
    margin-right: 0.6rem;
    object-fit: contain;
}

.navbar-nav .nav-link, #logout-btn, #history-link, #signin-btn {
    min-width: 120px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    box-sizing: border-box;
}

.navbar-nav .nav-link#user-greeting {
    background: rgba(255,255,255,0.08);
    color: var(--accent-color) !important;
    font-weight: 600;
    margin-right: 0.2rem;
}

#logout-btn {
    border-radius: 0.5rem;
    border: none;
    background: var(--accent-color);
    color: #fff;
    font-weight: 500;
    padding: 0.35rem 1.1rem;
    margin-right: 0.2rem;
    transition: background 0.2s;
}
#logout-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.navbar-nav .nav-link#cart-link {
    background: rgba(59,130,246,0.10);
    color: var(--accent-color) !important;
    font-weight: 600;
}

.container {
    padding: 2rem 1rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent-color);
    position: relative;
    text-align: center;
}

.product-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    text-align: left;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.usd-price {
    font-size: 1rem;
    color: var(--light-text);
    margin-left: 0.5rem;
}

.product-description {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.add-to-cart-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Modal Styling */
.modal-content {
    background: var(--bg-gradient);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.modal-header {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 1rem 1rem 0 0;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
}

.cart-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

#cart-total {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.25rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .category-title {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
    .navbar {
        border-radius: 0 0 0.7rem 0.7rem;
        margin-bottom: 1rem;
    }
    .navbar-brand img {
        height: 32px !important;
    }
    .navbar-nav .nav-link,
    #signin-btn {
        margin-top: 8px !important;
    }
    
    /* Adjust navigation for small screens */
    .navbar-nav {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .navbar-nav .nav-item #user-greeting {
        order: -1;
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem !important;
        background: none !important;
        color: var(--white) !important;
        font-weight: 600;
        display: block !important;
    }
    .navbar-nav-row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
    }
    .navbar-nav .nav-item {
        width: auto;
        display: flex;
        justify-content: center;
        margin: 0 !important;
    }
    
    #user-greeting {
        display: none !important;
    }
    
    #cart-link {
        order: 2;
    }
    
    #history-link {
        order: 3;
    }
    
    #signin-btn {
        order: 4;
    }
    
    #logout-btn {
        order: 5;
    }
    
    .navbar-brand + #user-greeting-mobile {
        display: inline-flex !important;
        margin-left: 0.5rem;
        color: var(--white) !important;
        align-items: center;
    }
    #user-greeting-mobile {
        display: block;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--white);
        margin: 1rem 0 0.5rem 0;
        text-align: right;
    }
    .floating-cart {
        display: flex;
    }
    #cart-link {
        display: none !important;
    }
    .navbar {
        margin-bottom: 0;
    }
    .container {
        padding-top: 1.5rem;
    }
}
@media (min-width: 769px) {
    .navbar-nav {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0.5rem !important;
    }
    .navbar-nav-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
        width: auto !important;
    }
    .navbar-nav .nav-item {
        width: auto !important;
        display: flex !important;
        justify-content: center !important;
        margin: 0 2px !important;
    }
    .navbar-nav .nav-item #user-greeting {
        order: 0;
        width: auto;
        text-align: left;
        margin-bottom: 0 !important;
        display: flex !important;
    }
}

/* Contact Section Styles */
.contact-form-section {
    background: transparent;
    color: #fff;
    padding: 3rem 0 2rem 0;
    border-radius: 1.2rem 1.2rem 0 0;
    margin-top: 3rem;
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: #fff;
    letter-spacing: 0.04em;
    /* text-transform: uppercase; */
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}
.contact-form-wrapper {
    flex: 1 1 340px;
    background: rgba(20, 30, 60, 0.85);
    border-radius: 1.2rem;
    padding: 2.2rem 2rem 2rem 2rem;
    box-shadow: 0 2px 24px 0 rgba(0,0,0,0.13);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-form .form-group {
    margin-bottom: 1.3rem;
}
.contact-form label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
    color: #fff;
    letter-spacing: 0.03em;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 0.5rem;
    border: 1.5px solid #2c3e50;
    background: rgba(20, 30, 60, 0.7);
    color: #fff;
    font-size: 1rem;
    margin-top: 0.2rem;
    transition: border 0.2s, background 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border: 1.5px solid var(--accent-color);
    background: rgba(20, 30, 60, 0.95);
}
.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}
.submit-btn {
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.9rem 2.2rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    transition: background 0.2s;
    margin-top: 0.5rem;
    width: 100%;
    text-transform: uppercase;
}
.submit-btn:hover {
    background: var(--primary-color);
}
.success-message {
    display: none;
    color: #22c55e;
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
}
.contact-info-area {
    flex: 1 1 260px;
    background: rgba(20, 30, 60, 0.85);
    border-radius: 1.2rem;
    padding: 2.2rem 2rem 2rem 2rem;
    box-shadow: 0 2px 24px 0 rgba(0,0,0,0.13);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-info-area h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.contact-info-row p,
.contact-info-row a {
    margin-bottom: 0.3rem;
    color: #fff;
    font-size: 1.05rem;
    text-decoration: none;
    font-weight: 500;
}
.contact-info-row a {
    color: var(--accent-color);
    font-weight: 600;
    word-break: break-all;
}
.contact-info-row a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.operating-hours {
    font-size: 0.98rem;
    color: #b3b3b3;
    margin-top: 0.5rem;
    font-weight: 400;
}
.social-icons {
    margin-top: 2.2rem;
    display: flex;
    gap: 1.5rem;
}
.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.2s;
    background: rgba(59,130,246,0.10);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-icons a:hover {
    color: var(--accent-color);
    background: rgba(59,130,246,0.18);
}
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    font-size: 2rem;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.15);
    z-index: 1000;
    transition: background 0.2s;
    text-decoration: none !important;
}
.floating-whatsapp:hover {
    background: #128c7e;
    color: #fff;
    text-decoration: none !important;
}
footer {
    background: rgba(20, 30, 60, 0.95);
    color: #fff;
    text-align: center;
    padding: 1.2rem 0 1rem 0;
    font-size: 1rem;
    border-radius: 0 0 1.2rem 1.2rem;
    margin-top: 2rem;
}
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .contact-form-wrapper, .contact-info-area {
        padding: 1.2rem 0.7rem;
    }
}
@media (max-width: 600px) {
    .contact-container {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    .contact-form-wrapper, .contact-info-area {
        padding: 1rem 0.5rem;
        border-radius: 1rem;
        box-shadow: none;
        width: 100%;
        margin: 0 auto;
    }
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 0rem;
    }
}

#user-greeting {
    display: flex !important;
    align-items: center;
    color: var(--white) !important;
    font-weight: 600;
}

/* Floating Cart Button for Mobile */
.floating-cart {
    display: none;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--accent-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    text-decoration: none;
}

.floating-cart:hover {
    background: var(--primary-color);
    transform: scale(1.05);
    color: var(--white);
    text-decoration: none;
}

.floating-cart .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--white);
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-color);
}

/* Cart Notification Animation */
.cart-notification {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.cart-notification.show {
    opacity: 1;
    visibility: visible;
    animation: slideDown 0.5s ease forwards;
}

@keyframes slideDown {
    0% {
        transform: translate(-50%, -20px);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .floating-cart {
        display: flex;
    }
    
    #cart-link {
        display: none !important;
    }
    
    .navbar {
        margin-bottom: 0;
    }
    
    .container {
        padding-top: 1.5rem;
    }
}

#home-btn {
    min-width: 120px;
    font-weight: 600;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
} 