/*
    Theme Name: Rope On Slope
    Theme URI: https://www.ropeonslope.com
    Author: Abhishek Tiwari
    Author URI: https://www.ropeonslope.com
    Description: This theme provides a clean and modern design for your WordPress site, having different packages of traveling and trekking.
    Version: 1.0.3
    License: GPL v2 or later
    Text Domain: rope-on-slope
*/

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

/* ── Global CSS Variables ──────────────────────────── */
:root {
    --primary:       #f15a24;
    --primary-dark:  #c44d00;
    --dark:          #0b173c;
    --dark-mid:      #1a2d6b;
    --text:          #444;
    --text-light:    #666;
    --text-muted:    #999;
    --bg-body:       #ffffff;
    --bg-light:      #f8f9fc;
    --border:        rgba(11, 23, 60, 0.08);
    --shadow-sm:     0 2px 8px rgba(11, 23, 60, 0.06);
    --shadow-md:     0 8px 28px rgba(11, 23, 60, 0.12);
    --shadow-lg:     0 20px 52px rgba(11, 23, 60, 0.18);
    --radius-sm:     8px;
    --radius-md:     16px;
    --radius-lg:     24px;
    --transition:    0.3s ease;
}

/* ── Base Reset ────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0 !important;
    padding: 0;
    background-color: var(--bg-body);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ── Scroll Reveal Animation ───────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Layout Helpers ────────────────────────────────── */
.page-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
}

.container-fluid {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 30px;
}

.blog-contents {
    max-width: 820px;
}

/* ── Focus & Accessibility ─────────────────────────── */
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Selection Color ───────────────────────────────── */
::selection {
    background: rgba(241, 90, 36, 0.18);
    color: #0b173c;
}

/* ── Responsive Helpers ────────────────────────────── */
@media (max-width: 768px) {
    .container-fluid {
        display: block;
    }
}
