@import url(./fonts.css);

:root 
{
    --body: #FFF6EF;
    --font-first: 'Comfortaa', sans-serif;
    --font-second: 'Montserrat', sans-serif;
    --font-third: 'Roboto', sans-serif;
    --header-bg: rgba(255, 226, 204, 0.8);
    --header-color: #040D1F;
    --link: #ED8E00;
    --banner-bg: rgba(1, 3, 5, 0.7);
    --title: #040D1F;
    --button-bg: #ABABAB;
    --button-hover: #00275B;
    --text-light: #C8C8C8;
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 50px;
    --container-width: 1140px;
    --container-padding: 15px;
}

* 
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a 
{
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

body 
{
    background: var(--body);
    font-family: var(--font-first);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container 
{
    max-width: var(--container-width);
    width: 100%;
    padding: 0 var(--container-padding);
    margin: 0 auto;
}

.btn 
{
    color: var(--button-hover);
    background: var(--button-bg);
    padding: 35px 105px;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    font-family: var(--font-third);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover 
{
    color: var(--button-bg);
    background: var(--button-hover);
    transform: translateY(-2px);
}

.upline
{
    background: #FFFFFF;
    height: 45px;
    padding: 0 var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.place
{
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.map-spot
{
    width: 30px;
    height: 30px;
}

.place_text
{
    font-size: 20px;
    font-weight: 500;
}

.media_links
{
    display: flex;
    gap: var(--spacing-md);
}

.ml
{
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.ml:hover
{
    transform: scale(1.1);
}

.header 
{
    backdrop-filter: blur(15px);
    background: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--header-color);
}

.header__nav 
{
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-xl);
    background-color: var(--button-bg);
}

.logo__img
{
    width: 160px;
    height: auto;
}

.operator
{
    max-width: 200px;
    font-size: 20px;
    text-align: center;
    color: var(--button-hover);
    font-weight: 500;
}

.banner 
{
    min-height: 80vh;
    position: relative;
    display: flex;
}

.banner__card 
{
    position: absolute;
    inset: 0;
    width: 100%;
}

.banner__img 
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.banner__content 
{
    position: relative;
    background: var(--banner-bg);
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    font-family: var(--font-second);
}

.banner__title 
{
    font-size: 48px;
    color: #fff;
    margin: 34px 0;
    font-weight: 700;
}

.banner__desc 
{
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 48px;
    text-align: center;
    font-size: 24px;
}

.banner .btn 
{
    margin-right: 30px;
}

.banner__card:last-of-type 
{
    opacity: 0;
    animation: show 5s infinite alternate linear;
}

@keyframes show 
{
    0% 
    { 
        opacity: 0; 
        z-index: -1;
    }
    40% 
    { 
        opacity: 0; 
        z-index: -1;
    }
    60% 
    { 
        opacity: 1; 
        z-index: 1;
    }
    100% 
    { 
        opacity: 1; 
        z-index: 1;
    }
}

.banner:hover .banner__card:last-of-type 
{
    animation-play-state: paused;
}

.main__title
{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin: 100px 0 70px;
    gap: var(--spacing-md);
}

.teeth
{
    width: 50px;
    height: 50px;
}

.teeth_left
{
    width: 50px;
    height: 50px;
}

.about__content
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    padding: 0 var(--spacing-xl);
}

.about__img
{
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about__text
{
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.about__text h2
{
    font-size: 32px;
    color: var(--title);
    margin-bottom: var(--spacing-md);
}

.about__text p
{
    font-size: 18px;
    line-height: 1.6;
}

.small__img
{
    display: none;
}

.inter__image
{
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 65px;
}

.main__inter
{
    max-width: 800px;
    max-height: 900px;
}

.slot__img
{
    max-width: 518px;
    max-height: 792px;
    column-gap: 30px;
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.slot__img img
{
    max-width: 518px;
    max-height: 244px;
}

.google__map
{
    display: flex;
    justify-content: center;
}

.footer
{
    position: relative;
    margin-top: var(--spacing-xl);
}

.footer__img
{
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.foot
{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.footer__left
{
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer__desc
{
    font-size: 16px;
    max-width: 300px;
}

.footer__right h3
{
    margin-bottom: var(--spacing-md);
    font-size: 20px;
}

.footer__links
{
    display: flex;
    gap: var(--spacing-md);
}

.footer_social
{
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.footer_social:hover
{
    transform: scale(1.1);
}

.text-limit
{
    max-width: 800px;
    margin: 0 auto;
}