/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Onest', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

body.no-scroll {
  overflow: hidden;
}


/* CSS Variables */
:root {
    --ycars-gradient-light: #c8b49f;
    --ycars-gradient-dark: #998b7c;
    --ycars-dark: #1d252e;
    --ycars-beige-light: #e4cbaa;
    --ycars-beige-dark: #d7b89a;
    --emerald: #10b981;
    --emerald-dark: #059669;
  --plyr-video-background: transparent;
}

.politicbackground{
        background: linear-gradient(135deg, var(--ycars-dark) 0%, #374151 50%, var(--ycars-gradient-light) 100%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.bg-gradient {
    background: linear-gradient(135deg, var(--ycars-gradient-light) 0%, var(--ycars-gradient-dark) 100%);
}

.bg-beige-gradient {
    background: linear-gradient(135deg, var(--ycars-beige-light) 0%, var(--ycars-beige-dark) 100%);
}

.bg-subtle-pattern {
    background-color: #fafafa;
    background-image: radial-gradient(circle at 2px 2px, rgba(0,0,0,.05) 1px, transparent 0);
    background-size: 20px 20px;
}

.bg-beige-pattern {
    background: linear-gradient(135deg, var(--ycars-beige-light) 0%, var(--ycars-beige-dark) 100%);
    background-image: radial-gradient(circle at 3px 3px, rgba(255,255,255,.1) 1px, transparent 0);
    background-size: 25px 25px;
}

/* Navigation */
.navbar {
    background: #1d252e;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 20px; */
    padding: 0 10px; 
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
	position: relative;
}

.nav-logo{
    flex-shrink: 0;
    z-index: 1001;
}

.nav-logo .logo-img {
    height: 20px;
    width: auto;
margin-top: 7px;
}

.nav-menu {
    display: none;
    gap: 32px;
}

.nav-link {
    background: none;
    border: none;
    color: #fafafa;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 8px 12px;
}

.nav-link:hover,
.nav-link.active {
    color: #e1cab0;
}

.nav-social {
    display: none;
    gap: 16px;
}

.social-link {
    color: #fafafa;
    transition: color 0.3s ease;
height: 24px;
}

.social-link:hover {
    color: #e1cab0;
}

.mobile-menu-btn {
    display: block;
}

.hamburger {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #c8b59c;
    margin: 4px 0;
    transition: 0.3s;
}

.mobile-menu {
  background: #1d252e;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

.mobile-menu.active {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-nav-link {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 12px 0;
    width: 100%;
    text-align: left;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #e1cab0;
}

.mobile-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--ycars-dark) 0%, #374151 50%, var(--ycars-gradient-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 64px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-logo {
    margin-bottom: 32px;
}

.hero-logo-img {
    height: 64px;
    width: auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    background: var(--emerald);
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.hero-btn:hover {
    background: var(--emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

.hero-car {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: none;
}

.hero-car-img {
    width: 320px;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    /* box-shadow: 0 10px 40px rgba(0,0,0,0.3); */
    transition: transform 0.3s ease;
}

.hero-car-img:hover {
    transform: scale(1.05);
}

/* Section Styles */
section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--ycars-dark);
    margin-bottom: 16px;
}

.section-title.white {
    color: white;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #666;
    max-width: 600px;
    margin: 0 auto;
margin-bottom: 30px;
}

.section-subtitle.white {
    color: rgba(255,255,255,0.9);
}

/* How It Works Section */
.how-it-works {
    background: #f9fafb;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.step-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.step-card.special {
    background: var(--bg-beige-pattern);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
}

.step-number.green {
    background: #c8b59c;
}

.step-number.dark {
    background: var(--emerald);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ycars-dark);
    margin-bottom: 12px;
}

.step-description {
    color: #666;
    line-height: 1.6;
}

.step-card.special .step-description {
    color: var(--ycars-dark);
    font-weight: 500;
}

/* Vehicle Types Section */
.vehicle-types {
    background: var(--bg-subtle-pattern);
}

.vehicle-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));*/
    gap: 32px;
}

.vehicle-card {
    background: linear-gradient(to bottom right, #f8fafc, #e2e8f0);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.vehicle-img {
    width: 100%;
    height: 192px;
    object-fit: cover;
}

.vehicle-content {
    padding: 24px;
}

.vehicle-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.vehicle-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 16px;
}

.vehicle-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ycars-dark);
}

.vehicle-description {
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
}

.vehicle-features {
    list-style: none;
    color: #888;
    font-size: 14px;
}

.vehicle-features li {
    margin-bottom: 4px;
}

/* Guarantees Section */
.guarantees {
    background: var(--bg-beige-pattern);
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.guarantee-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.guarantee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.guarantee-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f0f9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}

.guarantee-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ycars-dark);
    margin-bottom: 16px;
}

.guarantee-description {
    color: #666;
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    background: var(--bg-subtle-pattern);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f9fafb;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--ycars-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #c8b59c;
}

.faq-icon {
    color: var(--ycars-gradient-dark);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
margin-top: 10px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: #666;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    background: var(--bg-subtle-pattern);
}

.gallery-placeholder {
    background: white;
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.gallery-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.gallery-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--ycars-dark);
    margin-bottom: 16px;
}

.gallery-description {
    color: #666;
    font-size: 18px;
    margin-bottom: 32px;
}

.gallery-note {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    color: #888;
    font-size: 14px;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}

.carousel-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ycars-dark);
    text-align: center;
}

.carousel img {
  width: 100%;
  display: none;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}

.carousel img.active {
  display: block;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
}

.carousel-buttons button {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-buttons button:hover {
  background: var(--ycars-gradient-dark);
}



/* Reviews Section */
.reviews {
    /* background: var(--bg-subtle-pattern); */
background: linear-gradient(to top, #c8b49f 0%, #e4d5be 50%, #ffffff 100%);
}

.reviews-placeholder {
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.reviews-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.reviews-placeholder-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ycars-dark);
    margin-bottom: 16px;
}

.reviews-placeholder-description {
    color: #666;
    font-size: 18px;
    margin-bottom: 32px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 24px;
    margin-bottom: 32px;
}

.video-placeholder {
  position: relative;
  max-width: 600px;
  margin: 40px auto;
  background-color: black;
  border-radius: 12px;
  overflow: hidden;
}

.video-placeholder video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background-color: black;
}

.video-placeholder p {
  margin-top: 8px;
  font-size: 14px;
}

/* Стилі контролів */
.custom-controls {
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  transition: opacity 0.4s ease;
}

/* Сховати при неактивності */
.hidden {
  opacity: 0;
  pointer-events: none;
}



/* Стилі кнопок */
.custom-controls button {
  background: transparent;
  color: #ffffff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.custom-controls button:hover {
  background: #998b7c;
}

.custom-controls button#fullscreenBtn {
  background: #fafafa;
  color: #1d252e;
}

.custom-controls button#fullscreenBtn:hover {
  background: #998b7c;
}

/* Прогрес бар */
.custom-controls input[type="range"] {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: #5b5a5e;
  accent-color: #fafafa;
  cursor: pointer;
}

.reviews-note {
    background: white;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 16px;
    color: #888;
    font-size: 14px;
}

/* Contact Section */
.contact {
background: linear-gradient(to bottom, #c8b49f 0%, #1d252e 100%);

background-size: cover;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto 48px;
}

.contact-form {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--ycars-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ycars-gradient-dark);
    box-shadow: 0 0 0 3px rgba(200, 180, 159, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    background: var(--emerald);
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-submit:hover {
    background: var(--emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.form-note {
    text-align: center;
    color: #888;
    font-size: 12px;
    margin-top: 16px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    text-align: center;
}

.contact-item {
    color: white;
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-text {
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--ycars-dark);
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    /*grid-template-columns: 2fr 1fr 1fr;*/
    gap: 48px;
    margin-bottom: 32px;
}

.footer-main {
    max-width: 400px;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
}

.footer-description {
    color: #d1d5db;
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social .social-link {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-social .social-link:hover {
        color: #e1cab0;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-link {
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-link:hover {
        color: #e1cab0;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #d1d5db;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 14px;
}

.phone-link {
  color: inherit;         /* або будь-який інший колір: #fff, #ccc тощо */
  text-decoration: none;
}
.phone-link:hover {
  text-decoration: underline; /* або залишити none */
}

/* Основний фон поп-апу */
.popup {
  display: none; /* Залишаємо прихованим, JS змінить це на flex */
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  overflow-y: auto;
  
  /* ДОДАЄМО ЦІ ТРИ РЯДКИ ДЛЯ ЦЕНТРУВАННЯ */
  align-items: center;     /* Центрування по вертикалі ↕️ */
  justify-content: center; /* Центрування по горизонталі ↔️ */
}

/* Саме вікно з формою */
.popup-content {
  background: #fff;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
  
  /* ВИДАЛЯЄМО АБО ЗАКРОСЛЮЄМО ЦЕЙ РЯДОК (margin нам більше не потрібен) */
  /* margin: 5% auto; */
  margin: 0; 
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}


/* Responsive Design */
@media (min-width: 1024px) {


    .nav-menu {
        display: flex;
    }
    
    .nav-social {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-car {
        display: block;
    }
    
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .vehicle-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .guarantees-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 16px;
    }
    
    .popup-content {
  margin: 12% auto;
}

.nav-container {
        padding: 0 16px;
    }
    
    .nav-logo .logo-img {
        height: 36px;
    }
    
    .hamburger {
        width: 28px;
        height: 28px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicle-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .gallery-placeholder,
    .reviews-placeholder {
        padding: 32px 24px;
    }
}


@media (min-width: 0px) and (max-width: 776px) {
    
    .popup-content {
  margin: 16% auto;
}
}

#reviews {
  padding-bottom: 20px !important; 
  margin-bottom: -1px !important; /* Наїжджаємо на наступну секцію на 1px, щоб вбити білу смужку */
  position: relative;
  z-index: 1;
}

#contact {
  position: relative;
  z-index: 2;
}

.video-carousel {
  position: relative;
  max-width: 600px;
  /* Зменшили відступ знизу з 32px до 10px */
  margin: 0 auto 0 !important;
  overflow: hidden; 
  touch-action: pan-y;
  cursor: grab;
  min-height: 400px; 
  /* Прибрали border: 3px dashed red; */
  
  /* Фікс білої смужки при свайпі: */
  transform: translateZ(0); 
  backface-visibility: hidden;
}

#carouselWrapper {
  display: flex !important; 
  width: 100%;
  transition: transform 0.5s ease-out;
}

.video-slide {
  flex: 0 0 100% !important; 
  width: 100% !important;
  opacity: 1 !important; 
  display: block !important; 
}

.video-nav-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
margin-top: 15px !important;
  margin-bottom: 0 !important;
}

.video-nav-buttons button {
  padding: 12px 24px;
  font-size: 22px;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  /* Твій новий колір */
  background: #1d252e; 
  color: #FFFFFF; /* Білі стрілочки */
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2); 
}

.video-nav-buttons button:hover {
  background: #2a3542; /* Трохи світліше при наведенні */
  transform: translateY(-2px);
}

/* --- Підказка свайпу (без змін, тільки для мобільних) --- */
#swipe-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px 25px;
  border-radius: 30px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999; /* Піднімаємо поверх усіх відео! */
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Тепер підказка буде світитися нескінченно, поки скрипт не забере цей клас */
#swipe-hint.show {
  opacity: 1;
  visibility: visible;
}

#swipe-hint span.hand-icon {
  font-size: 24px;
  animation: swipeGesture 1.5s infinite;
}

@keyframes swipeGesture {
  0% { transform: translateX(10px); opacity: 0; }
  30% { transform: translateX(10px); opacity: 1; }
  60% { transform: translateX(-10px); opacity: 1; }
  90% { transform: translateX(-10px); opacity: 0; }
  100% { transform: translateX(10px); opacity: 0; }
}
/* Анімацію fadeOutHint можна взагалі видалити, вона більше не потрібна */

@keyframes fadeOutHint {
  0% { opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; visibility: hidden; }
}