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

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --accent-color: #d4af37;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #d4af37, #f4d03f);
    --gradient-2: linear-gradient(135deg, #2c3e50, #34495e);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.3);
}

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

/* Enhanced Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 12px 5%;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo img {
    height: 65px;
    width: auto;
    margin-right: 10px;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
    transition: all 0.3s ease;
    transform-origin: center;
}

.logo:hover img {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.7));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    border-radius: 20px;
}

.nav-links a.active {
    background: var(--gradient-1);
    color: var(--primary-bg);
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-links a:hover:not(.active)::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-btn:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Enhanced Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(52, 73, 94, 0.1) 0%, transparent 50%),
                var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.hero::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="20" cy="20" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="80" cy="40" r="0.5" fill="%23ffffff" opacity="0.03"/><circle cx="40" cy="80" r="1.5" fill="%23ffffff" opacity="0.01"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.2); /* Enhanced text shadow */
    display: block; 
    visibility: visible;
    opacity: 1; /* Ensure full opacity */
    position: relative; /* Ensure proper stacking context */
    z-index: 5; /* Higher z-index to ensure visibility */
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 500px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--primary-bg);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    background: var(--glass-bg);
    transform: translateY(-3px);
}

/* Enhanced Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coffee-scene {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
    will-change: transform; /* Performance optimization */
}

.coffee-cup {
    width: 300px;
    height: 400px;
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.cup-body {
    width: 250px;
    height: 300px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border-radius: 0 0 120px 120px;
    position: relative;
    margin: 0 auto;
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.1);
}

.cup-handle {
    position: absolute;
    right: -40px;
    top: 50px;
    width: 60px;
    height: 100px;
    border: 15px solid #2a2a2a;
    border-left: none;
    border-radius: 0 50px 50px 0;
}

.coffee-liquid {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 250px;
    background: linear-gradient(180deg, #8B4513 0%, #654321 50%, #3e2723 100%);
    border-radius: 0 0 100px 100px;
    overflow: hidden;
}



.coffee-foam {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(180deg, #f5f5dc 0%, #deb887 100%);
    border-radius: 50px 50px 0 0;
}

.steam {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 80px;
}

.steam::before,
.steam::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: steam 3s ease-in-out infinite;
    display: block; /* Ensure visibility */
}

.steam::before {
    left: -10px;
    animation-delay: 0s;
}

.steam::after {
    left: 10px;
    animation-delay: 1s;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.coffee-bean {
    position: absolute;
    width: 20px;
    height: 30px;
    background: linear-gradient(145deg, #8B4513, #654321);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: float-beans 8s ease-in-out infinite;
}

.coffee-bean:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.coffee-bean:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
}

.coffee-bean:nth-child(3) {
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes steam {
    0% { opacity: 0; transform: translateY(0) scale(1); }
    50% { opacity: 1; transform: translateY(-20px) scale(1.2); }
    100% { opacity: 0; transform: translateY(-40px) scale(0.8); }
}

@keyframes float-beans {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(120deg); }
    66% { transform: translateY(-10px) rotate(240deg); }
}

/* Section Styles */
.section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title .highlight {
    color: var(--accent-color);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    text-align: center;
}

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.menu-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.menu-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--accent-color);
}

.menu-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.menu-item p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

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

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.contact-info {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.contact-item h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--text-secondary);
}

/* Enhanced Footer */
footer {
    background: linear-gradient(to bottom, var(--secondary-bg), #0a0a0a);
    padding: 5rem 5% 3rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

footer::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="20" cy="20" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="80" cy="40" r="0.5" fill="%23ffffff" opacity="0.03"/><circle cx="40" cy="80" r="1.5" fill="%23ffffff" opacity="0.01"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    opacity: 0.5;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-top {
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-style: italic;
}

.footer-middle {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-1);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    width: fit-content;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-links a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
    transform: translateY(-3px) rotate(10deg);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--secondary-bg);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.cart-header h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    margin-bottom: 2rem;
    min-height: 200px;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

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

.cart-item-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cart-item-price {
    color: var(--accent-color);
    font-weight: 600;
}

.cart-total {
    padding: 1rem 0;
    border-top: 2px solid var(--accent-color);
    margin-top: 1rem;
}

.cart-total h3 {
    display: flex;
    justify-content: space-between;
    color: var(--accent-color);
}

.checkout-btn {
    width: 100%;
    margin-top: 1rem;
}

.empty-cart {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem 0;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1002;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    max-width: 300px;
    width: 90%;
    text-align: center;
}

.search-input {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.5rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    text-align: center;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.search-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Location & Opening Hours Section */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.location-map {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.location-map iframe {
    border-radius: 15px;
    filter: grayscale(20%) contrast(1.1);
    transition: all 0.3s ease;
}

.location-map iframe:hover {
    filter: grayscale(0%) contrast(1.2);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-card {
    display: flex;
    gap: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.location-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.location-info h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.location-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.day {
    color: var(--text-primary);
    font-weight: 500;
}

.time {
    color: var(--accent-color);
    font-weight: 600;
}

/* Reduce animations for better performance on mobile */
.reduce-motion * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.3s !important;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    

     .header {
        height: auto;
        padding: 10px 0;
    }
    
    header.scrolled {
        padding: 8px 5%;
    }

    .nav-container {
        padding: 0 10px;
        
    }
       .logo {
        max-width: 150px;
        margin: 0 auto;
        display: block;
            text-align: center;
        margin-bottom: 15px;
    }
    
    .logo img {
        height: 60px; /* Increased from 50px for better visibility */
        margin-right: 8px;
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6)); /* Enhanced glow effect */
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--secondary-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .hero {
        padding-top: 180px;

    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Slightly smaller than 3rem for better fit */
        margin-bottom: 1.5rem;
        text-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
        opacity: 1;
        visibility: visible;
    }

    .hero-content p {
        font-size: 1rem;
        margin: 0 auto 2rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .about-content,
    .contact-content,
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        gap: 2rem;
        text-align: center; /* Center text in contact section */
    }
   .contact-section {
        padding: 20px 15px;
    }
    
    .contact-info {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .contact-info h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .contact-info p {
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word;
    }

     .contact-info a {
        display: block;
        margin: 10px 0;
        word-break: break-all;
    }
    
    .contact-item {
        width: 100%; /* Full width for all contact items */
        text-align: center; /* Center text in contact items */
    }
    
    .contact-item:nth-child(2) {
        /* Phone contact item - remove the offset alignment */
        align-self: center;
        width: 100%;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-item {
        margin-bottom: 2rem;
    }

    .coffee-scene {
        width: 280px;
        height: 280px;
        animation: float 4s ease-in-out infinite;
        will-change: transform;
    }

      .logo, .logo img {
        max-width: 100%;
        height: auto;
        width: auto;
    }
    
    /* Contact Section Fixes */
    .contact-section {
        padding: 20px 15px;
    }
    
    .contact-info {
        text-align: center;
        font-size: 14px;
        line-height: 1.6;
    }
    
    .contact-info a {
        word-break: break-word;
        display: inline-block;
        margin: 5px 0;
    }

    .coffee-cup {
        width: 200px;
        height: 250px;
    }

    .cup-body {
        width: 180px;
        height: 220px;
    }
    
    .coffee-liquid {
        top: 15px;
        left: 15px;
        right: 15px;
        height: 180px;
    }
    
    .cup-handle {
        right: -30px;
        top: 40px;
        width: 40px;
        height: 80px;
        border-width: 10px;
    }
    
    /* Don't completely disable animations on mobile */
    .steam {
        display: block; /* Make steam visible on mobile */
    }
    
    .coffee-bean {
        display: block; /* Make beans visible */
        animation-duration: 6s; /* Slower animation for better performance */
    }
    
    /* Simplified animation for better performance */
    @keyframes float {
        0%, 100% { transform: translateY(0) rotate(0); }
        50% { transform: translateY(-10px) rotate(2deg); }
    }

    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .location-map {
        height: 300px;
    }
    
    .location-map iframe {
        width: 100%;
        height: 300px;
    }
    
    .location-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .footer-middle {
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Improve touch targets */
    .nav-btn, .carousel-control, .quantity-btn, .add-to-cart {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Add more space between clickable elements */
    .nav-links a, .mobile-nav-link {
        padding: 12px;
        margin: 5px 0;
    }
    
    /* Improve form elements */
    input, textarea, select, button {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    /* Fix Google Maps iframe */
    .location-map iframe {
        width: 100%;
        height: 300px;
    }
}

/* Mobile Menu Styles */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--secondary-bg);
    backdrop-filter: blur(20px);
    z-index: 1001;
    padding: 2rem;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.close-mobile-menu {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.mobile-nav-link:hover {
    color: var(--accent-color);
}

/* Tablet Styles (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .contact-content {
        gap: 2rem;
    }
    
    .testimonials-carousel {
        width: 90%;
    }
}

/* Small Screens (up to 480px) */
@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
        display: flex;
        align-items: center;
    }
    
   .logo img {
    max-width: 100%;
    height: auto;
    width: auto;
}
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 15px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .coffee-scene {
        width: 220px;
        height: 220px;
    }
    
    .contact-item:nth-child(2) {
        /* Phone contact item on very small screens */
        align-self: flex-end;
        width: 100%;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .carousel-controls {
        padding: 0 10px;
    }
    
    .price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Improve form elements on mobile */
input, textarea, button {
    font-size: 16px; /* Prevents zoom on focus in iOS */
}

/* Fix viewport issues */
@viewport {
    width: device-width;
    zoom: 1.0;
}

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--accent-color);
    color: var(--primary-bg);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1003;
}

.notification.show {
    transform: translateX(0);
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-bg);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    z-index: 2000;
    transition: bottom 0.3s ease;
}

.cart-notification.show {
    bottom: 30px;
}

/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
}

.go-to-top.visible {
    bottom: 30px;
    opacity: 1;
}

.go-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

/* Testimonials Section */
.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    height: auto;
    width: 100%;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
    visibility: hidden;
    z-index: 1;
    left: 0;
    top: 0;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    z-index: 2;
}

.testimonial-card {
    background: var(--secondary-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 120px;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-rating {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.carousel-control {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Search Results */
.search-results-container {
    position: absolute;
    top: 70px;
    right: 20px;
    width: 300px;
    background: var(--secondary-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.search-results div {
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-results div:hover {
    background: var(--glass-bg);
    color: var(--accent-color);
}

/* Search highlight effect */
.search-highlight {
    transform: scale(1.03);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}
/* Enhanced Add to Cart Button */
.add-to-cart {
    background: var(--gradient-1);
    color: var(--primary-bg);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart::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: all 0.5s ease;
}

.add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.add-to-cart:hover::before {
    left: 100%;
}

.add-to-cart.adding {
    animation: pulse 0.5s ease;
}

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

/* Enhanced Cart Item */
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--accent-color);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cart-item:hover .cart-item-image img {
    transform: scale(1.1);
}

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

.cart-item-details h4 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.cart-item-price {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
}

.remove-item {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.remove-item:hover {
    color: #ff4d4d;
    transform: rotate(90deg);
}
