/* Coffee Jolene Website Styles */

/* CSS Variables */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --secondary-color: #f59e0b;
    --accent-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #f8fafc;
    --background-dark: #0f172a;
    --white: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.25);
    --border-radius: 20px;
    --border-radius-small: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-secondary: linear-gradient(135deg, #f59e0b, #f97316);
    --gradient-accent: linear-gradient(135deg, #ec4899, #f43f5e);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Header Styles */
.header-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--background-light) 0%, #f0ebe5 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23d2691e" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23d2691e" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23d2691e" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23d2691e" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23d2691e" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.logo-section {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.logo-text {
    font-size: 3.5rem;
    margin: 0;
    text-align: center;
}

.coffee-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-light);
    display: block;
    margin-bottom: -0.5rem;
    letter-spacing: 2px;
}

.jolene-text {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: 3px;
}

.tagline-section {
    position: relative;
    z-index: 2;
}

.tagline-banner {
    background: var(--gradient-primary);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    display: inline-block;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.tagline-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.tagline-text {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 2px 4px var(--shadow-dark);
    position: relative;
    z-index: 1;
}

/* Main Content */
.main-content {
    padding: 3rem 0;
    position: relative;
}

/* Card Styles */
.main-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px var(--shadow-light);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    height: 100%;
    min-height: 300px;
}

.main-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px var(--shadow-medium);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 100%;
    /* display: flex; */
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px var(--shadow-dark);
    font-weight: 700;
}

.card-subtitle {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-shadow: 0 1px 4px var(--shadow-dark);
    opacity: 0.9;
}

/* Specific Card Backgrounds */
.opening-hours-card .card-background {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(139, 92, 246, 0.8)), 
                url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?w=800&h=600&fit=crop&crop=center');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.menu-card .card-background {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.8), rgba(249, 115, 22, 0.8)), 
                url('https://images.unsplash.com/photo-1559056199-641a0ac8b55e?w=800&h=600&fit=crop&crop=center');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Hours Display */
.hours-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 8px var(--shadow-dark);
    margin: 1rem 0;
    font-family: 'Inter', sans-serif;
}

/* Buttons */
.btn {
    border: none;
    border-radius: var(--border-radius-small);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    position: unset;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-reservation,
.btn-menu {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
}

.btn-reservation:hover,
.btn-menu:hover {
    background: linear-gradient(135deg, #f43f5e, var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
    color: var(--white);
}

/* Social Grid */
.social-grid {
    height: 100%;
}

.social-card {
    background: var(--white);
    border-radius: var(--border-radius-small);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 16px var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-medium);
}

.social-card:hover::before {
    opacity: 1;
}

.social-card i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.social-card span {
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.social-card:hover i,
.social-card:hover span {
    color: var(--white);
    transform: scale(1.1);
}

/* Social Card Colors */
.instagram-card {
    color: #e4405f;
}

.instagram-card::before {
    background: linear-gradient(135deg, #e4405f, #c13584);
}

.tiktok-card {
    color: #000000;
}

.tiktok-card::before {
    background: linear-gradient(135deg, #000000, #333333);
}

.whatsapp-card {
    color: #25d366;
}

.whatsapp-card::before {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.call-card {
    color: #8b5cf6;
}

.call-card::before {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.waze-card {
    color: #33ccff;
}

.waze-card::before {
    background: linear-gradient(135deg, #33ccff, #0099cc);
}

.map-card {
    color: #25d366;
}

.map-card::before {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

/* Loyalty Card */
.loyalty-card {
    background: linear-gradient(135deg, var(--background-light), #f1f5f9);
    border: 2px solid var(--primary-light);
    color: var(--text-dark);
}

.loyalty-card .card-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.loyalty-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.loyalty-section {
    flex: 1;
}

.cashback-section {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(249, 115, 22, 0.1));
    border-radius: var(--border-radius-small);
    border: 2px solid rgba(245, 158, 11, 0.2);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cashback-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

.cashback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.6s ease;
}

.cashback-section:hover::before {
    left: 100%;
}

.cashback-icon {
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.cashback-icon i {
    font-size: 2rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: coinSpin 3s ease-in-out infinite;
}

@keyframes coinSpin {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

.cashback-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 2;
}

.cashback-amount {
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    position: relative;
    z-index: 2;
}

.loyalty-cups {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.loyalty-cups i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.loyalty-cups i.filled {
    color: var(--primary-dark);
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.loyalty-main-cup {
    text-align: center;
    margin: 1rem 0;
}

.loyalty-main-cup i {
    font-size: 3rem;
    color: var(--primary-color);
    animation: steam 2s ease-in-out infinite;
}

@keyframes steam {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.05); }
}

.loyalty-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.loyalty-subtext {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Loyalty Modal Styles */
.loyalty-login-section {
    padding: 2rem 1rem;
    text-align: center;
}

.loyalty-welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.loyalty-welcome-icon i {
    font-size: 2rem;
    color: var(--white);
}

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

.loyalty-form {
    max-width: 400px;
    margin: 0 auto;
}

.loyalty-info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    border: 2px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.loyalty-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

.loyalty-info-card .card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.loyalty-info-card .card-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.cashback-card .card-icon {
    background: var(--gradient-secondary);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.loyalty-info-card h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.customer-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.customer-phone {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.cashback-balance {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.loyalty-progress-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border: 2px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.loyalty-cups-display {
    text-align: center;
}

.loyalty-progress-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.recent-transactions {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(241, 245, 249, 0.8));
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.transactions-list {
    max-height: 200px;
    overflow-y: auto;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: var(--white);
    border-radius: var(--border-radius-small);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
    transition: var(--transition);
}

.transaction-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.transaction-info {
    flex: 1;
}

.transaction-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.transaction-description {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.transaction-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cashback-earned {
    color: var(--secondary-color);
}

.loyalty-earned {
    color: var(--accent-color);
}

/* Mobile Loyalty Card */
.mobile-loyalty-card {
    min-height: 200px;
}

.mobile-loyalty-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.mobile-loyalty-row .loyalty-section {
    flex: 1;
    text-align: left;
}

.mobile-loyalty-row .cashback-section {
    flex: 0 0 auto;
    min-width: 120px;
    padding: 0.75rem;
}

.mobile-loyalty-row .loyalty-main-cup {
    display: none;
}

.mobile-loyalty-row .loyalty-text {
    font-size: 1rem;
    margin-bottom: 0;
}

.mobile-loyalty-row .cashback-text {
    font-size: 0.8rem;
}

.mobile-loyalty-row .cashback-amount {
    font-size: 1rem;
}

/* Mobile Responsive for Loyalty */
@media (max-width: 768px) {
    .loyalty-info-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cashback-section {
        width: 100%;
    }
    
    .mobile-loyalty-row {
        flex-direction: row;
        gap: 1rem;
    }
    
    .mobile-loyalty-row .cashback-section {
        width: auto;
        min-width: 100px;
    }
    
    .loyalty-welcome-icon {
        width: 60px;
        height: 60px;
    }
    
    .loyalty-welcome-icon i {
        font-size: 1.5rem;
    }
    
    .loyalty-info-card .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .loyalty-info-card .card-icon i {
        font-size: 1.25rem;
    }
    
    .cashback-balance {
        font-size: 1.25rem;
    }
}

/* Footer */
.footer-section {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.copyright {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 16px 48px var(--shadow-dark);
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.btn-close {
    filter: invert(1);
}

/* Menu Modal */
.menu-content {
    padding: 1rem 0;
    max-height: 70vh;
    overflow-y: auto;
    position: relative;
}

.menu-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    animation: menuProgress 3s ease-in-out infinite;
}

@keyframes menuProgress {
    0%, 100% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
}

.menu-section {
    margin-bottom: 3rem;
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: var(--border-radius);
    border: 1px solid rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.menu-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.menu-category {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    border-radius: var(--border-radius-small);
    background-color: rgba(99, 102, 241, 0.05);
    border: 2px solid transparent;
    transition: var(--transition);
}

.menu-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-small);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.menu-category:hover::before {
    opacity: 0.1;
}

.menu-category::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    animation: categoryPulse 2s ease-in-out infinite;
}

@keyframes categoryPulse {
    0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 1; }
    50% { transform: translateX(-50%) scaleX(1.5); opacity: 0.7; }
}

.menu-category i {
    font-size: 1.4rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.8s ease;
}

.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
    border-radius: var(--border-radius);
}

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

.menu-item:hover::after {
    opacity: 0.05;
}

.menu-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.menu-item:nth-child(odd) {
    animation: slideInLeft 0.6s ease-out;
}

.menu-item:nth-child(even) {
    animation: slideInRight 0.6s ease-out;
}

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

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

.item-image {
    width: 90px;
    height: 90px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.item-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
    border-radius: var(--border-radius);
}

.menu-item:hover .item-image::before {
    opacity: 0.1;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--border-radius);
}

.menu-item:hover .item-image {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.3);
}

.menu-item:hover .item-image img {
    transform: scale(1.15);
}

.item-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.item-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
    position: relative;
}

.item-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.menu-item:hover .item-name::after {
    width: 100%;
}

.item-description {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.4;
    transition: var(--transition);
}

.menu-item:hover .item-description {
    color: var(--primary-color);
    transform: translateX(5px);
}

.item-price {
    font-weight: 800;
    font-size: 1.3rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px var(--shadow-light);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
    background-color: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.item-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0.1;
    transition: left 0.5s ease;
}

.menu-item:hover .item-price::before {
    left: 0;
}

.menu-item:hover .item-price {
    transform: scale(1.1);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .logo-text {
        font-size: 3rem;
    }
    
    .jolene-text {
        font-size: 3rem;
    }
    
    .tagline-text {
        font-size: 1rem;
    }
}

@media (max-width: 991.98px) {
    .header-section {
        padding: 1.5rem 0;
    }
    
    .logo-text {
        font-size: 2.5rem;
    }
    
    .jolene-text {
        font-size: 2.5rem;
    }
    
    .coffee-text {
        font-size: 1rem;
    }
    
    .tagline-banner {
        padding: 0.75rem 1.5rem;
    }
    
    .tagline-text {
        font-size: 0.9rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .hours-display {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .header-section {
        padding: 1rem 0;
    }
    
    .logo-text {
        font-size: 2rem;
    }
    
    .jolene-text {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .coffee-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .tagline-banner {
        padding: 0.5rem 1rem;
    }
    
    .tagline-text {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .main-content {
        padding: 1.5rem 0;
    }
    
    .main-card {
        min-height: 250px;
        margin-bottom: 1rem;
    }
    
    .card-content {
        padding: 1.25rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .hours-display {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .social-card {
        padding: 1rem 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .social-card i {
        font-size: 1.25rem;
    }
    
    .social-card span {
        font-size: 0.7rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .loyalty-cups i {
        font-size: 1rem;
    }
    
    .loyalty-main-cup i {
        font-size: 2.5rem;
    }
    
    .loyalty-text {
        font-size: 1rem;
    }
    
}

@media (max-width: 575.98px) {
    .logo-text {
        font-size: 1.75rem;
    }
    
    .jolene-text {
        font-size: 1.75rem;
    }
    
    .coffee-text {
        font-size: 0.8rem;
    }
    
    .tagline-banner {
        padding: 0.4rem 0.8rem;
    }
    
    .tagline-text {
        font-size: 0.75rem;
    }
    
    .main-card {
        min-height: 200px;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .hours-display {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .social-card {
        padding: 0.75rem 0.25rem;
    }
    
    .social-card i {
        font-size: 1rem;
    }
    
    .social-card span {
        font-size: 0.65rem;
    }
    
    .loyalty-cups {
        gap: 0.25rem;
    }
    
    .loyalty-cups i {
        font-size: 0.9rem;
    }
    
    .loyalty-main-cup i {
        font-size: 2rem;
    }
    
    .loyalty-text {
        font-size: 0.9rem;
    }
    
    .loyalty-subtext {
        font-size: 0.8rem;
    }
    
    .menu-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .item-image {
        width: 60px;
        height: 60px;
    }
    
    .item-name {
        font-size: 1rem;
    }
    
    .item-description {
        font-size: 0.8rem;
    }
    
    .item-price {
        font-size: 1.1rem;
    }
    
    .menu-category {
        font-size: 1.2rem;
    }
    
    .menu-category i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .menu-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .item-image {
        width: 50px;
        height: 50px;
    }
    
    .item-name {
        font-size: 0.9rem;
    }
    
    .item-description {
        font-size: 0.75rem;
    }
    
    .item-price {
        font-size: 1rem;
    }
    
    .menu-category {
        font-size: 1.1rem;
    }
    
    .menu-category i {
        font-size: 0.9rem;
    }
    
    .item-details {
        gap: 0.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

/* Instagram Stories Styles */
.stories-section {
    margin-top: 2rem;
    padding: 1rem 0;
}

.stories-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.story-item {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid transparent;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 3px;
    z-index: 10;
    pointer-events: all;
    user-select: none;
    display: block;
    outline: none;
    text-decoration: none;
    color: inherit;
}

.story-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.story-item:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.story-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: var(--white);
    padding: 2px;
    pointer-events: none;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.story-overlay {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.story-item:hover .story-overlay {
    opacity: 1;
    bottom: -25px;
}

/* Story Modal Styles */
.story-modal-dialog {
    max-width: 400px;
    margin: 0 auto;
}

.story-modal-content {
    background: #000;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.story-viewer {
    position: relative;
    width: 100%;
    height: 600px;
    background: #000;
    display: flex;
    flex-direction: column;
}

.story-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 1rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.story-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.story-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--white);
}

.story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-user-details {
    display: flex;
    flex-direction: column;
}

.story-username {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.story-timestamp {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.story-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.story-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.story-progress-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 0.5rem 1rem;
}

.story-progress-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.story-progress {
    height: 100%;
    background: var(--white);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.story-content {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.story-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: var(--white);
}

.story-text-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.story-text-overlay p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
    margin: 0;
}

.story-navigation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 8;
    pointer-events: none;
}

.story-nav-btn {
    width: 50%;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: var(--transition);
    pointer-events: all;
}

.story-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.story-nav-btn i {
    font-size: 1.5rem;
    opacity: 0.7;
}

.story-nav-btn:hover i {
    opacity: 1;
}

.story-prev {
    justify-content: flex-start;
    padding-left: 1rem;
}

.story-next {
    justify-content: flex-end;
    padding-right: 1rem;
}

/* Story Animation */
@keyframes storyProgress {
    from { width: 0%; }
    to { width: 100%; }
}

.story-progress.animating {
    animation: storyProgress 5s linear forwards;
}

/* Responsive Stories */
@media (max-width: 768px) {
    .stories-container {
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .story-item {
        width: 70px;
        height: 70px;
    }
    
    .story-overlay {
        font-size: 0.65rem;
        padding: 1px 4px;
    }
    
    .story-modal-dialog {
        max-width: 100%;
        margin: 0;
        height: 100vh;
    }
    
    .story-modal-content {
        border-radius: 0;
        height: 100vh;
    }
    
    .story-viewer {
        height: 100vh;
    }
    
    .story-text-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .story-text-overlay h3 {
        font-size: 1.25rem;
    }
    
    .story-text-overlay p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .stories-container {
        gap: 0.5rem;
    }
    
    .story-item {
        width: 60px;
        height: 60px;
    }
    
    .story-overlay {
        font-size: 0.6rem;
        bottom: -20px;
    }
    
    .story-header {
        padding: 0.75rem;
    }
    
    .story-avatar {
        width: 35px;
        height: 35px;
    }
    
    .story-username {
        font-size: 0.85rem;
    }
    
    .story-timestamp {
        font-size: 0.75rem;
    }
}

/* Transaction Styles */
.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--white);
    border-radius: var(--border-radius-small);
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: var(--transition);
}

.transaction-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.transaction-item.transaction-cashback_used {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, #fef2f2, var(--white));
}

.transaction-item.transaction-purchase {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4, var(--white));
}

.transaction-info {
    flex: 1;
}

.transaction-date {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.transaction-description {
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 0.25rem;
}

.transaction-amounts {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.transaction-amount {
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 600;
}

.cashback-earned {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
}

.cashback-earned .text-danger {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Print Styles */
@media print {
    .header-section,
    .footer-section {
        background: none !important;
        color: black !important;
    }
    
    .main-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    .btn {
        display: none !important;
    }
    
    .stories-section {
        display: none !important;
    }
}
