/* Fonts */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('https://res.cloudinary.com/dow4umoyw/raw/upload/v1778101012/cormorant-variable_nhzcao.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('https://res.cloudinary.com/dow4umoyw/raw/upload/v1778101012/cormorant-italic_pyo0ff.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('https://res.cloudinary.com/dow4umoyw/raw/upload/v1778101012/inter-variable_nds5jd.woff2') format('woff2');
}

html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

:root {
  --ph-primary: #1a1a1a;
  --ph-secondary: #5e5e5e;
  --ph-accent: #a68b5a;
  --ph-bg: #fdfcf9;
  --ph-card-bg: #ffffff;
  --ph-border: #e8e4de;
  --ph-serif: 'Cormorant Garamond', serif;
  --ph-sans: 'Inter', sans-serif;
}

body {
  font-family: var(--ph-sans);
  background-color: var(--ph-bg);
  color: var(--ph-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
.serif {
  font-family: var(--ph-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.text-uppercase-tracked {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Navbar */
.navbar-ph {
  padding: 1.5rem 0;
  background-color: transparent !important;
}

.navbar-ph .navbar-brand {
  font-family: var(--ph-serif);
  font-size: 2rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--ph-primary) !important;
}

.navbar-ph .nav-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  padding: 0.5rem 1.2rem !important;
  color: var(--ph-primary) !important;
}

/* Hero Carousel */
.hero-carousel {
  height: 80vh;
  min-height: 600px;
  background-color: #000;
}

.hero-slide {
  height: 80vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  z-index: 2;
}

.hero-img {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.carousel-item.active .hero-img {
  /* Ensure active image is visible */
  display: block;
}

.hero-content h2 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: 4.5rem;
  margin-bottom: 2rem;
  max-width: 800px;
  line-height: 1.1;
}

.btn-ph-outline {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 1rem 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  border-radius: 0;
}

.btn-ph-outline:hover {
  background: white;
  color: black;
}

/* Section Styling */
.section-padding {
  padding: 8rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Category Icons */
.category-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-icon {
  width: 80px;
  height: 80px;
  border: 1px solid var(--ph-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.category-item:hover .category-icon {
  border-color: var(--ph-accent);
  background: var(--ph-bg);
}

.category-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.category-item p {
  font-size: 0.9rem;
  color: var(--ph-secondary);
  max-width: 200px;
  margin: 0 auto 1rem;
}

.btn-link-ph {
  color: var(--ph-primary);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--ph-primary);
  padding-bottom: 2px;
}

.navbar-brand-banner {
  transition: opacity 0.3s ease;
}

.navbar-brand-banner img {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  object-fit: cover;
}

.navbar-brand-banner:hover {
  opacity: 0.8;
}

/* Admin Sidebar */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 280px;
  background: #111111;
  color: #ffffff;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  padding: 2rem 0;
  z-index: 1000;
}

.admin-main {
  flex: 1;
  margin-left: 280px;
  background: #f8f9fa;
  min-height: 100vh;
  padding: 2rem;
}

.sidebar-link {
  display: block;
  padding: 0.75rem 2rem;
  color: #999;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-left-color: #fff;
}

.sidebar-link i {
  width: 20px;
  margin-right: 10px;
}

.sidebar-header {
  padding: 0 2rem 2rem;
  font-family: var(--ph-serif);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

/* Perfume Cards */
.perfume-card {
  border: none;
  background: transparent;
  text-align: center;
}

.perfume-img-wrapper {
  background: white;
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
  overflow: hidden;
}

.perfume-card:hover .perfume-img-wrapper {
  transform: translateY(-10px);
}

.perfume-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.perfume-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  min-height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perfume-card .type {
  font-style: italic;
  color: var(--ph-secondary);
  margin-bottom: 1rem;
  min-height: 1.2em;
}

.perfume-card .notes {
  font-size: 0.85rem;
  color: var(--ph-secondary);
}

/* Journal Grid */
.journal-card {
  border: none;
  background: transparent;
}

.journal-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.journal-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.journal-card p {
  color: var(--ph-secondary);
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background: var(--ph-bg);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--ph-border);
}


.size-box,
.request-btn {
  height: 45px;
  /* Adjust this value to your preferred thickness */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.size-box {
  min-width: 60px;
}

.request-btn {
  border-radius: 0;
  /* Keeps it square like the boxes */
  padding-top: 0;
  padding-bottom: 0;
  white-space: nowrap;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .navbar-ph .navbar-brand {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    margin: 0 auto !important;
    text-align: center;
    flex-grow: 1;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0;
    font-size: 1.25rem;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-brand-banner img {
    width: 35px;
    height: 35px;
  }

  .hero-content h1 {
    font-size: 2.2rem !important;
    margin-bottom: 1rem;
  }
  
  .hero-content h2 {
    font-size: 0.7rem !important;
    letter-spacing: 0.15em;
  }

  .hero-carousel, .hero-slide, .hero-img {
    height: 65vh;
    min-height: 450px;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 380px) {
  .navbar-ph .navbar-brand {
    font-size: 0.9rem;
  }
}