.img {

    max-width: 100%; /* Ensures the image never exceeds the width of its parent container */
    height: auto;    /* Maintains the image's aspect ratio */
}

.image-container {
    width: 100%; 
    overflow: hidden; /* Hide any overflowing parts of the image */
}

.hidden {
	display: none;
}

.section {
    display: none;
    width: min(1100px, 92%);
    margin: clamp(80px, 10vw, 120px) auto;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zoomable {
    max-width: 400px;
    height: auto;
    width: 100%;
    cursor: pointer;
    transition-property: transform;
    transition-duration: 0.2s;
    transition-timing-function: ease;
  }

.zoomable:hover {
    transform: scale(1.05);
  }

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;                   /* VERY important */
  }
  
#lightbox-img {
    max-width: 90%;
    max-height: 85%; 
    object-fit: contain;
  }
  
#lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}
  
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:  18px 24px;
    position: sticky;
    top: 0;
    z-index: 3000;
    background: rgba(248,245,240,0.78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
 /* Positions dropdown on right under burger */
  .nav-right {
    position: relative;
    display: flex;
    align-items: center;
}
  
  /* MENU (desktop default) */
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  
  /* HAMBURGER hidden on desktop */
  .hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }

  .nav-menu a,
  .nav-menu button {
    display: flex;
    align-items: center;
    font-family: 'Manrope', sans-serif;
    font-size: 0.98rem;
    line-height: 1;
    color: #4b4b4b;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
    transition:
        color 0.25s ease,
        opacity 0.25s ease;
  }

  /* hover effect */
 .nav-menu a:hover,
 .nav-menu button:hover {
    color: #7A6D8A;
    opacity: 0.85;
  }

 /* active/clicked item */
 .nav-menu a.active,
 .nav-menu button.active {
    color: #6B4F71;
    opacity: 1;
  }

  .nav-style {
    font-family: 'Manrope', sans-serif;
    color: #4b4b4b;
    font-size: 0.98rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
    position: relative;
}
  
  /* 📱 MOBILE */
  @media (max-width: 768px) {
  
    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        flex-direction: column;
        background: rgba(255,255,255,0.92);
        backdrop-filter: blur(10px);
        padding: 18px;
        border-radius: 12px;
        gap: 14px;
        min-width: 180px;
        z-index: 2000;
    }

    .nav-menu.active {
        display: flex;
    } 
    
    .nav-menu a,
    .nav-menu button {
        display: block;
        width: 100%;
        text-align: left;
    }

  }
 
    .murals-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-top: 40px;
      }
      
      .mural-card {
        text-align: center;
        padding: 10px;
        padding: 22px;
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: center;
        box-shadow: 0 8px 24px rgba(0,0,0,0.04);
        border-radius: 18px;
        transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
      }

      .mural-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 32px rgba(0,0,0,0.07);
     }
      
      .mural-image {
        width: 100%;
        height: clamp(340px, 45vw, 420px);
        object-fit: cover;
        border-radius: 14px;
        display: block;
      }

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

      /* will essentially reuse these classes for different sections */

      /* Default text styling */

      .section p {
        font-size: clamp(0.9rem, 2vw, 1.2rem);
        line-height: 1.7;
        max-width: 1000px;
      }

      .emphasis {
        font-weight: 600;
        font-size: 1.1rem;
        color: #333;
      }

      .section h3 {
        font-size: clamp(1rem, 1vw + 0.6rem, 1.25rem);
      }

      .about {
        width: 90%;
        margin: 0 auto;
        padding: 20px;
      }
      
      .about p {
        font-size: clamp(0.9rem, 3vw, 1.15rem);
        line-height: 1.7;
        margin-bottom: 1.5rem;
      }

      .about h3 {
        font-size: clamp(1rem, 1vw + 0.6rem, 1.25rem);
        font-weight: 600;
        margin-bottom: 1rem;
    }

      .contact {
        margin: 0 auto;
        padding: 20px;
        text-align: center;
        max-width: 600px;
    } 

    .contact-form{
        display: flex;
        flex-direction: column;
        text-align: left;
        font-size: clamp(0.9rem, 2vw, 1.2rem);
        margin-top: 20px;
        font-family: 'Manrope', sans-serif;
        gap: 14px;
    }

    .contact-form :is(input, select, textarea) {
        font: inherit;
        padding: 12px 14px;
        border: 1px solid rgba(0,0,0,0.12);
        border-radius: 10px;
        background: rgba(255,255,255,0.7);
        backdrop-filter: blur(8px);
        outline: none;
        transition: 0.2s ease;
        border-color: #9D84B7;
        box-shadow: 0 0 0 4px rgba(157,132,183,0.15);
    }

    .contact-form input[type="submit"] {
        width: 100%;
        max-width: 100%;
        display: block;
    }

    .contact-info {
        margin-top: 30px;
        text-align: center;
        font-family: 'Manrope', sans-serif;
    }

    .hero {
        min-height: 100vh;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-image:
        linear-gradient(
        135deg,
        rgba(210, 180, 255, 0.30),
        rgba(170, 230, 210, 0.22)
    ),
            url("/public/Images/backgroundpige.jpg");
    
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 40px;
        z-index: 1;
        gap: 50px;
    }

    #logo {
        width: clamp(520px, 63vw, 1120px);
        height: auto;
        position: relative;
        z-index: 2;
        filter:
        drop-shadow(0 18px 35px rgba(0,0,0,0.35));
        margin-left: -80px;
    }

    .hero::before {
        content: "";
        position: absolute;
        left: 65%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: clamp(350px, 45vw, 850px);
        height: clamp(350px, 45vw, 850px);
        background: radial-gradient(
            circle,
            rgba(220, 190, 255, 0.45) 0%,
            rgba(190, 255, 220, 0.18) 45%,
            transparent 75%
        );
    
        filter: blur(55px);
        border-radius: 50%;
        z-index: 1;
        pointer-events: none;
    }

    body {
        margin: 0;
        background-color: #F8F5F0;
        color: #444444; /* soft charcoal text */
        background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
        background-size: 20px 20px;
    }
    
    h1, h2, h3 {
        color: #2f2f2f;
        font-family: 'Playfair display', serif;
    }

    .hero-text {
        flex: 1;
        color: white;
        position: relative;
        z-index: 2;
    }
    
    .hero-text h1 {
        font-size: clamp(2.2rem, 4.8vw, 4.4rem);
        line-height: 1.08;
        margin-bottom: 20px;
        font-weight: 700;
        max-width: 650px;
        text-shadow: 0 2px 8px rgba(0,0,0,0.45);
        font-family: 'Playfair display', serif;
    }
    
    .hero-text p {
        font-size: clamp(1rem, 2vw, 1.3rem);
        line-height: 1.7;
        max-width: 38ch;
        color:   #5E556B;
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        padding-top: 20px;
    }
    

    @media (max-width: 768px) {

        .hero {
            flex-direction: column;
            text-align: center;
            content: center;
            padding-top: 120px;
        }
    
        .hero-text {
            order: 2;
        }
    
        #logo {
            order: 1;
            width: min(620px, 150vw, 980px);
            margin-left: 14px;
        }
    
       .hero::before {
    
           left: 50%;
           top: 34%;
           transform: translate(-50%, -50%);
           width: clamp(260px, 70vw, 500px);
           height: clamp(260px, 70vw, 500px);
        }
    
        .hero-text h1 {
            max-width: 100%;
            font-size: clamp(1.9rem, 8vw, 3rem);
            line-height: 1.1;
               
            
        }

        .hero-text p {
            font-size: 0.95rem;
            line-height: 1.6;
        }
    }

    .hero-text span {
        color: #FFD6EC;
    }

    body, p, button, a {
        font-family: 'Manrope', sans-serif;
    }

    .hero-btn {
        display: inline-block;
        margin-top: 28px;
        padding: 14px 28px;
        border-radius: 999px;
        background: #6A6077;
        color: #FFD6EC;
        text-decoration: none;
        font-family: 'Manrope', sans-serif;
        font-weight: 500;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.2);
        transition: all 0.3s ease;
    }

    .hero-btn:hover {
        transform: translateY(-2px);
        background:  #2f2f2f;
        box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    }

    .brand {
        font-family:  'Playfair display', serif;
        font-size: clamp(1.2rem, 2.5vw, 1.7rem);
        font-weight: 600;
        letter-spacing: 0.02em;
        color: #2f2f2f;
    }

/*Spacing for small screen contact form */
@media (max-width: 768px) {

    .section,
    .about,
    .contact {
        width: 92%;
        margin: 50px auto;
        padding: 0;
    }

    .contact-form {
        gap: 12px;
    }
    .flash-message {
        margin-top: 10px;
        padding: 10px 12px;
    }

}
/*book link to amazon*/
.books-button-wrapper {
    text-align: center;
    margin-top: 35px;
}

.pricing{
    margin-top: 25px;
    margin-bottom: 25px;
}

.title {
    font-size:  clamp(1.6rem, 2vw + 1rem, 2rem);
    font-weight: 600;
    margin-top: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
  }

  .me{
    font-size: clamp(1.6rem, 2vw + 1rem, 2rem);
    font-weight: 600;
    margin-top: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
  }
/* Social media links styling in about section */
  .social-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Manrope', sans-serif;
    transition: all 0.25s ease;
}

.social-links a:hover {
    color: #5E556B;
    transform: translateX(4px);
}

.social-links i {
    font-size: 1.3rem;
}
/* just making sure all h3 is consistent*/
h3 {
    font-size: clamp(1rem, 1vw + 0.6rem, 1.25rem);
    font-weight: 600;
    line-height: 1.3;
}
/* style for form submit button*/
.contact-form input[type="submit"] {
    margin-top: 10px;
    padding: 14px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #6A6077;
    color: #FFD6EC;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-form input[type="submit"]:hover {
    background: #2f2f2f;
    transform: translateY(-2px);
}
/* message after submitting form succes or error */
.flash-message {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(210, 180, 255, 0.18);
    border: 1px solid rgba(106, 96, 119, 0.14);
    color: #2f2f2f;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.5;
    text-align: center;
}

html{
    scroll-behavior: smooth;
}
/* styling the recaptcha not a robot*/
.g-recaptcha {
    margin-top: 14px;
    margin-bottom: 10px;

    display: flex;
    justify-content: center;

    transform: scale(0.95);
    transform-origin: 0 0;
}
/* recaptcha not a robot look cuter outline*/ 
.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(138, 99, 190, 0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.08);
    margin-top: 16px;
}