/* Google Fonts: Cormorant Garamond (Serif) & Outfit (Sans-Serif) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@200;300;400;500;600;700&display=swap');

:root {
  --bg-color: #FAF8F5;
  --card-bg: #FFFFFF;
  --primary-gold: #D4AF37;
  --secondary-gold: #C5A059;
  --gold-hover: #AA7C11;
  --accent-gold-light: rgba(212, 175, 55, 0.08);
  --text-primary: #2C2A29;
  --text-muted: #7C7875;
  --card-border: 1px solid rgba(212, 175, 55, 0.12);
  --card-border-hover: 1px solid rgba(212, 175, 55, 0.35);
  --shadow-sm: 0 4px 20px rgba(44, 42, 41, 0.02);
  --shadow-md: 0 16px 40px rgba(44, 42, 41, 0.04);
  --shadow-lg: 0 30px 60px rgba(44, 42, 41, 0.08);
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Outfit', sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-card: 20px;
}

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

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

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

/* Page Wrapper for Whitespace */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header & Navigation */
header {
  padding: 40px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-primary);
  position: relative;
}

.logo span {
  color: var(--primary-gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  transition: var(--transition-smooth);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--primary-gold);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text-primary);
  font-weight: 500;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 0 60px 0;
}

.hero-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary-gold);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4.8rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 25px;
}

.hero-description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 300;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 28px;
  margin-bottom: 120px;
}

.bento-card {
  background-color: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--radius-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-8px);
  border: var(--card-border-hover);
  box-shadow: var(--shadow-md);
}

/* Bento Card Sizes */
.span-2-col { grid-column: span 2; }
.span-3-col { grid-column: span 3; }
.span-4-col { grid-column: span 4; }
.span-2-row { grid-row: span 2; }

/* Custom Bento Card Contents */
.bento-card.intro-card {
  justify-content: center;
  background: radial-gradient(circle at top right, var(--accent-gold-light), transparent);
}

.intro-tag {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary-gold);
  margin-bottom: 15px;
  font-weight: 500;
}

.intro-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 15px;
}

.bento-card.photo-preview-card {
  padding: 0;
  position: relative;
  cursor: pointer;
}

.preview-slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

.preview-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.preview-slide.active {
  opacity: 0.9;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(to top, rgba(44, 42, 41, 0.8) 0%, rgba(44, 42, 41, 0) 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 60%;
}

.card-overlay h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.card-overlay p {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 1px;
  opacity: 0.8;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.bento-btn {
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-gold);
  transition: var(--transition-smooth);
  margin-top: auto;
}

.bento-btn.light {
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
}

.bento-btn.light:hover {
  color: var(--primary-gold);
  border-bottom-color: var(--primary-gold);
}

.bento-card:hover .bento-btn {
  gap: 15px;
}

.bento-card.video-preview-card {
  padding: 0;
  position: relative;
}

.video-thumb-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: #1e1d1c;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  position: absolute;
  top: 0;
  left: 0;
}

.play-icon-glow {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: var(--transition-smooth);
}

.play-icon-glow svg {
  fill: #FFFFFF;
  width: 20px;
  height: 20px;
  margin-left: 4px;
}

.video-thumb-container:hover .play-icon-glow {
  transform: scale(1.1);
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.bento-card.quote-card {
  background-color: var(--accent-gold-light);
  border: none;
  justify-content: center;
  text-align: center;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.quote-author {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary-gold);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 10px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-number span {
  color: var(--primary-gold);
}

.info-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
}

/* Footer Section */
footer {
  background-color: #FFFFFF;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  padding: 80px 0;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.footer-tag {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 1px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* Photos Filter / Header Section */
.gallery-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 50px;
}

.filter-bar {
  display: flex;
  gap: 20px;
  align-items: center;
}

.search-input {
  background-color: #FFFFFF;
  border: var(--card-border);
  border-radius: 30px;
  padding: 12px 24px;
  width: 280px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.08);
}

.sort-select {
  background-color: #FFFFFF;
  border: var(--card-border);
  border-radius: 30px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
}

.sort-select:focus {
  border-color: var(--primary-gold);
}

/* Photos Gallery Grid */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 24px;
  margin-bottom: 80px;
}

.photo-item {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.photo-item.landscape-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.photo-item.portrait-tall {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  display: block;
}

.photo-item:hover {
  transform: translateY(-5px);
  border: var(--card-border-hover);
  box-shadow: var(--shadow-md);
}

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

.photo-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(44, 42, 41, 0.85) 0%, rgba(44, 42, 41, 0.3) 50%, rgba(44, 42, 41, 0) 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  z-index: 2;
}

.photo-item:hover .photo-hover-overlay {
  opacity: 1;
}

.photo-title {
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.photo-actions {
  display: flex;
  gap: 12px;
}

.action-btn {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFFFFF;
  transition: var(--transition-smooth);
}

.action-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.action-btn:hover {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  transform: scale(1.08);
}

/* Pagination / Load More */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

.btn-primary {
  font-family: var(--font-sans);
  background-color: var(--text-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 35px;
  padding: 16px 45px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(44, 42, 41, 0.15);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--primary-gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.25);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 17, 16, 0.98);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90%;
  max-height: 85%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.lightbox.active .lightbox-img {
  opacity: 1;
  transform: scale(1);
}

.lightbox-caption {
  color: #FFFFFF;
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  text-align: center;
}

.lightbox-download {
  color: var(--primary-gold);
  margin-top: 8px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lightbox-download:hover {
  color: #FFFFFF;
}

/* Lightbox Navigation */
.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: var(--primary-gold);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFFFFF;
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-nav:hover {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

/* Videos Page Bento layout */
.video-card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 120px;
}

.video-detail-card {
  background-color: #FFFFFF;
  border: var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.video-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--card-border-hover);
}

.video-player-wrapper {
  position: relative;
  width: 100%;
  background-color: #121110;
  aspect-ratio: 16 / 9;
}

.video-player-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
}

.video-info-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-title-serif {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 15px;
}

.video-metadata {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  padding-bottom: 15px;
}

.video-metadata span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-metadata strong {
  color: var(--text-primary);
  font-weight: 500;
}

.video-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.6;
}

.video-action-row {
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
}

/* Responsive Queries */
@media (max-width: 1100px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .span-3-col { grid-column: span 2; }
  .span-4-col { grid-column: span 2; }
  
  .photos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .video-card-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .logo {
    font-size: 1.8rem;
  }
  .nav-links {
    gap: 20px;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 20px;
  }
  .span-2-col, .span-3-col, .span-4-col {
    grid-column: span 1;
  }
  .span-2-row {
    grid-row: span 1;
  }
  .bento-card {
    padding: 30px;
    height: auto;
    min-height: 220px;
  }
  
  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .photo-item.landscape-wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
  .photo-item.portrait-tall {
    grid-row: span 1;
    aspect-ratio: 4 / 3;
  }
  
  .gallery-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .search-input {
    width: 100%;
  }
  
  .lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 20px; right: 20px; font-size: 2rem; }
}

@media (max-width: 480px) {
  .photos-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .nav-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
