 @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Tektur:wght@400..900&display=swap');

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;

     font-family: "Tektur", sans-serif;
     font-optical-sizing: auto;
     font-weight: 300;
     font-style: normal;
     font-variation-settings:
         "wdth" 100;
 }



 body {
     font-family: Arial, sans-serif;
     color: white;
 }

 .hero-section {
     height: 100vh;
     position: relative;
     display: flex;
     flex-direction: column;
     overflow: hidden;
 }

 .background-video {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: -2;
 }

 .video-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     z-index: -1;
 }

 .header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 20px 50px;
     width: 100%;
 }

 .logo {
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .bmw-logo {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     background: #0066cc;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-weight: bold;
     font-size: 16px;
 }

 .nav-menu {
     display: flex;
     list-style: none;
     gap: 30px;
     align-items: center;
 }

 .nav-menu li a {
     color: white;
     text-decoration: none;
     font-weight: 500;
     position: relative;
     transition: all 0.3s ease;
 }

 .nav-menu li a::after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     bottom: -5px;
     left: 50%;
     background-color: #0066cc;
     transition: all 0.3s ease;
     transform: translateX(-50%);
 }

 .nav-menu li a:hover::after {
     width: 100%;
 }

 .nav-menu li a:hover {
     color: #0066cc;
     transform: translateY(-2px);
 }

 .auth-buttons {
     display: flex;
     gap: 15px;
 }

 .btn {
     padding: 12px 25px;
     border-radius: 6px;
     text-decoration: none;
     font-weight: 600;
     border: none;
     cursor: pointer;
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
 }

 .btn::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
     transition: left 0.5s;
 }

 .btn:hover::before {
     left: 100%;
 }

 .btn-primary {
     background: transparent;
     color: white;
     box-shadow: 0 4px 10px rgba(228, 228, 228, 0.3);
 }

 .btn-primary:hover {
     background: #0052a3;
     transform: translateY(-3px);
     box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
 }

 .btn-secondary {
     background: transparent;
     color: white;
     border: 2px solid rgba(255, 255, 255, 0.5);

 }

 .btn-secondary:hover {
     border-color: white;
     background: rgba(255, 255, 255, 0.1);
     transform: translateY(-3px);
 }

 /* Бургер кнопкасы (әр уақытта көрсетілмейді) */
 .mobile-menu-toggle {
     display: none;
     background: none;
     border: none;
     cursor: pointer;
     flex-direction: column;
     width: 30px;
     height: 30px;
     justify-content: space-around;
     align-items: center;
     z-index: 1000;
 }

 .burger-line {
     width: 25px;
     height: 3px;
     background: white;
     transition: all 0.3s ease;
 }

 .mobile-menu-toggle.active .burger-line:nth-child(1) {
     transform: rotate(45deg) translate(7px, 7px);
 }

 .mobile-menu-toggle.active .burger-line:nth-child(2) {
     opacity: 0;
 }

 .mobile-menu-toggle.active .burger-line:nth-child(3) {
     transform: rotate(-45deg) translate(7px, -7px);
 }

 .hero-content {
     flex: 1;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     text-align: center;
     padding: 0 20px;
 }

 .hero-subtitle {
     font-size: 16px;
     color: rgba(255, 255, 255, 0.9);
     margin-bottom: 20px;
 }

 .hero-title {
     font-size: 4rem;
     font-weight: bold;
     color: white;
     margin-bottom: 40px;
 }

 .hero-buttons {
     display: flex;
     gap: 20px;
 }

 /* Медиа-запрос для мобильных устройств */
 @media (max-width: 768px) {
     .header {
         padding: 15px 20px;
     }

     .nav-menu {
         display: none;
         position: absolute;
         top: 80px;
         left: 0;
         width: 100%;
         background: rgba(0, 0, 0, 0.9);
         flex-direction: column;
         padding: 20px 0;
         backdrop-filter: blur(10px);
         z-index: 999;
         animation: fadeIn 0.3s ease;
     }

     @keyframes fadeIn {
         from {
             opacity: 0;
             transform: translateY(-20px);
         }

         to {
             opacity: 1;
             transform: translateY(0);
         }
     }

     .nav-menu.active {
         display: flex;
     }

     .nav-menu li {
         margin: 10px 0;
         text-align: center;
     }

     .mobile-menu-toggle {
         display: flex;
     }

     .hero-title {
         font-size: 2.5rem;
     }

     .hero-buttons {
         flex-direction: column;
         align-items: center;
     }

     .auth-buttons {
         display: none;
     }
 }

 .why-choose-us {
     display: flex;
     flex-direction: column;
     margin: 80px 20px;
     padding: 30px 30px;
     background-color: #f6faff;
 }

 .section-title {
     font-size: 2rem;
     color: #333;
     margin-bottom: 20px;
     font-weight: 700;
     padding-left: 30px;
 }

 .benefits-container {
     display: flex;
     justify-content: space-around;

 }

 .benefit-card {
     border-radius: 10px;
     padding: 30px;
     width: 350px;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .benefit-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
 }

 .benefit-icon {
     font-size: 2.5rem;
     color: #0066cc;
     margin-bottom: 20px;
 }

 .benefit-title {
     font-size: 1.3rem;
     color: #333;
     margin-bottom: 15px;
     font-weight: 600;
 }

 .benefit-description {
     color: #666;
     line-height: 1.6;
 }


 /* wejopg */

 .hero-sectionn {
     height: 60vh;
     position: relative;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: flex-start;
     padding: 0 80px;
     color: white;
     overflow: hidden;

 }

 .hero-imagee {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: -2;
     object-position: 50% 65%;
 }

 .overlayy {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
     z-index: -1;
 }

 .hero-contentt {
     max-width: 600px;
 }

 .hero-titlee {
     font-size: 2.5rem;
     font-weight: 400;
     margin-bottom: 20px;
     line-height: 1.2;
 }

 .hero-subtitlee {
     font-size: 1.5rem;
     margin-bottom: 30px;
     line-height: 1.5;
 }

 .cta-buttonn {
     display: inline-block;
     padding: 15px 40px;
     background-color: transparent;
     color: white;
     text-decoration: none;
     font-weight: 500;
     border-radius: 5px;
     transition: all 0.3s ease;
     border: 2px solid #ffffff;
 }

 .cta-buttonn:hover {
     background-color: transparent;
     color: white;
     transform: translateY(-3px);
     box-shadow: 0 10px 20px rgba(0, 102, 204, 0.3);
 }





 .car-model {
     position: absolute;
     bottom: 50px;
     right: 80px;
     font-size: 2rem;
     font-weight: 700;
     text-align: right;
 }

 .car-description {
     position: absolute;
     bottom: 30px;
     right: 80px;
     max-width: 400px;
     text-align: right;
     font-size: 1.1rem;
     line-height: 1.5;
 }


 .hero-imagee2 {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: -2;
     object-position: 50% 54%;
 }


 .footer {
     background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
     color: white;
     padding: 50px 0 30px;
     margin-top: 50px;
 }

 .footer-content {
     max-width: 1200px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 200px;
     padding: 0 20px;
 }

 .footer-section h3 {
     color: #0066cc;
     font-size: 1.4rem;
     margin-bottom: 20px;
     font-weight: 600;
 }

 .footer-section ul {
     list-style: none;
 }

 .footer-section ul li {
     margin-bottom: 10px;
 }

 .footer-section ul li a {
     color: #ccc;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 .footer-section ul li a:hover {
     color: #0066cc;
 }

 .footer-section p {
     color: #ccc;
     line-height: 1.6;
     margin-bottom: 15px;
 }

 .social-icons {
     display: flex;
     gap: 15px;
     margin-top: 20px;
 }

 .social-icon {
     width: 40px;
     height: 40px;
     background: #0066cc;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-decoration: none;
     transition: all 0.3s ease;
 }

 .social-icon:hover {
     background: #0052a3;
     transform: translateY(-3px);
 }

 .footer-bottom {
     border-top: 1px solid #444;
     margin-top: 40px;
     padding-top: 20px;
     text-align: center;
     color: #999;
 }

 .footer-logo {
     display: flex;
     align-items: center;
     justify-content: start;
     gap: 10px;
     margin-bottom: 20px;
     margin: auto;
 }




 /* Адаптивтік стильдер */
 @media (max-width: 768px) {
     .benefits-container {
         flex-direction: column;
         align-items: center;
     }

     .benefit-card {
         width: 80%;
     }

     .hero-section {
         padding: 0 30px;
         align-items: center;
         text-align: center;
     }

     .hero-title {
         font-size: 2.5rem;
     }

     .hero-subtitle {
         font-size: 1.2rem;
     }

     .car-model,
     .car-description {
         position: static;
         text-align: center;
         margin-top: 30px;
     }
 }