/*styles */
* {
    box-sizing: border-box;
    margin: 0%;
    font-family: "Vollkorn", serif;
}

/*-----------------------------navigation------------------------*/
header {
    background-color: #1a2b25ee;
    width: 100%;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    z-index: 1;
    color: #84AE1B;
}

.logo {
    display: flex;
    align-items: top;
}

.logo img {
    width: 125px;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
    margin-left: 10px;
    transition: 0.3s ease;
}

.logo img:hover {
    transform: scale(1.11);
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    display: block;
    text-decoration: none;
    color: #E7EAC0;
    padding: 10px 15px;
}

nav a:hover,
.dropdown:hover>a {
    background-color: #E7EAC0;
    color: #1A2B25;
    transition: transform 0.5s ease-in-out;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    min-width: 100%;
    top: 100%;
    display: none;
    position: absolute;
    background-color: #1a2b25ee;
    flex-direction: column;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

nav .icon {
    display: none;
    font-size: 28px;
    color: #84AE1B;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 724px) {
    nav a {
        display: none;
    }

    nav .icon {
        display: flex;
    }
}

nav.responsive {
    flex-direction: column;
    align-items: flex-end;
}

nav.responsive a {
    display: block;
    text-align: left;
}

/*-----------------------------------hero----------------------------*/
.hero {
    display: flex;
    width: 100%;
    height: 450px;
    overflow: hidden;
    align-items: center;
}

/*-----------------------------slides images gallery card-------------------------*/
img {
    width: 100%;
    display: flex;
    object-fit: cover;
}

.slides {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 450px;
}

.imggroup {
    display: flex;
    width: 300%;
    height: 100%;
    animation: slide 12s infinite;
}

.imggroup img {
    width: calc(100%/3);
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    33% {
        transform: translateX(0);
    }

    36% {
        transform: translateX(-33.333%);
    }

    66% {
        transform: translateX(-33.333%);
    }

    69% {
        transform: translateX(-66.666%);
    }

    100% {
        transform: translateX(-66.666%);
    }
}

.gallery {
    display: grid;
    gap: 20px;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
    overflow: auto;
    max-height: 500px;
    margin-bottom: 10px;
}

.gallery1 {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
    overflow: auto;
    height: 350px;
    padding: 50px;
    gap: 50px;
    width: 100%;
}

.smallcontainergallary {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 35px 20px;
    border: #1A2B25;
    background-color: #E7EAC0;
    border-style: double;
    border-width: 3px;
    color: #1A2B25;
    border-radius: 5px;
    min-height: 480px;
    transition: transform 0.3s ease;
}

.smallcontainergallary:hover {
    border-style:solid;
    transform: scale(1.01);
}

.smallcg {
    position: relative;
}

.cardcontainer {
    padding: 50px 30px 0 0;
    display: grid;
    gap: 60px;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    min-height: 300px;
}

.cardbox {
    position: relative;
    background-color: #CAB59A;
    height: 150px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 10px;
    border-radius: 5px;
    transition: height 0.4s ease;
    color: #522B2C;
    padding: 20px;
}

@media (max-width: 1274px) {

    .gallery1,
    .cardcontainer,
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 724px) {

    .gallery1,
    .cardcontainer,
    .gallery {
        grid-template-columns: 1fr;
    }
}

.gallery img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.gallery1 img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

.img-zoom {
    overflow: hidden;
    display: inline-block;
}

.img-zoom img {
    transition: transform 0.4s ease;
    transform-origin: center;
}

.img-zoom:hover img {
    transform: scale(1.15);
}

/*-----------------------------image pop up---------------------------*/
.infoBtn {
    height: 40px;
    background-color: #953026;
    color: #E7EAC0;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #97856E;
    font-size: larger;
    transition: font-size 0.2s ease;
    margin-top: auto;
}

.infoBtn:hover {
    background-color: #522B2C;
    color: #FFFFFF;
    font-size: large;
}

.modal-toggle {
    display: none;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-toggle:checked+.modal {
    display: flex;
}

.modal-content {
    background: #E7EAC0;
    color: #1A2B25;
    padding: 40px 20px 20px 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 5px;
    position: relative;
    border: #1A2B25;
    border-style: double;
    border-width: 3px;
    max-height: 80%;
    overflow: auto;
}

.close {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    color: #522B2C;
}

/*-----------------------------video--------------------------------*/
video {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/*-----------------------------main containers--------------------------------*/
.largecontainer {
    display: flex;
    width: 100%;
    max-width: 1600px;
    justify-content: space-between;
    align-items: center;
    padding: 80px 50px 80px 50px;
    gap: 80px;
    margin: auto;
}

.titlecontainer {
    display: flex;
    width: 100%;
    max-width: 1600px;
    justify-content: center;
    align-items: center;
    padding-top: 200px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 20px;
    gap: 80px;
}

.colorcontainer {
    float: left;
    background-color: #536347;
    width: 100%;
    color: #FFFFFF;
    margin: 50px auto 50px auto;
}

@media (max-width: 1024px) {

    .largecontainer,
    .titlecontainer {
        flex-direction: column;
    }
}

.smallcontainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.middlecontainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1600px;
    align-items: center;
    text-align: left;
    padding: 50px;
    gap: 10px;
    margin: auto;
}

/*-------------------------------------feedback form----------------------------------*/
form {
    width: 50%;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    border: 2px solid #487B2F;
    border-radius: 5px;
    padding: 40px 30px 50px 30px;
    background-color: #E7EAC0;
    color: #1A2B25;
}

form .infoBtn {
    background-color: #536347;
    border-color: #487B2F;
}

form .infoBtn:hover {
    background-color: #1A2B25;

}


input,
textarea {
    padding: 10px;
    border: 1px solid #84AE1B;
    border-radius: 8px;
    font-size: 16px;
}

/*----------------------------------------card-------------------------------------*/
.cardbox:hover {
    height: 200px;
    background: #522B2C;
    color: #ffffff;
}

.cardbox:hover .big-letter {
    transform: translateY(-20px);
    transition: transform 0.5s ease;
    color: #91521A;
}

.cardbox a {
    text-decoration: none;
    color: #522B2C;
}

.cardbox:hover a {
    transform: scale(1.1);
    text-decoration: underline;
    text-decoration-color: #CAB59A;
    text-underline-offset: 4px;
    color: #ffffff;
}

.cardbox p {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.8s ease, height 0.8s ease;
}

.cardbox:hover p {
    opacity: 1;
    height: auto;
}

/*-----------------------------------table list--------------------------------*/
table {
    border-collapse: collapse;
    width: 100%;
    color: #1A2B25;
    line-height: 1.5;
}

ul,
li {
    font-family: "Lato", sans-serif;
    margin: 5px 0 8px 0;
    line-height: 1.5;
}

td {
    border: 1px solid #B7CB97;
    padding: 20px;
    font-family: "Lato", sans-serif;
}

td:has(h4) {
    background-color: #B7CB97;
    text-align: center;
    border: 2px solid #fff;
}

tr:hover {
    background-color: #E7EAC0;
    font-weight:bold;
}

tr:has(:hover) .morecontent {
    border-color: #953026;
}

th {
    border: 3px solid #ffffff;
    padding: 30px 20px;
    text-transform: uppercase;
    font-size: large;
    background-color: #536347;
    color: #FFFFFF;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

#readMoreToggle {
    display: none;
}

#readMoreToggle:checked~.readmorelink {
    display: none;
}

#readMoreToggle:checked~.morecontent,
#readMoreRadio:checked~.morecontent {
    display: block;
}

table input[type="checkbox"] {
    display: inline-block;
}

input[type="checkbox"]:checked+.morecontent {
    display: block;
}

#readMoreRadio {
    cursor: pointer;
}

.readmorelink {
    color: #953026;
    cursor: pointer;
    text-decoration: underline;
    font-family: "Lato", sans-serif;
}

.readmorelink:hover {
    font-weight: 600;
}

.morecontent {
    display: none;
    font-family: "Lato", sans-serif;
    border: 1px solid #B7CB97;
    padding: 5px 20px 5px 20px;
    margin-top: 5px;
    border-radius: 15px;
}

tr:has(:hover) input:checked,
input:checked {
    accent-color: #953026;
}

tr input:checked {
    accent-color: #84AE1B;
}

/*----------------------------------------footer------------------------------*/
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background-color: #536347;
    width: 100%;
    color: #E7EAC0;
    gap: 15px;
    font: 0.8em sans-serif;
    margin-top: 100px;
}

footer img {
    width: 50px;
}

/*----------------------------------flip-------------------------------------*/
.flip {
    perspective: 1000px;
    width: 100%;
}

.flip-inner {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.flip-front,
.flip-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    backface-visibility: hidden;
    padding: 15px;
    border-radius: 5px;
    background-color: #536347;
    color: #fff;
    box-sizing: border-box;
}

.flip-back {
    transform: rotateY(180deg);
}

.flip-placeholder {
    visibility: hidden;
}

.flip:hover .flip-inner {
    transform: rotateY(180deg);
}

.textAlignRight {
    width: 100%;
    text-align: right;
}

/*----------------------------------collap-------------------------------------*/
.wrap-collabsible {
    margin: 0 auto 15px auto;
    max-width: 1600px;

    width: 100%;
}

input[type='checkbox'] {
    display: none;
}

.lbl-toggle {
    display: block;
    font-weight: bold;
    font-size: 1.4rem;
    text-align: left;
    padding: 18px 50px 15px 50px;
    color: #1A2B25;
    background-color: #B7CB97;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease-out;
    transform-origin: left;
}

.lbl-toggle:hover {
    text-decoration: underline;
}

.lbl-toggle::before {
    content: ' ';
    display: inline-block;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid currentColor;
    vertical-align: middle;
    margin-right: .7rem;
    transform: translateY(-2px);
    transition: transform .2s ease-out;
}

.collapsible-content .content-inner {
    color: #1A2B25;
    background: #E7EAC0;
}

.content-inner .largecontainer {
    padding: 50px;
}

.collapsible-content {
    max-height: 0px;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    transition: max-height .25s ease-in-out;
}

.toggle:checked+.lbl-toggle+.collapsible-content {
    max-height: fit-content;
}

.toggle:checked+.lbl-toggle::before {
    transform: rotate(90deg) translateX(-3px);
}

.toggle:checked+.lbl-toggle {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

/*----------------------------------fonts-------------------------------------*/
.big-letter {
    position: absolute;
    top: -60px;
    right: -70px;
    font-size: 150px;
    color: #953026;
    line-height: 1;
    pointer-events: none;
    font-family: "Liu Jian Mao Cao", cursive;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .big-letter {
        top: -50px;
    }
}

@media (max-width: 724px) {
    .hiddentext {
        display: none;
    }
}

h1 {
    font-size: 5.5em;
    line-height: 2;
    text-decoration: underline;
    text-decoration-color: #84AE1B;
    text-underline-offset: 20px;
    text-decoration-thickness: 8px;
    text-align: center;
}

h2 {
    font-size: 2.5em;
    line-height: 2;
}

h3 {
    font-size: 1.6em;
    line-height: 1.5;
}

h4 {
    font-size: 1.2em;
    font-weight: 600;
}

p {
    font-size: 1.1em;
    line-height: 1.5;
    font-family: "Lato", sans-serif;
    margin-bottom: 5px;
}

.moveleft {
    animation-duration: 1.5s;
    animation-name: slidein;
}

@keyframes slidein {
    from {
        margin-left: 50%;
    }

    to {
        margin-left: 0%;
    }
}

.moveup {
    animation: slideup ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
}

@keyframes slideup {
    from {
        transform: translateY(280px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.smallcg .title {
    position: absolute;
    left: 15px;
    bottom: 20px;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 5px;
    text-decoration: underline;
    transition: transform 0.2s ease;
    z-index: 2;
}

.smallcg .title:hover {
    transform: scale(1.05);
}