/* Base styles - Core layout and typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: auto;
  background: white;
  position: relative;
  min-height: 200vh;
}

/* ===== UNIFIED TYPOGRAPHY SYSTEM ===== */
.headline {
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 0rem;
  color: white; 
}

.subline {
  font-size: clamp(14px, 3vw, 20px);
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
  margin-bottom: 0rem;
}

.body-text {
  font-size: clamp(14px, 2vw, 15px);
  font-weight: 400;
  line-height: 1.5;
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 0rem;
}

/* Special text stles */
.quote {
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid #00C12D;
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.subheading {
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 700;
  color: white;
  margin: 0rem 0 0rem 0;
  line-height: 1.1;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

/* ===== CORE LAYOUT SECTIONS ===== */


.content-section {
  position: relative;
  width: 100%;
  min-height: 200vh;
  z-index: 10;
}




/* ===== UNIFIED SECTION SYSTEM ===== */
.section {
  position: relative;
  width: 100%;
  height: 100dvh;
  margin-bottom: -10px;
  z-index: 5;
  pointer-events: none;
}

.section::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-position: center center;

  border-radius: 30px;
  z-index: 5;
}

/* Section-specific background images */
.section-hero::before {
  background-image: url('../media/Alex_home.webp');
}

.section-about::before {
  background-image: url('../media/Alex_about.webp');
}

.section-sponsorship::before {
  background-image: url('../media/Alex_sponsorhip.webp');
}

.section-contact::before {
  background-image: url('../media/Alex_bottom.webp');
  margin-bottom: 30px;
}

/* Section content wrapper */
.section-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 500px;
  padding: 1.2rem;
  z-index: 10;
  pointer-events: all;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Content positioning variants */
.section-content--left {
  left: 100px;
}

.section-content--right {
  right: 100px;
}

.section-content--center {
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: bottom;
}

/* Specific width for sponsorship section */
.section-sponsorship .section-content {
  max-width: 650px;
}

/* Special positioning for contact section */
.section-contact .section-content {
  top: auto;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1800px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: end;
}

/* Contact section grid areas */
.contact-info {
  text-align: left;
  padding: 1rem;
  
}

.contact-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.contact-social {
  text-align: right;
  padding: 1rem;
}

/* Special styles for hero section */
.section-hero {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
}

.section-hero.fade-out {
  opacity: 0;
  filter: blur(20px);
  transform: scale(0.95);
}

.section-hero.fade-in {
  opacity: 0;
  filter: blur(10px);
  transform: scale(1.05);
  animation: fadeInText 1.5s ease-out forwards;
}

.section-hero .section-content {
  width: 450px;
  gap: 2.2rem;
}

/* Button container for sections with multiple buttons */
.button-group {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* List styles */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem 0;
}

.feature-list li {
  font-size: 14px;
  color: white;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  font-weight: 400;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-left: 20px;
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #00C12D;
  font-weight: bold;
  font-size: 18px;
}

.feature-list strong {
  font-weight: 700;
}

/* Link styles */
.section-content a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.section-content a:hover {
  color: #00C12D;
}

.instagram-icon {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.instagram-icon:hover {
  filter: brightness(0) invert(0);
}

.bottom-copyright {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: all;
  padding-bottom: 20px;
}

.bottom-copyright p {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: rgb(56, 56, 56);
  text-align: center;
  margin: 0;
}

/* ===== BUTTON STYLES ===== */
.open-modal-btn {
  background: rgba(0, 0, 0, 1);
  border: 4px solid #00C12D;
  color: rgb(255, 255, 255);
  padding: 12px 24px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 1.2rem;
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  z-index: 1;
  transition: all 0.3s ease;
  pointer-events: all;
  width: fit-content;
  display: inline-block;
}

.open-modal-btn:hover {
  background: rgba(255, 255, 255, 1);
  color: rgba(0, 0, 0, 1);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInText {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1);
  }
}

/* ===== MOBILE RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  /* Logo */
  .logo-container {
    display: none;
  }
  
  /* Section content adjustments */
  .section-content {
    width: 90%;
    max-width: 500px;
    padding: 1rem;
    gap: 1.0rem;
    top: auto;
    bottom: 30px;
    transform: none;
  }
  
  .section-content--left {
    left: 20px;
  }
  
  .section-content--right {
    right: 20px;
  }
  
  /* Hero section specific */
  .section-hero .section-content {
    width: 90%;
    left: 20px;
  }
  
  .headline br {
    display: inline;
  }
  

  
  /* Button groups */
  .button-group {
    flex-direction: column;
    gap: 1.75rem;
  }
  
  /* Contact section mobile layout */
  .section-contact .section-content {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    width: 90%;
    max-width: 500px;
    align-items: center;
  }
  
  .contact-info,
  .contact-social {
    text-align: center;
  }
  
  .contact-cta {
    order: 1;
  }
  
  .contact-info {
    order: 0;
  }
  
  .contact-social {
    order: 2;
  }
  
 
  
  .bottom-copyright {
    bottom: 15px;
    width: 100%;
    padding: 0 1rem;
  }
  
  .bottom-copyright p {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Right-aligned background for mobile only */
  
  .section-hero::before {
    background-position: 40% center;
  }
  
  .section-about::before {
    background-position: 45% center;
  }
  
  .section-sponsorship::before {
      background-position: right center;
  }
  
  .section-contact::before {
    background-position: 58% center;
  }
  
}

/* Remove text-shadow on larger screens */
@media (min-width: 769px) {
  .headline,
  .subline,
  .body-text,
  .quote,
  .subheading {
    text-shadow: none;
  }
}