/* -------------------------------------------------------------------------- */
/*                                CSS Variables                               */
/* -------------------------------------------------------------------------- */
:root {
  /* Colors - Premium Dark Theme with Gold Accents */
  --color-bg-primary: #0a0a0a;
  --color-bg-secondary: #141414;
  --color-bg-tertiary: #1f1f1f;
  
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0a0;
  --color-text-muted: #666666;
  
  --color-accent-primary: #d4af37; /* Gold */
  --color-accent-secondary: #b8860b; /* Dark Goldenrod */
  --color-accent-hover: #f1e5ac;
  
  --color-border: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Z-index */
  --z-negative: -1;
  --z-normal: 1;
  --z-header: 100;
  --z-modal: 1000;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* -------------------------------------------------------------------------- */
/*                                 Typography                                 */
/* -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-md);
  color: var(--color-accent-primary);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 700px;
}

.text-accent {
  color: var(--color-accent-primary);
}

.text-center {
  text-align: center;
}

/* -------------------------------------------------------------------------- */
/*                                   Layout                                   */
/* -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-padding-top {
  padding-top: var(--space-xl);
}

/* -------------------------------------------------------------------------- */
/*                                 Components                                 */
/* -------------------------------------------------------------------------- */
/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition-medium);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-accent-primary);
  color: var(--color-bg-primary);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
}

.btn-outline:hover {
  background-color: var(--color-accent-primary);
  color: var(--color-bg-primary);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  padding: var(--space-md) 0;
  transition: all var(--transition-medium);
}

.header.scrolled {
  padding: var(--space-sm) 0;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-link {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent-primary);
  transition: width var(--transition-medium);
}

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

.nav-link.active {
  color: var(--color-accent-primary);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  z-index: var(--z-modal);
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: all var(--transition-medium);
}

/* -------------------------------------------------------------------------- */
/*                                Page Specific                               */
/* -------------------------------------------------------------------------- */

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero {
    min-height: auto;
    height: 900px;
  }
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-negative);
  background-size: cover;
  background-position: center top;
  background-attachment: scroll;
  /* Swiper slide zoom effect */
  transform: scale(1);
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide-active .hero-bg {
    transform: scale(1.05);
}

.hero .swiper-slide {
  display: flex;
  align-items: center;
  padding-top: var(--space-xl);
  height: 100%;
}

.hero-content {
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
  display: block;
  margin-bottom: var(--space-sm);
}

.hero-title {
  margin-bottom: var(--space-md);
}

.hero-desc {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
}

/* About Intro (Home & Gurus) */
.about-intro {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-intro-image {
  position: sticky;
  top: 120px;
  align-self: start;
  border-radius: 4px;
  overflow: hidden;
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-intro-image:hover img {
    transform: scale(1.05);
}

.about-intro-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 50px rgba(10, 10, 10, 0.5);
  pointer-events: none;
}

/* Page Hero Settings (Inner Pages) */
.page-hero {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-negative);
    background-size: cover;
    background-position: center 20%;
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-primary) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.page-hero .container {
    position: relative;
    z-index: var(--z-normal);
    text-align: center;
    padding-top: var(--space-xl);
}

.page-title {
    margin-bottom: var(--space-xs);
}

/* Thumbnail Slider */
.thumbnail-slider-section {
    padding: var(--space-md) 0 var(--space-xl);
    overflow: hidden;
}

.gallery-thumbnail-swiper {
    padding-bottom: var(--space-md);
}

.gallery-thumbnail-swiper .swiper-slide {
    aspect-ratio: 4/5;
    border-radius: 4px;
    overflow: hidden;
}

.gallery-thumbnail-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-thumbnail-swiper .swiper-slide:hover img {
    transform: scale(1.05);
}

/* Swiper Pagination/Navigation Overrides */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: transparent;
    border: 2px solid var(--color-text-secondary);
    opacity: 0.6;
    transition: all var(--transition-medium);
    border-radius: 50%;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 6px;
    background-color: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    opacity: 1;
}

.hero .swiper-pagination {
    bottom: var(--space-xl) !important;
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-xl);
}

.about-text p {
    margin-bottom: var(--space-sm);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.stat-item h4 {
    color: var(--color-accent-primary);
    font-size: 3rem;
    margin-bottom: 0;
    line-height: 1;
}

.stat-item span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* Gallery Specific */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-sm);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/5;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-medium);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
}

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

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

.gallery-title {
    color: var(--color-text-primary);
    font-size: 1.25rem;
}

/* Contact Specific */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact-info {
    padding-right: var(--space-xl);
}

.contact-item {
    margin-bottom: var(--space-md);
}

.contact-item h3 {
    font-size: 1.25rem;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-xs);
}

.contact-item a {
    color: var(--color-text-secondary);
}

.contact-item a:hover {
    color: var(--color-accent-primary);
}

.contact-form {
    background-color: var(--color-bg-secondary);
    padding: var(--space-md);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 1rem;
    border-radius: 4px;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent-primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
  background-color: var(--color-bg-secondary);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent-primary), transparent);
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    display: inline-block;
}

.footer-tagline {
    color: var(--color-text-secondary);
    font-size: 1rem;
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-menu a,
.footer-contact-info a,
.footer-contact-info p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    transition: color var(--transition-fast);
}

.footer-menu a:hover,
.footer-contact-info a:hover {
    color: var(--color-accent-primary);
    transform: translateX(5px);
    display: inline-block;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    transition: all var(--transition-medium);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.social-icon:hover {
    background-color: var(--color-accent-primary);
    color: var(--color-bg-primary);
    border-color: var(--color-accent-primary);
    transform: translateY(-5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copy {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-text-primary);
}

/* -------------------------------------------------------------------------- */
/*                                Lightbox Modal                              */
/* -------------------------------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  z-index: var(--z-modal);
  padding-top: 5vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  animation: zoomIn 0.3s var(--transition-medium);
  border-radius: 4px;
}

.lightbox-caption {
  margin-top: var(--space-md);
  color: var(--color-text-primary);
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--color-text-secondary);
  font-size: 40px;
  font-weight: 300;
  transition: color 0.3s;
  cursor: pointer;
  z-index: calc(var(--z-modal) + 1);
}

.lightbox-close:hover {
  color: var(--color-accent-primary);
}

@keyframes zoomIn {
  from {transform: scale(0.9); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

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

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* -------------------------------------------------------------------------- */
/*                               Media Queries                                */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .about-intro,
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-intro-image {
        position: relative;
        top: auto;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .about-content {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
  .hero {
    height: 850px;
  }

  .hero-static-content {
      padding-top: 140px !important;
  }

  .hero-bg {
    background-position: center right 35%;
    background-size: cover;
  }

  .hero-desc {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right var(--transition-medium);
    z-index: 99;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.5rem;
  }
  
  .hero-actions {
      flex-direction: column;
  }
  
  .btn {
      width: 100%;
  }

  /* Hamburger Animation */
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .footer-grid {
      grid-template-columns: 1fr;
      gap: var(--space-md);
  }
  
  .footer-bottom {
      flex-direction: column;
      gap: var(--space-sm);
      text-align: center;
  }
}
