/*
Theme Name: The Passion Diary
Theme URI: https://example.com/the-passion-diary
Author: Generated by ChatGPT
Description: Minimal, elegant gifting website theme for The Passion Diary.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: the-passion-diary
*/

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color:#fdfbff;
  color:#2f2629;
  line-height:1.6;
}

a { text-decoration:none; color:inherit; }

.container {
  width:92%;
  max-width:1160px;
  margin:0 auto;
}

/* =============================
   HEADER (DESKTOP)
   ============================= */

header {
  background:#ffffff;
  border-bottom:1px solid #f0e7f2;
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(12px);
}

.navbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:0.8rem 0;
}

.logo {
  font-size:1.3rem;
  font-weight:600;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:#c37f90;
}

.desktop-nav {
  flex:1;
  display:flex;
  justify-content:center;
}

.desktop-nav ul {
  list-style:none;
  display:flex;
  gap:1.4rem;
}

.desktop-nav ul li a {
  padding:6px 10px;
  border-radius:8px;
  background:#ffeef5;
  border:1px solid #e5c4d3;
  font-weight:600;
  transition:0.2s ease;
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
  background:#d4a667;
  color:white !important;
}

/* WhatsApp Button */
.nav-cta {
  white-space:nowrap;
  flex-shrink:0;
  padding:0.5rem 1.1rem;
  border-radius:999px;
  border:1px solid #22c35e;
  background:#e9f9ef;
  color:#0b5b28;
}

/* =============================
   MOBILE MENU (Hamburger + Drawer + Overlay)
   ============================= */

/* Hidden on desktop */
.mobile-menu-btn,
.mobile-menu,
.menu-overlay {
  display:none;
}

/* ========== MOBILE ONLY ========== */
@media (max-width:880px) {

  /* Hide desktop nav */
  .desktop-nav ul {
    display:none !important;
  }

  /* Show hamburger */
  .mobile-menu-btn {
    display:block;
    background:none;
    border:none;
    font-size:2rem;
    cursor:pointer;
    color:#c37f90;
    z-index:10001;
  }

  /* Background overlay */
  .menu-overlay {
    display:block;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.45);
    opacity:0;
    pointer-events:none;
    transition:opacity 0.3s ease;
    z-index:9998;
}


  .menu-overlay.active {
    opacity:1;
    pointer-events:auto;
  }

  /* Mobile drawer menu */
.mobile-menu {
    display:block;
    position:fixed;
    top:0;
    right:-260px;
    width:260px;
    height:100%;
    background:#ffffff !important; /* Fully opaque */
    padding:2rem 1.5rem;
    box-shadow:-4px 0 20px rgba(0,0,0,0.25);
    transition:right 0.3s ease-in-out;
    z-index:9999;
}


  .mobile-menu.open {
    right:0;
  }

  .mobile-menu ul {
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:1.2rem;
  }

  .mobile-menu ul li a {
    font-size:1.1rem;
    padding:10px 0;
    border-bottom:1px solid #f1dbe4;
    color:#c37f90;
    font-weight:600;
    display:block;
  }
}

/* =============================
   HERO SECTION
   ============================= */

.hero {
  padding:4rem 0 3.3rem;
  background:radial-gradient(circle at top left,#fff5fb 0,#ffffff 42%,#ffffff 100%);
}

.hero-inner {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
  gap:2.4rem;
  align-items:center;
}

.hero-highlight {
  font-size:0.8rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:#d4a667;
  margin-bottom:0.7rem;
}

.hero-title {
  font-size:2.2rem;
  margin-bottom:0.6rem;
}

.hero-subtitle {
  font-size:1rem;
  color:#6b5a60;
  max-width:520px;
}

.hero-cta {
  margin-top:1.7rem;
  display:flex;
  flex-wrap:wrap;
  gap:0.7rem;
}

/* Buttons */
.btn {
  display:inline-block;
  padding:0.75rem 1.6rem;
  border-radius:999px;
  border:1px solid #d4a667;
  background:linear-gradient(135deg,#e9c98b,#d4a667);
  color:#3b2714;
  font-size:0.9rem;
  cursor:pointer;
}

.btn-outline {
  background:#ffffff;
  color:#c37f90;
  border-color:#e2b8c7;
}

.btn-whatsapp {
  border-color:#22c35e;
  background:#22c35e;
  color:#ffffff;
}

/* HERO IMAGES */
.hero-collage {
  display:grid;
  grid-template-columns:1.2fr 0.9fr;
  gap:0.7rem;
}

.hero-card-large,
.hero-card-small {
  border-radius:18px;
  overflow:hidden;
  background:#f8edf4;
  box-shadow:0 10px 24px rgba(0,0,0,0.1);
}

.hero-card-large img,
.hero-card-small img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* =============================
   SECTIONS & CARDS
   ============================= */

section {
  padding:3.1rem 0;
}

.section-title {
  font-size:1.45rem;
  margin-bottom:0.5rem;
}

.section-subtitle {
  font-size:0.96rem;
  color:#706068;
  margin-bottom:1.6rem;
  max-width:640px;
}

.grid-3 {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1.7rem;
}

.card {
  background:#ffffff;
  border-radius:16px;
  padding:1.5rem 1.5rem;
  border:1px solid #f1dbe4;
  box-shadow:0 8px 22px rgba(0,0,0,0.03);
}

.card-title {
  font-size:1rem;
  margin-bottom:0.5rem;
}

.card-text {
  font-size:0.9rem;
  color:#6d6065;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 1160px;  /* Matches .container width */
  margin: 0 auto;      /* Centers the grid */
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #f1dbe4;
  background: #fdf6fa;
  height: 180px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}




/* PRODUCT CARDS */
.product-card {
  display:flex;
  flex-direction:column;
  gap:0.9rem;
}

.product-image {
  border-radius:14px;
  overflow:hidden;
  border:1px solid #f1dbe4;
}

.product-image img {
  width:100%;
  height:190px;
  object-fit:cover;
}

.product-meta {
  font-size:0.8rem;
  color:#9a8d92;
}

/* BLOG CARDS */
.blog-card {
  display:flex;
  flex-direction:column;
  gap:0.6rem;
}

.blog-thumb {
  border-radius:14px;
  overflow:hidden;
  border:1px solid #f1dbe4;
}

.blog-thumb img {
  width:100%;
  height:150px;
  object-fit:cover;
}

/* CHIPS */
.chip-row {
  display:flex;
  flex-wrap:wrap;
  gap:0.55rem;
  margin-top:0.9rem;
}

.chip {
  font-size:0.76rem;
  padding:0.32rem 0.75rem;
  border-radius:999px;
  border:1px solid #f1dbe4;
  background:#fff7fa;
  color:#b35b76;
}

/* CONTACT SECTION */
.contact-wrapper {
  display:grid;
  grid-template-columns:1.25fr 1fr;
  gap:2.3rem;
}

form label {
  display:block;
  font-size:0.85rem;
  margin-bottom:0.25rem;
  color:#5c4f54;
}

form input,
form textarea {
  width:100%;
  padding:0.75rem 0.8rem;
  border-radius:10px;
  border:1px solid #e5d7e8;
  font-size:0.9rem;
  margin-bottom:0.9rem;
  background:#fdfbff;
}

form input:focus,
form textarea:focus {
  border-color:#c37f90;
  background:#ffffff;
}

textarea {
  resize:vertical;
  min-height:120px;
}

/* FOOTER */
footer {
  border-top:1px solid #f0e7f2;
  padding:1.7rem 0;
  margin-top:2.3rem;
  background:#ffffff;
}

.footer-inner {
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  justify-content:space-between;
  font-size:0.8rem;
  color:#9c8e95;
}
