/**
 * Salong Frida - Custom CSS
 * Soft gray & green palette. Use Tailwind theme classes in HTML.
 * This file only contains CSS that cannot be expressed via Tailwind.
 */

:root {
  /* Softer gray & green palette */
  --primary-color: #5c6d5c;       /* Softer dark gray-green (nav, footer) */
  --secondary-color: #8fa99a;     /* Very soft sage (accents, buttons) */
  --accent-color: #7d9b8a;        /* Soft sage (button base) */
  --accent-hover: #a3b8ad;        /* Dusty sage (hover states) */
  --text-color: #4a5a4a;          /* Softer dark gray-green (body text) */
  --text-light: #fcfcfc;          /* Light text on dark backgrounds */
  --background-color: #f5f7f5;    /* Whisper-soft gray-green tint */
  --border-color: #dfe5df;        /* Softer gray-green border */
  --header-bg: #5c6d5c;
  --footer-bg: #5c6d5c;
  --section-bg: #f5f7f5;
  --card-bg: #ffffff;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Nav link underline effect */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--text-light);
  transition: width 0.2s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Profile photo - aspect ratio container (Tailwind doesn't handle this pattern well) */
.profile-photo-container {
  aspect-ratio: 2/3;
  max-width: 300px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.profile-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Button border - soft accent (Tailwind opacity modifier doesn't work with CSS vars) */
.tw-border-secondary\/30 {
  border-color: rgba(143, 169, 154, 0.25); /* secondary at 25% - softer */
}

/* Brand logos - normalized size, professional look */
.brand-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 5rem;
  padding: 0.75rem;
}
.brand-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 48px;
  flex-shrink: 0;
}
.brand-logo-slot img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}
.brand-logo-slot svg {
  width: auto;
  height: 48px;
  max-width: 140px;
  flex-shrink: 0;
}
.brand-logo {
  filter: grayscale(1) brightness(0);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.brand-logo-link:hover .brand-logo {
  opacity: 1 !important;
  filter: grayscale(1) brightness(0);
}
