/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

/* === Переменные === */
:root {
    --primary: #eb6025;
    --primary-light: #ff7f49;
    --primary-dark: #b83902;
    --accent: #eb6025;
    --success: #10b981;
    --success-bg: #dcfce7;
    --success-text: #166534;
    --danger: #ef4444;
    --danger-bg: #fee2e2;
    --danger-text: #991b1b;
    --light-bg: #f8fafc;
    --light-border: #e2e8f0;
    --dark-text: #1e293b;
    --mid-text: #475569;
    --light-text: #64748b;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

/* === Сброс и база === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Candara;
    background-color: #fff;
    color: var(--dark-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}

h1, h2, h3, h4, h5, h6, .logo a, .btn, .btn-large, .btn-small {
    font-family: Arial;
}

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

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

/* === Кнопки === */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-align: center;
}

.btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
}

.btn-danger:hover {
    background: #dc2626;
}

/* === Header === */
.header {
    background: var(--white);
    padding: 1.2rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.nav a {
    margin-left: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1rem;
}

/* === Main Content === */
.main-content {
    flex: 1;
}

/* === Hero === */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: linear-gradient(135deg, #ffffff 0%, #e6e6e6 100%);*/
    padding: 6rem 0;
    text-align: center;
    margin-bottom: 3rem;
    height: 600px;
    background-image: url("../uploads/i.webp");
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--dark-text);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--mid-text);
}

/* === Features === */
.features {
    padding: 2rem 0 4rem;
}

.features h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    color: var(--dark-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* === Tours Grid === */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tour-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.tour-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.tour-placeholder {
    width: 100%;
    height: 180px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-weight: 500;
}

.tour-content {
    padding: 1.2rem;
}

.tour-content h3 {
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
    color: var(--dark-text);
}

.tour-desc {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.tour-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.6rem 0;
}

/* === Reviews === */
.reviews-section {
    background: var(--light-bg);
    padding: 3rem 0;
    margin: 4rem 0;
}

.reviews-list {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.review-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    align-items: center;
}

.review-rating {
    color: #f59e0b;
    font-weight: 600;
}

.review-tour {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 0.5rem;
}

/* === Forms === */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--light-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: Candara;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* === Alerts === */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert.success {
    background: var(--success-bg);
    color: var(--success-text);
    border-left: 4px solid var(--success);
}

.alert.error {
    background: var(--danger-bg);
    color: var(--danger-text);
    border-left: 4px solid var(--danger);
}

/* === Status badges === */
.status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* === Footer === */
.footer {
    background: #f1f5f9;
    padding: 2.5rem 0;
    margin-top: auto;
}

.footer .container {
    text-align: center;
}

.footer p {
    margin: 0.4rem 0;
    color: var(--light-text);
}

.footer a {
    color: var(--primary);
}

.social {
    margin-top: 1rem;
    color: var(--light-text);
    font-weight: 600;
}

/* === Pagination === */
.pager {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pager .btn,
.pager .btn-outline {
    margin: 0;
    padding: 8px 14px;
}

/* === Адаптивность === */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }

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

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

    .nav {
        display: none;
    }

    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

    .filter-form {
        flex-direction: column !important;
        align-items: stretch !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}
/* === Админка: статусы === */
.status-select {
    padding: 6px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
}

.status-select:focus {
    outline: none;
    border-color: var(--primary);
}

.update-status {
    font-size: 0.9rem;
    padding: 6px 12px;
}

/* === Карточки заявок === */
.bookings-list .review-item {
    transition: transform 0.2s ease;
}

.bookings-list .review-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.bt45{
    height: 45px;
    margin-top: 10%;
}

.tour-main-image{
    height: 450px;
    background-position: center;
    background-size: 100%;
}

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

.gap10{
    gap: 10px;

}