@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter Tight", sans-serif;
    border: none;
    outline: none;
    text-decoration: none;
    color: var(--primary-text);
}

:root {
    --primary-text: #171717;
    --sub-text: #d1d1d1;
    --bg: #ededed;
    --bg2: #f4f4f4;
    --border: 2px solid #171717;
    --border-lite: 1px solid #dedede;
    --light: #ffffff;
    --dark: #0b0d09;
    --gold: #D1B464;
    --title: #47586D;
}

[class*="grid"] {
    display: grid;
}

.align-center {
    align-items: center;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    -webkit-text-size-adjust: 100%;
    transition: 0.5s;
    overflow-x: hidden;
}

p,
a,
input,
select,
textarea,
button {
    font-size: 1.6rem;
    font-weight: 400;
}

p {
    line-height: 1.7;
}

h1,
h2,
h3 {
    text-transform: capitalize;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
}

img,
video {
    max-width: 100%;
}

.container {
    max-width: 1240px;
    padding: 0 2rem;
    margin: auto;
    width: 100%;
}

.container-max {
    max-width: 1540px;
    padding: 0 2rem;
    margin: auto;
    width: 100%;
}

button,
.btn {
    height: 5.5rem;
    cursor: pointer;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
        radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, var(--gold) 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    color: var(--light);
    border-radius: 1rem;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

button svg {
    width: unset !important;
    height: 3rem;
}

button svg path {
    fill: var(--light) !important;
}

button .center {
    display: flex;
    align-items: center;
    gap: 1rem;
}

button p {
    color: var(--light);
    text-transform: capitalize;
    transition: 0.3s;
    font-size: 2rem;
    line-height: 1;
    white-space: nowrap;
}

button i {
    width: 3rem;
    overflow: hidden;
    transition: 0.3s;
    color: var(--light);
    font-size: 2rem;
}

button i:nth-child(3) {
    width: 0rem;
    opacity: 0;
}

button:hover i:nth-child(1) {
    width: 0;
    opacity: 0;
}

button:hover i:nth-child(3) {
    width: 3rem;
    opacity: 1;
}

button.empty :is(p, i) {
    color: var(--primary-text);
}

button.empty {
    border: var(--border);
    background: transparent;
    color: var(--primary-text);
}

body.active button.empty {
    background: var(--light);
}

section {
    padding: 8rem 0;
}

#building-anim {
    width: 50%;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    bottom: 9.5rem;
    z-index: 3;
    max-width: 100rem;
}

#building-anim svg {
    width: 100%;
}

main {
    width: 100%;
    overflow: hidden;
}

.scroll-content {
    height: 200vh;
    overflow: hidden;
}

.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero .bg {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: calc(100vh + 30rem);
    object-fit: cover;
    object-position: bottom;
}

.mountain {
    position: absolute;
    width: 100%;
    bottom: 13rem;
    left: 0;
    z-index: 1;
    user-select: none;
    pointer-events: none;
    /* filter: blur(2px); */
}

.grass {
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 20rem;
    z-index: 4;
    /* filter: blur(1px); */
}

.content {
    position: absolute;
    left: 50%;
    width: 100%;
    top: calc(8rem + 5%);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    max-width: 90rem;
    text-align: center;
    z-index: 2;
    padding: 0 2rem;
}

.content h1 {
    font-size: 8rem;
    font-weight: 600;
    color: var(--title);
}

.content h2 {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--title);
}

.content p.des {
    max-width: 75rem;
    width: 100%;
    font-size: 1.8rem;
    color: var(--title);
}

header {
    top: 0;
    width: 100%;
    height: 8rem;
    position: absolute;
    left: 0;
    z-index: 3;
}

header .logo img {
    height: 5rem;
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title {
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.title h2 {
    font-size: 5rem;
    font-weight: 500;
    color: var(--light);
}

/* form {
    max-width: 80rem;
    width: 100%;
    margin: auto;
} */

.tag {
    font-weight: 600;
    font-size: 1.6rem;
    padding: 0.5rem 1.5rem;
    border: var(--border-lite);
    width: fit-content;
    border-radius: 5rem;
    padding-left: 3.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.tag::before {
    content: "";
    width: 1rem;
    aspect-ratio: 1/1;
    position: absolute;
    left: 1.5rem;
    background: var(--primary);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

input,
textarea {
    width: 100%;
    height: 7rem;
    background: unset;
    border-bottom: 1px solid var(--gold);
    resize: none;
    font-size: 1.8rem;
    color: var(--gold);
}

::placeholder {
    color: var(--gold);
}

.row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

textarea {
    height: 20rem;
    padding: 2rem 0;
}

form button {
    margin-top: 3rem;
}

footer {
    background: var(--dark);
    padding: 5rem 0;
}

footer :is(p, a, i) {
    color: var(--bg);
}

footer a.mail {
    font-size: 5rem;
    font-weight: 300;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
        radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, var(--gold) 25%, #80662a 62.5%, #8a6e2d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
}

footer .container .grp {
    display: grid;
    gap: 1.5rem;
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social i {
    font-size: 2.5rem;
}

.tos {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.tos a {
    text-decoration: underline;
}

footer .logo img {
    height: 5rem;
}

section#contact {
    position: relative;
    height: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-2 {
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.grid-2 .frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 2rem;
}

.grid-2 .frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

form {
    position: relative;
}

.map {
    width: 100%;
    aspect-ratio: 16/7;
}

.map iframe {
    width: 100%;
    height: 100%;
}

.contact {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 5rem;
    background: var(--dark);
    padding: 5rem;
    max-width: 1200px;
    width: 100%;
    margin: auto;
    position: relative;
    top: -10rem;
    margin-bottom: -10rem;
}

.contact .details h2 {
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
        radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, var(--gold) 25%, #80662a 62.5%, #8a6e2d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    font-size: 5rem;
    font-weight: 600;
}

.contact .details {
    display: grid;
    grid-template-rows: 1fr auto;
}

.contact .details p {
    color: var(--light);
}

.contact .details>div {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.details .links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.details .links a {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    color: var(--light);
}

.details .links i {
    color: var(--gold);
    font-size: 2.5rem;
}

@media (max-width:1280px) {
    html {
        font-size: 45%;
    }
}

@media (max-width:660px) {
    html {
        font-size: 62.5%;
    }

    #building-anim {
        width: 130%;
        bottom: 4rem;
    }

    .grass {
        height: 8rem;
    }

    .sky {
        position: absolute;
        width: 100%;
        bottom: 20%;
    }

    .sky2 {
        display: none;
    }

    footer a.mail {
        font-size: 3rem;
    }

    .fix {
        grid-area: 1 / 1 / 2 / 2;
    }

    .d-none {
        display: none;
    }

    /* footer */
    footer .container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    footer .social {
        justify-content: center;
    }

    .content h1 {
        font-size: 3rem;
    }

    .content h2 {
        font-size: 1.8rem;
    }

    .content p.des {
        font-size: 1.6rem;
    }

    .content {
        top: 10rem;
    }

    button p {
        font-size: 1.6rem;
    }

    footer .container {
        flex-direction: column-reverse;
        gap: 5rem;
    }

    footer .logo {
        display: none;
    }

    .title h2 {
        font-size: 4rem;
    }

    .row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mountain {
        bottom: 5rem;
    }

    .contact {
        grid-template-columns: 1fr;
        padding: 5rem 2rem;
        top: 0;
        margin-bottom: 0;
    }

    .contact .details h2 {
        font-size: 3.5rem;
    }

    .contact .details {
        gap: 2rem;
    }
}

@media (min-height: 700px) and (max-width: 450px) {
    #building-anim {
        width: 145%;
    }
}

@media (min-height: 1366px) and (max-width: 1024px) {
    #building-anim {
        width: 105%;
    }
}

@media (min-height: 1180px) and (max-width: 820px) {
    #building-anim {
        width: 115%;
    }
}

@media (min-height: 1024px) and (max-width: 768px) {
    #building-anim {
        width: 100%;
    }
}

@media (max-width: 940px) and (orientation: landscape) {
    html {
        font-size: 25%;
    }

    #building-anim {
        width: 40%;
    }
}

@media (min-width: 768px) and (max-height: 900px) {
    html {
        font-size: 50%;
    }
}

@media (min-width: 768px) and (max-height: 680px) {
    html {
        font-size: 35%;
    }
}

@media (max-height: 530px) {
    html {
        font-size: 25%;
    }
}

@media (max-height: 450px) {
    html {
        font-size: 20%;
    }
}