/* Базовые стили */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    font-weight: 300;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Запрет прокрутки при открытом бургер-меню */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

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

/* Шапка */
.site-header {
    background: #293844;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.site-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    color: white;
    font-size: 0.9rem;
    margin-right: 15px;
}

.header-hours {
    white-space: nowrap;
    font-weight: 500;
}

.header-email {
    color: white;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.header-email:hover {
    color: #e67e22;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-phones {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.header-phone {
    color: white;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
    font-size: 0.95em;
}

.header-phone:hover {
    color: #e67e22;
}

.logo img {
    height: 90px;
    width: auto;
    transition: all 0.3s;
}

.help-button {
    background: #e67e22;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    margin-left: 0;
    order: 2;
    cursor: pointer;
    border-radius: 25px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.help-button:hover {
    background: #d35400;
}

.bel-tour-section {
  font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  padding: 40px 0;
  background-color: #f9f9f9;
}

.bel-tour-section .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.bel-tour-section .content-wrapper {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bel-tour-section .main-title {
  color: #2c3e50;
  font-size: 28px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #3498db;
  text-align: center;
}

.bel-tour-section .intro-text {
  margin-bottom: 30px;
  font-size: 18px;
  color: #444;
}

.bel-tour-section .section-title {
  color: #2980b9;
  font-size: 22px;
  margin: 30px 0 20px;
  padding-left: 15px;
  border-left: 4px solid #3498db;
}

.bel-tour-section .lectures-list {
  margin: 20px 0 30px;
  padding-left: 20px;
  counter-reset: item;
}

.bel-tour-section .lectures-list li {
  margin-bottom: 12px;
  padding-left: 10px;
  position: relative;
  font-size: 17px;
}



.bel-tour-section .lectors {
  background-color: #f8f9fa;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid #2ecc71;
  margin: 25px 0;
}

.bel-tour-section .lectors p {
  margin: 0;
  font-size: 17px;
}

.bel-tour-section .additional-info {
  margin: 30px 0;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 8px;
}

.bel-tour-section .contribution {
  margin-top: 20px;
  padding: 15px;
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  text-align: center;
}

.bel-tour-section .contribution p {
  margin: 0;
  font-size: 18px;
  color: #856404;
}

.bel-tour-section .requisites {
  margin-top: 40px;
  padding: 25px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.bel-tour-section .requisites-content p {
  margin: 10px 0;
  padding: 8px 0;
  font-size: 16px;
}

.bel-tour-section .requisites-content p strong {
  color: #2c3e50;
  min-width: 120px;
  display: inline-block;
}

/* Адаптивность */
@media (max-width: 768px) {
  .bel-tour-section .content-wrapper {
    padding: 20px;
  }
  
  .bel-tour-section .main-title {
    font-size: 24px;
  }
  
  .bel-tour-section .section-title {
    font-size: 20px;
  }
  
  .bel-tour-section .lectures-list li {
    font-size: 16px;
  }
  
  .bel-tour-section .requisites-content p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .bel-tour-section {
    padding: 20px 0;
  }
  
  .bel-tour-section .content-wrapper {
    padding: 15px;
  }
  
  .bel-tour-section .main-title {
    font-size: 22px;
  }
  
  .bel-tour-section .requisites-content p strong {
    display: block;
    margin-bottom: 5px;
  }
}

/* Стили для таблицы программ экскурсий */
.excursion-programs {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.excursion-programs .section-title {
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
  font-size: 32px;
  font-weight: 500;
  position: relative;
}

.excursion-programs .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #8B4513;
  margin: 15px auto 0;
}

.excursions-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto 40px;
  background: white;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
}

.excursions-table thead {
  background: #8B4513;
}

.excursions-table th {
  padding: 20px;
  text-align: left;
  color: white;
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.excursions-table tbody tr {
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.excursions-table tbody tr:last-child {
  border-bottom: none;
}

.excursions-table tbody tr:hover {
  background-color: #f5f1ee;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.excursions-table td {
  padding: 18px 20px;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}

.table-note {
  background: #e8f4fd;
  border-left: 4px solid #3498db;
  padding: 20px 25px;
  border-radius: 4px;
  margin-top: 30px;
}

.table-note p {
  margin: 0 0 10px 0;
  color: #2c3e50;
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
}

.table-note .program-phones {
  font-weight: 600;
  color: #8B4513;
  font-size: 17px;
  margin: 15px 0 0 0;
  font-style: normal;
}

/* Адаптивность таблицы */
@media (max-width: 768px) {
  .excursion-programs {
    padding: 40px 0;
  }
  
  .excursion-programs .section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  .excursions-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
  }
  
  .excursions-table th,
  .excursions-table td {
    padding: 15px;
    font-size: 15px;
  }
  
  .excursions-table th {
    font-size: 16px;
    padding: 16px;
  }
  
  .table-note {
    padding: 15px 20px;
  }
  
  .table-note p {
    font-size: 15px;
  }
  
  .table-note .program-phones {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .excursion-programs .section-title {
    font-size: 24px;
  }
  
  .excursions-table th,
  .excursions-table td {
    padding: 12px;
    font-size: 14px;
  }
  
  .excursions-table th {
    font-size: 15px;
  }
  
  .table-note {
    padding: 12px 15px;
  }
  
  .table-note p {
    font-size: 14px;
  }
  
  .table-note .program-phones {
    font-size: 15px;
  }
}

/* Стили для детального описания тура */
.tour-detail {
  padding: 60px 0;
  background-color: #fff;
  border-top: 1px solid #eee;
}

.tour-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.tour-title {
  color: #8B4513;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 1.3;
}

.tour-organizer {
  font-size: 17px;
  color: #555;
  line-height: 1.6;
}

.tour-organizer strong {
  color: #2c3e50;
}

.tour-description {
  background: #f8f9fa;
  padding: 20px 25px;
  border-radius: 8px;
  margin-bottom: 40px;
  border-left: 4px solid #3498db;
}

.tour-description p {
  margin: 0;
  color: #333;
  font-size: 17px;
  line-height: 1.6;
}

.program-section {
  margin-bottom: 40px;
}

.program-title {
  color: #2c3e50;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #8B4513;
}

.program-timeline {
  position: relative;
  padding-left: 30px;
}

.program-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #8B4513;
}

.time-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 20px;
}

.time-item:last-child {
  margin-bottom: 0;
}

.time-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 5px;
  width: 18px;
  height: 18px;
  background: #8B4513;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #8B4513;
}

.time {
  font-weight: 600;
  color: #8B4513;
  font-size: 18px;
  margin-bottom: 8px;
}

.time-item .description {
  color: #333;
  line-height: 1.6;
  font-size: 16px;
}

.time-item .description p {
  margin: 0;
}

.included-section,
.extra-section {
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 8px;
}

.included-section {
  background: #f0f8f0;
  border: 1px solid #d4edda;
}

.extra-section {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
}

.section-subtitle {
  color: #2c3e50;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
}

.included-list,
.extra-list {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.included-list li,
.extra-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.included-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.extra-list li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ff9800;
  font-size: 20px;
}

.included-list li:last-child,
.extra-list li:last-child {
  margin-bottom: 0;
}

/* Адаптивность для детального описания */
@media (max-width: 768px) {
  .tour-detail {
    padding: 40px 0;
  }
  
  .tour-title {
    font-size: 26px;
  }
  
  .tour-organizer {
    font-size: 16px;
  }
  
  .tour-description {
    padding: 15px 20px;
  }
  
  .tour-description p {
    font-size: 16px;
  }
  
  .program-title {
    font-size: 22px;
  }
  
  .program-timeline {
    padding-left: 25px;
  }
  
  .time {
    font-size: 17px;
  }
  
  .time-item .description {
    font-size: 15px;
  }
  
  .section-subtitle {
    font-size: 18px;
  }
  
  .included-section,
  .extra-section {
    padding: 15px;
  }
  
  .included-list li,
  .extra-list li {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .tour-title {
    font-size: 24px;
  }
  
  .program-timeline {
    padding-left: 20px;
  }
  
  .program-timeline::before {
    left: 8px;
  }
  
  .time-item::before {
    left: -6px;
    width: 16px;
    height: 16px;
  }
  
  .time {
    font-size: 16px;
  }
  
  .time-item .description {
    font-size: 14px;
  }
  
  .section-subtitle {
    font-size: 17px;
  }
}

main {
    flex: 1 0 auto;
    padding: 20px 0;
}

.main-nav {
    display: flex;
}

.main-nav ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #e67e22;
}

.main-nav li {
    position: relative;
}

.main-nav .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    background: #2c3e50;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.main-nav li:hover .dropdown {
    display: block;
}

.main-nav .dropdown li {
    padding: 0.5rem 1rem;
}

.main-nav .dropdown a {
    color: white !important;
    font-size: 1rem;
    z-index: 1000;
    min-width: auto;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
}

.main-nav .dropdown a:hover {
    color: #e67e22 !important;
}

/* Бургер меню */
.burger-menu {
    display: none;
}

.burger-checkbox {
    position: absolute;
    visibility: hidden;
}

.burger {
    position: relative;
    z-index: 1;
    cursor: pointer;
    display: block;
    border: none;
    background: transparent;
    width: 30px;
    height: 24px;
}

.burger::before,
.burger::after {
    content: '';
    left: 0;
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform-origin: center;
    top: 50%;
    transform: translateY(-50%);
}

.burger::before {
    top: 0;
    transform: translateY(0);
}

.burger::after {
    bottom: 0;
    transform: translateY(0);
}

.burger-checkbox:checked + .burger::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.burger-checkbox:checked + .burger::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.burger-checkbox:checked + .burger span {
    opacity: 0;
}

.burger-checkbox:checked ~ .mobile-menu {
    top: 100%; 
    position: absolute;
    width: 100%;
    left: 0;
}

.burger:hover::before,
.burger:hover::after {
    background: #e67e22;
}

.burger:hover span {
    background: #e67e22 !important;
}

/* Основной контент */
.excursion {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.excursion__title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    padding-top: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery__item {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery__item:hover {
    transform: scale(1.03);
}

.contacts {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contacts__phone {
    display: block;
    font-size: 1.2rem;
    color: #2c3e50;
    text-decoration: none;
    margin: 10px 0;
    transition: color 0.3s;
}

.contacts__phone:hover {
    color: #e74c3c;
}
  
/* Подвал */
.site-footer {
    background: #293844;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer {
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

.work-time {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.work-time span {
    font-size: 0.9em;
    color: #666;
}

.footer-copyright {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.footer-email {
    color: white;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #e67e22;
}

.footer-phone {
    color: white;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
    font-size: 0.95em;
}

.footer-phone:hover {
    color: #e67e22;
}

@media screen and (orientation: landscape) and (max-width: 1024px) {
    .header-contacts {
        display: none;
    }

    .main-nav a {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }

    .main-nav ul {
        gap: 10px;
    }

    .header-row {
        gap: 10px;
    }
}

@media (min-width: 769px) {
    .main-nav {
        display: flex !important;
    }
}

@media (max-width: 768px) {

    .site-header {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .header-row {
        padding: 15px 0;
    }

    .header-right-group {
        order: 2;
    }
    
    .header-contacts {
        margin-right: 0.5rem;
    }

    .header-contacts,
    .header-phone {
        display: none;
    }

    .logo img {
        height: 70px;
    }

    .help-button {
        order: 1;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #293844;
        padding: 20px;
    }

    .main-nav li {
        padding: 0.5rem 0;
    }

    .main-nav.active {
        display: block;
        border-top-color: #405365;
    }
    
    .main-nav .dropdown {
        position: static;
        display: none;
        background: transparent;
        box-shadow: none;
        padding: 0 0 0 20px;
    }
    
    .main-nav .dropdown li {
        padding: 0;
    }

    .main-nav li:hover .dropdown {
        display: block;
    }

    .main-nav .dropdown a {
        padding: 12px 0;
        font-size: 1rem;
        color: #e67e22;
    }

    .main-nav > ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid #405365;
    }
    
    .main-nav > ul > li > a {
        display: block;
        padding: 15px 0;
        font-size: 1.2rem;
    }

    .burger-menu {
        display: block;
        margin-left: 15px;
        order: 3;
    }

    .excursion {
        padding: 20px 10px;
    }
    
    .excursion__title {
        font-size: 2rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .contacts__phone {
        font-size: 1rem;
    }

    .footer-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-left,
    .footer-right {
        text-align: center;
        width: 100%;
    }
    
    .work-time {
        align-items: center;
    }

    .burger-checkbox:checked ~ .main-nav {
        display: block;
    }
}

@media (max-width: 600px) {
    .video-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .excursion__title {
        font-size: 1.5rem;
    }
    
    .gallery__item {
        height: 150px;
    }
}