/* styles.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; /* Light background for body */
    color: black; /* Text color */
    line-height: 1.6;
    background-image: url('images/aka.JPG');
    /* background-size: cover; /* Cover the entire background */
    background-size: 100% auto;
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Do not repeat the background image */
}

header {
    background-color: #596855; /* Green header */
    color: #fff; /* White text */
    text-align: center;
    padding: 0.5em 0.25em;
    margin-bottom: 0px;
    display: flex;
    flex-direction: row;
    align-items: center; /* Center align items horizontally */
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #bba993; /* Tan background */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

section {
    margin-bottom: 40px;
    
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    margin-bottom: 8px;
}

select {
    padding: 10px;
    width: 100%;
    font-size: 1rem;
    border: 1px solid #596855; /* Border color */
    border-radius: 4px;
    margin-bottom: 10px;
}

button {
    padding: 10px 20px;
    background-color: #596855; /* Green button */
    color: #fff; /* White text */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: rgba(89, 104, 85, 0.8);
}

footer {
    background-color: #596855; /* Green footer */
    color: #fff; /* White text */
    text-align: center;
    padding: 0px 0;
/*    padding: -0.5em -0.5em;*/
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 0.75rem;
}

h1 {
    color: #bba993; /* Tan Title */
    text-align: center;
    margin-bottom: 20px;
}

.homepage {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    /* Adds line beneath the unit sections */
    border-bottom: 1px solid #596855;
    position: relative;
}

.homepage body {
    background-color: transparent;
}

.homepage img {
    width: 100%;                /* Make the image take up the full width of the container */
    height: auto;               /* Keep the image's aspect ratio intact */
}

.homepage button {
    background-color: #bba993;  /* tan background */
    color: black;
    font-weight: bold;
    border: 1px solid #000;  /* White solid border with 2px thickness */
    cursor: pointer;
    font-size: 1rem;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
    text-align: inherit;
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform: translateX(-50%); /* Center the button horizontally */
}

.homepage button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
}

.homepage p {
    background-color: #596855;  /* green background */
    color: white;
    font-weight: bold;
    border: 1px solid #fff;  /* White solid border with 2px thickness */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9); /* Optional: add a shadow to make it stand out more */
    font-size: 1rem;
    padding: 40px 40px;
    width: 100%;
    transition: background-color 0.3s ease;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Center the re horizontally */
    bottom: 55%;
    align-items: center
}

.navbar {
    display: flex;
    justify-content: center;
    margin-bottom: -10px;
    align-items: center
}

.navbar button {
    background-color: transparent;
    color: #fff;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 10px 20px;
    margin: 0 10px;
    transition: background-color 0.3s ease;
    text-align: inherit;
}

.navbar button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

/************/

/* Cherry Court Integration */

.side-button {
    display: flex;
    justify-content: center;
    margin-bottom: -10px;
    align-items: center;
    margin-left: auto;
}

.side-button button {
    background-color: #bba993; /* tan background */
    color: black;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 10px 20px;
    margin: 0 10px;
    transition: background-color 0.3s ease;
    text-align: inherit;
}

.side-button button:hover {
    background-color: rgba(255, 255, 255, 0.3);
/*    background-color: rgba(187, 169, 147, 0.3);*/
    border-radius: 4px;
}

/* Cherry Court Integration */

/************/

/* GMaps Integration */

.iframe {
    display: flex;
    justify-content: center;
/*    margin-bottom: -10px;*/
    align-items: center;
    margin-left: auto;
}

/* GMaps Integration */

/************/


h2, h3 {
    color: #596855; /* Green headings */
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin-bottom: 8px;
}

.unit {
    display: flex;
    align-items: top;
    margin-bottom: 10px;
    /* Adds line beneath the unit sections */
    border-bottom: 1px solid #596855;
    position: relative;
}

.unit img {
    width: 195px; /* Adjust width as needed */
    margin-right: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.unit-info {
    flex: 1; /* Take remaining space */
}

.unit-content h3 {
    color: #596855; /* Green headings */
    position: relative;
    text-align: top;
    padding-top: -1rem;
    padding-left: 1rem;
}


.unit-content p {
    position: relative;      /* Position relative to the image container */
    text-align: match-parent;
    padding-left: 1rem;
}

.unit-content {
    position: relative;      /* Position relative to the image container */
    align-items: top;
}

/*
.right-unit-image {
    align-items: bottom;
    position: relative;
}

.right-unit-image img {
    max-width: 165px;
    margin-left: 10rem;
}
*/


.right-unit-image {
    align-items: bottom;
    position: absolute;
    right: 1rem;
    max-height: 13rem;
}

.right-unit-image img {
    max-width: 165px;
    max-height: inherit;
    margin-left: 10rem;
}

.faq-item {
    border-bottom: 1px solid #596855; /* Border color between FAQ items */
    padding-bottom: 10px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item h3 {
    margin-bottom: 8px;
}

@media (max-width: 600px) {
    main {
        padding: 10px;
    }
}

/* Section for arrows */

.arrow:disabled {
  color: #ccc;
  cursor: not-allowed;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
}

.scroll-section {
  overflow: hidden;
  width: 70%;
  height: 200px;
  display: flex;
  align-items: center;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  position: relative;
}

.content {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.item {
  min-width: 100%;
  height: 150px;
  margin: 0; /* Reset margins since only one is visible */
  background-color: #007bff;
  color: #fff;
  display: none; /* Hide all items by default */
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  border-radius: 8px;
}

.item.visible {
  display: flex; /* Show the visible section */
}

.button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Tooltip styles */
.tooltip-container {
    display: inline-block;
    position: relative;
    cursor: pointer;
    align-content: center;
}

.tooltip-container .tooltip {
    visibility: hidden;
/*    width: 240px;*/
    width: 18rem;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.info-icon {
    font-size: 12px;
    color: #fff;
    background-color: #596855;
    border-radius: 50%;
    padding: 5px;
    width: 0.2rem;
    height: 0.2rem;
    text-align: center;
    line-height: 3px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Other devices */

@media only screen and (max-width: 992px) {
    .right-unit-image {
        display: none;
    }
    .side-button {
        display: none;
    }
}

