/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Merriweather:wght@400;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #E67E22;
    --primary-dark: #D35400;
    --primary-light: #F39C12;
    --secondary-color: #2C3E50;
    --text-dark: #1a1a2e;
    --text-gray: #6c757d;
    --text-light: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-blue: #1a2744;
    --bg-lightblue: #e8f4fc;
    --bg-beige: #fff5eb;
    --bg-green: #e8f5e9;
    --accent-green: #27ae60;
    --border-color: #e9ecef;
    --transition: all 0.3s ease;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --font-primary: 'Open Sans', sans-serif;
    --font-secondary: 'Merriweather', serif;
}

/* Dark Mode */
body.dark-mode {
    --bg-white: #1a1a2e;
    --bg-light: #16213e;
    --bg-blue: #0f3460;
    --bg-lightblue: #1a2744;
    --bg-beige: #2a2438;
    --bg-green: #1e3a2e;
    --text-dark: #f8f9fa;
    --text-gray: #adb5bd;
    --border-color: #2d3748;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    transform: scale(1.05);
}

body.dark-mode .dark-mode-toggle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

/* Header */
.main-header {
    background-color: var(--bg-white);
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow);
}

.top-header {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-secondary);
}

.search-bar {
    position: relative;
    max-width: 500px;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 0.95rem;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--primary-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.newsletter-btn {
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--primary-dark);
}

.main-nav {
    padding: 12px 0;
    background: var(--bg-white);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover {
    color: var(--primary-color);
}

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

.main-nav a:hover::after {
    width: 100%;
}

/* Secondary Navigation */
.secondary-nav {
    background: var(--bg-beige);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.secondary-nav .container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.country-flag {
    font-size: 1.5rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-top: 0;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.3), rgba(44, 62, 80, 0.4));
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-actions .btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 15px 0;
}

.breadcrumb-item a {
    color: var(--text-gray);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-secondary);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* Category Filters */
.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

/* Destination Cards */
.destination-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

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

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.card-content {
    padding: 25px;
}

.card-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.star {
    color: var(--primary-color);
}

.star.empty {
    color: var(--border-color);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    padding: 6px 14px;
    background: var(--bg-beige);
    color: var(--primary-dark);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-actions {
    display: flex;
    gap: 10px;
}

.btn-outline-primary {
    flex: 1;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-save {
    padding: 12px 18px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

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

.btn-save.saved {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

/* Guide Section */
.guide-section {
    background: var(--bg-beige);
    padding: 60px 30px;
    border-radius: 20px;
    margin-top: 60px;
}

.guide-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 50px;
    font-family: var(--font-secondary);
}

.guide-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.guide-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--text-light);
    font-size: 2rem;
}

.guide-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.guide-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--bg-blue));
    border-radius: 20px;
    padding: 60px;
    color: var(--text-light);
    margin-top: 60px;
}

.newsletter-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-form .input-group {
    max-width: 600px;
}

.newsletter-form input {
    padding: 15px 25px;
    border: none;
    border-radius: 30px 0 0 30px;
}

.newsletter-form .btn {
    padding: 15px 35px;
    border-radius: 0 30px 30px 0;
    background: var(--primary-color);
    border: none;
    font-weight: 700;
}

/* Footer */
.main-footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand i {
    color: var(--primary-color);
}

.main-footer h5 {
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 3px solid var(--primary-color);
    padding: 20px 0;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .newsletter-section {
        padding: 40px 20px;
    }

    .dark-mode-toggle {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}
