/* Base styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #990000;
    background-color: white;
}

.container {
    max-width: 1536px;
    margin: 0 auto;
    padding: 10px;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: white;
    position: relative;
    z-index: 5;
    padding-bottom: 10px;
}

/* Top bar with optional raised effect (currently no shadow as per request) */
.top-bar.raised {
    box-shadow: none;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 60px;
}

.tagline {
    font-size: 14px;
}

.slogan {
    text-align: right;
    font-size: 14px;
    line-height: 1.4;
}

/* Main content section */
.main-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-top: 80px; /* space for nav bar */
}

/* Navigation bar */
.nav-bar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    z-index: 2;
}

.nav-bar.with-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background-color: white;
    padding: 12px 24px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
    margin-bottom: 40px;
}

.nav-bar a {
    text-decoration: none;
    color: #990000;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 4px;
}

/* Central image styling (for home/index page) */
.main-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* Dropdown nav (mobile) */
.nav-dropdown {
    display: none;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 14px;
    color: #990000;
    padding: 20px 0;
}

/* Services Section (used on services.php) */
.services {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    width: 100%;
    box-sizing: border-box;
}

.page-heading {
    font-size: 28px;
    font-weight: bold;
    color: #990000;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.service-button {
    border: 1px solid #990000;
    font-weight: bold;
    padding: 12px 16px;
    margin-bottom: 20px;
    background-color: white;
    color: black;
    transition: background-color 0.3s;
    width: fit-content;
}

.service-button:hover {
    background-color: #f2f2f2;
    cursor: pointer;
}
.map-container {
  flex: 1;
  min-width: 300px;
  height: 400px;  /* Increased height from 300px to 400px */
  border-radius: 6px;
}

/* Responsive layout for mobile */
@media screen and (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .slogan {
        text-align: left;
        margin-top: 10px;
    }

    .nav-bar {
        display: none !important;
    }

    .nav-dropdown {
        display: block;
        position: relative;
        margin: 20px auto 10px auto;
        padding: 10px;
        font-size: 16px;
        color: #990000;
        background-color: rgba(255, 255, 255, 0.8);
        border: 1px solid #990000;
        border-radius: 4px;
        font-weight: bold;
        z-index: 3;
        text-align: center;
    }

    .nav-dropdown option {
        color: #990000;
    }
       .secondary-nav {
        flex-direction: column;
        align-items: center;
    }

    .secondary-nav .service-button {
        width: auto;
    }
    .contact-container {
    flex-direction: column;
  }
  .map-container {
    width: 100%;
    height: 400px; /* Increased here as well */
  }
}

/* Default nav-bar (non-homepage) */
.nav-bar {
    display: flex;
    gap: 40px;
    justify-content: center;
    padding: 10px 20px;
    z-index: 2;
    background-color: white;
    border-radius: 4px;
}

/* Homepage nav overlaps image */
.home-nav {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.85);
}

/* Nav styling for both pages */
.nav-bar a {
    text-decoration: none;
    color: #990000;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-bar a:hover {
    background-color: #f8f8f8;
}

.secondary-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.secondary-nav .service-button {
    display: inline-block;
    text-align: center;
    font-size: 16px;
}

.service-description {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 16px;
    line-height: 1.6;
    color: black;
}
.service-button {
    display: inline-block;
    text-decoration: none;
    border: 1px solid #990000;
    font-weight: bold;
    padding: 12px 16px;
    margin-bottom: 20px;
    background-color: white;
    color: black;
    transition: background-color 0.3s;
    width: fit-content;
    text-align: center;
    border-radius: 4px;
}

.service-button:hover {
    background-color: #f2f2f2;
    cursor: pointer;
}

/* Center the Coming up image (domains.php) */
.blank-center {
  width: 100% !important;
  min-height: 50vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 40px 20px !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.blank-center .center-holder {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

.coming-image {
  display: block !important;
  margin: 0 auto !important;
  max-width: 50% !important;
  height: auto !important;
  width: min(720px, 90%) !important;
  float: none !important;
}
