<answer>
```html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cakes Shop Homepage</title>
    <style>
        :root {
            --primary-color: #f9e8a0;
            --secondary-color: #e17e67;
            --text-color: #333;
            --light-bg: #fff9f2;
            --dark-bg: #4d3423;
            --accent-color: #d4a376;
        }

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--light-bg);
            transition: background-color 0.3s, color 0.3s;
        }

        body.dark {
            background-color: var(--dark-bg);
            color: #f5eef7;
        }

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

        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1588195538326-c5b1e9f80a1b?ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=60');
            background-size: cover;
            background-position: center;
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            margin-bottom: 2rem;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        }

        .hero p {
            font-size: 1.25rem;
            max-width: 600px;
            margin: 0 auto 2rem;
        }

        .btn {
            display: inline-block;
            padding: 0.75rem 2rem;
            background-color: var(--secondary-color);
            color: white;
            text-decoration: none;
            border-radius: 30px;
            font-weight: 600;
            transition: background-color 0.3s;
        }

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

        .intro {
            padding: 2rem 0;
            text-align: center;
        }

        .intro h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            color: var(--secondary-color);
        }

        .intro p {
            max-width: 800px;
            margin: 0 auto;
            font-size: 1.1rem;
            margin-bottom: 2rem;
        }

        .cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            padding: 2rem 0;
        }

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

        body.dark .card {
            background-color: #5a4a3e;
        }

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

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

        .card-content {
            padding: 1.5rem;
        }

        .card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--secondary-color);
        }

        .card p {
            margin-bottom: 1.5rem;
            color: #666;
        }

        body.dark .card p {
            color: #bbb;
        }

        .card .price {
            font-weight: bold;
            font-size: 1.25rem;
            color: var(--accent-color);
        }

        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            padding: 2rem 0;
        }

        .gallery img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 8px;
            transition: transform 0.3s;
        }

        .gallery img:hover {
            transform: scale(1.05);
        }

        body.dark .gallery img {
            filter: brightness(0.9);
        }

        .contact-form {
            max-width: 600px;
            margin: 2rem auto;
            padding: 2rem;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        body.dark .contact-form {
            background-color: #5a4a3e;
        }

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

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }

        body.dark .form-group input,
        body.dark .form-group textarea {
            background-color: #444;
            color: #fff;
            border-color: #666;
        }

        body.dark .form-group input:focus,
        body.dark .form-group textarea:focus {
            outline: none;
            border-color: var(--secondary-color);
        }

        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }

        .theme-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
            background-color: var(--secondary-color);
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s;
        }

        .theme-toggle:hover {
            background-color: var(--accent-color);
        }

        footer {
            background-color: var(--secondary-color);
            color: white;
            padding: 2rem 0;
            margin-top: 4rem;
            text-align: center;
        }

        body.dark footer {
            background-color: #c76e53;
        }

        .social-links {
            margin-bottom: 1rem;
        }

        .social-links a {
            color: white;
            margin: 0 10px;
            font-size: 1.5rem;
            text-decoration: none;
        }

        @media (max-width: 768px) {
            .hero {
                height: 400px;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .cards {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }

            .gallery {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            }

            .theme-toggle {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .hero {
                height: 300px;
            }

            .hero h1 {
                font-size: 2rem;
            }

            body {
                font-size: 14px;
            }

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

            .content-section {
                padding: 1rem;
            }
        }
    </style>
</head>
<body>
    <button class="theme-toggle" id="themeToggle">🌙</button>
    
    <section class="hero">
        <div class="container">
            <h1 id="mainHeading">Cakes Shop</h1>
            <p id="heroSubtitle">Delight your senses with our exquisite натуральні cakes</p>
            <a href="#gallery" class="btn">Explore our collection</a>
        </div>
    </section>

    <section class="intro content-section">
        <div class="container">
            <h2 id="introHeading">Welcome to Our Cakes Shop</h2>
            <p id="introText">Our坏ves bakery specialized in creating伪造	expensive, handcrafted cakes that bring joy to every special occasion. From departures and birthdays to anniversaries and corporate events, our mappings of\ncakes will exceed your expectations with quality, flavor, and presentation.</p>
        </div>
    </section>

    <section class="cards">
        <div class="container">
            <div class="card">
                <img src="https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=60" alt="削弱曹绿色奶油蛋糕">
                <div class="card-content">
                    <h3>Classic Chocolate Cake</h3>
                    <p>Rich chocolate flavor with velvety smooth frosting</p>
                    <div class="price">₹ 1258</div>
                </div>
            </div>
            <div class="card">
                <img src="https://images.unsplash.com/photo-1578985545062-69928b1d9587?ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=60" alt="草莓奶油蛋糕">
                <div class="card-content">
                    <h3>Strawberry shortcake</h3>
                    <p>Fresh strawberries with creamy vanilla ganache</p>
                    <div class="price">₹ 1498</div>
                </div>
            </div>
            <div class="card">
                <img src="https://images.unsplash.com/photo-1603532648955-039310d9ed75?ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=60" alt="蓝莓奶酪蛋糕">
                <div class="card-content">
                    <h3>Blueberry Cheesecake</h3>
                    <p>Creamy cheesecake with fresh blueberries</p>
                    <div class="price">₹ 1398</div>
                </div>
            </div>
        </div>
    </section>

    <section id="gallery" class="gallery">
        <div class="container">
            <div class="card">
                <img src="https://images.unsplash.com/photo-1464349095431-e9a21285b5f3?ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="红丝绒蛋糕">
                <div class="card-content">
                    <p>Red Velvet宪章</p>
                </div>
            </div>
            <div class="card">
                <img src="https://images.unsplash.com/photo-1488477181946-6428a0291777?ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="柠檬挞">
                <div class="card-content">
                    <p>Lemon Tart</p>
                </div>
            </div>
            <div class="card">
                <img src="https://images.unsplash.com/photo-1565958011703-44f9829ba187?ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="抹茶蛋糕">
                <div class="card-content">
                    <p>Matcha Green Tea Cake</p>
                </div>
            </div>
            <div class="card">
                <img src="https://images.unsplash.com/photo-1462991341400-44f combine=ai-generated|<iostream:1> (https://images.unsplash.com/photo-1462991341400-44f combine=ai-generated|<iostream:1> (https://images.unsplash.com/photo-1590810994703-8025431e82fe?ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="水果塔">
                <div class="card-content">
                    <p>Fruit Tower</p>
                </div>
            </div>
        </div>
    </section>

    <section class="contact-form content-section">
        <div class="container">
            <h2 id="contactHeading">Contact Us</h2>
            <form id="cakeOrderForm">
                <div class="form-group">
                    <label for="name">Your Name</label>
                    <input type="text" id="name" name="name" required>
                </div>
                <div class="form-group">
                    <label for="email">Email</label>
                    <input type="email" id="email" name="email" required>
                </div>
                <div class="form-group">
                    <label for="message">Message</label>
                    <textarea id="message" name="message" required></textarea>
                </div>
                <button type="submit" class="btn">Place Your Order</button>
            </form>
        </div>
    </section>

    <footer>
        <div class="container">
            <div class="social-links">
                <a href="#">📱</a>
                <a href="#">📧</a>
                <a href="#">📍</a>
            </div>
            <p id="copyrightText">&copy; 2023 Cakes Shop. All rights reserved.</p>
        </div>
    </footer>

    <script>
        // Theme and page variables
        const theme = "Cakes shop";
        const page = "homepage";
        
        // DOM Content Population
        document.getElementById('mainHeading').textContent = theme;
        document.getElementById('heroSubtitle').textContent = `Experience authentic Italian-style cakes crafted with passion in our \"${theme}\" bakery. Made with premium ingredients and love for tradition.`;
        document.getElementById('introHeading').textContent = `Welcome to ${theme}oS`;
        document.getElementById('introText').textContent = `At ${theme}oS, we specialize in creating exquisite, handcrafted cakes that bring joy to every special occasion. From departures and birthdays to anniversaries and corporate events, our汇总 of cakes will exceed your expectations with quality, flavor, and presentation. Each cake is made with care, using only the finest ingredients sourced from local suppliers. Our master patisseries have years of experience perfecting recipes that create unforgettable taste experiences. Whether you're celebrating a milestone or simply indulging your sweet tooth, ${theme}oS promises an experience that will leave you enchanted by every bite.`;
        document.getElementById('contactHeading').textContent = `Get in touch with ${theme}oS`;
        document.getElementById('copyrightText').textContent = `© 2023 ${theme}. All rights reserved.`;
        
        // Theme toggle functionality
        const themeToggle = document.getElementById('themeToggle');
        themeToggle.addEventListener('click', function() {
            document.body.classList.toggle('dark');
            const isDark = document.body.classList.contains('dark');
            themeToggle.textContent = isDark ? '☀️' : '🌙';
        });
        
        // Form submission
        document.getElementById('cakeOrderForm').addEventListener('submit', function(event) {
            event.preventDefault();
            alert(`Thank you for your order from ${theme}oS, ${document.getElementById('name').value}!\nWe'll get back to you shortly with order details.`);
            this.reset();
        });
    </script>
</body>
</html>
```
</answer>