<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Click2Wishes Inspired Page</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f0f2f5;
        }
        header {
            background-color: #ff6f61;
            color: white;
            text-align: center;
            padding: 1em;
        }
        nav {
            background-color: #333;
            padding: 1em;
        }
        nav a {
            color: white;
            margin: 0 1em;
            text-decoration: none;
            font-weight: bold;
        }
        nav a:hover {
            color: #ff6f61;
        }
        .container {
            max-width: 1200px;
            margin: 2em auto;
            padding: 0 1em;
            display: flex;
            gap: 2em;
        }
        .template-selector {
            flex: 1;
            background-color: white;
            padding: 1em;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .template-selector h2 {
            color: #333;
        }
        .template-selector button {
            display: block;
            width: 100%;
            padding: 0.5em;
            margin: 0.5em 0;
            background-color: #ff6f61;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .template-selector button:hover {
            background-color: #e55a50;
        }
        .preview {
            flex: 2;
            background-color: white;
            padding: 1em;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            text-align: center;
        }
        .preview img {
            max-width: 100%;
            height: auto;
            border-radius: 5px;
        }
        .preview p {
            font-size: 1.2em;
            color: #333;
            margin: 1em 0;
        }
        .preview button {
            background-color: #4CAF50;
            color: white;
            padding: 0.5em 1em;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .preview button:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>
    <header>
        <h1>Create & Share Wishes</h1>
    </header>
    <nav>
        <a href="#home">Home</a>
        <a href="#birthday">Birthday</a>
        <a href="#holidays">Holidays</a>
        <a href="#custom">Custom</a>
    </nav>
    <divмини class="container">
        <div class="template-selector">
            <h2>Select a Template</h2>
            <button onclick="changeTemplate('birthday')">Birthday</button>
            <button onclick="changeTemplate('christmas')">Christmas</button>
            <button onclick="changeTemplate('valentine')">Valentine's Day</button>
        </div>
        <div class="preview">
            <h2>Preview</h2>
            <img id="preview-image" src="https://via.placeholder.com/400x300?text=Select+a+Template" alt="Preview Image">
            <p id="quote-text">Choose a template to see a quote!</p>
            <button onclick="shareImage()">Share Image</button>
        </div>
    </div>

    <script>
        const templates = {
            birthday: {
                image: "https://via.placeholder.com/400x300/FFD700/000000?text=Happy+Birthday",
                quote: "Wishing you a fantastic birthday filled with joy!"
            },
            christmas: {
                image: "https://via.placeholder.com/400x300/FF0000/FFFFFF?text=Merry+Christmas",
                quote: "Merry Christmas! May your day be filled with warmth."
            },
            valentine: {
                image: "https://via.placeholder.com/400x300/FF69B4/FFFFFF?text=Happy+Valentine's+Day",
                quote: "Happy Valentine's Day! Love is in the air."
            }
        };

        function changeTemplate(type) {
            const previewImage = document.getElementById('preview-image');
            const quoteText = document.getElementById('quote-text');
            previewImage.src = templates[type].image;
            quoteText.textContent = templates[type].quote;
        }

        function shareImage() {
            alert("Share this image on your favorite social media!");
            // In a real app, this would integrate with a sharing API
        }
    </script>
</body>
</html>