/* Theme */
:root {
    --white: #f9f9f9;
    --black: #36383f;
    --soft-yellow: #f8eed9;
    --main: #d9b308;
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
    font-family: 'Roboto', sans-serif;
    padding: 0;
    margin: 0;
}

.header {
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),url(../images/bg.jpeg) ;
    background-size: cover;
    background-position: center;
    position: relative;
}
nav {
    padding: 2% 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
nav img {
    width: 150px;
}
.nav-links {
    flex: 1;
    text-align: right;
}
.nav-links ul li {
    list-style: none;
    display: inline-block;
    margin: 8px 20px;
    position: relative;
}

.nav-links ul li a {
    text-decoration: none;
    color: var(--white);
    text-transform: uppercase;
    font-size: 18px;
}

.nav-links ul li::after {
    content: '';
    height: 3px;
    width: 0;
    background: var(--main);
    display: block;
    margin: auto;
    left: 0;
    bottom: -10px;
    transition: 0.5s;
}
.nav-links ul li:hover:after {
    width: 100%;
}
.text-box {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
}

.text-box h1 {
    padding: auto;
    font-size: 48px;
}
.text-box p {
    margin: 10px 0 40px;
    font-weight: 100;
    line-height: 25px;
    font-size: 16px;
    color: var(--white);
}

button {
    width: 200px;
    padding: 15px 0;
    text-align: center;
    margin: 20px 10px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid var(--main);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 20px;
}

span.main-btn{
    background: var(--main);
    height: 100%;
    width: 0;
    border-radius: 25px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.5s;
}

button:hover span.main-btn {
    width: 100%;
}
button:hover{
    border: none;
}
nav .bx {
    display: none;
}

@media only screen and (max-width: 700px){
    .text-box h1 {
        font-size: 20px;
    }
    .nav-links ul li {
        display: block;
    }
    .nav-links {
        position: fixed;
        background: var(--main);
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .bx {
        display: block;
        color: var(--white);
        cursor: pointer;
        font-size: 32px;
        margin: 10px;
    }
    .nav-links ul{
        padding: 30px;
    }
}

/*----- service -----*/
.service {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 10px;
}
h2 {
    font-size: 36px;
    font-weight: 500;
}
p {
    color: var(--black);
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.row {
    margin-top: 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.service-col {
    flex-basis: 31%;
    background: var(--soft-yellow);
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.3s;
}
h3 {
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    margin: 10px 0;
    }

.service-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
@media only screen and (max-width: 700px) {
    .row {
        flex-direction: column;
    }
}

/***** Galleries *****/
.gallory {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.gollory-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.gollory-col img {
    width: 100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}
.layer:hover{
    background: rgba(239, 206, 114, 0.7);
}
.layer h3 {
    width: 100%;
    font-weight: 500;
    color: var(--white);
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}
.layer:hover h3 {
    bottom: 49%;
    opacity: 1;
}

/* review */

.review {
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.review-col {
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: var(--soft-yellow);
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.review-col img {
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.review-col p {
    padding: 0;
}
.review-col h4 {
    margin-top: 15px;
    text-align: left;
}
.review-col .bx {
    color: #d9b308;
}
@media only screen and (max-width: 700px) {
    .review-col img {
        margin-left: 0;
        margin-right: 15px;
    }
}
/* gallery page */
/* .row {
    margin-top: 20px;
    padding: 10px 10px 10px 10px;
} */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    min-height: 100vh;
}
  
.gallery a {
    margin: 10px;
}
  
.gallery img {
    object-fit: cover;
    transition: 0.3s;
}
  
.gallery img:hover {
    transform: scale(1.1);
}
.gal-col {
    padding: auto;
    margin: auto;
}
  
  @media screen and (max-width: 600px) {
    .gallery {
        flex-direction: column;
        align-items: center;
        
    }
    .gallery img {
      width: 100%;
      height: auto;
    }
    .gal-col {
        margin-left: auto;
        padding: auto;
    }

  } 
/* Footer */
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4 {
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 400;
}
.icons .bx {
    color: var(--main);
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}


/* About us page */
.sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(../images/head.jpeg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: var(--white);
}
.sub-header h1 {
    margin-top: 40px;
}
.about-us {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}
.about-col {
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col img {
    width: 100%;
}
.about-col h1 {
    padding-top: 0;
}
.about-col p {
    padding: 15px 0 25px;
}
.ex-btn {
    color: rgb(53, 11, 11);
    background: transparent;
}

/* Contact page  */
.location {
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe {
    width: 100%;
}
.contact-us {
    width: 80%;
    margin: auto;
}
.contact-col {
    flex-basis: 48%;
    margin-bottom: 30px;
}
.contact-col div{
display: flex;
align-items: center;
margin-bottom: 40px;
}
.contact-col div .bx {
    font-size: 28px;
    color: var(--main);
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p {
    padding: 0;
}
.contact-col div a {
    text-decoration: none;
}
.contact-col div h5 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}
button.send-btn {
    color: #36383f;
    background-color: #d9b308;
    size: 40px;
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

