/* Country Info Page Styles */

/* Two Column Layout - 45% / 45% */
.country-content-wrapper {
    display: flex;
    gap: 10px;
    max-width: 80%;
    margin: 0 auto;
    padding: 40px 2%;
    align-items: flex-start;
}

/* Left Column: Main Content - 45% */
.country-content-main {
    flex: 0 0 60%;
    min-width: 0;
}

/* Right Column: Sticky Tours Sidebar - 45% */
.country-tours-sidebar {
    flex: 0 0 30%;
    position: relative;
}

.tours-sidebar-sticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 20px;
    align-self: flex-start; /* ensure it can stick inside flex container */
    /* max-height: calc(100vh - 40px); */
    overflow-y: auto;
    background: #f8f9fa; /* kept light background, removed gradient */
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 5; /* keep above other content while sticking */
}

.tours-sidebar-sticky::-webkit-scrollbar {
    width: 10px;
}

.tours-sidebar-sticky::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin: 10px 0;
}

.tours-sidebar-sticky::-webkit-scrollbar-thumb {
    background: #ff6a00; /* solid orange thumb */
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.tours-sidebar-sticky::-webkit-scrollbar-thumb:hover {
    background: #e85a00; /* slightly darker on hover */
}

.sidebar-title {
    font-size: 2.2em;
    font-weight: 900;
    margin: 0 0 30px 0;
    color: #2c3e50;
    text-transform: uppercase;
    padding-bottom: 20px;
    border-bottom: 4px solid #ff6a00; /* orange accent */
    text-align: center;
}

.tours-category-block {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.tours-category-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.category-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #ff6a00; /* orange */
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title::before {
    content: '';
    width: 6px;
    height: 30px;
    background: #ff6a00; /* orange bar */
    border-radius: 3px;
}

.tours-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tour-sidebar-card {
    height: 400px;;
    transition: all 0.3s ease;
    transform-origin: left center;
}

.tour-sidebar-card:hover {
    transform: translateX(-8px) scale(1.02);
}

.view-more-link {
    display: block;
    margin-top: 20px;
    padding: 15px 25px;
    background: #ff6a00; /* solid orange button */
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 0; /* no rounding */
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 106, 0, 0.18);
}

.view-more-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.28);
}

.mobile-tours-toggle {
    display: none;
}

/* Header Section */
.country-info-header {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 20px;
}

.header-content h1 {
    font-size: 4em;
    font-weight: 900;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.country-subtitle {
    font-size: 1.8em;
    font-weight: 300;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Description Section */
.country-description {
    padding: 40px 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.country-description::before {
    display: none; /* Remove in new layout */
}

.description-content {
    padding: 0 30px;
    font-size: 1.1em;
    line-height: 1.9;
    color: #2c3e50;
    font-family: 'Roboto', Arial, sans-serif;
}

.description-content h1 {
    font-size: 3em;
    font-weight: 900;
    margin: 0 0 30px 0;
    color: #1a202c;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 20px;
}

    .description-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: #ff6a00; /* orange underline */
    border-radius: 2px;
}

.description-content h2 {
    font-size: 2.5em;
    font-weight: 900;
    margin: 50px 0 25px 0;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 20px;
}

    .description-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background: #ff6a00; /* orange */
    border-radius: 3px;
}

.description-content h3 {
    font-size: 2em;
    font-weight: 700;
    margin: 35px 0 20px 0;
    color: #34495e;
    position: relative;
    padding-left: 15px;
}

    .description-content h3::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #ff6a00; /* orange */
    font-weight: 900;
}

.description-content h4 {
    font-size: 1.6em;
    font-weight: 600;
    margin: 25px 0 15px 0;
    color: #4a5568;
}

.description-content p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.9;
}

.description-content p:first-of-type {
    font-size: 1.15em;
    font-weight: 500;
    color: #1a202c;
}

.description-content strong,
.description-content b {
    color: #1a202c;
    font-weight: 700;
}

.description-content em,
.description-content i {
    font-style: italic;
    color: #4a5568;
}

.description-content ul,
.description-content ol {
    margin: 25px 0;
    padding-left: 40px;
}

.description-content ul li,
.description-content ol li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 10px;
}

    .description-content ul li::marker {
    color: #ff6a00; /* orange */
    font-size: 1.2em;
}

    .description-content ol li::marker {
    color: #ff6a00; /* orange */
    font-weight: 700;
}

    .description-content a {
    color: #ff6a00; /* orange links */
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.description-content a:hover {
    color: #e85a00; /* darker orange on hover */
    border-bottom-color: #e85a00;
}

    .description-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: rgba(255, 106, 0, 0.05); /* subtle orange tint */
    border-left: 5px solid #ff6a00;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #2c3e50;
    box-shadow: 0 2px 10px rgba(255, 106, 0, 0.05);
}

.description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.description-content img:hover {
    transform: scale(1.02);
}

.description-content table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

    .description-content table th {
    background: #ff6a00; /* orange header */
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.description-content table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    background: white;
}

.description-content table tr:hover td {
    background: #f7fafc;
}

.description-content hr {
    margin: 50px 0;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #667eea 50%, transparent 100%);
}

.description-content code {
    background: #f7fafc;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e53e3e;
    border: 1px solid #e2e8f0;
}

.description-content pre {
    background: #1a202c;
    color: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.description-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border: none;
}

/* Special Content Blocks */
.description-content .info-box,
.description-content .warning-box,
.description-content .tip-box {
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 8px;
    border-left: 5px solid;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

    .description-content .info-box {
    background: rgba(255, 106, 0, 0.05);
    border-left-color: #ff6a00;
}

.description-content .warning-box {
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.1) 0%, rgba(221, 107, 32, 0.1) 100%);
    border-left-color: #ed8936;
}

.description-content .tip-box {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(56, 161, 105, 0.1) 100%);
    border-left-color: #48bb78;
}

/* Gallery Grid */
.description-content .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.description-content .gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin: 0;
}

/* Feature List */
.description-content .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.description-content .feature-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #667eea;
}

.description-content .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.description-content .feature-item h4 {
    margin: 0 0 15px 0;
    color: #667eea;
}

/* Stats/Numbers */
.description-content .stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

    .description-content .stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #ff6a00;
    border-radius: 12px;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.18);
}

.description-content .stat-item .stat-number {
    font-size: 3em;
    font-weight: 900;
    display: block;
    margin-bottom: 10px;
}

.description-content .stat-item .stat-label {
    font-size: 1em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video Embed */
.description-content .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.description-content .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Button Styles */
    .description-content .btn,
    .description-content .button {
    display: inline-block;
    padding: 15px 35px;
    background: #ff6a00; /* orange button */
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    margin: 10px 5px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 106, 0, 0.3);
}

.description-content .btn:hover,
.description-content .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    color: white;
    border-bottom-color: transparent;
}

/* Highlight Text */
    .description-content mark,
    .description-content .highlight {
    background: rgba(255, 106, 0, 0.15);
    padding: 2px 5px;
    color: inherit;
}

/* Mobile Adjustments for Special Blocks */
@media (max-width: 768px) {
    .description-content .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .description-content .gallery-grid img {
        height: 200px;
    }

    .description-content .feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .description-content .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .description-content .stat-item .stat-number {
        font-size: 2.5em;
    }

    .description-content .btn,
    .description-content .button {
        display: block;
        text-align: center;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .description-content .stats-container {
        grid-template-columns: 1fr;
    }

    .description-content .info-box,
    .description-content .warning-box,
    .description-content .tip-box {
        padding: 15px;
        margin: 20px 0;
    }
}

/* Map Section */
.country-map-section-inline {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.country-map-section-inline h2 {
    font-size: 2em;
    font-weight: 900;
    margin-bottom: 25px;
    color: #2c3e50;
    text-transform: uppercase;
}

/* Trip Ideas Section */
.trip-ideas-section-inline {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.trip-ideas-section-inline h2 {
    font-size: 2em;
    font-weight: 900;
    margin-bottom: 30px;
    color: #2c3e50;
    text-transform: uppercase;
}

.trip-ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.trip-idea-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.trip-idea-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.trip-idea-card h3 {
    font-size: 1.8em;
    font-weight: 700;
    padding: 20px 20px 10px 20px;
    margin: 0;
    color: #2c3e50;
}

.trip-idea-card p {
    font-size: 1.1em;
    padding: 0 20px 20px 20px;
    margin: 0;
    color: #7f8c8d;
    line-height: 1.6;
}

/* Container Helper */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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