
:root {
  --main-bg-color: rgba(140, 127, 14, 0.853); 

}
.dark-mode {
  --main-bg-color: black; 
  color: white;
  background-color: #212529;
  transition: background-color 0.5s, color 0.5s;
}
body {
  width: 100vw; 
  height: 100vh;
}
.dark-mode .navbar {
  background-color: #000 !important;
}
.dark-mode .navbar .nav-link {
  color: white;
}
.dark-mode .navbar .nav-link:hover {
  color: #ddd;
}
.navbar-brand {
    font-family: 'Georgia', serif;
}
.navbar-nav {
    text-align: center;
    font-size: 16px;
}
.nav-link {
    text-decoration: none;
    opacity: .7;
}
.nav-link:hover {
    color:black;
    opacity: 1.0;
    transition-duration: 1.0s;

}
  /*nav bar buttons div in header.html */
.navbar-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 10px;
}
.navbar-buttons > * {
  padding: 4px;
}

.main-content {
  color: var(--main-bg-color);
  margin-bottom: 30px;
}

/* just added below for pendants.php main image container*/
 .jewelry-images > *:hover {
    transform: scale(1.35) rotate(0.01deg);
    transition-duration: 5.0s;
  }

  .jewelry-images > *:not(:hover) {
    transform: scale(1.0) rotate(0.01deg);
    transition-duration: 2.0s;
  }
.jewelry-images {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
  overflow: hidden;
  justify-content: space-around;
}
.carousel-item {
    height: auto;
    overflow:hidden;
}

.carousel-item img {
    margin: 0 auto;  /* Centers the image */
    display: block;  /* Required for margin auto to work */
    object-fit: cover;
    width: 100vw;
    height: 80vh;
}
.carousel-caption {
  border-radius: 5px;
  max-width: 200px;
  padding: 4px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--main-bg-color);
    border-radius: 10%;
    padding: 30px;
}
.about-class {
    display:flex;
    background-color: black;
}
#about img{
    width: 70vw;
    height: auto;
    border:1px solid black;
    height: auto;
}
#profile img{
    width: 30vw;
    height: auto; 
    border:1px solid black;
    height: auto;
    overflow:hidden;
}
.card {
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    background-color: white;
}
.card-header {
 /* font-family: 'Georgia', serif; */
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--main-bg-color);
}

.card-header h3 {
    color: ;
    font-weight: 500;
}
.dark-mode .card-header h3 {
  color: rgba(140, 127, 14, 0.853);
}
.dark-mode .card-header {
  color: rgba(140, 127, 14, 0.853);
}
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#contact-detail {
  max-width: 800px;
  display: flex;
  padding: 10px;
  gap: 10px;
}
#contact-image {
  width: 400px;
}
/* Footer Styles */
/*.footer {
    background-color: #212529;
    color: white;
    padding: 3rem 0 2rem;
    position: relative;
    margin-top: 3rem;
}*/
.footer {
    background-color: #212529;
    color: white;
    padding: 3rem 0 2rem;
    position: relative;
    margin-top: 3rem;
    min-height: 400px; /* Set minimum height to prevent layout shifts */
    width: 100%;
    contain: layout; /* Modern browsers - improves layout stability */
}

.footer-heading {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--main-bg-color);
}

.footer a {
    color: #f8f9fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: rgba(140, 127, 14, 0.853);
    text-decoration: none;
}

/* Contact section */
.footer-contact {
    min-height: 105px; /* Space for 3 items at 0.75rem margin each */
}

.footer-contact li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-contact li i {
    margin-right: 0.75rem;
    color: rgba(140, 127, 14, 0.853);
}

/* Social media links */
.social-links {
    display: flex;
    gap: 1rem;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.social-icon:hover {
    background-color: rgba(140, 127, 14, 0.853);
    transform: translateY(-3px);
}
.social-icon i {
    font-size: 1.2rem;
}
/* Newsletter form */
.newsletter-form {
    min-height: 220px; /* Reserve space for the entire form */
    display: flex;
    flex-direction: column;
}

.newsletter-form label {
    margin-bottom: 0.5rem;
}
.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.625rem;
    transition: all 0.3s ease;
}

.newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(140, 127, 14, 0.853);
    box-shadow: 0 0 0 0.2rem rgba(140, 127, 14, 0.25);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-check-input {
    border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-form .form-check-input:checked {
    background-color: rgba(140, 127, 14, 0.853);
    border-color: rgba(140, 127, 14, 0.853);
}

.newsletter-form .btn {
    padding: 0.5rem 1.5rem;
    border-width: 2px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    background-color: rgba(140, 127, 14, 0.853);
    border-color: rgba(140, 127, 14, 0.853);
    transform: translateY(-2px);
}

/* Footer links -- Quick links */
.footer-links li {
    margin-bottom: 0.75rem;
/*    min-height: 105px;  Based on 3 links with margins */
}

.footer-links li a {
    display: flex;
    align-items: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-links li a i {
    margin-right: 0.5rem;
    font-size: 0.875rem;
    color: rgba(140, 127, 14, 0.853);
}

/* Copyright section */
.copyright {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    opacity: 0.8;
}
.modal-content {
  color: white;
}
.modal-body {
  color: black;
}
.modal-header {
  color: var(--main-bg-color);
}
/* Newsletter Modal in Dark Mode */
.dark-mode .modal-content {
    background-color: #212529;
    color: white; 
}

.dark-mode .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.dark-mode .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .btn-close {
    filter: invert(1);
}
.form-check { /* for mailing list */
  margin-top: 10px;
  margin-bottom: 10px;
  display:flex;
  padding: 10px;
}
.jovian-link {
  margin-top: 20px;
}
 /* Media query for screens less than 992px */
 
 @media (max-width: 992px) {
    .navbar-buttons .button-text {
      display: none;
    }
    .navbar-buttons {
      display:none;
    }
    .navbar-brand {
      margin: 0 auto;
    }
  } 
/* On screens that are 768px or less lets reformat some CSS */

@media screen and (max-width: 768px) {
    html {
        font-size: 10px;
    }
    .navbar-nav {
        text-align: center;
        font-size: 12px;
    }
    .navbar-brand {
        font-family: 'Georgia', serif;
        font-size: 12px;
        margin: 0 auto; 
    }
    .navbar-brand img {
      height: 50px !important;  
      width: auto; 
      padding-right: 36px;
     /* margin: 0px; */
    }
    .navbar-buttons .button-text {
      display: inline;
    }

    .main-content {
        color: var(--main-bg-color);
    }
    .carousel-item img {
        margin: 0 auto;  /* Centers the image */
        display: block;  /* Required for margin auto to work */
        object-fit: cover;
        max-width: 100vw;
    }
    .carousel-caption {
        /* padding: 1px; */
        margin-right:75%;
        border-radius: 5px;
         max-width: 100px; 
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-color: var(--main-bg-color);
        border-radius: 50%;
        width: 50px;
        height: 50px;
        padding: 2px;
    }
    #contact-image {
      width: 200px;
    }
    .modal > img {
      max-width: 100%;
      max-height: auto;
    }
    .footer {
        background-color: #212529;
        color: white;
        padding: 20px 0;
   }
   .form-group {
     margin-left: 25px;
     margin-right: 25px;
     color: white;
   }
   .form-check {
     display: block;
     margin: 0;
     margin-left: 20px;
     margin-right: 20px;
   }
   .small-menu {
     margin-top: 20px;
     
   }

}
@media (min-width: 992px) {
  .navbar-buttons .button-text {
      display: inline;
  }
  #darklight {
      display: none;
  }
  #login {
      display: none;
  }
}
