/* ========================================
   CAMINHO DE SANTIAGO - TRAVEL DIARY STYLES
   Modern Design for Portuguese, English, Spanish
   ======================================== */

:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #FFD700;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --bg-light: #faf8f3;
    --bg-paper: #f9f6f0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Lato', 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.95), rgba(210, 105, 30, 0.95));
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light) !important;
    text-shadow: 2px 2px 4px var(--shadow-heavy);
}

.navbar-nav a {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 8px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px !important;
}

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

.navbar-nav a:hover::after {
    width: calc(100% - 24px);
}

/* ========================================
   HERO / PAGE TITLE SECTION
   ======================================== */

.page-title {
    min-height: 85vh;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8), rgba(210, 105, 30, 0.7)),
                url('../../../assets/img/caminho-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.page-title-text {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-title-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 3px 3px 6px var(--shadow-heavy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.page-title-text h3 {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px var(--shadow-heavy);
    margin-bottom: 2rem;
}

.page-title-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    text-shadow: 1px 1px 3px var(--shadow-heavy);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.page-title-bottom-link {
    margin-top: 2rem;
}

.big-link-1 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    border: none;
}

.big-link-1:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.5);
    text-decoration: none;
    color: white !important;
}

/* ========================================
   SECTIONS
   ======================================== */

.section-container {
    padding: 60px 20px;
}

.section-container-gray {
    background: var(--bg-paper);
}

.section-description {
    text-align: center;
    margin-bottom: 3rem;
}

.section-description h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.divider-1 {
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto 2rem;
}

.section-description p {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   CONTENT BLOCKS
   ======================================== */

.block-2-container {
    padding: 50px 0;
}

.block-2-box {
    padding: 20px;
}

.block-2-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.block-2-left h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.block-2-left h4 i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.block-2-left p, .block-2-right p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: justify;
}

.block-2-left p b i {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Stage Navigation Table */
.block-2-right table {
    width: 100%;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.block-2-right table td {
    padding: 8px 15px;
}

.block-2-right table a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    position: relative;
}

.block-2-right table a::before {
    content: '→ ';
    opacity: 0;
    transition: opacity 0.3s ease;
}

.block-2-right table a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.block-2-right table a:hover::before {
    opacity: 1;
}

/* Image Containers */
.block-2-img-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-medium);
    background: white;
    padding: 10px;
}

.block-2-img-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease;
}

.block-2-img-container:hover img {
    transform: scale(1.02);
}

.img-container-line {
    display: none;
}

/* ========================================
   ABOUT / HISTORY SECTION
   ======================================== */

.about-container {
    background: var(--bg-light);
    padding: 80px 20px;
}

.about {
    max-width: 900px;
    margin: 0 auto;
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
    text-align: justify;
    margin-bottom: 1.5rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-container {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 80px 20px;
    position: relative;
}

.contact-container .section-description h2 {
    color: var(--text-light);
}

.contact-container .section-description p {
    color: var(--text-light);
    opacity: 0.95;
}

.contact-address {
    text-align: center;
    margin-top: 2rem;
}

.contact-address p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-address a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-address a:hover {
    color: white;
    text-decoration: underline;
}

.contact-icon-container {
    text-align: center;
    margin-top: 2rem;
    font-size: 3rem;
    color: var(--text-light);
    opacity: 0.3;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 30px 20px;
    text-align: center;
}

.footer-copyright {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0 auto;
}

/* ========================================
   SCROLL TO TOP
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-heavy);
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.scroll-to-top a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.scroll-to-top i {
    font-size: 1.5rem;
}

/* ========================================
   STAGE SEPARATOR ARROW
   ======================================== */

.col-sm-12 .scroll-to-top {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 30px auto;
    opacity: 1;
    visibility: visible;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .page-title-text h1 {
        font-size: 2.5rem;
    }
    
    .page-title-text h3 {
        font-size: 1.5rem;
    }
    
    .page-title-text p {
        font-size: 1rem;
    }
    
    .section-description h2 {
        font-size: 2rem;
    }
    
    .block-2-box {
        margin-bottom: 30px;
    }
    
    .block-2-right table td {
        display: block;
        width: 100%;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        min-height: 70vh;
        padding: 80px 15px 40px;
    }
    
    .page-title-text h1 {
        font-size: 2rem;
    }
    
    .big-link-1 {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background: var(--accent-color);
    color: var(--text-dark);
}

::-moz-selection {
    background: var(--accent-color);
    color: var(--text-dark);
}

/* Sites4U Link */
.sites4u-link {
    font-size: 11px;
    color: rgba(236, 240, 241, 0.4);
    transition: all 0.3s ease;
    display: block;
    margin-top: 10px;
    text-decoration: none;
}

.sites4u-link:hover {
    color: var(--text-light);
    text-decoration: none;
}
