:root {
    --primary-color: #1b2039; /* Black */
    --secondary-color: #e9c9b1; /* Gold */
    --bg-color: #f9f9f9;
    --dark-color: #121212;
    --light-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Added backdrop-filter for blur effect */
header {
    background-color: rgba(27, 32, 57, 0.85); /* Semi-transparent background */
    color: var(--light-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: backdrop-filter 0.3s ease;
}

/* Blurred header on scroll */
header.scrolled {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

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

.logo h1 {
    margin-right: 10px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

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

.nav-links li {
    margin-right: 30px;
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--light-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--secondary-color);
}

/* Hero Section - Modified to have fullscreen and sparkles */
#home {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 0;
    text-align: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Sparkles animation */
.sparkles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sparkle {
    position: absolute;
    background-color: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    animation: sparkle-animation 4s linear infinite;
}

@keyframes sparkle-animation {
    0% {
        opacity: 0;
        transform: scale(0) translateY(0);
    }
    25% {
        opacity: 0.8;
        transform: scale(1) translateY(-5px);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.8) translateY(-10px);
    }
    75% {
        opacity: 0.6;
        transform: scale(1.2) translateY(-15px);
    }
    100% {
        opacity: 0;
        transform: scale(0) translateY(-20px);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 220px;
    height: auto;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Section Styling */
section {
    padding: 180px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Featured Cats */
#cat-breeds {
    background-color: var(--light-color);
}

.cats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cat-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cat-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cat-info {
    padding: 20px;
}

.cat-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cat-info p {
    color: #666;
    margin-bottom: 15px;
}

/* Menu Section */
#menu {
    background-color: #f5f5f5;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 10px 20px;
    margin: 0 10px 10px;
    background-color: var(--light-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.menu-tab.active, .menu-tab:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.menu-content {
    display: none;
}

.menu-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.menu-item-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* NEW: Adjust image height for Waffle and Crepe items */
#waffle-crepe .menu-item-img {
    height: 250px; /* Increased height for better detail */
}

.menu-item-info {
    padding: 20px;
}

.menu-item-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-item-title h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.menu-item-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.menu-item-desc {
    color: #666;
    font-size: 0.9rem;
}

/* About Section */
#about {
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-img {
    flex: 1;
    min-width: 300px;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Contact Section */
#contact {
    background-color: #f5f5f5;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    font-size: 1.5rem;
    margin-left: 15px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 30px 0;
    text-align: center;
}

.footer-logo {
    width: 60px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links li {
    margin: 0 15px 10px;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.copyright {
    font-size: 0.9rem;
    color: #aaa;
}

.paw-print {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    position: relative;
    margin: 0 5px;
}

.paw-print::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    top: -5px;
    left: 2px;
}

.paw-print::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    top: -5px;
    right: 2px;
}

/* Paw prints decorations */
.paw-prints {
    position: absolute;
    opacity: 0.1;
    z-index: 1;
}

.paw-container {
    position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        background-color: var(--primary-color);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 99;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .menu-tab {
        margin-bottom: 10px;
    }
}