@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');

:root {
    --color-red: #cf0000;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray: #808080;
    --main-font: 'Noto Sans', Arial, sans-serif;
}

html, body, * {
    font-family: var(--main-font) !important;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Layout styles */
html {
    height: 100%;
}

body {
    line-height: 1.6;
    color: var(--color-black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main content styles */
.main {
    flex: 1 0 auto;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.main__title {
    color: var(--color-red);
    font-size: 48px;
    margin-bottom: 20px;
}

.main__text {
    font-size: 24px;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 1px 1px rgba(0,0,0,0.18);
}

/* Make all main content sections fill available space */
main, 
.service, 
section:not(.footer) {
    flex: 1 0 auto;
}

/* Footer styles */
.footer {
    background-color: #1f1f1f;
    color: var(--color-white);
    padding: 20px 0;
    flex-shrink: 0;
    margin-top: auto;
}

.footer__text {
    text-align: center;
}

/* Footer positioning */
html, body {
    height: 100%;
    margin: 0;
}

.main-content {
    flex: 1 0 auto;
}

.header__phone {
    font-weight: 600;
    transition: color 0.3s ease;
    margin-left: 20px;
    position: relative;
}

.header__phone::before {
    content: none;
}

.header__phone:hover {
    color: #FF0000;
}

.social-buttons {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social-button {
    width: 60px;
    height: 60px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 10px 10px 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #333;
}

.social-button svg {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.social-button:hover {
    width: 70px;
    color: #fff;
}

.social-button--phone:hover {
    background-color: #FF0000;
}

.social-button--telegram:hover {
    background-color: #0088cc;
}

.social-button--whatsapp:hover {
    background-color: #25D366;
}

@media (max-width: 768px) {
    .social-buttons {
        bottom: 20px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
    }

    .social-button {
        border-radius: 50%;
        width: 55px;
        height: 55px;
    }

    .social-button:hover {
        width: 55px;
        transform: translateY(-5px);
    }

    .social-button svg {
        width: 28px;
        height: 28px;
    }
}

.main-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding: 0 0 0 70px;
    margin-bottom: 60px;
    min-height: 1000px;
}

.main-carousel .container {
    max-width: none;
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    height: 100%;
    position: relative;
    padding-right: 0;
}

.main-carousel__wrapper {
    width: 75%;
    margin-left: auto;
    margin-right: 0;
    padding-left: 100px;
    padding-right: 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 500px;
}

.main-carousel__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1 !important;
    z-index: 0;
    transition: none;
}

.main__carousel {
    height: 100%;
    position: relative;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.main__track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
    filter: blur(1px);
    transform: scale(1.1);
}

.main__slide {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.main__slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 1px 1px rgba(0,0,0,0.12);
}

/* .main__service-title, .main__service-description { display: none; } */

.main__service-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.main__service-description {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.main__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.main__arrows {
    display: flex;
    gap: 10px;
}

.main__arrow {
    width: 40px;
    height: 40px;
    border: none;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main__arrow:hover {
    background: #f5f5f5;
}

.main__counter {
    font-size: 16px;
    color: #333;
}

@media (max-width: 1200px) {
    .main-carousel {
        padding: 0 40px;
    }
    .main-carousel__wrapper {
        width: 100%;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .main-carousel-desc {
        font-size: 18px !important;
        max-width: 95vw !important;
        padding-left: 20px !important;
        padding-right: 8px !important;
    }
    .main-carousel-title {
        padding-left: 20px !important;
        padding-right: 8px !important;
    }
    .main-carousel__info {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .main-section {
        min-height: 100vh !important;
        height: 100svh !important;
    }
    .main-carousel {
        height: 100% !important;
        min-height: 0 !important;
    }
    .main-carousel__wrapper {
        height: 600px !important;
        padding-bottom: 0 !important;
        margin-top: 8px !important;
    }
    .main__carousel {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .main__controls {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .main__slide {
        max-width: 150px !important;
        min-width: 150px !important;
        height: 200px !important;
    }
}

.main__slide-title,
.main__text {
    color: #fff;
}

.main__slide-title {
    text-align: left;
    padding-left: 8px;
    margin: 0 0 20px 0;
}

.main__text {
    text-align: left;
    padding-left: 8px;
    margin: 0;
}

.main-carousel__info {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 70px 0 70px;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10;
    pointer-events: none;
}

.main-carousel-title,
.main-carousel-desc {
    pointer-events: auto;
}

.main-carousel-title {
    color: #fff;
    font-size: 56px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 1px 1px rgba(0,0,0,0.18);
    margin-bottom: 24px;
    word-break: break-word;
}

.main-carousel-desc {
    color: #fff;
    font-size: 28px;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 1px 1px rgba(0,0,0,0.18);
    margin-bottom: 40px;
    max-width: 33%;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
}

.footer-phone-link {
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.footer-phone-link:hover {
    color: #e31e24 !important;
}

.header .container {
    padding-left: 5px;
}

@media (max-width: 480px) {
  .header-mobile { height: 95px; background: #1f1f1f; display: flex; align-items: center; position: relative; z-index: 100; overflow: hidden; }
  .header__logo-link { display: flex; align-items: center; height: 100%; }
  .header__logo { height: 89px; max-width: 140px; margin: 0 !important; padding: 0 !important; object-fit: contain; }
  .header__burger { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 48px; height: 48px; margin-left: auto; margin-right: 16px; background: none; border: none; cursor: pointer; z-index: 101; }
  .header__burger span { display: block; width: 32px; height: 4px; background: #fff; margin: 4px 0; border-radius: 2px; transition: all 0.3s; }
  .mobile-menu { display: none; flex-direction: column; position: fixed; top: 80px; left: 0; right: 0; background: #1f1f1f; z-index: 200; padding: 24px 0 12px 0; min-height: calc(100vh - 80px); box-sizing: border-box; }
  .mobile-menu.open { display: flex; }
  .mobile-menu .header__nav-link { color: #fff; font-size: 20px; padding: 12px 24px; text-align: left; text-decoration: none; }
}

@media (max-width: 991px) {
  .header__container.desktop-only { display: none !important; }
  .mobile-menu .header__phone,
  .mobile-menu .header__nav-link.header__phone {
    border-left: none !important;
    padding-left: 24px !important;
    margin-left: 0 !important;
  }
  #mobileCallMenu {
    position: fixed;
    right: 24px;
    left: auto;
    bottom: 120px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1200;
  }
  .mobile-call-main {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #e31e24;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    color: #e31e24;
    margin-bottom: 8px;
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s;
  }
  .mobile-call-main:active, .mobile-call-main:focus {
    box-shadow: 0 4px 16px rgba(227,30,36,0.15);
    border-color: #b71c1c;
  }
  .mobile-call-main svg {
    width: 18px;
    height: 18px;
  }
  .mobile-call-dropdown {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
    align-items: flex-end;
    animation: fadeIn 0.2s;
  }
  .mobile-call-menu.open .mobile-call-dropdown {
    display: flex;
  }
  .mobile-call-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #e31e24;
    border: 1.5px solid #e31e24;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    outline: none;
    cursor: pointer;
    margin-bottom: 0;
    padding: 0;
    text-decoration: none;
    text-align: center;
  }
  .mobile-call-action svg {
    width: 22px;
    height: 22px;
    display: block;
    margin: 0 auto;
  }
  .mobile-call-action:hover, .mobile-call-action:focus {
    background: #e31e24;
    color: #fff;
    border-color: #b71c1c;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .scroll-to-top {
    right: 24px !important;
    left: auto !important;
  }
}
@media (min-width: 992px) {
  .header-mobile { display: none !important; }
  .mobile-menu {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .mobile-call-menu {
    display: none !important;
  }
  .main-carousel-title {
    font-size: 72px !important;
  }
  .main-carousel-desc {
    font-size: 36px !important;
    max-width: 70vw !important;
  }
  .main-carousel__info {
    padding-left: 0 !important;
  }
}

@media (max-width: 400px) {
  #discountForm button[type="submit"] {
    padding-left: 0.5em !important;
  }
} 