@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/TildaSans-VF.woff2') format('woff2-variations');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --primary: #000;
    --secondary: #169e34;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --font-family: 'TildaSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: #f5f5f5;
    color: var(--dark);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    line-height: 1.2;
}

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

/* Header styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

header.header-hidden {
    transform: translateY(-100%);
}

.header-topbar {
    background-color: var(--secondary);
    color: white;
    font-size: 0.85rem;
    padding: 6px 0;
    text-align: center;
}

.header-topbar a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s;
}

.header-topbar a:hover {
    opacity: 0.8;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo h1 {
    font-size: 1.6rem;
    color: #ec1717;
    font-weight: 800;
    margin-top: 10px;
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.3rem;
    position: relative;
}

nav a:hover {
    color: var(--secondary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s;
}

.phone:hover {
    color: var(--secondary);
}

.phone-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.messenger-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.messenger-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.05rem;
}

.messenger-link.telegram {
    background-color: #2CA5E0;
    color: white;
}

.messenger-link.telegram:hover {
    background-color: #1a8dc4;
    transform: scale(1.1);
}

.messenger-link.max {
    overflow: hidden;
}

.messenger-link.max img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.messenger-link.max:hover {
    opacity: 0.85;
    transform: scale(1.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* About section with carousel background */
#about {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-image: url('../img/about-1.webp');
    background-size: cover;
    background-position: center;
}

#about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(3, 3, 3, 0.8),
        rgba(11, 11, 11, 0.7)
    );
}

.about-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-content .section-title {
    color: #fff;
}

.about-text {
    font-size: 1.15rem;
    color: #fff;
}

.about-text p:first-child {
    margin-bottom: 25px;
}

/* Каталог кемперов */
#campers-catalog {
    padding: 50px 0;
    background-color: var(--light);
}

.catalog-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 800;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.camper-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.camper-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.camper-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.camper-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.camper-info {
    padding: 25px;
}

.camper-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
}

.camper-price {
    font-size: 1.8rem;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 15px;
}

.camper-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.camper-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.95rem;
}

.spec-icon {
    color: var(--secondary);
}

.camper-features-list {
    list-style: none;
    margin-bottom: 20px;
}

.camper-features-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: var(--dark);
    font-size: 0.95rem;
}

.camper-features-list li:last-child {
    border-bottom: none;
}

.view-details-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.view-details-btn:hover {
    background-color: var(--secondary);
}

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.4s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.modal-close:hover {
    background-color: var(--secondary);
    transform: rotate(90deg);
}

.modal-header {
    padding: 30px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 10px;
}

.modal-price {
    font-size: 2rem;
    color: var(--secondary);
    font-weight: 800;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.modal-gallery {
    position: relative;
}

.main-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 15px;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
}

.thumbnail {
    min-width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    transform: scale(1.05);
}

.modal-details {
    padding-right: 10px;
}

.details-section {
    margin-bottom: 30px;
}

.details-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.details-title i {
    color: var(--secondary);
}

.details-list {
    list-style: none;
}

.details-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.details-list li:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--gray);
}

.detail-value {
    font-weight: 600;
    color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.feature-item i {
    color: var(--secondary);
}

.modal-footer {
    padding: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.book-now-btn {
    padding: 16px 40px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.book-now-btn:hover {
    background-color: #d18c3a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.additional-info {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Hero section */
.hero {
    padding: 30px 0;
    background: linear-gradient(
        rgba(107, 84, 34, 0.427), rgba(102, 59, 24, 0.3)),
        url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-description {
    font-size: 1.3rem;
    background: linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.47));
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: 100px auto 40px;
}

.hero-description a {
    color: white;
}

.hero-title {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 800;
}

.hero h2 {
    font-size: 62px;
    margin-top: 50px;
    margin-bottom: 50px;
    font-weight: 600;
    line-height: 1.17;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
}

.btn:hover {
    background-color: #d18c3a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Slider section */
.slider-section {
    padding: 50px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 800;
}

/* Booking form section */
.booking-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.booking-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.booking-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 800;
}

.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
}

.booking-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 60px;
    right: 60px;
    height: 3px;
    background-color: #eee;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ddd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 15px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.step.active .step-number {
    background-color: var(--secondary);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(224, 164, 88, 0.3);
}

.step.completed .step-number {
    background-color: var(--primary);
}

.step-label {
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
    font-size: 1.05rem;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eaeaea;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: var(--font-family);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(224, 164, 88, 0.1);
}

.form-row {
    display: flex;
    gap: 25px;
}

.form-row .form-group {
    flex: 1;
}

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

.campers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.form-message {
    margin-top: 25px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 1.05rem;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.form-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 2px solid #bee5eb;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.summary-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-top: 50px;
    margin-bottom: 30px;
    border-left: 5px solid var(--secondary);
}

.summary-card h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.summary-card ul {
    padding-left: 20px;
    color: var(--gray);
    line-height: 1.7;
}

.summary-card ul li {
    margin-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.summary-row:last-child {
    border-bottom: none;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
}

/* Services and prices section */
.services-section {
    padding: 100px 0;
    background-color: white;
}

.services-container {
    max-width: 1000px;
    margin: 0 auto;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.services-table thead {
    background-color: var(--primary);
    color: white;
}

.services-table th {
    padding: 10px 10px;
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
}

.services-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.services-table tbody tr:hover {
    background-color: #f9f9f9;
}

.services-table td {
    padding: 20px;
    vertical-align: top;
}

.service-name {
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.service-icon {
    color: var(--secondary);
    font-size: 1.3rem;
    width: 28px;
}

.service-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-price {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.2rem;
    text-align: right;
}

.service-category {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.category-title {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 800;
}

.category-icon {
    background-color: var(--secondary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-map {
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    background-color: #eee;
}

#yandex-map {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.footer-contacts h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 800;
}

.footer-contacts .messenger-links {
    margin-top: 8px;
}

.footer-phone {
    color: white;
}

#contacts {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.25)),
    url('../img/contacts-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-icon {
    background-color: var(--secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ===== Camper Detail Info Section ===== */
#campers-detail-info {
    padding: 80px 0;
    background-color: white;
}

.detail-section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 50px;
}

.detail-section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 60px;
}

.detail-section-subtitle a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.detail-section-subtitle a:hover {
    text-decoration: underline;
}

/* Gallery + Summary */
.detail-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 30px;
}

.detail-main-img {
    width: 100%;
    height: 380px;
    border-radius: 16px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-bottom: 14px;
    cursor: zoom-in;
    transition: opacity 0.2s;
}

.detail-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
}

.detail-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.detail-thumb {
    width: 72px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.25s;
}

.detail-thumb:hover,
.detail-thumb.active {
    opacity: 1;
    border-color: var(--secondary);
    transform: scale(1.05);
}

.detail-summary {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
}

.detail-price-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

.detail-price-note {
    font-size: 1.0rem;
    color: var(--gray);
    background-color: #e25757;
    padding: 4px 10px;
    border-radius: 20px;
    color: #fff;
    font-weight: 500;
}

.detail-key-specs {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-key-spec {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background-color: var(--light);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--dark);
}

.detail-key-spec i {
    color: var(--secondary);
    font-size: 1.1rem;
    width: 18px;
    text-align: center;
}

.detail-key-spec strong {
    display: block;
    font-size: 1.0rem;
    color: var(--gray);
    font-weight: 400;
    margin-bottom: 1px;
}

.detail-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-family: var(--font-family);
}

.detail-book-btn:hover {
    background-color: #128a2c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 158, 52, 0.3);
}

/* Features icons row */
.detail-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 70px;
}

.detail-feature {
    text-align: center;
    padding: 28px 16px;
    border: 1px solid #eee;
    border-radius: 14px;
    transition: all 0.3s;
}

.detail-feature:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.detail-feature-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(22, 158, 52, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.3rem;
    color: var(--secondary);
}

.detail-feature h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.detail-feature p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.4;
}

/* Specs tables */
.detail-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 70px;
}

.detail-table-block h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-table-block h3 i {
    color: var(--secondary);
}

.detail-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.detail-specs-table tr {
    border-bottom: 1px solid #eee;
}

.detail-specs-table tr:last-child {
    border-bottom: none;
}

.detail-specs-table td {
    padding: 12px 4px;
    font-size: 0.95rem;
    vertical-align: top;
}

.detail-specs-table td:first-child {
    color: var(--gray);
    width: 55%;
}

.detail-specs-table td:last-child {
    font-weight: 600;
    color: var(--primary);
}

/* Equipment list */
.detail-equipment-block {
    background-color: var(--light);
    border-radius: 16px;
    padding: 40px;
}

.detail-equipment-block h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-equipment-block h3 i {
    color: var(--secondary);
}

.detail-equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.detail-equip-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--dark);
    background: white;
    padding: 12px 14px;
    border-radius: 8px;
}

.detail-equip-item i {
    color: var(--secondary);
    margin-top: 2px;
    flex-shrink: 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.equipment-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: white;
    padding: 10px 20px;
}

.equipment-item i {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.equipment-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.equipment-item strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.equipment-item span {
    font-size: 1.0rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
    .detail-main {
        grid-template-columns: 1fr;
    }

    .detail-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-specs-grid {
        grid-template-columns: 1fr;
    }

    .detail-equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .detail-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .detail-equipment-grid {
        grid-template-columns: 1fr;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .detail-main-img {
        height: 260px;
    }

    .detail-section-title {
        font-size: 1.7rem;
    }
}

/* ===== Sale Catalog ===== */
.sale-catalog-section {
    padding: 80px 0;
    background: #f7f9f7;
}

.sale-catalog-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 50px;
}

.sale-catalog-section .section-title {
    margin-bottom: 12px;
}

.sale-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.sale-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.sale-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 36px rgba(0,0,0,0.13);
}

.sale-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.sale-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.sale-card:hover .sale-card-img {
    transform: scale(1.04);
}

.sale-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sale-card-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sale-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.sale-card-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.sale-card-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.sale-card-specs li {
    display: flex;
    justify-content: space-between;
    font-size: 0.87rem;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 8px;
}

.sale-card-specs .spec-label {
    color: var(--gray);
    flex-shrink: 0;
}

.sale-card-specs .spec-value {
    color: var(--dark);
    font-weight: 600;
    text-align: right;
}

.sale-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.sale-btn-detail,
.sale-btn-order {
    flex: 1;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.sale-btn-detail {
    background: var(--light);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.sale-btn-detail:hover {
    background: var(--primary);
    color: #fff;
}

.sale-btn-order {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.sale-btn-order:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* ===== Sale Modal ===== */
.sale-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.sale-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sale-modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.sale-modal-close {
    position: sticky;
    top: 16px;
    left: calc(100% - 52px);
    float: right;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 16px 0 0;
    z-index: 10;
    flex-shrink: 0;
    transition: background 0.2s;
}

.sale-modal-close:hover {
    background: #e0e0e0;
}

.sale-modal-header {
    padding: 0 32px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.sale-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.sale-modal-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.sale-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.sale-modal-gallery {
    padding: 24px 24px 24px 32px;
    border-right: 1px solid #f0f0f0;
}

.sale-modal-main-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
    margin-bottom: 12px;
    background: #f0f0f0;
}

.sale-modal-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sale-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}

.sale-gallery-nav:hover {
    background: rgba(0,0,0,0.7);
}

.sale-gallery-prev { left: 10px; }
.sale-gallery-next { right: 10px; }

.sale-gallery-counter {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 0.8rem;
    padding: 3px 9px;
    border-radius: 20px;
}

.sale-modal-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sale-modal-thumb {
    width: 62px;
    height: 46px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, outline 0.2s;
    outline: 2px solid transparent;
}

.sale-modal-thumb.active,
.sale-modal-thumb:hover {
    opacity: 1;
    outline-color: var(--primary);
}

.sale-modal-details {
    padding: 24px 32px 24px 24px;
    overflow-y: auto;
    max-height: 450px;
}

.sale-details-section {
    margin-bottom: 24px;
}

.sale-details-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sale-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.sale-specs-table tr:not(:last-child) td {
    border-bottom: 1px solid #f0f0f0;
}

.sale-spec-label {
    color: var(--gray);
    padding: 7px 12px 7px 0;
    width: 45%;
    vertical-align: top;
}

.sale-spec-value {
    color: var(--dark);
    font-weight: 600;
    padding: 7px 0;
    vertical-align: top;
}

.sale-equip-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sale-equip-list li {
    font-size: 0.88rem;
    color: var(--dark);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.sale-equip-list li i {
    color: var(--secondary);
    font-size: 0.75rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.sale-modal-footer {
    padding: 20px 32px 28px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
}

.sale-modal-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.sale-modal-order-btn:hover {
    background: var(--secondary);
}

@media (max-width: 992px) {
    .sale-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sale-modal-body {
        grid-template-columns: 1fr;
    }

    .sale-modal-gallery {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 20px 20px 20px 20px;
    }

    .sale-modal-details {
        padding: 20px;
        max-height: none;
    }
}

@media (max-width: 600px) {
    .sale-cards-grid {
        grid-template-columns: 1fr;
    }

    .sale-card-actions {
        flex-direction: column;
    }

    .sale-modal-header {
        padding: 0 20px 16px;
    }

    .sale-modal-footer {
        padding: 16px 20px 20px;
    }
}

/* ===== Lightbox ===== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    padding: 60px 80px 20px;
    min-height: 0;
}

.lightbox-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    user-select: none;
    transition: opacity 0.2s;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s, transform 0.2s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.lightbox-thumbs {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.lightbox-thumbs::-webkit-scrollbar {
    height: 4px;
}

.lightbox-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.lightbox-thumb {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: all 0.2s;
}

.lightbox-thumb:hover,
.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--secondary);
}

@media (max-width: 576px) {
    .lightbox-img-wrap {
        padding: 60px 50px 16px;
    }
    .lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* Responsive styles */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .service-description {
        display: none;
    }

    .header-content {
        flex-wrap: wrap;
    }

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

    .phone-group {
        margin-top: 12px;
    }

    nav {
        width: 100%;
        order: 3;
        margin-top: 20px;
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .booking-steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .booking-steps::before {
        display: none;
    }

    .step {
        flex-direction: row;
        gap: 20px;
        width: 100%;
    }

    .step-label {
        text-align: left;
    }

    .booking-container {
        padding: 30px;
    }

    .services-table th,
    .services-table td {
        padding: 15px;
    }

    .service-name {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-content {
        gap: 40px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .about-content {
        padding: 30px 20px;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .modal-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    .header-topbar {
        font-size: 0.78rem;
        padding: 5px 10px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 14px 30px;
    }

    .slider-section, .booking-section, .services-section, #campers-catalog {
        padding: 70px 0;
    }

    .booking-container {
        padding: 25px;
    }

    .booking-title {
        font-size: 1.8rem;
    }

    .services-table {
        font-size: 0.9rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .carousel-dots {
        bottom: 20px;
    }

    .carousel-btn {
        padding: 0 15px;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .slide-info {
        padding: 20px;
    }

    .slide-title {
        font-size: 1.4rem;
    }

    .slide-price {
        font-size: 1.2rem;
    }

    .footer-map {
        height: 250px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    }
}
