/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
}


/* Section HERO */
.hero {
  height: 100vh;
  background: url("images/background.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(141, 122, 60, 0.55); /* #8D7A3C transparent */
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Sections */
.section {
  padding: 4rem 10%;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  color: #ED8452;
  margin-bottom: 1.5rem;
}

.qualifications ul, .offer ul {
  list-style: none;
  padding-left: 0;
}

.qualifications li, .offer li {
  margin-bottom: 0.5rem;
}

/* Offer */
.offer ul {
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: #ED8452;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #8D7A3C;
}

/* Footer */
.footer {
  background: #8D7A3C;
  color: white;
  padding: 2rem;
  text-align: center;
}

.footer .socials {
  margin-top: 1rem;
}

.footer .socials a {
  color: white;
  margin: 0 0.5rem;
  text-decoration: none;
  font-weight: bold;
}

.footer .socials a:hover {
  color: #ED8452;
}

:root {
  --main-font: 'Poppins', sans-serif;
}

body {
  font-family: var(--main-font);
  background: #d8d8c8;
  color: #333;
  line-height: 1.6;
}

/* ---- Section About me in grid ---- */
/* Header About me outside of tile */
.about-title {
  text-align: center;
  font-size: 2.5rem;
  color: #ED8452;
  margin-bottom: 2rem;
}

/* About tile */
.about-box {
  background: rgba(255, 255, 255, 0.15);
  color: #8D7A3C;
  padding: 3rem 2rem;
  border-radius: 30px;
  max-width: 1000px;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  text-align: center;
  text-wrap: pretty;
}

/* Paragraphs */
.about-box p {
  margin-bottom: 1.5rem; /* Bigger spacing between paragraphs */
}

/* Qualifications centered to tile */
.qualifications {
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: 20px;
  text-align: center;
  margin-top: 2rem;
}

.qualifications h3 {
  margin-bottom: 1rem;
}

.qualifications ul {
  list-style: none;
  padding: 0;
}

.qualifications li {
  margin-bottom: 0.5rem;
}


/* Offer section */
/* Header outside of tile */
.offer-title {
  text-align: center;
  font-size: 2.5rem;
  color: #ED8452;
  margin-bottom: 2rem;
}

/* Tile with offer */
.offer-box {
  background: rgba(255, 255, 255, 0.15);
  color: #8D7A3C;
  padding: 3rem 2rem;
  border-radius: 30px;
  max-width: 1000px;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  text-align: center;
  text-wrap: pretty;
}

.offer-box p {
  margin-bottom: 1.5rem;
}

.offer-box ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.offer-box li::before {
  content: "●"; 
  margin-right: 0.5rem;
}

.offer-box li {
  margin-bottom: 0.8rem;
  display: block;
  text-align: center;
}

.offer-box .btn {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: #ED8452;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.offer-box .btn:hover {
  background: #8D7A3C;
}

.about-box, .offer-box, .qualifications {
  max-width: 900px;          /* Prevents text stretching */
  margin: auto;               /* Center at tile */
}


  
/* Container of horizontal scroll */
.horizontal-scroll {
  display: flex;              
  overflow-x: auto;           
  scroll-snap-type: x mandatory; /* Stop at tile */
  scroll-behavior: smooth;    
  height: 100vh;              /* Height equal to view */
}

/* Scrollbar hiding */
.horizontal-scroll::-webkit-scrollbar {
  display: none;
}
.horizontal-scroll {
  -ms-overflow-style: none;  /* IE 10+ */
  scrollbar-width: none;     /* Firefox */
}

.section-box {
  position: relative;
  flex: 0 0 100vw;            /* Width equal to window width */
  height: 100vh;              /* Height equal to window height*/
  box-sizing: border-box;
  color: #8D7A3C;
  padding: 3rem 5%;
  border-radius: 75px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  text-align: center;
  scroll-snap-align: center;
  z-index: 1;
  overflow: hidden;
}

.section-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("images/paw-background.jpg") center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.section-box > * {
  position: relative;
  z-index: 1;
}

.about-box,
.offer-box,
.accordion-content {
  position: relative;
  background-color: rgb(232, 233, 223);
}


/* Headers and paragraphs */
.about-title, .offer-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.about-box p, .offer-box p {
  margin-bottom: 1.5rem;
}

/* Qualifications */
.qualifications {
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: 20px;
  text-align: center;
}

.qualifications h3 {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .section-box {
    flex: 0 0 300px;
    padding: 2rem 1rem;
  }

  .about-title, .offer-title {
    font-size: 2rem;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--main-font);
  z-index: 10;
}


.scroll-indicator .dots {
  display: flex;
  gap: 0.5rem;
}

.scroll-indicator .dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.scroll-indicator .dot.active {
  background: #ED8452;
}

.scroll-indicator .scroll-arrow {
  font-size: 1.2rem;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s;
}

.scroll-indicator .scroll-arrow:hover {
  color: #ED8452;
}

.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.qualification-category {
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.qualification-category h3 {
  margin-bottom: 1rem;
  color: #8D7A3C;
}

.qualification-category ul {
  list-style: none;
  padding: 0;
}

.qualification-category li {
  margin-bottom: 0.5rem;
}

/* Accordion */
.accordion {
  margin-bottom: 1rem;
}

.accordion-header {
  width: 100%;
  padding: 1rem 1.5rem;
  background: #8D7A3C;
  color: white;
  border: none;
  border-radius: 15px;
  text-align: left;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: #ED8452;
}

/* Accordion not visible at start */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgb(232, 233, 223);
  border-radius: 15px;
  margin-top: 0.5rem;
  padding: 0 1.5rem;
}

/* Button press */
.accordion-content.active {
  max-height: 250px;
  overflow-y: auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
}



/* Style of scroll line */
.accordion-content::-webkit-scrollbar {
  width: 6px;
}
.accordion-content::-webkit-scrollbar-thumb {
  background-color: #ED8452;
  border-radius: 3px;
}


.accordion-content ul {
  padding: 1rem 0;
  list-style: none;
}

.accordion-content li {
  margin-bottom: 0.5rem;
  color: #8D7A3C;
}

.accordion-content li::before {
  content: "●"; 
  margin-right: 0.5rem;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* CTA */
.cta-fixed {
  animation: pulse 3s infinite;
  position: fixed;
  bottom: 20px;         
  right: 20px;
  background: #ED8452;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: background 0.3s, transform 0.2s;
}

.cta-fixed:hover {
  background: #8D7A3C;
  transform: scale(1.05);
}



@media (max-width: 1024px) {
  .qualifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .qualifications-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile navigation */
@media (max-width: 768px) {
  .horizontal-scroll {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: visible;
    gap: 2rem;
    padding: 0;
    height: auto;
  }

  .section-box {
    padding: 2rem 1rem;
    width: 100%;
    min-width: unset;
    flex: unset;
    margin: 0 auto;
    max-width: 1000px;
    height: auto;
  }
}



.section-box p,
.section-box li {
  line-height: 1.8;  /* Bigger spacing */
  word-wrap: break-word; /* Break down long words */
  white-space: normal;   /* Prevents text from "sliding" */
}

/* Turn off dots navigation for mobile */
@media (max-width: 768px) {
  .scroll-indicator {
    display: none;
  }
}
