/*
|--------------------------------------------------------------------------|
|                     Place your custom styles here                        |
|--------------------------------------------------------------------------|
*/

.caps {
    text-transform: capitalize !important;
}

.logo-head-img {
    width: 35%;
}

nav ul li a {
    font-size: 1rem !important;
    font-weight: bold;
}

.about-image {
    width: 450px !important;
    height: 400px !important;
    object-fit: cover !important;
}

#switch-row {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center;
    flex-wrap: wrap;
}

/* Base styles for all platforms */
.parallax-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

/* Default background for desktop and Android (works with fixed) */
.parallax-section {
  background-image: url('../img/hero-bg-1.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* iOS FIX — simulate fixed background using ::before */
@supports (-webkit-touch-callout: none) {
  .parallax-section {
    background-attachment: scroll !important;
    background-image: none !important;
  }

  .parallax-section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-image: url('../img/hero-bg-1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
  }
}

.content {
  z-index: 1;
  padding: 100px 20px;
}


@media screen and (max-width: 740px) {
    #switch-row {
        flex-direction: column-reverse !important;
    }

    .logo-head-img {
        width: 200px;
    }

    .about-image {
        width: 350px !important;
        height: 300px !important;
        object-fit: cover !important;
    }

    @supports (-webkit-touch-callout: none) {
        .parallax-section {
            background-attachment: scroll !important;
            background-image: none !important;
        }

        .parallax-section::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            width: 100vw;
            background-image: url('../img/hero-bg-1.jpg');
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            z-index: -1;
            pointer-events: none;
        }
    }

    .content {
        z-index: 1;
        padding: 100px 20px;
    }
}