/* ========================================
   PORTFOLIO PAGE CSS
   ======================================== */
:root {
  --gold: #d4a853;
  --gold-hover: #c49a48;
  --bg-dark: #0a0a0a;
  --bg-light: #f5f5f0;
  --bg-cream: #faf9f7;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --text-light: #ffffff;
  --border-color: #e5e5e5;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem 2rem;
  background-color: var(--bg-light);
}

.navbar.scrolled {
  background-color: rgba(245, 245, 240, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 2rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--gold-hover);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: white;
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: right 0.3s ease;
  z-index: 999;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

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

.mobile-link {
  font-size: 1.125rem;
  color: var(--text-primary);
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.mobile-link:hover { color: var(--gold); }

@media (max-width: 768px) {
  .navbar { padding: 1rem; }
  .navbar.scrolled { padding: 0.75rem 1rem; }
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ========================================
   PORTFOLIO HEADER
   ======================================== */
.portfolio-header {
  padding-top: 8rem;
  padding-bottom: 3rem;
  text-align: center;
  background-color: var(--bg-light);
}

.portfolio-label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.portfolio-title {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.portfolio-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ========================================
   FILTER TABS
   ======================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.filter-tab {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  padding: 0.5rem 0;
  transition: color 0.2s ease;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.filter-tab:hover,
.filter-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ========================================
   PORTFOLIO GRID
   ======================================== */
.portfolio-section {
  background-color: var(--bg-light);
  padding: 2rem 2rem 5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-item {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.portfolio-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-thumb img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  transition: background-color 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .play-button {
  opacity: 1;
}

.play-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.play-icon:hover {
  transform: scale(1.1);
}

.play-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
  margin-left: 3px;
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.portfolio-couple {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.25rem;
}

.portfolio-meta {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.portfolio-item.hidden {
  display: none;
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .portfolio-title { font-size: 2rem; }
  .portfolio-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1rem 4rem;
  }
  .filter-tabs { gap: 1rem; }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: var(--bg-dark);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-title {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
}

/* ========================================
   VIDEO MODAL
   ======================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  position: relative;
  width: 95%;
  max-width: 1200px;
  z-index: 1;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.video-modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--gold);
}

.modal-close svg {
  width: 100%;
  height: 100%;
}

.modal-video {
  position: relative;
  padding-bottom: 56.25%;
  background-color: black;
}

.modal-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}