/* Global Design Tokens & Setup */
:root {
  --color-bg-light: #0d0d0c;
  /* Main dark background */
  --color-bg-alt: #161513;
  /* Alternate dark background for meantime fold */
  --color-bg-dark: #070706;
  /* Footer dark background */

  --color-accent-gold: #c5a880;
  --color-accent-gold-light: #dfcaa7;
  --color-accent-gold-dark: #9e7f55;

  --color-text-main: #FAF8F5;
  /* Off-white for general text readability */
  --color-text-muted: #AFAAA2;
  /* Warm light grey for subtext */
  --color-text-light: #FAF8F5;
  /* Light text color */
  --color-text-light-muted: #8E8982;

  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --transition-smooth: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-quick: all 0.25s ease;

  --container-width: 1100px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
  background: #c5a88066;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-gold);
}

/* Text Formatting Utility classes */
.gold-text {
  color: var(--color-accent-gold);
  background: linear-gradient(135deg, var(--color-accent-gold-light), var(--color-accent-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

/* Balanced Headings & Pretty Body */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  text-wrap: balance;
  font-weight: 400;
  letter-spacing: 0.05em;
}

p {
  text-wrap: pretty;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

/* Header & Logo Only */
.main-header {
  position: relative;
  width: 100%;
  height: 70px;
  background-color: var(--color-bg-dark);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.brand-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.logo-svg {
  width: 100px;
  height: 44px;
}

/* In header, fill with light color (on dark background) */
.main-header .logo-svg .st0 {
  fill: var(--color-text-light) !important;
  transition: var(--transition-quick);
}

.main-header .logo-svg:hover .st0 {
  fill: var(--color-accent-gold-light) !important;
}

/* In footer, fill with light color */
.main-footer .logo-svg .st0 {
  fill: var(--color-text-light) !important;
  transition: var(--transition-quick);
}

.main-footer .logo-svg:hover .st0 {
  fill: var(--color-accent-gold-light) !important;
}

.brand-tagline {
  font-size: 7px;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Parallax Hero Section (Fold 1) */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background-color: var(--color-bg-light);
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  /* Extra height for parallax scroll */
  z-index: 1;
  transform: translateY(var(--scroll-y, 0));
  will-change: transform;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Dark luxury radial gradient to fit the new black aesthetic and keep text highly readable */
  background: radial-gradient(circle, rgba(13, 13, 12, 0.6) 0%, rgba(13, 13, 12, 0.85) 70%, rgba(13, 13, 12, 0.98) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-subtitle {
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 25px;
  animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 68px);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--color-text-main);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-country {
  font-size: 9px;
  letter-spacing: 0.45em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 25px;
  animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wavy-divider {
  color: var(--color-accent-gold);
  margin-bottom: 35px;
  opacity: 0.75;
  animation: scaleIn 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-announcement {
  font-size: clamp(18px, 2.2vw, 26px);
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text-main);
  margin-bottom: 25px;
  font-weight: 400;
  animation: fadeInUp 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-details-text {
  font-size: clamp(12px, 1.3vw, 14px);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 620px;
  animation: fadeInUp 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-indicator-container {
  margin-top: 40px;
  animation: fadeIn 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: var(--color-text-muted);
}

.scroll-text {
  font-size: 9px;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
  transition: var(--transition-quick);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-accent-gold);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-text-main);
  animation: scrollDown 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-indicator:hover .scroll-text {
  color: var(--color-text-main);
  letter-spacing: 0.35em;
}

/* Meantime & Contacts Section (Fold 2) */
.meantime-section {
  padding: 140px 0 120px;
  background-color: var(--color-bg-alt);
  text-align: center;
}

.section-pretitle {
  display: block;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--color-accent-gold-dark);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}

.section-quote {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 25px);
  line-height: 1.75;
  color: var(--color-text-main);
  max-width: 820px;
  margin: 0 auto 80px;
  font-weight: 400;
}

/* Contact Grid matching screenshot alignment */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

/* Collaborations spans all 3 columns and is centered below */
.contact-grid .info-card:nth-child(4) {
  grid-column: 1 / span 3;
  margin-top: 20px;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-label {
  font-size: 8px;
  letter-spacing: 0.25em;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.info-val {
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-main);
}

.link-hover {
  display: inline-block;
  position: relative;
  width: fit-content;
}

.link-hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-gold);
  transition: var(--transition-quick);
}

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

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

/* Footer Section (Fold 3) */
.main-footer {
  padding: 90px 0 70px;
  background-color: var(--color-bg-dark);
  /* Subtle diagonal diamond texture pattern matching user request */
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.007) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255, 255, 255, 0.007) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.007) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.007) 25%, transparent 25%);
  background-size: 24px 24px;
  background-position: 0 0, 12px 0, 12px -12px, 0px 12px;
  color: var(--color-text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--color-text-light);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-brand-subtitle {
  font-family: var(--font-serif);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--color-accent-gold);
  margin-bottom: 0;
  text-transform: uppercase;
}

.footer-info {
  margin-top: 25px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.footer-info p {
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.footer-info p:last-child {
  margin-bottom: 0;
}

.footer-contact-link {
  transition: var(--transition-quick);
  border-bottom: 1px solid transparent;
}

.footer-contact-link:hover {
  color: var(--color-accent-gold-light);
  border-bottom: 1px solid var(--color-accent-gold-light);
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: var(--color-accent-gold);
  opacity: 0.35;
  margin: 30px auto;
}

.copyright-text {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  color: var(--color-text-light-muted);
  opacity: 0.4;
  letter-spacing: 0.08em;
}

/* Scroll Reveal animation setups */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scrollDown {
  0% {
    transform: translateY(-100%);
  }

  50% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(100%);
  }
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-grid .info-card:nth-child(4) {
    grid-column: 1;
  }

  .meantime-section {
    padding: 100px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .section-quote {
    margin-bottom: 50px;
  }
}