@import url('https://fonts.googleapis.com/css2?family=Chivo&family=Gambetta:opsz,wght@9..72,400;9..72,700&display=swap');

h1,
h2,
h3,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

body,
p,
li,
a,
input,
button {
    font-family: 'Chivo', sans-serif;
    font-weight: 400;
}

button {
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* header */
* {
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: center;
    background-color: #fff;
    color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.head-container {
    width: 100%;
    z-index: 4;
    position: absolute;
    top: 0;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 7fr;
}

.logo img {
    margin-top: 10px;
    height: 50px;
    width: auto;
}

header .menu .navmenu {
    position: relative;
    margin-bottom: 0;
    list-style: none;
    display: flex;
    justify-content: right;
    text-align: center;
    margin-top: 5px;
    margin-right: 50px;
    gap: 50px
}

.menu ul {
    margin-bottom: 0;
    list-style: none;
    display: flex;
    justify-content: right;
    text-align: center;
    margin-top: 5px;
    margin-right: 50px;
    gap: 50px;
}


.menu nav a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.menu li a:hover {
    color: red;
}

.menu .submenu {
    list-style: none;
}

@media(min-width:520px) {

    .submenu li a {
        text-decoration: none;
        color: #ffffff;
    }

    .submenu ul {
        padding: 20px 28px 15px 25px;
        border-radius: 5px;
        background: rgba(255, 255, 255, 0.3);
        text-align: left;
        right: 145px;
        top: 21px;
        position: absolute;
        list-style: none;
        min-height: 200px;
        display: none;
    }

    .submenu ul li {
        margin: 10px;
    }

    .navmenu li:hover .submenu ul {
        display: block;
    }

}


/* hero banner */
.hero img {
    width: 100%;
}

.hero {
    z-index: 1;
    position: relative;
}

.layer {
    z-index: 3;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
}

.layer h3 {
    font-size: 2.4rem;
    color: #ffffff;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 25px;
}

.layer p {
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 25px;
}

.section-title {
    text-align: center;
    padding: 50px 20px 20px;
    background: #fff;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #111;
}

.section-title p {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

.state-heading {
    font-size: 2.2rem;
    font-weight: 600;
    color: #111;
    text-align: center;
    margin-top: 10px;
    letter-spacing: 0.5px;
    font-family: 'Playfair Display', serif;
    padding: 0 20px;
}

/* cardflip */
.mid-container {
    background-color: #eedecb;
    padding-bottom: 80px;
}

.location-card {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 30px 10px;
    row-gap: 40px;
    column-gap: 20px;
}

.card {
    background-color: #eedecb;
    margin: auto;
    margin-top: 80px;
    width: 400px;
    height: 250px;
    perspective: 1000px;
    border: none;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.999s;
}

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

.card-front img {
    width: 120px;
    padding: 10px;
    margin-bottom: 10px;
}

.card-front p {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
}

.card-back p {
    padding: 0 15px;
    text-align: center;
    font-size: 16px;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.card-front {
    background-color: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    border: 1px solid #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    justify-content: center;
    font-size: 24px;
    transform: rotateY(0deg);
}

.card-back {
    color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #000000;
    border-radius: 10px;
    justify-content: space-around;
    font-size: 24px;
    transform: rotateY(180deg);
}

.card-back {
    font-size: 15px;
}

.card-back button {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: 500;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card-back button:hover {
    background-color: #000;
}

.confirm {
    text-align: center;
}

.mumbai {
    padding: 10px;
    color: #000000;
    font-weight: bolder;
    background-image: url(../../IMG/mumbai-locc.jpg);
    background-size: cover;
}

.goa {
    padding: 10px;
    color: #ffffff;
    font-weight: bolder;
    background-image: url(../../IMG/goa-loc.jpg);
    background-size: cover;
}

.chennai {
    padding: 10px;
    color: #000000;
    font-weight: bolder;
    background-image: url(../../IMG/chennai-loc.jpg);
    background-size: cover;
}

.hyderabad {
    padding: 10px;
    color: #000000;
    font-weight: bolder;
    background-image: url(../../IMG/hyderabad-loc.jpg);
    background-size: cover;
}

.kolkata {
    padding: 10px;
    color: #000000;
    font-weight: bolder;
    background-image: url(../../IMG/kolkata-loc.avif);
    background-size: cover;
}

.bangalore {
    padding: 10px;
    color: #000000;
    font-weight: bolder;
    background-image: url(../../IMG/bangalore-loc.jpeg);
    background-size: cover;
}

/* form */
.modal-content select,
.modal-content input[type="date"],
.modal-content input[type="time"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    border: 1px solid #aaa;
    font-size: 15px;
}

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

.modal-content {
    background-color: #fff;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.modal-content h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #000;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    border: 1px solid #aaa;
}

.modal-content button {
    margin-top: 15px;
    padding: 12px;
    font-size: 16px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #000;
}

/* footer */
footer {
    width: 100%;
    background-color: #271912;
}

.foot {
    height: 230px;
    padding-top: 30px;
    z-index: 1;
    max-width: 75%;
    margin: auto;
    border-top: 0.8px solid rgb(255, 255, 255);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    color: rgb(255, 247, 247);
}

.copyright {
    padding-top: 20px;
    padding-bottom: 30px;
    color: rgb(255, 255, 255);
    z-index: 2;
    max-width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

footer p {
    padding-right: 80px;
}

.second i {
    margin-left: 20px;
}

/* input */
.email {
    border-radius: 0;
    max-width: 190px;
    padding: 15px;
    font-size: 17px;
    color: black;
    margin-right: -10px;
}

.emailbutton {
    border-radius: 0;
    background-color: black;
    text-decoration: none;
    padding: 17px;
    font-size: 17px;
    color: #fff;
    cursor: pointer;
    border: none;
}

.hamburger {
    color: #fff;
    display: none;
}

aside a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

aside nav ul {
    margin-top: 10px;
    margin-left: 25px;

}

aside nav li {
    margin-bottom: 10px;
    list-style: none;
}

aside {
    top: 0;
    transform: translate(-200px);
    transition: all 0.7s ease-in-out;
    background-color: #111;
    color: #fff;
    min-height: 250px;
    width: 200px;
    position: absolute;
    z-index: 9;
    left: 0;
    transform: translateX(-200px);
}

aside ul li {
    color: #fff;
}

body.hidden {
    overflow: hidden;
    padding-right: 15px;
}

.close i {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
}

.submenu ul {
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        text-align: end;
        margin-right: 20px;
        display: block;
    }

    .logo img {
        height: 25px;
        width: auto;
    }

    .menu {
        display: none;
    }

    .head-container {
        grid-template-columns: 2fr 1fr;
    }

    .submenu li {
        list-style: square;
    }

    aside nav ul {
        margin-top: 15px;
        margin-left: 0;
    }
    body.hidden {
    padding-right: 0;
}

    .location-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .card {
        width: 90%;
        height: 260px;
    }

    .state-heading {
        font-size: 1.7rem;
        line-height: 1.4;
        padding: 0 15px;
    }

    .layer h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .layer p {
        font-size: 1.2rem;
    }

    .head-container {
        grid-template-columns: 1fr 1fr;
    }

    .menu ul {
        flex-direction: column;
        gap: 15px;
        margin: 0;
        padding: 15px 0;
    }

    .modal-content {
        width: 90%;
        padding: 25px 20px;
    }

    .modal-content h3 {
        font-size: 16px;
    }

    .modal-content input,
    .modal-content select,
    .modal-content button {
        font-size: 14px;
        padding: 10px;
    }

    .modal-content button {
        padding: 10px 15px;
    }

    .close-btn {
        font-size: 20px;
        top: 5px;
        right: 10px;
    }

    .foot {
        display: flex;
        flex-direction: column;
        height: 420px;
        max-width: 90%;
        margin: auto;
        border: none;
    }

    footer h3 {
        font-size: 1.3rem;
    }

    .colunms {
        margin-bottom: 30px
    }

    footer h5 {
        font-size: 0.9rem;
    }

    footer p {
        margin: 0;
        font-size: 0.8rem;
    }

    .copyright {
        padding-top: 20px;
        max-width: 95%;
        margin: auto;
    }

    .second i {
        margin-left: 10px;
    }

    .email {
        max-width: 190px;
        padding: 15px;
        font-size: 10px;
    }

    .emailbutton {
        font-size: 10px;
    }
}