<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GIFTORA | Make Every Moment Special</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
</head>
<body>
<header class="navbar">
<a class="logo" href="#home">GIFTORA<span>.</span></a>
<nav>
<a href="#home">Home</a>
<a href="#products">Shop Gifts</a>
<a href="#about">About Us</a>
<a href="#account">Login</a>
</nav>
<a class="cart-link" href="#cart">♡ Cart <span id="cart-count">0</span></a>
</header>
<main>
<section class="hero" id="home">
<div class="hero-content">
<p class="eyebrow">MAKE EVERY MOMENT SPECIAL</p>
<h1>Gifts that speak<br><span>from the heart.</span></h1>
<p class="hero-description">
Thoughtful gifts, beautiful wrapping, and personal touches
to make every occasion unforgettable.
</p>
<a href="#products" class="main-button">Explore Gifts →</a>
</div>
<div class="hero-image">
<img src="https://images.unsplash.com/photo-1549465220-1a8b9238cd48?w=900" alt="Beautiful wrapped gifts">
</div>
</section>
<section class="categories">
<div class="section-heading">
<p class="eyebrow">FIND THE PERFECT GIFT</p>
<h2>Shop by Occasion</h2>
</div>
<div class="category-grid">
<a href="#products" class="category-card">
<span>🎓</span><h3>Graduation</h3>
</a>
<a href="#products" class="category-card">
<span>🌙</span><h3>Ramadan & Eid</h3>
</a>
<a href="#products" class="category-card">
<span>🎂</span><h3>Birthdays</h3>
</a>
<a href="#products" class="category-card">
<span>💼</span><h3>New Job</h3>
</a>
</div>
</section>
<section class="products-section" id="products">
<div class="section-heading">
<p class="eyebrow">A LITTLE SOMETHING SPECIAL</p>
<h2>Our Gift Collection</h2>
<p>Find something beautiful for someone special.</p>
</div>
<div class="filters">
<button class="filter-btn active" data-filter="All">All Gifts</button>
<button class="filter-btn" data-filter="Graduation">Graduation</button>
<button class="filter-btn" data-filter="Birthday">Birthday</button>
<button class="filter-btn" data-filter="Ramadan">Ramadan & Eid</button>
<button class="filter-btn" data-filter="New Job">New Job</button>
</div>
<div class="product-grid" id="product-grid"></div>
</section>
<section class="details-section" id="product-details" hidden>
<div class="section-heading">
<p class="eyebrow">A SPECIAL GIFT FOR SOMEONE SPECIAL</p>
<h2>Product Details</h2>
</div>
<div class="details-container">
<img id="detail-image" src="" alt="Gift Product">
<div class="details-info">
<h2 id="detail-name"></h2>
<p id="detail-category"></p>
<h3 id="detail-price"></h3>
<p id="detail-description"></p>
<label for="detail-quantity">Quantity</label>
<input type="number" id="detail-quantity"
min="1" value="1">
<label for="gift-message">Personal Gift Message</label>
<textarea id="gift-message"
placeholder="Write your special message here..."
rows="4"></textarea>
<button class="main-button" id="detail-add-btn"
type="button">
Add to Cart
</button>
<a href="#products" class="back-link">
← Back to Gifts
</a>
</div>
</div>
</section>
ٍ
<!-- GIFTORA - Shopping Cart Section -->
<section class="cart-section" id="cart" hidden>
<div class="section-heading">
<p class="eyebrow">YOUR SPECIAL SELECTIONS</p>
<h2>Shopping Cart</h2>
<p>Review your gifts before checkout.</p>
</div>
<div class="cart-container">
<div id="cart-items"></div>
<div class="cart-summary">
<h3>Order Summary</h3>
<div class="summary-row">
<span>Subtotal</span>
<span id="cart-subtotal">0 SAR</span>
</div>
<div class="summary-row total-row">
<span>Total</span>
<span id="cart-total">0 SAR</span>
</div>
<button class="main-button"
id="checkout-btn"
type="button">
Proceed to Checkout
</button>
<a href="#products" class="back-link">
← Continue Shopping
</a>
</div>
</div>
</section>
<!-- GIFTORA - Checkout Page -->
<section class="checkout-section" id="checkout" hidden>
<div class="section-heading">
<p class="eyebrow">ALMOST THERE!</p>
<h2>Complete Your Order</h2>
<p>Just a few details before your gift arrives.</p>
</div>
<div class="checkout-container">
<!-- Customer Information -->
<form id="checkout-form" class="checkout-form">
<h3>Delivery Information</h3>
<label for="customer-name">Full Name</label>
<input type="text" id="customer-name"
placeholder="Enter your full name" required>
<label for="customer-phone">Phone Number</label>
<input type="tel" id="customer-phone"
placeholder="05XXXXXXXX"
pattern="(05[0-9]{8}|\+9665[0-9]{8})"
title="Enter a valid Saudi mobile number"
required>
<label for="customer-email">Email Address</label>
<input type="email" id="customer-email"
placeholder="Enter your email" required>
<label for="customer-city">City</label>
<input type="text" id="customer-city"
placeholder="Enter your city" required>
<label for="customer-address">Delivery Address</label>
<textarea id="customer-address"
placeholder="Street, district, building number..."
rows="4" required></textarea>
<h3 class="payment-heading">Payment Method</h3>
<label for="payment-method">Choose Payment Method</label>
<select id="payment-method" required>
<option value="">Select a payment method</option>
<option value="Cash on Delivery">Cash on Delivery</option>
<option value="Card (Demo)">Credit / Debit Card (Demo)</option>
</select>
<p class="demo-payment">
Demo checkout – no real payment will be processed.
</p>
<button type="submit" class="main-button place-order-btn">
Place Order ♡
</button>
<a href="#cart" class="back-link" id="back-to-cart">
← Back to Shopping Cart
</a>
</form>
<!-- Order Summary -->
<div class="checkout-summary">
<h3>Order Summary</h3>
<div id="checkout-items"></div>
<div class="summary-row">
<span>Subtotal</span>
<span id="checkout-subtotal">0 SAR</span>
</div>
<div class="summary-row">
<span>Delivery</span>
<span>Free</span>
</div>
<div class="summary-row total-row">
<span>Total</span>
<span id="checkout-total">0 SAR</span>
</div>
</div>
</div>
<!-- Order Confirmation -->
<div id="checkout-confirmation" hidden>
<div class="confirmation-card">
<div class="success-icon">♡</div>
<h2>Thank You for Your Order!</h2>
<p id="confirmation-message"></p>
<p id="order-number"></p>
<p class="confirmation-note">
Your gift is getting ready. Thank you for choosing GIFTORA!
</p>
<a href="#products" class="main-button">
Continue Shopping
</a>
</div>
</div>
</section>
<section class="about-section" id="about">
<p class="eyebrow">THE GIFTORA TOUCH</p>
<h2>It's more than a gift.<br>It's a feeling.</h2>
<p>At GIFTORA, we believe every gift tells a story. Choose your favorite items, add a personal message, and let us make your moments memorable.</p>
<a href="#products" class="main-button">Find Your Gift</a>
</section>
<section class="account-section" id="account">
<div class="account-card">
<div class="account-logo">GIFTORA<span>.</span></div>
<p class="eyebrow">WELCOME TO GIFTORA</p>
<h2 id="account-title">Welcome Back!</h2>
<p class="account-subtitle">
Sign in to enjoy a special gifting experience.
</p>
<div class="account-tabs">
<button class="account-tab active" id="login-tab"
onclick="showAccountForm('login')">Login</button>
<button class="account-tab" id="signup-tab"
onclick="showAccountForm('signup')">Sign Up</button>
</div>
<form id="account-form">
<label for="account-name" id="name-label" hidden>Full Name</label>
<input type="text" id="account-name"
placeholder="Your full name" hidden>
<label for="account-email">Email Address</label>
<input type="email" id="account-email"
placeholder="Enter your email" required>
<label for="account-password">Password</label>
<input type="password" id="account-password"
placeholder="Enter your password" required minlength="6">
<button type="submit" class="account-submit"
id="account-submit">Login</button>
</form>
<p id="account-message" class="account-message"></p>
<p class="demo-note">Demo account interface – no real account is created.</p>
</div>
</section>
</main>
<footer>
<a class="logo" href="#home">GIFTORA<span>.</span></a>
<p>Made with love, wrapped with care.</p>
<p>© 2026 GIFTORA. All rights reserved.</p>
</footer>
</body>
</html>