/* index and about page */

/* Keyframes definition for fade-in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #cacaca;
}
pre {
    font-family: inherit; /* This makes the font the same as the parent element */
    white-space: pre-wrap; /* Optional: it allows text to wrap */
}
.navbar {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    background-color: #333;
    font-weight: bold;
    position: fixed; 
    top: 0;
    right:0;
    left: 0;
    z-index: 1000;
}
.navbar a {
    text-decoration: none;
    color: #6ac6ae;
    font-size: 18px;
    transition: transform 0.3s ease;
    outline: none; /* Remove the focus outline */
    -webkit-tap-highlight-color: transparent; /* remove the blue highlight color on mobile devices */
}
.navbar a:hover {
    transform: scale(1.3);
}
.navbar a.enlarged {
    transform: scale(1.3);
}
.tab-content {
    display: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 1s;
    margin-top: 51px;
}
.tab-content.active {
    display: block;
    opacity: 1;
    animation: fadeIn 1s ease-out; /* Adjust duration (e.g., 2s) as needed */
}
.about-container {
    display: flex;
    position: relative;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #6ac6ae;
    margin-top: 40px;
}
.social-icons img {
    margin: 0 10px;
    width: 42px;
    height: 42px;
    transition: filter 0.3s;
}
.social-icons img:hover {
    filter: brightness(1.8);
}

@media (max-width: 450px) {
    .navbar{
        width: 94%; 
    }
    .about-image {
        width: 50%;
        height: 20vh;
        object-fit: cover;
    }
    .logo {
        position: absolute;
        top: 50%;
        left: 50%;
        height: 70%;
        transform: translate(-50%, -50%);
    }
    .introduction {
        text-align: left;
        padding: 30px;
    }
}
@media (min-width: 451px) {
    .navbar{
        width: 98%; 
    }
    .about-image {
        width: 50%;
        height: 70vh;
        object-fit: cover;
    }
    .logo {
        position: absolute;
        top: 50%;
        left: 50%;
        height: 50%;
        transform: translate(-50%, -50%);
    }
    .introduction {
        text-align: left;
        padding: 30px 100px;
    }
    .introduction p {
        font-size: 20px;
        line-height: 1.5;
    }
}

/* SERVICE PAGE */

.container {
    display: flex;
    width: 100%;
}
  
.left, .right {
    width: 50%;
}

.left {
    display: flex;
    justify-content: flex-end; /* Aligns the child img element to the right */
}
  
.left img {
    width: 100%;
    height: auto;
    /* Maintaining a 4:3 aspect ratio */
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.right {
    background-color: rgba(32, 56, 53, 0.5);
}
li {
    color:#6ac6ae;
}
.contact-button {
    background-color: #6ac6ae;
    border:none;
    border-radius: 5px;
    color:black;
    cursor: pointer;
    transition: 0.4s;
}
.contact-button:hover {
    background-color: rgb(0, 139, 139);
}
.title {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    text-align: center;
    margin-top: 80px;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 30px; 
    max-width: fit-content;
    margin: 30px auto;
    z-index: 20;
}
.grid-item {
    padding: 0;
    text-align: center;
    color: black;
    opacity: 0.99;
    flex: 0 0 auto;
    box-sizing: border-box;
    width: fit-content;
    height: 75%;
    margin:0;
}
.grid-item img {
    box-shadow: 0px 0px 20px 0 rgba(255, 255, 255, 0.75);
}
/* .landscape img {
    width: 90%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 20px 0 rgba(255, 255, 255, 0.75);
} */

.gallery-container {
    margin: auto;
}

.gallery {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-item {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center; 
    align-items: center; 
}

.arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

@media (max-width: 450px) {
    ul {
        list-style-type:square; /* default is 'disc', but can be changed to 'circle', 'square', etc. */
        margin-left: 20px;
        margin-bottom: 0px;
        padding-left: 0;
    }
    .right p {
        padding-left: 0;
        margin: 10px 0 0 0;
        line-height: 1.2;
    }
    .contact-button {
        font-size:large;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .title {
        font-size: 25px;
    }
    .grid-item img {
        border-radius: 5px;
        height:auto;
        width: 90%;
        aspect-ratio: 4 / 3;
        margin:0;
        padding:0;
        object-fit: cover;
    }
    .gallery-container {
        position: relative;
        width: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
    .gallery img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        display: block;
    }
}
@media (min-width: 451px) {
    ul {
        list-style-type:square; /* default is 'disc', but can be changed to 'circle', 'square', etc. */
        margin-left: 20px;
        margin-right: 90px;
        margin-bottom: 10px;
        font-size: x-large;
    }
    .right {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 0;
    }
    .right p {
        padding-left: 0px;
        margin-left: 0px;
        line-height: 1.5;
    }
    .contact-button {
        font-size:x-large;
    }
    .title {
        font-size: 35px;
    }
    .grid-item img {
        border-radius: 5px;
        height: auto;
        width: 600px;
        aspect-ratio: 4 / 3;
        margin:0;
        padding:0;
        object-fit: cover;
    }
    .gallery-container {
        position: relative;
        width: 60%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .gallery img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        display: block;
    }
}

/* CONTACT TAB */

form {
    max-width: 500px;
    margin: auto;
    padding: 20px;
    border: 1px solid #323232;
    border-radius: 10px;
    background-color: #1c1c1c; /* Changed to match previous background color */
    color: gray; /* Adjusted to match text color */
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #6ac6ae; /* Adjusted to match previous text color */
}
.form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #323232; /* Added border color */
    background-color: #121212;
    color: #6ac6ae;
}
.form-group button {
    padding: 10px 20px;
    background-color: #6ac6ae;
    color: black;
    border-radius: 10px;
    cursor: pointer;
    font-size: large;
    margin-top: 15px;
}
.form-group button:hover {
    background-color: rgb(0, 139, 139);
}

select {
    color: #6ac6ae;
    width: 100%;
    padding: 10px;
    border: 1px solid #323232;
    border-radius: 10px;
    font-size: 18px;
    background-color: #121212;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

input {
    font-size: 18px;
}
select:focus {
    border-color: white;
    border-width: 1.5px;
}
select option {
    padding: 10px;
}

.hidden {
    display: none;
}
.field-label {
    padding-bottom: 0;
    margin-bottom: 2px;
    color: gray;
}
.limitedDate::placeholder {
    color:#6ac6ae;
}