/* Custom CSS for Travel Page */

/* --- Fonts & Base --- */
:root {
    --color-text: #333333; /* Dark gray for text */
    --color-nav: #4a4e69;  /* Dark navy for navigation */
    --color-journal-bg: #f9f4e8; /* Light cream for journal */
}

/* Custom Navigation Bar (Your Styles) */
.custom-nav {
    /* Your navbar uses "navbar-dark" and should handle its own background/color. 
       Removing the generic background-color setting to rely on your existing navbar styles. */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: var(--color-nav); /* Re-adding a default dark background */
}
/* Ensure your custom navbar link colors are defined here if needed */


/* --- Header Two: Graphic with Overlay Text --- */
.header-two-container {
    height: 450px; 
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; 
}

.header-country-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 8rem; 
    color: white;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.9), 
        0 5px 20px rgba(0, 0, 0, 0.7); 
    text-transform: uppercase;
    letter-spacing: 15px;
    z-index: 10;
    text-align: center;
    padding: 0 20px; 
}

/* Mobile adjustments for Header Two */
@media (max-width: 992px) {
    .header-two-container {
        height: 30vh;
    }
    .header-country-name {
        font-size: 4rem;
        letter-spacing: 8px;
    }
}


/* --- Main Journal Body --- */
.main-journal-body {
    background-image: url('../travel_pics/page_images/CoffeeStainedVintagePaper.png'); 
    background-attachment: fixed; 
    background-size: cover;
    background-color: var(--color-journal-bg);
    padding: 50px 0;
}

.journal-text {
    font-family: 'Neucha', cursive; /* Male Handwriting Font */
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--color-text);
    /* Subtle text-shadow to mimic graphite pencil texture */
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05); 
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent box for readability */
    border-radius: 5px;
}

.journal-entry-header {
    font-family: 'Neucha', cursive;
    font-size: 3.5rem; /* Make it large and prominent */
    color: #1a1a1a; /* Very dark graphite color */
    letter-spacing: 2px;
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.1), /* Light shadow for a thicker pencil look */
        2px 2px 0px rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 3px dashed rgba(74, 78, 105, 0.3); /* Faint dashed line like a journal entry separator */
}

/* --- Polaroid Picture Styling --- */
.polaroid-photo {
    border: 15px solid white;
    border-bottom: 50px solid white; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease-in-out;
    max-width: 100%;
    height: auto;
    transform: rotate(-3deg);
    cursor: pointer;
}

.polaroid-photo:hover {
    transform: scale(1.05) rotate(0deg); 
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* --- Pagination Controls --- */
.pagination-btn {
    background-color: var(--color-nav);
    border-color: var(--color-nav);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
}
.pagination-btn:hover {
    background-color: #3f435e; 
    border-color: #3f435e;
    transform: translateY(-2px);
}

/* --- Globe Icon with Glass Effect --- */
.globe-icon-link {
    text-decoration: none;
    display: inline-block;
    padding: 15px; /* Padding for click area */
    border-radius: 50%;
    transition: transform 0.3s;
}
.globe-icon-link:hover {
    transform: scale(1.1);
}

.globe-glass-effect {
    font-size: 3.5rem; /* Large icon size */
    color: rgba(255, 255, 255, 0.9); /* White color for the light source */
    
    /* Box Shadow for the glass/3D effect */
    text-shadow: 
        0 0 10px rgba(74, 78, 105, 0.5), /* Dark glow (nav color) */
        0 0 20px rgba(255, 255, 255, 0.6), /* Light glow */
        0 5px 15px rgba(0, 0, 0, 0.5); /* Drop shadow for depth */

    /* Glass/Gradient Effect */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(74, 78, 105, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;         /* Standard CSS (better compatibility) */
    /* Ensure the icon renders with the gradient */
    display: inline-block;
}

/* --- Lightbox Customization (Bootstrap Modal) --- */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.9);
}
.lightbox-content {
    background: transparent !important;
    border: none;
}
.lightbox-content img {
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

/* Mobile Grid Order Correction */
@media (max-width: 767.98px) {
    .row > .col-md-6 {
        margin-bottom: 20px;
    }
}