/* Custom Styles for Nomad Trails */

:root {
    --primary-color: #3a42a7;
    --secondary-color: #2c305e;
    --bg-light: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --border-light: #e0e0e0;
}

/* Base Typography */
* {
    font-family: "PT Sans", sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header Styles */
.header {
    background-color: var(--secondary-color);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1030;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 400;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ccc !important;
}

.navbar-toggler {
    color: var(--white);
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 22, 45, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0;
    opacity: 0.95;
    /* max-width: 600px; */
    margin-left: auto;
    margin-right: auto;
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Country Cards */
.country-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.country-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.country-content {
    padding: 1.5rem;
}

.country-content h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.country-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Route Styles */
.route-item {
    padding: 2rem 0;
}

.route-item h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.route-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.route-image {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 1 !important;
}

/* Tips Section */
.tips-list {
    max-width: 800px;
    margin: 0 auto;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tip-number {
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.tip-content h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tip-content p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Attractions */
.attraction-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.attraction-card:hover {
    transform: translateY(-5px);
}

.attraction-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    opacity: 1 !important;
}

.attraction-content {
    padding: 1.5rem;
}

.attraction-content h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.attraction-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Theme Cards */
.theme-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
    text-align: center;
}

.theme-icon {
    background: var(--primary-color);
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.theme-icon .material-icons-outlined {
    font-size: 2.5rem;
}

.theme-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.theme-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.theme-list li {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.theme-list li:before {
    content: "→";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Reviews */
.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.review-content p {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
}

.review-content p:before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: -15px;
    line-height: 1;
}

.review-author h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.review-author small {
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: #ccc;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    color: #ccc;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-contact .material-icons-outlined {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.footer-divider {
    border-color: #555;
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: #ccc;
    margin-bottom: 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    padding: 1.5rem;
    z-index: 1040;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
    margin-right: 2rem;
}

.cookie-text p {
    margin-bottom: 0;
    color: var(--text-light);
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    flex-shrink: 0;
}

/* Page Header for Secondary Pages */
.page-header {
    background:  #eef0ff;
    padding: 180px 0 100px;
    text-align: center;
}

.page-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Form Styles */
.form-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-control {
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(58, 66, 167, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
}

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

/* Contact Info */
.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item .material-icons-outlined {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.5rem;
}

.contact-item div h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-item div p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Map Container */
.map-container {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Team Cards */
.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
}

.team-image {
    width: 100%;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--bg-light);
}

.team-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0;
}

/* Guide Cards */
.guide-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
    padding: 10px;
}

.guide-card:hover {
    transform: translateY(-5px);
}

.guide-content {
    padding: 1.5rem;
}

.guide-content h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.guide-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.guide-list {
    list-style: none;
    padding: 0;
}

.guide-list li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.guide-list li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .tip-item {
        flex-direction: column;
        text-align: center;
    }
    
    .tip-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .theme-card,
    .review-card,
    .contact-info,
    .form-section {
        margin-bottom: 2rem;
    }
}
