/*-- Body Reset --*/
body {
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  color: #616971;
  background-color: #e8f5e9;
  
}
html, body {
  height: 100%;
  margin: 0;
}

.content-wrapper {
  min-height: 100vh;
  padding-bottom: 60px; /* Matches footer height */
  box-sizing: border-box; /* Ensures padding doesn’t affect total height */
}
/*============= TOP BAR HEADER =============*/
.top-bar {
  background: #f1e306;
  height: 2.8rem;
  padding: .5rem 0;
}
.top-bar a{
  color: black;
  text-decoration: none;
  font-size: 1.1rem;
}


/*============= NAVIGATION =============*/
.navbar-brand img{
  width: 15rem;
  height: auto;
}

.navbar {
  background-color: #f4eafb;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .1rem;
  box-shadow: 0 .5rem .5rem rgba(0, 0, 0, .1);
  z-index: 1;
}
.nav-item {
  padding: .5rem;
}
.nav-link {
  color: #5b5555!important;
}
.nav-link.active, 
.nav-link:hover {
  color: #e8e006!important;
}

.bg-custom {
  background-color: rgba(0, 0, 0, .4);
  color: white;
  border-radius: 1rem;
}


.border-primary {
  border-top: .2rem solid #f1e306!important;
}

.img-fluid {
  max-width: 20rem; /* Adjust the size to your preference */
  height: auto; /* Maintains aspect ratio */
  display: block; /* Centers the image */
  margin: 0 auto; /* Centers the image horizontally */

}
#about .img-fluid {
  box-shadow: none; /* Removes any shadow */
  margin-bottom: 2rem;
  
}
#about p{
  font-size: 1.15rem;
}
.btn-lg {
  border-radius: 0;
  text-transform: uppercase;
  font-size: 1rem;
  border-width: medium;
}
.btn-danger {
  background-color: #ac2615;
  border: .05rem solid #ac2615;
}
.btn-primary {
  background-color: #f1e306;
  border: .05rem solid #f1e306;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #f1e306!important;
  border: .05rem solid #f1e306!important;
}

/* Background colors for each section */

#about {
  /* background-color: #f3e5f5; Light purple for About section */
  background-color: #e8f5e9; /* Light purple for About section */
  
}

#book {
  background-color: #eee2f9; /* Light purple for About section */
  /* background-color: #e8f5e9; Light green for Book section */
}

#contact {
  background-color: #fffde7; /* Light yellow for Contact section */
}

/*===== FIXED BACKGROUND IMG =====*/

.fixed-background {
  overflow: hidden; /*-- Correction for iOS --*/
}


/*-- Emoji Navbar --*/

#contact.jumbotron {
  margin-bottom: 0;
  padding-bottom: 0; /* Optional: Adjusts padding if extra space remains */
}

/*============= FOOTER =============*/

footer {
  background-color: #383838;
  padding: 1rem 2rem 3rem;
  margin-top: 0;
  padding-top: 0; /* Optional */
  height: 100px; /* Adjust based on footer height */
  margin-top: -100px; /* Matches footer height to keep it at bottom */
  bottom: 0;
  width: 100%;
  position: relative;
}
footer img {
  height: 3.5rem;
  margin: 1.5rem auto;

}
footer p, footer a,
.socket a {
  color: white;
  text-decoration: none;

}
ul.social {
  list-style-type: none;
  display: flex;
  max-width: 16rem;
  margin: 0 auto;
  padding: 0;
}
ul.social li {
  margin: 0 auto;
}
footer .svg-inline--fa{
  font-size: 2.3rem;
}

footer .svg-inline--fa:hover {
  color: #68a0d2;
}

/*============= SOCKET =============*/

.socket {
  background-color: #222222;
  border-top: .1rem solid #ebd914;
}

/* New styling for About and Book sections */

#about img {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#book h2 {
  color: #ac2615;
  font-weight: bold;
}

.btn-danger {
  background-color: #ac2615;
  border: none;
}

/*============= MEDIA QUERIES =============*/

/* Devices under 1199px (xl) */
@media (max-width: 1199.98px) {

}
/* Devices under 768px (md) */
@media (max-width: 767.98px) {

}


/*============ BOOTSTRAP BREAK POINTS:

Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/

/*-- Bootstrap Mobile Gutter Fix --*/
.row, .container-fluid {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

/*-- Fixed Background Image --*/
.fixed-background {
  position: relative;
  width: 100%;
  z-index: 1000!important;
}
.fixed-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -999 !important;
}
.fixed {
  z-index: -999!important;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}