/* General Styles */
:root {
  --orange: #ff7f50;
  --green: #C5D9A5;
  --pink: #E75480;
  --rose: #FF5A79;
  --light-orange: #fcbb70;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --off-white: #f1efe1;
  --body-bg: #ebe9d9
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--body-bg);
  position: relative;
  overflow-x: hidden; /* Prevent horizontal scrolling from background elements */
}

/* Background Swirl Elements */
.bg-swirl {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -20;
  pointer-events: none; /* Allow clicking through the swirls */
  opacity: 0.4;
}

.bg-swirl-1 {
  top: 25%;
  left: -10%;
  width: 50%;
  height: 50%;
  background-image: url('sources/design_sources/kringel_5.png');
  transform: rotate(15deg);
}

.bg-swirl-2 {
  top: 40%;
  right: -15%;
  width: 60%;
  height: 60%;
  background-image: url('sources/design_sources/kringel_7.png');
  transform: rotate(-10deg);
  opacity: 0.3;
}

.bg-swirl-3 {
  bottom: 10%;
  left: -5%;
  width: 40%;
  height: 40%;
  background-image: url('sources/design_sources/kringel_8.png');
  transform: rotate(5deg);
}

.bg-swirl-4 {
  top: 70%;
  right: 10%;
  width: 45%;
  height: 45%;
  background-image: url('sources/design_sources/kringel_5.png');
  transform: rotate(-25deg) scale(0.8);
  opacity: 0.25;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
}

/* Links */
a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: var(--light-orange);
  text-decoration: underline;
}

.handwritten-heading {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  line-height: 1.2;
}

.text-primary {
  color: var(--orange) !important;
}

.image-box{
  padding-right: 0px !important
}
.text-accent {
  color: var(--pink);
}

.intro-container {
  padding-bottom: 0px !important;
}
.darkend-background-1 {
  background-color: #bab8a83c !important;
}

/* Section Styles */
.section-white {
  background-color: transparent; /* Changed from #FFFFFF to transparent to match body background */
  position: relative;
}

.section-orange {
  background-color: var(--orange);
  color: var(--text-light);
  position: relative;
}

.section-green {
  background-color: var(--green);
  position: relative;
}

.section-pink {
  background-color: var(--pink);
  color: var(--text-light);
  position: relative;
}

.section-rose {
  background-color: var(--rose);
  color: var(--text-light);
  position: relative;
}

/* Hero Section */
#hero {
  padding: 3rem 0;
}

#hero h1 {
  font-size: 2.5rem;
}

/* Custom Lists */
.custom-list {
  list-style: none;
  padding-left: 1.5rem;
}

.custom-list li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.custom-list li::before {
  content: "•";
  position: absolute;
  left: -1rem;
  color: currentColor;
}

/* Contact Info Section */
.contact-details p {
  margin-bottom: 0.25rem;
}

.certification {
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Contact Swirl Background */
.contact-swirl-bg {
  position: absolute;
  top: -250%;
  left: -250%;
  width: 600%;
  height: 600%;
  background-image: url('sources/design_sources/kringel_5.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.4;
  z-index: -10;
  pointer-events: none;
}

/* Ensure contact info text is readable over the swirl */
#contact-info .container {
  position: relative;
  z-index: 1;
}

/* Circular Background - Global */
.circular-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('sources/design_sources/kringel_7.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.4;
  z-index: -10;
  mix-blend-mode: darken;
  pointer-events: none;
}

/* Green Box Background for Image */
.green-box-bg {
  position: absolute;
  top: -10px;
  right: 0;
  bottom: 0;
  left: 20%;
  background-color: var(--green);
  z-index: -1;
}

/* Decorative Box */
.decorative-box {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 4px solid var(--green);
  border-radius: 8px;
  z-index: -1;
  box-shadow: 0 0 10px rgba(197, 217, 165, 0.5);
}

/* Add padding to content inside decorative boxes */
#natural-interaction .p-4 {
  position: relative;
  z-index: 1;
  margin: 10px;
  background-color: var(--off-white);
  border-radius: 5px;
}

/* Make columns in natural-interaction section have equal height and align text */
#natural-interaction .row {
  display: flex;
  flex-wrap: wrap;
}

#natural-interaction .col-12.col-md-6 {
  display: flex;
}

#natural-interaction .col-12.col-md-6 .p-4 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Align text to bottom in the right column */
#natural-interaction .col-12.col-md-6:nth-child(2) .p-4 {
  justify-content: flex-end;
}

/* Section Pink Content for Side-by-Side Layout */
.section-pink-content {
  background-color: var(--pink);
  border-radius: 5px;
  height: 100%;
}

/* Photo Styling */
.portrait {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  /* Tablet and above */
  .container {
    max-width: 720px;
  }
  
  #hero h1 {
    font-size: 3.5rem;
  }
  
  /* Two-column layout for wider screens */
  .wide-layout {
    display: flex;
    flex-wrap: wrap;
  }
  
  .wide-layout .col-left,
  .wide-layout .col-right {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
  }
}

@media (min-width: 992px) {
  /* Desktop */
  .container {
    max-width: 960px;
  }
  
  
  /* Enhanced desktop layout */
  .row-desktop {
    display: flex;
    align-items: center;
  }
  
  .col-desktop-left {
    flex: 1;
    padding-right: 2rem;
  }
  
  .col-desktop-right {
    flex: 1;
    padding-left: 2rem;
  }
}

/* Add additional swirl background elements */
.swirl-top-right {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('sources/assets/krakel_kombi_sw.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
  mix-blend-mode: soft-light;
  filter: contrast(0.2);
}

.swirl-bottom-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('sources/design_sources/kringel_8.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.4;
  z-index: 0;
  mix-blend-mode: darken;
}

/* Mobile-specific adjustments to match flyer layout */
@media (max-width: 767px) {
  .section-orange,
  .section-green,
  .section-pink,
  .section-rose {
    padding: 2rem 1rem;
  }
  
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  #hero {
    padding: 2.5rem 1rem;
  }
  
  #hero h1 {
    font-size: 2.2rem;
  }
  
  /* Force sections to appear in the same order as the flyer */
  body .container-fluid {
    display: flex;
    flex-direction: column;
  }
  
  /* Adjust spacing to match flyer */
  .section-white,
  .section-orange,
  .section-green,
  .section-pink,
  .section-rose {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  /* Portrait image scaling for mobile */
  .portrait {
    max-height: 90vh;
    width: auto;
    margin: 0 auto;
    display: block;
  }
  
  /* Ensure correct order for stacked content */
  .order-1 {
    order: 1 !important;
  }
  
  .order-2 {
    order: 2 !important;
  }
  
  /* Adjust spacing for side-by-side sections on mobile */
  #features .col-12,
  #natural-interaction .col-12 {
    margin-bottom: 2rem;
  }
}
