/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #ffffff;
    color: #121212;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span { color: #007AFF; }

.nav-links a {
    text-decoration: none;
    color: #555;
    margin-left: 30px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover { color: #000; }

.support-btn {
    background: #000;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
}

/* Hero Section */
.hero {
    height: 100vh; /* Full screen height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centered vertically */
    align-items: center;
    text-align: center;
    padding-top: 80px; /* Offset for the navbar */
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.hero h1 {
    font-size: 4.5rem; /* Bigger, bolder impact */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
    z-index: 2; /* Keeps text above dots */
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin-bottom: 30px;
}

.cta-main {
    background: #007AFF;
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.cta-main:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,122,255,0.2); }

/* Products Grid */
.container { padding: 100px 8%; }

.section-title {
    font-size: 2rem;
    margin-bottom: 50px;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid #eee;
    padding: 40px;
    border-radius: 24px;
    transition: all 0.4s ease;
}

.product-card:hover {
    border-color: #000;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #007AFF;
    margin-bottom: 15px;
}

.product-card h3 { margin-bottom: 15px; font-size: 1.5rem; }

.product-card p { color: #777; margin-bottom: 25px; }

.price { display: block; font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }

.buy-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid #000;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.buy-btn:hover { background: #000; color: #fff; }

/* Cakes Section */
.cake-banner {
    background: #f9f9f9;
    padding: 60px;
    border-radius: 30px;
    text-align: center;
}

.btn-outline {
    display: inline-block;
    margin-top: 20px;
    color: #000;
    text-decoration: underline;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 100px 8% 40px;
    background: #fff;
    text-align: center;
}

.support-box {
    border-top: 1px solid #eee;
    padding-top: 80px;
    margin-bottom: 80px;
}

.email-link {
    font-size: 2rem;
    color: #000;
    text-decoration: none;
    font-weight: 700;
}

.copyright { color: #aaa; font-size: 0.8rem; }
/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* The clickable button in the nav */
.dropbtn {
    background: none;
    border: none;
    color: #555;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    padding: 10px 15px;
    transition: 0.3s;
}

.dropbtn:hover { color: #000; }

.arrow { font-size: 0.7rem; margin-left: 5px; color: #aaa; }

/* The Hidden List (Dropdown Content) */
.dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 15px 35px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px 0;
    z-index: 1001;
    top: 100%; /* Appears right below button */
    left: 0;
    animation: fadeIn 0.2s ease-out;
}

/* Show the list on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: #444;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    margin: 0 !important; /* Reset nav margins */
    transition: 0.2s;
}

.dropdown-content a:hover {
    background-color: #f8f8f8;
    color: #007AFF;
}

/* Category Headers inside the list */
.dropdown-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    padding: 10px 20px 5px;
    font-weight: 700;
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 10px 0;
}

/* Smooth Fade Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 1. The 'Hidden' State (Elements start slightly down and invisible) */
.reveal {
    opacity: 0;
    transform: translateY(30px); /* Moves it down 30px */
    transition: all 0.8s ease-out; /* The 'feel' of the animation */
    transition-delay: 0.1s;
}

/* 2. The 'Active' State (When the element is scrolled into view) */
.reveal.active {
    opacity: 1;
    transform: translateY(0); /* Moves back to original position */
}

/* Optional: Subtle background parallax feel */
section {
    transition: background 0.5s ease;
}
/* The Animated Background Dots */
.background-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Allows you to click buttons through the dots */
}

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1); /* Very subtle black dots */
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    from { transform: translateY(0) translateX(0); }
    to { transform: translateY(-100vh) translateX(20vw); }
}