body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff8f0;
    background-image: url('background.png');
    color: #4a2c2a;
    text-align: center;
}

header {
    padding: 2rem 1rem;
    background-color: rgba(255, 255, 255, 0.8);
}

header h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: #d13e8a;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

header p {
    font-size: 1.2rem;
    margin-top: 0;
    color: #6a4c4a;
}

main {
    padding: 1rem;
}

.hero {
    position: relative;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#main-cake-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease;
}

#main-cake-image:hover {
    transform: scale(1.02);
}

.hero-text {
    margin-top: 1.5rem;
}

.hero-text h2 {
    font-size: 2.5rem;
    color: #4a2c2a;
    line-height: 1.2;
}

.cta-button {
    background: linear-gradient(45deg, #ff6b6b, #d13e8a);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(209, 62, 138, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none; /* For potential <a> tags */
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(209, 62, 138, 0.6);
}

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

/* DEPRECATED GALLERY STYLES */
.gallery {
    display: none;
}

.how-to-order {
    display: none;
}

.how-to-order h2 {
    display: none;
}

.how-to-order > p {
    display: none;
}

.steps {
    display: none;
}

.step {
    display: none;
}

.step:hover {
    display: none;
}

.step h3 {
    display: none;
}

.catalog {
    padding: 2rem 1rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
}

.catalog h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: #d13e8a;
    margin-bottom: 2rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cake-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cake-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.cake-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.cake-card h3 {
    font-size: 1.5rem;
    color: #4a2c2a;
    margin: 1rem 1.5rem 0.5rem;
}

.cake-card .cake-description {
    font-size: 0.95rem;
    color: #6a4c4a;
    margin: 0 1.5rem;
    flex-grow: 1; /* Pushes price and button down */
    line-height: 1.5;
    padding-bottom: 1rem;
}

.cake-card .cake-price {
    display: none;
}

.cake-card .order-button {
    background: #4a2c2a;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Pushes button to the bottom */
}

.cake-card .order-button:hover {
    background: #d13e8a;
}

footer {
    background-color: #4a2c2a;
    color: #fff8f0;
    padding: 1.5rem 1rem;
    margin-top: 2rem;
}