/* ==========================================================================
   Clean Kong - Premium Design System & Stylesheet
   ========================================================================== */

/* Design Tokens & Variables */
:root {
  /* Colors */
  --bg-primary: #a9d4db;
  --text-primary: #12282c;
  --text-secondary: #3b575d;
  --white: #ffffff;
  --white-rgb: 255, 255, 255;
  --accent: #2e626a;            /* Clean ocean teal for dark elements/buttons */
  --accent-hover: #1e454b;
  --coral: #e07a5f;             /* Premium coral orange contrast CTA */
  --coral-hover: #cb654b;
  
  /* Glassmorphism styling */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-bg-hover: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: rgba(18, 40, 44, 0.06);
  --glass-shadow-hover: rgba(18, 40, 44, 0.12);
  
  /* Typography */
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --header-height: 96px;
  --header-height-scrolled: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height-scrolled) + 20px);
}

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

/* Custom premium scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(46, 98, 106, 0.4);
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(46, 98, 106, 0.6);
}

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Helper classes for layout responsiveness */
.mobile-only {
  display: none !important;
}
.desktop-only {
  display: block;
}

/* Typography elements */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

/* Header & Glassmorphic Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: height var(--transition-normal), background-color var(--transition-normal), backdrop-filter var(--transition-normal), border-bottom var(--transition-normal), box-shadow var(--transition-normal);
}

.main-header.scrolled {
  height: var(--header-height-scrolled);
  background-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-spacer {
  display: none;
}

/* Logo styling */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 130px; /* Large grand logo */
  width: auto;
  object-fit: contain;
  transform: translateY(18px); /* Hangs down past the transparent header boundary */
  transition: height var(--transition-normal), transform var(--transition-normal);
}

.main-header.scrolled .logo-img {
  height: 44px; /* Shrunk height */
  transform: translateY(0); /* Return to centered position */
}

/* Navigation List */
.primary-navigation {
  display: flex;
  align-items: center;
}

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

.nav-link {
  font-size: 1rem;
  font-weight: 700; /* Montserrat Bold as requested */
  color: var(--text-primary);
  text-decoration: none;
  text-transform: capitalize;
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

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

/* Premium micro-animation: Hover underline expanding from center */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--accent);
  transition: width var(--transition-normal), left var(--transition-normal);
}

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

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

/* Buttons styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: var(--coral);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 14px rgba(224, 122, 95, 0.3);
}

.btn-primary:hover {
  background-color: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

.btn-outline:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: var(--header-height);
  background: url('assets/HEro-BG.jpg') no-repeat center center / cover;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero-container {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: 48px;
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 15px 35px rgba(18, 40, 44, 0.04);
  animation: fadeInUpContent 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-shadow: 0 4px 10px rgba(18, 40, 44, 0.03);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.hero-foreground-img {
  position: absolute;
  bottom: 0;
  left: 59%;
  transform: translateX(-50%);
  height: auto;
  max-height: 83vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
  z-index: 3;
  pointer-events: none;
  display: block;
  animation: fadeInUpCharacter 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards, floatHeroCharacter 7s infinite ease-in-out 1.2s;
}

@keyframes fadeInUpContent {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUpCharacter {
  from {
    opacity: 0;
    transform: translate(-50%, 30px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes floatProductIntro {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-24px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes floatBrandBg {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(25px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes floatHeroCharacter {
  0% {
    transform: translate(-50%, 0) translateX(0);
  }
  50% {
    transform: translate(-50%, 0) translateX(15px);
  }
  100% {
    transform: translate(-50%, 0) translateX(0);
  }
}

/* Sections General Styling */
.content-section {
  padding: 100px 0;
  position: relative;
  background-color: rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-primary);
}

/* Intro Section (Coming Soon) */
.intro-section {
  padding: 0 0 40px 0;
  background-color: var(--bg-primary);
  color: #000000;
  position: relative;
  z-index: 10;
}

.intro-section .container {
  max-width: 1400px; /* Wider content width for this section */
}

.intro-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.intro-image-col {
  display: flex;
  justify-content: center;
}

.intro-img {
  max-width: 100%;
  max-height: 600px; /* Allow image to grow larger */
  height: auto;
  margin-top: -24px; /* overlap into hero section */
  margin-bottom: -70px; /* overlap into brand section below */
  position: relative;
  z-index: 12;
  animation: floatProductIntro 7s infinite ease-in-out;
}

.intro-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 15 !important;
}

.intro-heading {
  font-size: 4rem;
  font-weight: 900;
  font-style: italic;
  color: #000000;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
  margin-left: -20px; /* Offset slightly left of the description copy */
}

.intro-description {
  font-weight: 500; /* Montserrat Medium */
  font-size: 25px;
  line-height: 1.6;
  color: #000000;
}

/* Brand Section & Wrapper */
.brand-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.brand-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55vw;
  height: 100%;
  background: url('assets/Soon.png') no-repeat right top / contain;
  pointer-events: none;
  z-index: 2;
}

.brand-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -20px;
  width: calc(100% + 20px);
  height: 92%;
  background: url('assets/web-clean-kong-section-bg.png') no-repeat right bottom / contain;
  pointer-events: none;
  z-index: 2;
  animation: floatBrandBg 8s infinite ease-in-out;
}

.brand-info-block {
  padding: 80px 0 120px 0;
  background-color: #111113;
  color: #ffffff;
  position: relative;
  z-index: auto;
}

.brand-container {
  display: flex;
  justify-content: flex-start;
  padding-left: 8%;
  position: relative;
  z-index: 3 !important;
}

.brand-text-content {
  max-width: 900px;
  text-align: left;
}

.brand-heading {
  font-size: 4rem;
  font-weight: 900;
  font-style: italic;
  color: #ffffff;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

.highlight-pink {
  color: #e35387;
}

.brand-description {
  font-weight: 500; /* Montserrat Medium */
  font-size: 20px;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 32px;
}

.brand-description:last-child {
  margin-bottom: 0;
}

.brand-stripe {
  width: 100%;
  height: 150px;
  background-color: #ef4488;
  position: relative;
  z-index: 1;
}

/* Bottom Banner Section */
.bottom-banner-section {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  display: block;
}

.bottom-banner-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 93%;
  background: url('assets/fixed.png') no-repeat left bottom / contain;
  pointer-events: none;
  z-index: 2;
}

.banner-img,
.banner-mobile-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Shop Section & Glass Card */
.shop-section {
  background-color: transparent;
}

.shop-container {
  display: flex;
  justify-content: center;
}

.glass-card {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 50px var(--glass-shadow);
  max-width: 700px;
  width: 100%;
}

.glass-card p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

/* Footer Section */
.main-footer {
  background-color: #0f3b55;
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  width: 100%;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Hamburger Icon Animation */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}

.hamburger-box {
  width: 24px;
  height: 18px;
  display: inline-block;
  position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 24px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  position: absolute;
  transition-property: transform;
  transition-duration: var(--transition-fast);
  transition-timing-function: ease;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1.5px;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}

/* Mobile Hamburger Menu Active States */
.mobile-nav-toggle[aria-expanded="true"] .hamburger-inner {
  transform: rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-inner::before {
  top: 0;
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .logo-img {
    height: 60px; /* smaller default for mobile */
    transform: translateY(6px); /* adjusted hanging offset */
  }

  .main-header.scrolled .logo-img {
    height: 40px; /* smaller scrolled size for mobile */
    transform: translateY(0);
  }

  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }

  .hero-section {
    height: auto;
    min-height: auto;
    padding-top: 0;
    background: none;
    display: block;
    overflow: hidden;
  }

  .hero-mobile-img {
    width: 100%;
    height: auto;
    display: block !important;
  }
  
  .hero-container {
    margin-top: 24px;
  }
  
  .hero-content {
    max-width: 90%;
    padding: 24px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
  }

  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 20px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
    padding: 12px 20px;
  }
  
  /* Hamburger Menu Show */
  .mobile-nav-toggle {
    display: block;
  }
  
  .primary-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    z-index: 1050;
    transition: right var(--transition-normal);
    align-items: flex-start;
    padding: 120px 40px 40px;
  }
  
  .primary-navigation.open {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 28px;
  }
  
  .nav-link {
    font-size: 1.2rem;
    display: block;
    width: 100%;
  }

  /* Intro Section Mobile */
  .intro-section {
    padding: 60px 0;
  }

  .intro-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .intro-text-col {
    align-items: center;
  }

  .intro-heading {
    font-size: 2rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    margin-left: 0; /* Keep centered on mobile */
  }
  
  .intro-description {
    font-size: 20px;
    line-height: 1.5;
  }
  
  .intro-img {
    max-height: 350px;
    margin-top: 0; /* Remove top overlap on mobile */
    margin-bottom: 0; /* Reset bottom overlap on mobile */
  }

  .brand-heading {
    font-size: 2.2rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
  }

  .brand-description {
    font-size: 16px;
    line-height: 1.6;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .brand-info-block {
    padding: 50px 20px 205px 20px;
  }

  .brand-container {
    justify-content: center;
    padding-left: 0;
  }

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

  .brand-wrapper::before {
    display: none !important;
  }

  .brand-wrapper::after {
    display: block !important;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 280px;
    background: url('assets/web-clean-kong-section-bg.png') no-repeat right bottom / contain;
    pointer-events: none;
    z-index: 2;
  }

  .bottom-banner-section::after {
    display: none !important;
  }

  .banner-mobile-img {
    width: 100%;
    height: auto;
    display: block !important;
  }
}

/* Desktop Centering Grid layout */
@media (min-width: 769px) {
  .header-container {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
  }
  .logo-link {
    grid-column: 1;
    justify-self: start;
  }
  .primary-navigation {
    grid-column: 2;
    justify-self: center;
  }
  .header-spacer {
    display: block;
    grid-column: 3;
    width: 100%;
  }
}

/* Legal / Impressum Page */
.legal-section {
  padding: calc(var(--header-height) + 60px) 0 80px 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.legal-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  padding: 50px 60px;
  box-shadow: 0 15px 40px var(--glass-shadow);
  max-width: 900px;
  margin: 0 auto;
}

.legal-card h1 {
  font-size: 2.8rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.legal-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 28px 0 10px 0;
  color: var(--text-primary);
}

.legal-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-card p strong {
  color: var(--text-primary);
}

.legal-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.legal-card a:hover {
  color: var(--coral);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-section {
    padding: calc(var(--header-height) + 20px) 0 60px 0;
  }
  .legal-card {
    padding: 32px 24px;
    border-radius: 20px;
  }
  .legal-card h1 {
    font-size: 2rem;
  }
  .legal-card h2 {
    font-size: 1.15rem;
  }
  .legal-card p {
    font-size: 0.95rem;
  }
}

