/* =========================================
   1. RESET & FONTS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary: #2c5e55;       /* Глубокий зеленый (доверие, природа) */
    --primary-dark: #1e423c;  /* Темный зеленый для ховера */
    --secondary: #d4a373;     /* Золотисто-песочный (акценты, роскошь) */
    --bg: #faf9f6;            /* Цвет яичной скорлупы (фон) */
    --white: #ffffff;
    --text: #333333;          /* Основной текст */
    --text-light: #666666;    /* Второстепенный текст */
    --border: #e5e5e5;        /* Рамки */
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 4px;
}

ul, ol {
    list-style: none;
}

/* =========================================
   2. COMMON LAYOUT
   ========================================= */
.ori-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ori-section {
    padding: 80px 0;
}

.ori-btn {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--secondary);
    cursor: pointer;
    font-size: 14px;
}

.ori-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* =========================================
   3. HEADER
   ========================================= */
.ori-header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ori-nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ori-logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ori-logo img {
    width: 32px;
    height: auto;
}

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

.ori-menu {
    display: flex;
    gap: 30px;
}

.ori-menu a {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.5px;
}

.ori-menu a:hover, 
.ori-menu a.active {
    color: var(--secondary);
}

.ori-burger {
    display: none;
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--primary);
}

/* =========================================
   4. HERO SECTIONS
   ========================================= */
.ori-hero {
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    /* Стандартная высота, может переопределяться inline-стилями */
    min-height: 500px; 
}

.ori-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.35); /* Затемнение фото */
}

.ori-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.ori-hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.ori-hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

/* =========================================
   5. CARDS & GRID (Destinations / Blog)
   ========================================= */
.ori-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ori-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ori-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.ori-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: opacity 0.3s;
}

.ori-card:hover img {
    opacity: 0.9;
}

.ori-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ori-card-tag {
    font-size: 11px;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.ori-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.ori-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* =========================================
   6. BLOG SPECIFIC STYLES (New!)
   ========================================= */
.ori-blog-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.ori-blog-meta span:not(:first-child)::before {
    content: "•";
    margin-right: 10px;
    color: var(--secondary);
}

.ori-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.ori-page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-weight: 600;
    color: var(--primary);
}

.ori-page-link:hover,
.ori-page-link.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* =========================================
   7. SINGLE ARTICLE LAYOUT (New!)
   ========================================= */
.ori-article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Контент : Сайдбар */
    gap: 60px;
}

.ori-article-content {
    font-size: 1.15rem;
    color: #222;
}

.ori-article-content p {
    margin-bottom: 25px;
    text-align: justify;
}

.ori-article-content h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
}

.ori-article-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
    color: var(--text);
}

.ori-article-content ul li {
    margin-bottom: 10px;
}

.ori-article-content blockquote {
    background: #f3f6f5; /* Очень светлый зеленый */
    padding: 30px;
    margin: 40px 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--primary);
    border-radius: 4px;
    text-align: center;
}

/* Sidebar Styles */
.ori-sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.ori-widget-title {
    font-size: 16px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 15px;
    margin-bottom: 25px;
    color: var(--primary);
    letter-spacing: 1px;
}

.ori-recent-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.ori-recent-post:last-child {
    margin-bottom: 0;
}

.ori-recent-post img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.ori-recent-post h4 {
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.ori-recent-post h4 a:hover {
    color: var(--secondary);
}

/* =========================================
   8. ABOUT & TEXT BLOCKS
   ========================================= */
.ori-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ori-text-block p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* =========================================
   9. FORMS
   ========================================= */
.ori-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
    border-top: 5px solid var(--primary);
}

.ori-input-group {
    margin-bottom: 25px;
}

.ori-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    text-transform: uppercase;
}

.ori-input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    background: #fcfcfc;
    transition: border-color 0.3s;
}

.ori-input:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--white);
}

/* =========================================
   10. FOOTER
   ========================================= */
.ori-footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 30px;
    margin-top: auto; /* Sticky footer logic if needed */
}

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

.ori-footer h4 {
    color: var(--secondary);
    font-size: 18px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    display: inline-block;
}

.ori-footer ul li {
    margin-bottom: 12px;
}

.ori-footer ul li a {
    opacity: 0.8;
    font-size: 14px;
}

.ori-footer ul li a:hover {
    opacity: 1;
    color: var(--secondary);
    padding-left: 5px;
}

.ori-copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}

.ori-copyright a {
    margin: 0 10px;
    text-decoration: underline;
}

/* =========================================
   11. COOKIE BANNER
   ========================================= */
.ori-cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 9999;
    border-left: 5px solid var(--secondary);
    display: none; /* Controlled by JS */
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.ori-cookie-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}

.ori-cookie-btn:hover {
    background: var(--secondary);
}

/* =========================================
   12. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 900px) {
    .ori-article-layout {
        grid-template-columns: 1fr; /* Stack content on tablet/mobile */
        gap: 40px;
    }
    
    .ori-article-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .ori-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        gap: 15px;
    }

    .ori-menu.active {
        display: flex;
    }

    .ori-burger {
        display: block;
    }

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

    .ori-about-grid {
        grid-template-columns: 1fr;
    }
    
    .ori-about-grid img {
        order: -1; /* Image first on mobile */
        margin-bottom: 20px;
    }

    .ori-cookie-banner {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .ori-form-wrapper {
        padding: 25px;
    }
}