/* ==========================================================================
   Journey Compass - Custom Styles
   ========================================================================== */

/* Root Variables */
:root {
    --bg-primary: #292929;
    --bg-header-footer: #463b3b;
    --accent-color: #ffc107;
    --accent-dark: #cb8112;
    --text-primary: #e5e5e5;
    --text-white: #fff;
    --gradient-1: linear-gradient(135deg, #463b3b 0%, #292929 100%);
    --gradient-2: linear-gradient(45deg, #292929 0%, #463b3b 50%, #292929 100%);
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.3);
    --transition-base: all 0.3s ease;
}

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

body {
    font-family: "PT Sans", sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Merriweather", serif;
    font-weight: 700;
}

/* Header Styles */
.navbar {
    background-color: var(--bg-header-footer) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    transition: var(--transition-base);
}

.navbar-brand {
    font-family: "Merriweather", serif;
    font-size: 1.8rem;
    color: var(--accent-color) !important;
    text-decoration: none;
    transition: var(--transition-base);
}

.navbar-brand:hover {
    color: var(--text-white) !important;
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    transition: var(--transition-base);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    background-color: rgba(255, 193, 7, 0.1);
    transform: translateY(-2px);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-header-footer);
    border-top: 3px solid var(--accent-color);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

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

.cookie-content {
    padding: 1.5rem 0;
}

.cookie-popup p {
    margin: 0;
    font-size: 0.95rem;
}

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

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(41, 41, 41, 0.8) 0%, rgba(70, 59, 59, 0.8) 50%, rgba(41, 41, 41, 0.8) 100%);
    z-index: -1;
}

.hero-section h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease;
}

.hero-section h2 {
    color: var(--accent-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-section .lead {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease 0.6s both;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--accent-dark);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Background Gradients */
.bg-gradient {
    background: var(--gradient-1);
}

.seasons-section {
    background: var(--gradient-2);
    position: relative;
}

.seasons-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffc107" fill-opacity="0.05"/><circle cx="80" cy="40" r="1" fill="%23ffc107" fill-opacity="0.03"/><circle cx="40" cy="80" r="1" fill="%23ffc107" fill-opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.seasons-section > .container {
    position: relative;
    z-index: 1;
}

/* Card Styles */
.advantage-card,
.destination-card,
.tip-card,
.blog-preview-card {
    background: rgba(70, 59, 59, 0.6);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition-base);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.advantage-card::before,
.destination-card::before,
.tip-card::before,
.blog-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
    transition: left 0.6s ease;
}

.advantage-card:hover::before,
.destination-card:hover::before,
.tip-card:hover::before,
.blog-preview-card:hover::before {
    left: 100%;
}

.advantage-card:hover,
.destination-card:hover,
.tip-card:hover,
.blog-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent-color);
}

.advantage-card .material-icons-outlined,
.tip-card .material-icons-outlined {
    font-size: 3rem;
    display: block;
}

/* Destination Cards */
.destination-card img {
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: var(--transition-base);
}

.destination-card:hover img {
    transform: scale(1.05);
}

/* Season Cards */
.season-card {
    background: rgba(70, 59, 59, 0.7);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.season-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.2);
}

.season-icon {
    font-size: 4rem !important;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.spring-card {
    background: linear-gradient(135deg, rgba(70, 59, 59, 0.8) 0%, rgba(76, 175, 80, 0.1) 100%);
}

.summer-card {
    background: linear-gradient(135deg, rgba(70, 59, 59, 0.8) 0%, rgba(255, 193, 7, 0.1) 100%);
}

.autumn-card {
    background: linear-gradient(135deg, rgba(70, 59, 59, 0.8) 0%, rgba(255, 152, 0, 0.1) 100%);
}

.winter-card {
    background: linear-gradient(135deg, rgba(70, 59, 59, 0.8) 0%, rgba(33, 150, 243, 0.1) 100%);
}

/* Culture Section */
.culture-content img {
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
}

.culture-content img:hover {
    transform: scale(1.03);
}

/* Button Styles */
.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: var(--transition-base);
}

.btn-warning:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.btn-outline-warning {
    border-color: var(--accent-color);
    color: var(--accent-color);
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    transition: var(--transition-base);
}

.btn-outline-warning:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--bg-header-footer);
    margin-top: 5rem;
}

footer a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

footer a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Form Styles */
.form-control {
    background-color: rgba(70, 59, 59, 0.8);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: var(--transition-base);
}

.form-control:focus {
    background-color: rgba(70, 59, 59, 0.9);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    color: var(--text-white);
}

.form-control::placeholder {
    color: rgba(229, 229, 229, 0.6);
}

/* Page Header for Secondary Pages */
.page-header {
    background: var(--gradient-2);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffc107" fill-opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

/* Contact Page Styles */
.contact-info {
    background: rgba(70, 59, 59, 0.6);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.contact-form {
    background: rgba(70, 59, 59, 0.6);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.map-container {
    background: rgba(70, 59, 59, 0.6);
    border-radius: 15px;
    padding: 1rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    border: none;
}

/* Content Styles */
.content-section {
    background: rgba(70, 59, 59, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.content-section h3 {
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
}

.content-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    margin: 1.5rem 0;
}

/* Blog Styles */
.blog-article {
    background: rgba(70, 59, 59, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.blog-article h3 {
    color: var(--accent-dark);
    margin-bottom: 2rem;
}

.blog-columns {
    column-count: 3;
    column-gap: 2rem;
    column-rule: 1px solid rgba(255, 193, 7, 0.2);
}

.blog-news {
    background: rgba(70, 59, 59, 0.3);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.news-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item h5 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Thank You Page */
.thankyou-card {
    background: rgba(70, 59, 59, 0.8);
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
}

.thankyou-card .material-icons-outlined {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

/* Principle Cards */
.principle-card {
    background: rgba(70, 59, 59, 0.6);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition-base);
    text-align: center;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent-color);
}

.principle-card .material-icons-outlined {
    font-size: 3rem;
    display: block;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .blog-columns {
        column-count: 1;
    }
    
    .page-header h1 {
        font-size: 1.9rem;
    }
    
    .advantage-card,
    .destination-card,
    .tip-card,
    .blog-preview-card,
    .season-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .advantage-card,
    .destination-card,
    .tip-card,
    .blog-preview-card,
    .season-card,
    .content-section,
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
}
