/* ============================================
   HOMEPAGE STYLES - Reference Design
   ============================================ */

/* Remove default site-main padding for homepage */
.homepage.site-main {
  padding-top: 0;
}

/* Hero Section */
.hero-section {
  margin-top: 80px;
  min-height: 85vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--soft-cream) 0%, var(--neutral-gray) 100%);
}

.hero-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(85vh - 90px);
  gap: 4rem;
}

.hero-text {
  flex: 1;
  max-width: 600px;
  animation: fadeInUp 1s ease-out;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--dark-charcoal);
}

.hero-title strong {
  font-weight: 700;
  display: block;
  color: var(--primary-gold);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
}

/* Hero Media (Video/Image) with Frame Effect */
.hero-media {
  flex: 1;
  position: relative;
  height: 70vh;
  max-height: 600px;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-media-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-media-frame {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 500px;
  height: 100%;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, rgba(212, 165, 165, 0.1) 100%);
  border: 2px solid var(--primary-gold);
  z-index: 1;
}

.hero-media-content {
  position: absolute;
  top: 40px;
  right: 40px;
  width: calc(100% - 40px);
  max-width: 500px;
  height: calc(100% - 40px);
  background: linear-gradient(135deg, #3A3A3A 0%, #2C2C2C 100%);
  z-index: 2;
  overflow: hidden;
}

/* Hero Video */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Fallback Image */
.hero-fallback-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Placeholder (when no media) */
.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3A3A3A 0%, #2C2C2C 100%);
}

/* Dark overlay for text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  pointer-events: none;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
  }

  .hero-content-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 3rem 0;
    gap: 2.5rem;
    min-height: auto;
  }

  .hero-text {
    max-width: 100%;
    order: 1;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  /* Show hero media on tablet - maintain desktop aspect ratio */
  .hero-media {
    order: 2;
    height: auto;
    max-height: none;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.3s both;
  }

  .hero-media-container {
    position: relative;
    width: 100%;
    /* Maintain same proportions as desktop: ~500px width, ~600px height = 5:6 ratio */
    aspect-ratio: 5/6;
  }

  .hero-media-frame {
    max-width: 100%;
    height: 100%;
  }

  .hero-media-content {
    /* Maintain proportional offset (40px on 500px = 8%) */
    top: 8%;
    right: 8%;
    width: 92%;
    max-width: 100%;
    height: 92%;
  }
}

/* Mobile-specific hero styles */
@media (max-width: 768px) {
  .hero-section {
    margin-top: 70px;
  }

  .hero-content-wrapper {
    padding: 2rem 0;
    gap: 2rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  /* Hero media on mobile - maintain aspect ratio */
  .hero-media {
    max-width: 350px;
    padding: 0;
  }

  .hero-media-container {
    /* Same 5:6 aspect ratio as tablet/desktop reference */
    aspect-ratio: 5/6;
  }

  .hero-media-frame {
    border-width: 2px;
  }

  .hero-media-content {
    /* Maintain 8% proportional offset */
    top: 8%;
    right: 8%;
    width: 92%;
    height: 92%;
  }
}

/* Small mobile screens */
@media (max-width: 480px) {
  .hero-section {
    margin-top: 60px;
  }

  .hero-content-wrapper {
    padding: 1.5rem 0;
    gap: 1.5rem;
  }

  .hero-media {
    max-width: 300px;
  }

  .hero-media-container {
    /* Maintain 5:6 aspect ratio */
    aspect-ratio: 5/6;
  }

  .hero-media-content {
    /* Maintain 8% proportional offset */
    top: 8%;
    right: 8%;
    width: 92%;
    height: 92%;
  }
}

/* About Section */
.about-section {
  padding: 8rem 0;
  background: var(--soft-cream);
}

.about-section .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-content {
  animation: fadeInUp 0.8s ease-out;
}

.section-label {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: block;
}

.about-section .section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--dark-charcoal);
}

.about-section .section-title::after {
  display: none;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-section .stat-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border: 1px solid var(--neutral-gray);
}

.about-section .stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.about-section .stat-label {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
}

@media (max-width: 1024px) {
  .about-section .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* Gallery Section (Models) */
.gallery-section {
  padding: 8rem 0;
  background: var(--dark-charcoal);
}

.gallery-header {
  text-align: center;
  margin-bottom: 4rem;
  color: white;
}

.gallery-header .section-label {
  color: var(--primary-gold);
}

.gallery-header .section-title {
  color: white;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.gallery-header .section-title::after {
  display: none;
}

.gallery-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.8rem 2rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-gold);
  color: var(--dark-charcoal);
  border-color: var(--primary-gold);
}

/* Model Grid */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

/* Model Card - New Design */
.gallery-section .model-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #2C2C2C;
  transition: transform 0.4s ease;
  border: none;
}

.gallery-section .model-card:hover {
  transform: translateY(-10px);
}

.model-image {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #3A3A3A 0%, #2C2C2C 100%);
  position: relative;
  overflow: hidden;
}

.model-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-section .model-card:hover .model-image img {
  transform: scale(1.05);
}

.model-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 0.5rem 1rem;
  background: var(--primary-gold);
  color: var(--dark-charcoal);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 10;
}

.model-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3A3A3A 0%, #2C2C2C 100%);
}

.model-info {
  padding: 1.5rem;
  background: #2C2C2C;
}

.model-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.model-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.model-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.model-rate {
  color: var(--primary-gold);
  font-weight: 600;
}

.model-card-link {
  display: block;
  text-decoration: none;
}

/* View All Button */
.view-all-btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: transparent;
  color: white;
  border: 2px solid white;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  text-decoration: none;
}

.view-all-btn:hover {
  background: white;
  color: var(--dark-charcoal);
}

/* Services Section */
.services-section {
  padding: 8rem 0;
  background: var(--soft-cream);
}

.services-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-section .section-label {
  color: var(--primary-gold);
}

.services-section .section-title {
  color: var(--dark-charcoal);
}

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

.service-card {
  padding: 3rem 2rem;
  background: white;
  border: 1px solid var(--neutral-gray);
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 2rem;
  background: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-charcoal);
}

.service-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--dark-charcoal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.cta-section .btn-primary {
  background: var(--primary-gold);
  color: var(--dark-charcoal);
  border-color: var(--primary-gold);
}

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

/* No Results Message */
.no-results-message {
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-results-message p {
  font-size: 1.1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.filter-reset-btn {
  background: transparent;
  border: none;
  color: var(--primary-gold);
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: underline;
  font-family: var(--font-body);
  padding: 0;
  margin-left: 0.25rem;
  transition: color 0.3s ease;
}

.filter-reset-btn:hover {
  color: white;
}

/* ============================================
   WIDESCREEN OPTIMIZATIONS (1440px+)
   ============================================ */

@media (min-width: 1440px) {
  .hero-section .container {
    max-width: 1400px;
  }

  .hero-content-wrapper {
    gap: 6rem;
  }

  .hero-text {
    max-width: 650px;
  }

  .hero-media {
    max-height: 700px;
  }

  .hero-media-frame,
  .hero-media-content {
    max-width: 550px;
  }

  .about-section .container,
  .gallery-section .container,
  .services-section .container,
  .cta-section .container {
    max-width: 1400px;
  }

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

  .about-section .about-grid {
    gap: 8rem;
  }
}

/* Ultra-wide screens (1920px+) */
@media (min-width: 1920px) {
  .hero-section .container,
  .about-section .container,
  .gallery-section .container,
  .services-section .container,
  .cta-section .container {
    max-width: 1600px;
  }

  .hero-content-wrapper {
    gap: 8rem;
  }

  .hero-text {
    max-width: 700px;
  }

  .hero-media-frame,
  .hero-media-content {
    max-width: 600px;
  }

  .about-section .about-grid {
    gap: 10rem;
  }

  .about-stats {
    gap: 3rem;
  }

  .gallery-header p {
    max-width: 800px;
  }
}
