<!DOCTYPE html>

<html lang="en">

<head>

  <meta charset="UTF-8" />

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />

  <title>ELEGANCE — Luxury Beauty</title>


  <!-- Luxury Fonts -->

  <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Inter:wght@300;400;500&display=swap" rel="stylesheet">


  <style>

    :root {

      --bg: #000000;

      --card: #0f0f0f;

      --text: #f5f5f5;

      --muted: #9a9a9a;

      --gold: #cfa64a;

    }


    * {

      margin: 0;

      padding: 0;

      box-sizing: border-box;

    }


    body {

      background: var(--bg);

      color: var(--text);

      font-family: 'Inter', sans-serif;

      line-height: 1.8;

    }


    /* ---------- NAV ---------- */

    nav {

      position: sticky;

      top: 0;

      z-index: 1000;

      display: flex;

      justify-content: space-between;

      align-items: center;

      padding: 1.2rem 3rem;

      background: rgba(0,0,0,0.9);

      border-bottom: 1px solid rgba(255,255,255,0.05);

    }


    nav h1 {

      font-family: 'Playfair Display', serif;

      font-size: 1.6rem;

      letter-spacing: 4px;

      color: var(--gold);

    }


    nav a {

      margin-left: 2rem;

      text-decoration: none;

      color: var(--text);

      font-size: 0.9rem;

      letter-spacing: 1px;

    }


    .cart-btn {

      border: 1px solid var(--gold);

      background: transparent;

      color: var(--gold);

      padding: 0.4rem 0.8rem;

      margin-left: 2rem;

      cursor: pointer;

      font-size: 0.75rem;

    }


    /* ---------- HERO ---------- */

    header {

      height: 90vh;

      background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),

        url('https://via.placeholder.com/1600x900');

      background-size: cover;

      background-position: center;

      display: flex;

      align-items: center;

      justify-content: center;

      text-align: center;

    }


    header h2 {

      font-family: 'Playfair Display', serif;

      font-size: 3.8rem;

      letter-spacing: 6px;

      color: var(--gold);

    }


    header p {

      margin-top: 1rem;

      color: var(--muted);

      letter-spacing: 2px;

      font-size: 0.9rem;

    }


    /* ---------- SECTIONS ---------- */

    section {

      padding: 6rem 3rem;

      max-width: 1400px;

      margin: auto;

    }


    .section-title {

      font-family: 'Playfair Display', serif;

      font-size: 2.5rem;

      margin-bottom: 3rem;

      text-align: center;

      color: var(--gold);

      letter-spacing: 2px;

    }


    /* ---------- PRODUCTS ---------- */

    .products {

      display: grid;

      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

      gap: 3rem;

    }


    .product {

      background: var(--card);

      padding-bottom: 1.5rem;

      transition: transform 0.4s ease;

    }


    .product:hover {

      transform: translateY(-8px);

    }


    .product img {

      width: 100%;

      height: 380px;

      object-fit: cover;

    }


    .product h3 {

      font-family: 'Playfair Display', serif;

      margin: 1rem;

    }


    .product p {

      color: var(--muted);

      font-size: 0.9rem;

      margin: 0 1rem 1rem;

    }


    .product button {

      margin-left: 1rem;

      background: transparent;

      border: 1px solid var(--gold);

      color: var(--gold);

      padding: 0.4rem 1rem;

      cursor: pointer;

      font-size: 0.75rem;

    }


    /* ---------- INSTAGRAM GALLERY ---------- */

    .gallery {

      display: grid;

      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

      gap: 0.5rem;

    }


    .gallery img {

      width: 100%;

      height: 220px;

      object-fit: cover;

      filter: grayscale(20%);

      transition: 0.3s ease;

    }


    .gallery img:hover {

      filter: grayscale(0%);

    }


    /* ---------- CART ---------- */

    #cart {

      display: none;

      position: fixed;

      top: 0;

      right: 0;

      width: 300px;

      height: 100vh;

      background: #050505;

      border-left: 1px solid rgba(255,255,255,0.05);

      padding: 2rem;

      z-index: 2000;

    }


    #cart h3 {

      font-family: 'Playfair Display', serif;

      margin-bottom: 1rem;

      color: var(--gold);

    }


    #cart ul {

      list-style: none;

      font-size: 0.85rem;

      color: var(--muted);

    }


    /* ---------- FOOTER ---------- */

    footer {

      text-align: center;

      padding: 3rem 1rem;

      border-top: 1px solid rgba(255,255,255,0.05);

      color: var(--muted);

      font-size: 0.8rem;

    }

  </style>

</head>

<body>


  <nav>

    <h1>ELEGANCE</h1>

    <div>

      <a href="#perfumes">PERFUMES</a>

      <a href="#cosmetics">COSMETICS</a>

      <a href="#gallery">GALLERY</a>

      <button class="cart-btn" onclick="toggleCart()">CART</button>

    </div>

  </nav>


  <header>

    <div>

      <h2>LUXURY BEAUTY</h2>

      <p>PERFUMES & COSMETICS</p>

    </div>

  </header>


  <section id="perfumes">

    <h2 class="section-title">Perfumes</h2>

    <div class="products">

      <div class="product">

        <img src="https://via.placeholder.com/500x700">

        <h3>Oud Noir</h3>

        <p>Deep oriental oud fragrance.</p>

        <button onclick="addToCart('Oud Noir')">ADD TO CART</button>

      </div>

      <div class="product">

        <img src="https://via.placeholder.com/500x700">

        <h3>Floral Silk</h3>

        <p>Elegant floral composition.</p>

        <button onclick="addToCart('Floral Silk')">ADD TO CART</button>

      </div>

    </div>

  </section>


  <section id="cosmetics">

    <h2 class="section-title">Cosmetics</h2>

    <div class="products">

      <div class="product">

        <img src="https://via.placeholder.com/500x700">

        <h3>Velvet Lipstick</h3>

        <p>Rich color, soft finish.</p>

        <button onclick="addToCart('Velvet Lipstick')">ADD TO CART</button>

      </div>

      <div class="product">

        <img src="https://via.placeholder.com/500x700">

        <h3>Golden Glow</h3>

        <p>Luminous luxury palette.</p>

        <button onclick="addToCart('Golden Glow')">ADD TO CART</button>

      </div>

    </div>

  </section>


  <section id="gallery">

    <h2 class="section-title">Instagram Gallery</h2>

    <div class="gallery">

      <img src="https://via.placeholder.com/400x400">

      <img src="https://via.placeholder.com/400x400">

      <img src="https://via.placeholder.com/400x400">

      <img src="https://via.placeholder.com/400x400">

      <img src="https://via.placeholder.com/400x400">

      <img src="https://via.placeholder.com/400x400">

    </div>

  </section>


  <footer>

    © 2026 ELEGANCE — Luxury Perfumes & Cosmetics

  </footer>


  <div id="cart">

    <h3>Your Cart</h3>

    <ul id="cartItems"></ul>

  </div>


  <script>

    const cart = [];


    function toggleCart() {

      const c = document.getElementById('cart');

      c.style.display = c.style.display === 'block' ? 'none' : 'block';

    }


    function addToCart(item) {

      cart.push(item);

      renderCart();

    }


    function renderCart() {

      const list = document.getElementById('cartItems');

      list.innerHTML = '';

      cart.forEach(i => {

        const li = document.createElement('li');

        li.textContent = i;

        list.appendChild(li);

      });

    }

  </script>


</body>

</html>