/* Base Styles */
.dbs-page-body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #2C2C2C;
  color: #f4f4f4;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header Styles for the page */
.dbs-page-header {
  background: linear-gradient(to right, #88304E, #522546);
  color: white;
  text-align: center;
  padding: 50px 20px;
}

.dbs-page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8em;
  margin: 0;
  color: #F7374F;
}

/* Styling for paragraphs in the header */
.dbs-page-header p {
  font-size: 1.2em;
  margin-top: 10px;
  color: #f0c9d2;
}

/* Navigation Bar Styles */
.dbs-page-nav {
  background-color: #522546;
  padding: 15px 20px;
  text-align: center;
}

/* Styles for navigation links */
.dbs-page-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 20px;
}

.dbs-page-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

/* Hover effect for navigation links */
.dbs-page-nav a:hover {
  background-color: #F7374F;
}

/* Main Content Area Styling */
.dbs-page-main {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

/* Section Styles */
.dbs-page-section {
  margin-bottom: 40px;
  background-color: #3a3a3a;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dbs-page-section h2 {
  font-family: 'Playfair Display', serif;
  color: #F7374F;
  font-size: 1.6em;
  margin-top: 0;
}

/* dbs picture styling*/
.dbs-pic {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}



/* Base Styles */
.mainmenu-body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #2C2C2C;
  color: #f4f4f4;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header Styles for the page */
.mainmenu-header {
  background: linear-gradient(to right, #88304E, #522546);
  color: white;
  text-align: center;
  padding: 50px 20px;
}

/* Header Styles for the page */
.mainmenu-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8em;
  margin: 0;
  color: #F7374F;
}

/* Styling for paragraphs in the header */
.mainmenu-header p {
  font-size: 1.2em;
  margin-top: 10px;
  color: #f0c9d2;
}

/* Navigation Bar Styles */
.mainmenu-nav {
  background-color: #522546;
  padding: 15px 20px;
  text-align: center;
}

/* Styles for navigation links */
.mainmenu-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 20px;
}

.mainmenu-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

/* Hover effect for navigation links */
.mainmenu-nav a:hover {
  background-color: #F7374F;
}

/* Main Content Area Styling */
.mainmenu-main {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

/* Section Styles */
.mainmenu-section {
  margin-bottom: 40px;
  background-color: #3a3a3a;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mainmenu-section h2 {
  font-family: 'Playfair Display', serif;
  color: #F7374F;
  font-size: 1.6em;
  margin-top: 0;
}

.profile-pic {
  max-width: 150px;
  border-radius: 10px;
  float: right;
  margin: 0 0 15px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.image-credit {
  font-size: 0.7em;
  color: #555;
  text-align: center;
  margin-top: 5px;
}

.contact-body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #2C2C2C;
  color: #f4f4f4;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header Styles for the page */
.contact-header {
  background: linear-gradient(to right, #88304E, #522546);
  color: white;
  text-align: center;
  padding: 50px 20px;
}

/* Header Styles for the page */
.contact-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8em;
  margin: 0;
  color: #F7374F;
}

/* Styling for paragraphs in the header */
.contact-header p {
  font-size: 1.2em;
  margin-top: 10px;
  color: #f0c9d2;
}

/* Navigation Bar Styles */
.contact-nav {
  background-color: #522546;
  padding: 15px 20px;
  text-align: center;
}

/* Styles for navigation links */
.contact-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 20px;
}

.contact-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

/* Hover effect for navigation links */
.contact-nav a:hover {
  background-color: #F7374F;
}

/* Main Content Area Styling */
.contact-main {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

/* Section Styles */
.contact-section {
  background-color: #3a3a3a;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-section h2 {
  font-family: 'Playfair Display', serif;
  color: #F7374F;
  font-size: 1.6em;
  margin-top: 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

label {
  font-weight: 600;
}

input,
textarea {
  padding: 10px;
  font-size: 1em;
  border-radius: 5px;
  border: none;
}

input[type="text"],
input[type="email"] {
  background-color: #f4f4f4;
}

textarea {
  background-color: #f4f4f4;
  resize: vertical;
  height: 150px;
}

button {
  padding: 10px 20px;
  font-size: 1.1em;
  background-color: #F7374F;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #88304E;
}


button.global-Home {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1.5rem;
  background-color: #88304E;
  color: white;
}

button.global-Home:hover {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1.5rem;
  background-color: #3a3a3a;
  color: white;
}

.new-theme button.global-Home {
  background: linear-gradient(to right, #fcddec, #e1c8e9);
  color: #4a4a4a;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, color 0.3s;
}

.new-theme button.global-Home:hover {
  background: #F7374F;
  /* Solid color on hover */
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.projects-main {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.projects-section {
  text-align: center;
}

.projects-section h2 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  color: #F7374F;
}

.new-theme .projects-section h2 {
  color: #88304E;
}

.menu-item {
  display: block;
  margin: 0.5rem auto;
  width: fit-content;
  padding: 10px 20px;
  background-color: #F7374F;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.menu-item:hover {
  background-color: #88304E;
}

/* Base Styles */
.index-body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #2C2C2C;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header Styles for the page */
.index-header {
  background: linear-gradient(to right, #88304E, #522546);
  color: white;
  text-align: center;
  padding: 50px 20px;
}

.index-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3em;
  margin: 0;
  color: #F7374F;
}

/* Styling for paragraphs in the header */
.index-header p {
  font-size: 1.1em;
  margin-top: 10px;
  color: #f0c9d2;
}

#themeToggle {
  margin-top: 20px;
  padding: 8px 16px;
  background-color: #F7374F;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

/* Main Content Area Styling */
.index-main-home {
  padding: 40px 20px;
  height: 170px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.menu-item-home {
  text-decoration: none;
  box-shadow: #9d174d;
  background-color: #522546;
  color: #f0c9d2;
  padding: 55px 40px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  font-size: 1.8em;
  font-weight: 600;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  text-align: center;
  border: 2px solid transparent;
}

/* Main Content Area Styling */
.index-main {
  padding: 40px 20px;
  height: 100px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.menu-item {
  text-decoration: none;
  box-shadow: #9d174d;
  background-color: #522546;
  color: #f0c9d2;
  padding: 55px 40px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  font-size: 1.2em;
  font-weight: 600;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  text-align: center;
  border: 2px solid transparent;
}

.dbs-page-main .menu-item {
  padding: 10px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
} 

.menu-item:hover {
  background-color: #F7374F;
  color: white;
  transform: translateY(-5px);
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #522546;
  color: #ccc;
  font-size: 0.9em;
}

#themeToggle {
  margin-top: 20px;
  padding: 8px 16px;
  background-color: #F7374F;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

/* Light Mode Styles */
.new-theme body {
  background-color: #f7f7f7;
  color: #222;
}

.new-theme header {
  background: linear-gradient(to right, #fcddec, #e1c8e9);
}

.new-theme header h1 {
  color: #9d174d;
}

.new-theme header p {
  color: #4a4a4a;
}

.new-theme .menu-item {
  text-decoration: none;
  background-color: #f0c9d2;
  color: #522546;
}

.new-theme .menu-item-home {
  text-decoration: none;
  background-color: #f0c9d2;
  color: #522546;
}

.new-theme nav {
  background-color: #e1c8e9;
}

.new-theme nav a {
  color: #333;
}

.new-theme main {
  background-color: #fff;
  color: #333;
}

.new-theme section {
  background-color: #f5e0f2;
}

.new-theme section h2 {
  color: #9d174d;
}

.new-theme footer {
  background-color: #ddd;
  color: #333;
}

#scrollTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #F7374F;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2em;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: none;
  /* hidden by default */
  z-index: 1000;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#scrollTop:hover {
  background-color: #88304E;
  transform: translateY(-3px);
}

/* Language Buttons Container */
.lang-buttons {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

/* Individual Language Button */
.lang-btn {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.lang-btn:hover {
  background-color: #555;
  transform: scale(1.05);
}

/* Button Styling */
.lang-btn.active {
  background-color: #007bff;
  font-weight: bold;
}

.new-theme .lang-btn {
  background-color: #ddd;
  color: #000;
}

.new-theme .lang-btn:hover {
  background-color: #bbb;
}

/* Mobile and other displays Adjustments */
@media (max-width: 768px) {
  .lang-buttons {
    top: 10px;
    right: 10px;
  }

  .lang-btn {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Modal content */
.modal-content {
  margin: 15% auto;
  padding: 20px;
  border-radius: 30px;
  width: 80%;
  max-width: 600px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}

/* Light Mode */
body:not(.new-theme) .modal-content {
  background-color: #fff;
  color: #000;
}

/* Dark Mode */
body.new-theme .modal-content {
  background-color: #333;
  color: #fff;
}

/* Close Button Styling */
.close-btn {
  font-size: 30px;
  font-weight: bold;
  color: #ecdbdb;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

/* Close Button on Dark Mode */
body.new-theme .close-btn {
  color: #fff;
}

/* Hover effect for the close button */
.close-btn:hover {
  color: red;
}



/* Styling for the Visit Counter */
#visitCounter {
  font-size: 1.2rem;
  font-weight: bold;
  color: #f0c9d2;
  padding: 10px;
  background-color: #F7374F;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  bottom: 3px;
  left: 20px;
  z-index: 1000;
  /* Makes sure it's above other content */
  transition: background-color 0.3s ease;
}

/* Dark mode adjustments for the Visit Counter */
.new-theme #visitCounter {
  background-color: #f0c9d2;
  color: #333;
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }
}