/* CSS Variables based on visual references */
:root {
    --primary-bg: #2b3a35; /* Dark Slate Green */
    --primary-color: #ff6e5a; /* Coral / Light Orange */
    --primary-hover: #e55a47;
    --text-dark: #222222;
    --text-light: #555555;
    --bg-light: #f5f5f5; /* Off-white / light gray body bg */
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-icon {
    width: 16px;
    margin-left: 8px;
}

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

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

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    padding: 8px 20px;
    box-shadow: 2px 2px 0px #000;
}

.btn-secondary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px #000;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-outline:hover {
    border-color: var(--text-dark);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}

/* Header */
.site-header {
    background-color: var(--primary-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 50px;
}

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

.main-nav a {
    color: var(--white);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-image: url('https://adventurehome.com.ar/img/hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(245,245,245,0.7) 0%, rgba(245,245,245,0.1) 50%, rgba(245,245,245,1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
}

.scroll-icon {
    width: 30px;
    margin: 40px auto 0;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* Featured Section */
.featured-section {
    margin-top: -60px;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

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

.featured-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-img-wrapper {
    position: relative;
    height: 250px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tag {
    position: absolute;
    top: 0;
    left: 20px;
    background: #fdf0eb;
    color: var(--text-dark);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.6rem;
}

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

/* Articles List */
.articles-list {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.list-card {
    display: flex;
    background: var(--white);
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.list-card img {
    width: 40%;
    object-fit: cover;
}

.list-card-content {
    padding: 40px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.list-card-content h3 {
    font-size: 1.8rem;
}

.list-card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Pre-Footer */
.pre-footer {
    background-color: var(--white);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #eaeaea;
}

.pre-footer h2 {
    font-size: 2rem;
    color: var(--primary-bg);
}

.pre-footer p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    background-color: var(--primary-bg);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.disclaimer-container {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
}

.disclaimer {
    margin-bottom: 15px;
    line-height: 1.5;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    bottom: 30px;
    right: -500px; /* Hidden initially */
    width: 350px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: right 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid var(--primary-color);
}

.cookie-modal.show {
    right: 30px;
}

.cookie-content {
    padding: 25px;
}

.cookie-icon {
    width: 40px;
    margin-bottom: 10px;
}

.cookie-content h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--primary-bg);
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .list-card {
        flex-direction: column;
    }
    .list-card img, .list-card-content {
        width: 100%;
    }
    .list-card img {
        height: 250px;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .cookie-modal {
        width: calc(100% - 40px);
        right: -100%;
    }
    .cookie-modal.show {
        right: 20px;
        bottom: 20px;
    }
}

/* Inner page styles */
/* INTERNAL PAGE SPECIFIC STYLES */
.page-wrapper {
    background-color: var(--white);
    padding-bottom: 60px;
}

.single-article {
    max-width: 900px;
    padding-top: 60px;
}

/* Article Header */
.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-badge {
    display: inline-block;
    background-color: #fdf0eb;
    color: var(--primary-hover);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-title {
    font-size: 3.5rem;
    color: var(--primary-bg);
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-icon {
    width: 18px;
    opacity: 0.7;
}

/* Article Hero Image */
.article-image-wrapper {
    margin-bottom: 50px;
}

.article-hero-img {
    width: 100%;
    border-radius: var(--border-radius);
    object-fit: cover;
    aspect-ratio: 16/9;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Layout Wrapper for TOC and Content */
.article-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

/* Table of Contents */
.toc {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 25px 30px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.toc-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-bg);
    margin-bottom: 15px;
}

.toc ul {
    list-style: none;
    padding-left: 0;
}

.toc li {
    margin-bottom: 10px;
}

.toc a {
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    display: block;
    padding: 4px 0;
}

.toc a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Article Body Typography & Elements */
.article-body h2 {
    font-size: 2.2rem;
    color: var(--primary-bg);
    margin-top: 50px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}

.article-body h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 15px;
}

.article-body h4 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-body h5 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--primary-hover);
}

.article-body h6 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.article-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.article-body span.text-highlight {
    background-color: rgba(255, 110, 90, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--primary-hover);
}

/* Lists in Article */
.article-body ul,
.article-body ol {
    margin-bottom: 30px;
    padding-left: 25px;
    font-size: 1.15rem;
    line-height: 1.8;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body ul {
    list-style-type: disc;
}

.article-body ul li::marker {
    color: var(--primary-color);
}

.article-body ol {
    list-style-type: decimal;
    font-weight: 600;
}

.article-body ol li span { /* Reset weight for content */
    font-weight: 400;
}

/* In-Article Images */
.article-inner-image {
    margin: 40px 0;
}

.article-inner-image img {
    width: 100%;
    border-radius: var(--border-radius);
    aspect-ratio: 16/9;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.image-caption {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 10px;
    font-style: italic;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    margin: 40px 0;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.article-table th,
.article-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eaeaea;
}

.article-table th {
    background-color: var(--primary-bg);
    color: var(--white);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.article-table th:first-child {
    border-top-left-radius: var(--border-radius);
}

.article-table th:last-child {
    border-top-right-radius: var(--border-radius);
}

.article-table tbody tr:hover {
    background-color: var(--bg-light);
}

/* Forms Generic Styles */
.styled-form .form-group {
    margin-bottom: 20px;
}

.styled-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-bg);
}

.styled-form .form-control {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d1d1d1;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--white);
    transition: var(--transition);
}

.styled-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 110, 90, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Comments Section */
.comments-section {
    max-width: 800px;
    margin: 60px auto 40px;
    padding-top: 40px;
    border-top: 1px solid #eaeaea;
}

.comments-container h3 {
    font-size: 2rem;
    color: var(--primary-bg);
    margin-bottom: 10px;
}

.comments-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
}

.comment-form {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
}

/* Contact Section */
.contact-section {
    max-width: 1000px;
    margin: 0 auto 60px;
}

.contact-box {
    background-color: var(--primary-bg);
    border-radius: var(--border-radius);
    display: flex;
    overflow: hidden;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(43, 58, 53, 0.2);
}

.contact-info {
    padding: 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-form-wrapper {
    flex: 1;
    padding: 50px;
    background-color: #354741;
}

/* Related Articles (Cross-linking) */
.related-articles-section {
    max-width: 1000px;
    margin: 60px auto;
}

.section-header-small h2 {
    font-size: 2rem;
    color: var(--primary-bg);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

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

.related-card {
    display: flex;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.related-card img {
    width: 40%;
    object-fit: cover;
}

.related-content {
    padding: 25px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-content h3 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
}

.inline-icon {
    width: 16px;
    margin-left: 5px;
    transition: var(--transition);
}

.link-arrow:hover .inline-icon {
    transform: translateX(5px);
}

/* Responsive Inner Page */
@media (max-width: 992px) {
    .article-title {
        font-size: 2.8rem;
    }
    .contact-box {
        flex-direction: column;
    }
    .contact-info, .contact-form-wrapper {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2.2rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .related-card {
        flex-direction: column;
    }
    .related-card img, .related-content {
        width: 100%;
    }
    .related-card img {
        height: 200px;
    }
    .toc {
        border-left: none;
        border-top: 4px solid var(--primary-color);
        border-radius: var(--border-radius);
    }
}