
/* CSS Variables - Change these to update colors globally */
:root {
  --text-color: #caced1; 
  --background-color: #2c2e34;  

  --icon-filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
  --profile-image-path: './assets/images/ProfileImg/SvenjasPhoto-1-2.jpg';  /* Change this ONE variable to switch ALL profile images */
  
  /* Social Media Links - Change these to update all social links globally */
  --social-itch: 'https://onesvenja.itch.io';
  --social-artstation: 'https://www.artstation.com/snow_call';
  --social-instagram: 'https://www.instagram.com/svenjaschmitttm/';
  --social-email: 'mailto:sv_schmitt@protonmail.com';
  --social-linkedin: 'https://www.linkedin.com/in/svenja-schmitt/';
  
  /* UI Control Variables */
  --contact-button-enabled: 0; /* Set to 0 to hide contact button, 1 to show */
  --copyright-text: '© 2025 Svenja Schmitt. All rights reserved.'; /* Change this to update copyright globally */
  
  /* Background Image Settings - Dark Theme */
  --background-image-dark: '../assets/images/background/background2.png';  /* Background image path for dark theme */
  --background-image-opacity-dark: 0.2; /* Background image opacity for dark theme */
  
  /* Background Image Settings - Light Theme */
  --background-image-light: '../assets/images/background/background2.png';  /* Background image path for light theme */
  --background-image-opacity-light: 0.2; /* Background image opacity for light theme */
}

/* Light theme variables */
[data-theme="light"] {
  --text-color: #363b4e;
  --background-color: #f5f5f5;
  --icon-filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

/* Light theme - darken the background image within the text only */
[data-theme="light"] .background-text-overlay {
  filter: brightness(1.2) contrast(0.7) saturate(3);
}

/* About section paragraph styling */
.about-section-content > div {
  padding: 12px 16px;
  border-left: 3px solid var(--text-color);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.about-section-content > div:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

/* Light theme specific styling for about paragraphs */
[data-theme="light"] .about-section-content > div {
  background-color: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .about-section-content > div:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

/* Icons */

.right-arrow-icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  filter: var(--icon-filter);
  opacity: 0.8;
}

.footer-icon {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  opacity: 0.8;
}

a.icon-link {
  transition: transform 200ms ease-in-out;
}

a.icon-link:hover {
  cursor: pointer;
  stroke-width: 5;
  margin: 0;
  transform: rotate(15deg);
}


/* Navbar Styling */

.navbar {
  width: 100%;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999; /* AI NOTE: ALWAYS keep navbar at highest z-index - NEVER let anything go above this */
  /* No background on desktop - transparent */
}

.nav-title-link {
  color: var(--text-color);
  text-decoration: none;
}

.nav-title-link:hover {
  text-decoration: underline;
}

.nav-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.theme-toggle {
  background: none;
  border: 3px solid var(--text-color);
  border-radius: 50px;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease-in-out;
}

.theme-toggle:hover {
  transform: rotate(15deg);
}

.theme-icon {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  opacity: 0.8;
}

/* Small devices (portrait tablets and large phones, 800px and below) */
@media only screen and (max-width: 800px) {
  .navbar {
    padding: 12px 20px; /* MUCH thinner - reduced from 20px to 12px */
    background-color: var(--background-color);
    z-index: 9999; /* AI NOTE: Ensure mobile navbar also has highest z-index */
  }
  
  .nav-buttons {
    gap: 12px;
  }
  
  .theme-toggle {
    padding: 6px;
  }
  
  .theme-icon {
    width: 18px;
    height: 18px;
  }
}


/* Button Styling */

a.button {
  padding: 8px 16px;
  border: 3px solid var(--text-color);
  border-radius: 50px;
  color: var(--text-color);
  text-decoration: none;
  width: fit-content;
  display: flex;
  gap: 5px;
  align-items: center;
}

a.button:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  cursor: pointer;
}


/* Footer Styling */

#footer {
  width: 100%;
  display: flex;
  padding: 30px 50px;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* Background Text Overlay Effect */
.background-text-overlay {
  background-image: var(--current-background-image);
  background-size: cover;
  background-position: center;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Header Social Buttons */
.header-social-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

/* Blog Navigation Buttons */
.blog-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  margin-bottom: 20px;
}

.nav-button {
  background: none;
  border: 3px solid var(--text-color);
  border-radius: 50px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease-in-out;
  position: relative;
}

/* Different hover effects for different nav buttons */
.nav-button.home-button:hover {
  transform: rotate(15deg);
}

.nav-button.nav-button-with-text:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.nav-button.nav-button-with-text:hover .nav-button-text {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.nav-icon {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  opacity: 0.8;
}

/* Navigation button with text */
.nav-button-with-text {
  padding: 8px 16px;
  border-radius: 50px;
  gap: 8px;
  min-width: fit-content;
}

.nav-button-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-color);
  white-space: nowrap;
}

/* Link Styling */
a.no-underline {
  text-decoration: none;
  color: var(--text-color)
}

a.no-underline:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* Small devices (portrait tablets and large phones, 800px and below) */
@media only screen and (max-width: 800px) {
  #footer {
    padding: 20px 20px;
  }
  
  .blog-navigation {
    padding: 15px 10px;
    margin-top: 60px; /* Reduced for thinner navbar */
    gap: 8px; /* Tighter spacing on mobile */
  }
  
  .nav-button {
    padding: 8px 10px;
  }
  
  .nav-button-with-text {
    padding: 6px 10px;
    max-width: calc((100vw - 120px) / 2); /* Adaptive: (screen width - home button space) / 2 */
    min-width: 60px; /* Minimum button size */
  }
  
  .nav-button-text {
    font-size: 11px; /* Smaller text on mobile */
    max-width: calc((100vw - 160px) / 2); /* Adaptive text width */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .nav-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0; /* Icons never shrink */
  }
}