/* ===========================
   Global Styles & Variables
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e94560;
    --text-dark: #1a1a2e;
    --text-light: #6c757d;
    --bg-white: #f8f9fa;
    --bg-light: #e8e8e8;
    --bg-cream: #faf8f3;
    --border-color: #d4d4d4;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    overflow-x: hidden;
    font-weight: 400;
}

.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 30px;
}

.container-wide {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===========================
   Header Styles
   =========================== */
.header {
    background: var(--primary-color);
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 3px solid var(--highlight-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo i {
    font-size: 2.2rem;
    color: var(--highlight-color);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bg-white);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
}

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

.btn-icon {
    background: transparent;
    border: 2px solid var(--bg-white);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--bg-white);
    font-size: 1rem;
}

.btn-icon:hover {
    background: var(--highlight-color);
    border-color: var(--highlight-color);
    color: white;
    transform: translateY(-2px);
}

.btn-share-with-text {
    background: transparent;
    border: 2px solid var(--bg-white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    color: var(--bg-white);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-share-with-text i {
    font-size: 1rem;
}

.btn-share-with-text:hover {
    background: var(--highlight-color);
    border-color: var(--highlight-color);
    transform: translateY(-2px);
}

/* ===========================
   Main Content
   =========================== */
.main-content {
    padding: 0;
    margin: 0;
}

/* ===========================
   Burger Menu
   =========================== */
.burger-btn {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-dark);
    font-size: 1.3rem;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.burger-btn:hover {
    background: rgba(0,0,0,0.05);
}

/* Custom Dropdown for Day Filter */
.custom-dropdown {
    position: relative;
    width: 100%;
    font-family: 'Inter', sans-serif;
    margin-top: 5px;
}
.custom-dropdown-selected {
    padding: 10px 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.custom-dropdown-selected:hover {
    border-color: var(--primary-color);
}
.custom-dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
}
.custom-dropdown.open .custom-dropdown-options {
    display: block;
    animation: fadeIn 0.2s ease;
}
.custom-dropdown-option {
    padding: 12px 15px;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.custom-dropdown-option:last-child {
    border-bottom: none;
}
.custom-dropdown-option:hover, .custom-dropdown-option.active {
    background: var(--bg-primary);
    color: var(--primary-color);
    font-weight: 600;
}

/* ===========================
   Content specific overrides
   =========================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 0;
    color: var(--bg-white);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(233, 69, 96, 0.2);
    border: 1px solid var(--highlight-color);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-badge i {
    color: var(--highlight-color);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -2px;
    color: var(--bg-white);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-guide-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.guide-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    color: var(--bg-white);
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.guide-pill:hover {
    background: var(--highlight-color);
    border-color: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.guide-pill i {
    font-size: 1rem;
    color: var(--bg-white);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 2.5rem auto;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--highlight-color);
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===========================
   Map Section
   =========================== */
.map-section {
    border-radius: 0;
    padding: 6rem 0.5%;
    box-shadow: none;
    margin-bottom: 0;
    max-width: 100%;
    width: 100%;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.map-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 99%;
    margin-left: auto;
    margin-right: auto;
}

.map-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -1px;
}

.map-header h2 i {
    color: var(--highlight-color);
    font-size: 2rem;
}

.btn-secondary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bg-white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-secondary:hover {
    background: var(--highlight-color);
    border-color: var(--highlight-color);
    transform: translateY(-2px);
}

.map-container {
    position: relative;
    width: 99%;
    height: 800px;
    border-radius: 0;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--bg-gray);
    margin: 0 auto;
}

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

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.map-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    max-width: 300px;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 1rem auto;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--secondary-color);
    border-radius: 2px;
    width: 0%;
    animation: progressAnimation 2s ease-in-out infinite;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.loading-content small {
    color: var(--text-light);
    font-size: 0.8rem;
    opacity: 0.8;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-gray);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.map-loading p {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.map-info {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    max-width: 98%;
    margin-left: auto;
    margin-right: auto;
}

.map-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.map-info-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* ===========================
   Tips Section
   =========================== */
.tips-section {
    background: var(--primary-color);
    border-radius: 0;
    padding: 5rem 1.5%;
    box-shadow: none;
    margin: 0;
    width: 100%;
}

.tips-section h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-weight: 700;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -1.5px;
}

.tips-section h2 i {
    color: var(--highlight-color);
    font-size: 3rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

.tip-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.tip-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.tip-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.tip-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===========================
   Map Layer Filters
   =========================== */
.map-filters {
    margin: 2rem auto;
    max-width: 99%;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Space Grotesk', sans-serif;
}

.filter-title i {
    color: var(--highlight-color);
    font-size: 1.3rem;
}

.filter-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.filter-btn {
    background: var(--bg-light);
    border: 1px solid transparent;
    padding: 0.8rem 1.4rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.filter-btn i {
    font-size: 1.1rem;
}

.filter-btn:hover, .filter-btn:focus {
    background: var(--bg-white);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 6px 16px rgba(233, 69, 96, 0.3);
}

.filter-btn.active i {
    color: white;
}

/* ===========================
   Detailed Tips Section
   =========================== */
.tips-detailed {
    column-count: 2;
    column-gap: 2rem;
    max-width: 98%;
    margin: 0 auto;
}

.tip-detailed-card {
    background: var(--bg-cream);
    border-radius: 0;
    padding: 2rem;
    box-shadow: none;
    border: 2px solid var(--border-color);
    display: block;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 2rem;
}

.tip-detailed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--highlight-color);
    transition: var(--transition);
}

.tip-detailed-card:hover {
    border-color: var(--primary-color);
    transform: translateX(8px);
}

.tip-detailed-card:hover::before {
    width: 8px;
}

.tip-icon-wrapper {
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight-color);
    font-size: 1.6rem;
    box-shadow: none;
    transition: var(--transition);
    border: 2px solid var(--highlight-color);
    float: left;
    margin-right: 1.2rem;
    margin-bottom: 0.8rem;
}

.tip-detailed-card:hover .tip-icon-wrapper {
    background: var(--highlight-color);
    color: white;
    transform: scale(1.05);
}

.tip-content {
    overflow: hidden;
    margin-left: 67px;
}

.tip-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.tip-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--highlight-color);
}

.tip-content p {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 0.92rem;
    text-align: justify;
}

.tip-content ul {
    list-style: none;
    margin: 0.6rem 0;
    padding-left: 0;
}

.tip-content ul li {
    padding: 0.7rem 1rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    background: transparent;
}

.tip-content ul li:before {
    display: none;
}

.tip-content strong {
    color: var(--primary-color);
}

.tip-note {
    background: var(--bg-white);
    border: 2px solid var(--highlight-color);
    padding: 0.8rem 1rem;
    margin-top: 1rem;
    border-radius: 0;
    font-size: 0.88rem;
    color: var(--text-dark);
    box-shadow: none;
    position: relative;
    font-family: 'Space Mono', monospace;
    line-height: 1.5;
}

.tip-note::before {
    display: none;
}

/* ===========================
   Modal Styles
   =========================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-body {
    padding: 1.5rem;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 1.5rem;
}

.share-btn {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #000000;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-link {
    display: flex;
    gap: 10px;
}

.share-link input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--bg-light);
}

.btn-copy {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-copy:hover {
    background: #2980b9;
}

/* ===========================
   Analytics Modal & Planner UI
   =========================== */
.analytics-content {
    max-width: 800px !important;
}
.btn-action-header {
    background: transparent;
    border: 2px solid var(--bg-white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    color: var(--bg-white);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-action-header:hover {
    background: var(--highlight-color);
    border-color: var(--highlight-color);
    transform: translateY(-2px);
    color: white;
}

.lang-switcher {
    display: flex;
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-right: 10px;
}

.lang-switcher button {
    background: transparent;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
}

.lang-switcher button.active {
    background: var(--highlight-color);
    color: white;
}

.analytics-summary {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.analytics-card {
    flex: 1;
    background: var(--bg-light);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.analytics-card i {
    font-size: 1.5rem;
    color: var(--highlight-color);
    margin-bottom: 8px;
}

.analytics-val {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.analytics-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

.progress-section {
    margin-bottom: 25px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.progress-track {
    height: 12px;
    background: var(--bg-light);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--highlight-color);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.trip-settings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.trip-settings label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.trip-days-control {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.trip-days-control button {
    background: transparent;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.trip-days-control button:hover {
    background: var(--bg-light);
    color: var(--highlight-color);
}

.trip-days-control input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    padding: 6px 0;
    pointer-events: none;
}

.daily-breakdown h4 {
    margin-bottom: 15px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.daily-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 40vh;
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar styles for daily list */
.daily-list::-webkit-scrollbar { width: 6px; }
.daily-list::-webkit-scrollbar-track { background: var(--bg-light); border-radius: 4px; }
.daily-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.daily-list::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.daily-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.daily-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.daily-item-day {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.daily-item-count {
    background: var(--highlight-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.daily-locations {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 5px;
    padding-top: 8px;
    border-top: 1px dashed #ddd;
}

.daily-loc-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 6px 8px;
    background: white;
    border-radius: 6px;
    border: 1px solid #eee;
    transition: var(--transition);
    cursor: pointer;
}

.daily-loc-item i {
    color: var(--highlight-color);
    font-size: 0.8rem;
}

.daily-loc-item:hover {
    border-color: var(--highlight-color);
    transform: translateX(4px);
}

/* ===========================
   Scroll Offset for Anchors
   =========================== */
.tip-detailed-card {
    scroll-margin-top: 100px;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .header-actions {
        gap: 5px;
        flex-wrap: nowrap;
    }

    .lang-switcher {
        margin-right: 2px;
    }

    .lang-switcher button {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .btn-share-with-text, .btn-action-header {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .btn-share-with-text span, .btn-action-header span {
        display: none;
    }
    
    .btn-share-with-text i, .btn-action-header i {
        margin: 0;
    }
    
    .btn-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 400px;
    }
    
    .map-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .map-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .map-filters {
        padding: 1.5rem;
    }
    
    /* Mobile Filter Buttons - App Style */
    .map-filters {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        margin: 0 0.5rem 1rem 0.5rem;
    }
    
    .filter-title {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        color: var(--primary-color);
        font-weight: 600;
    }

    /* Burger menu mobile */
    .burger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-actions,
    .globe-nav-actions {
        display: none !important;
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--bg-white);
        border-radius: 12px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.15);
        padding: 1rem;
        flex-direction: column;
        gap: 0.6rem;
        min-width: 200px;
        z-index: 1000;
        animation: menuSlideDown 0.25s ease;
    }

    .header-actions.open,
    .globe-nav-actions.open {
        display: flex !important;
    }

    @keyframes menuSlideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .globe-nav-actions.open {
        background: rgba(15, 25, 50, 0.95);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255,255,255,0.1);
    }

    .header-content {
        position: relative;
    }

    .globe-nav {
        position: relative;
    }

    .btn-action-header, .btn-share-with-text {
        justify-content: flex-start;
        width: 100%;
        padding: 10px 15px;
        background: rgba(0,0,0,0.03);
        border-radius: 8px;
    }

    .btn-action-header span, .btn-share-with-text span {
        display: inline !important;
        color: var(--text-dark);
        font-weight: 500;
        margin-left: 8px;
    }

    .day-filter-buttons .filter-btn {
        padding: 0.45rem 0.8rem;
        font-size: 0.78rem;
    }
    
    .filter-title {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .filter-buttons-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .filter-btn i {
        font-size: 0.9rem;
    }

    .day-filter-select {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .favorites-count {
        position: absolute;
        top: -4px;
        right: -4px;
        background: var(--highlight-color);
        color: white;
        font-size: 0.65rem;
        padding: 2px 6px;
        border-radius: 10px;
        font-weight: 700;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-guide-links {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .guide-pill {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .guide-pill i {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }

    .modal-content {
        width: 95% !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        margin: 10px auto;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-item i {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .tips-section {
        padding: 3rem 2%;
    }
    
    .map-section {
        padding: 3rem 2%;
    }
    
    .tips-section h2 {
        font-size: 2rem;
    }
    
    .tips-detailed {
        column-count: 1;
        column-gap: 0;
        max-width: 100%;
    }
    
    .map-container {
        width: 100%;
        height: 500px;
    }
    
    .map-header,
    .map-filters-info,
    .map-info {
        max-width: 100%;
    }
    
    .tip-detailed-card {
        padding: 1.8rem;
    }
    
    .tip-icon-wrapper {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        margin-right: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .tip-content {
        margin-left: 58px;
    }
    
    .tip-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .tip-content p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .tip-content ul li {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        margin-bottom: 0.5rem;
    }
    
    .tip-note {
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .map-section,
    .tips-section {
        padding: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .tip-detailed-card {
        padding: 1.3rem;
    }
    
    .tip-icon-wrapper {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        margin-right: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .tip-content {
        margin-left: 50px;
    }
    
    .tip-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .tip-content p {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .tip-content ul li {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .tip-note {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        margin-top: 1rem;
    }
}

/* ===========================
   Location List Panel
   =========================== */
.location-list-panel {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 350px;
    max-height: 70vh;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.location-list-panel.collapsed .location-list-content {
    display: none;
}

.location-list-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    user-select: none;
}

.location-list-header:hover {
    background: var(--secondary-color);
}

.location-list-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

.location-list-title i {
    font-size: 1.1rem;
    color: var(--highlight-color);
}

.location-count {
    background: var(--highlight-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.location-list-toggle-icon {
    transition: transform 0.3s ease;
}

.location-list-panel.collapsed .location-list-toggle-icon {
    transform: rotate(180deg);
}

.location-list-content {
    max-height: calc(70vh - 70px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.location-list-search {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.location-list-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.location-list-search input:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.location-list-search i {
    position: absolute;
    left: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.9rem;
}

.location-list-items {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.location-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.location-item:hover {
    background: var(--bg-light);
}

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

.location-item.active {
    background: rgba(233, 69, 96, 0.1);
    border-left: 3px solid var(--highlight-color);
}

.location-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
}

.location-info {
    flex: 1;
    min-width: 0;
}

.location-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-category {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: capitalize;
}

.location-distance {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

/* Category colors for location icons */
.location-icon.museums { background: #e74c3c; }
.location-icon.restaurants { background: #f39c12; }
.location-icon.attractions { background: #3498db; }
.location-icon.parks { background: #27ae60; }
.location-icon.shopping { background: #9b59b6; }
.location-icon.entertainment { background: #e91e63; }
.location-icon.cafes { background: #795548; }

/* Empty state */
.location-list-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.location-list-empty i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--border-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location-list-panel {
        width: 320px;
        bottom: 15px;
        left: 15px;
        max-height: 60vh;
    }
    
    .location-list-header {
        padding: 0.875rem 1rem;
    }
    
    .location-list-title {
        font-size: 0.9rem;
    }
    
    .location-item {
        padding: 0.625rem 0.875rem;
    }
    
    .location-name {
        font-size: 0.85rem;
    }
    
    .location-category {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .location-list-panel {
        width: calc(100vw - 30px);
        left: 15px;
        right: 15px;
        max-height: 50vh;
    }
}

/* ===========================
   Tips Loading State
   =========================== */
.tips-loading {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
}

.tips-loading i {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

.tips-loading p {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-dark);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===========================
   Favorites Button Styles
   =========================== */
.favorites-btn {
    position: relative;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important;
    color: white !important;
    border: 2px solid #ff6b6b !important;
    display: none; /* Initially hidden */
}

.favorites-btn:hover {
    background: linear-gradient(135deg, #ff5252, #e53935) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.favorites-btn.active {
    background: linear-gradient(135deg, #e53935, #c62828) !important;
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.4);
}

.favorites-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: #ff6b6b;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid #ff6b6b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.favorites-count.zero {
    display: none;
}

/* Email Modal Styles */
.email-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: slideInUp 0.3s ease;
}

.email-modal-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.email-modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.email-modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: var(--transition);
}

.email-modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.email-modal-body {
    padding: 2rem;
}

.email-modal-body p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.email-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive email modal */
@media (max-width: 768px) {
    .email-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .email-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ===========================
   Enhanced Info Window Styles
   =========================== */
.enhanced-info-window {
    font-family: 'Space Grotesk', sans-serif;
    max-width: 320px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.info-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 16px;
    color: white;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-content {
    flex: 1;
    min-width: 0;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    opacity: 0.9;
}

.category-badge i {
    font-size: 0.9rem;
}

.location-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    color: white;
    padding-right: 10px;
}

.custom-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: white;
    flex-shrink: 0;
    margin-top: -4px;
}

.custom-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.custom-close-btn i {
    font-size: 0.9rem;
}

.info-content {
    padding: 16px;
    background: white;
}

.location-description {
    margin: 0 0 16px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.info-details {
    margin-bottom: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: var(--highlight-color);
    font-size: 1rem;
    width: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-item span {
    color: var(--text-light);
    flex: 1;
}

.planner-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-top: 1px solid var(--border-color);
}

.visited-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.visited-toggle.active {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.visited-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.day-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.day-select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: white;
    font-family: 'Space Grotesk', sans-serif;
    outline: none;
    cursor: pointer;
}

.info-actions {
    display: flex;
    gap: 8px; /* reduced from 10px to fit 4 buttons */
    margin: 0;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap; /* allow wrapping on small screens */
}

.action-btn {
    flex: 1;
    min-width: calc(50% - 4px); /* 2 columns on small screens */
    padding: 8px;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    text-decoration: none;
}

.directions-btn {
    background: var(--highlight-color);
    color: white;
}

.directions-btn:hover {
    background: #d63850;
    transform: translateY(-1px);
}

.suggest-btn {
    background: #f39c12;
    color: white;
}

.suggest-btn:hover {
    background: #e67e22;
    transform: translateY(-1px);
}

.share-btn {
    background: #3498db;
    color: white;
}

.share-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.favorite-btn {
    background: #e8e8e8;
    color: var(--text-dark);
}

.favorite-btn:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-1px);
}

.action-btn i {
    font-size: 0.9rem;
}

/* Google Maps Info Window Overrides */
.gm-style .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
}

.gm-style .gm-style-iw-t::after {
    display: none !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    padding: 0 !important;
}

/* Hide default close button */
.gm-style .gm-style-iw-ch {
    display: none !important;
}

/* Hide the default close button container */
.gm-style .gm-ui-hover-effect {
    display: none !important;
}

/* Remove empty space and adjust positioning */
.gm-style .gm-style-iw {
    padding-top: 0 !important;
}

.gm-style .gm-style-iw-tc {
    display: none !important;
}

/* Mobile Info Window - App Style */
@media (max-width: 768px) {
    .gm-style .gm-style-iw-c {
        max-width: min(280px, 75vw) !important;
        padding: 0 !important;
        max-height: 70vh !important;
    }
    
    .gm-style .gm-style-iw-d {
        max-width: min(280px, 75vw) !important;
        overflow: hidden !important;
        max-height: 70vh !important;
    }
    
    .enhanced-info-window {
        max-width: min(280px, 75vw) !important;
        width: 100% !important;
        font-size: 0.8rem;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }
    
    .info-header {
        padding: 10px;
        min-height: auto;
    }
    
    .location-title {
        font-size: 0.9rem !important;
        line-height: 1.25;
        word-wrap: break-word;
    }
    
    .category-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
    
    .category-badge i {
        font-size: 0.65rem;
    }
    
    .custom-close-btn {
        width: 26px;
        height: 26px;
    }
    
    .custom-close-btn i {
        font-size: 0.75rem;
    }
    
    /* Scrollable popup */
    .enhanced-info-window {
        max-height: 60vh !important;
    }
    
    .info-header {
        flex-shrink: 0;
    }
    
    .info-content {
        padding: 8px 10px;
        max-height: 30vh;
        overflow-y: scroll !important;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #a0aec0 #f0f0f0;
    }
    
    .info-content::-webkit-scrollbar {
        width: 5px;
    }
    
    .info-content::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 2px;
    }
    
    .info-content::-webkit-scrollbar-thumb {
        background: #a0aec0;
        border-radius: 2px;
    }
    
    .info-content::-webkit-scrollbar-thumb:active {
        background: #718096;
    }
    
    .location-description {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .detail-item {
        font-size: 0.75rem;
        padding: 6px 0;
        line-height: 1.4;
    }
    
    .detail-item i {
        font-size: 0.85rem;
        width: 16px;
    }
    
    .detail-item span {
        word-wrap: break-word;
    }
    
    .info-actions {
        flex-direction: column;
        gap: 5px;
        padding: 8px;
        background: #f8f9fa;
        border-top: 2px solid #e9ecef;
        flex-shrink: 0 !important;
        margin-top: 0;
    }
    
    /* Ensure info window is above location list panel */
    .gm-style-iw-c {
        z-index: 99999 !important;
    }
    
    .gm-style > div {
        z-index: auto !important;
    }
    
    .gm-style > div:has(.gm-style-iw-c) {
        z-index: 99999 !important;
    }
    
    .action-btn {
        width: 100%;
        padding: 8px 6px;
        font-size: 0.75rem;
        min-height: 34px;
        border-radius: 8px;
        font-weight: 600;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    
    .action-btn:active {
        transform: scale(0.96);
    }
    
    .action-btn i {
        font-size: 0.8rem;
    }
    
    .directions-btn {
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: white;
    }
    
    .share-btn {
        background: linear-gradient(135deg, #27ae60, #229954);
        color: white;
    }
    
    .favorite-btn {
        background: linear-gradient(135deg, #e74c3c, #c0392b);
        color: white;
    }
}
/* Extra small screens */
@media (max-width: 480px) {
    .gm-style .gm-style-iw-c {
        max-width: min(260px, 85vw) !important;
        max-height: 55vh !important;
    }
    
    .gm-style .gm-style-iw-d {
        max-width: min(260px, 85vw) !important;
        max-height: 55vh !important;
    }
    
    .enhanced-info-window {
        max-width: min(260px, 85vw) !important;
        max-height: 55vh !important;
    }
    
    .info-content {
        max-height: 22vh;
        padding: 6px 8px;
    }
    
    .location-title {
        font-size: 0.85rem !important;
    }
    
    .location-description {
        font-size: 0.75rem;
    }
    
    .detail-item {
        font-size: 0.7rem;
    }
    
    .action-btn {
        padding: 7px 5px;
        font-size: 0.7rem;
        min-height: 32px;
        gap: 4px;
    }
    
    .action-btn i {
        font-size: 0.75rem;
    }
}

/* ===========================
   Footer
   =========================== */
.site-footer {
    background: var(--primary-color);
    border-top: 2px solid var(--highlight-color);
    padding: 1.5rem 0;
    margin-top: 0;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: var(--bg-white);
    font-size: 0.9rem;
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.5px;
}

.footer-content strong {
    color: var(--highlight-color);
    font-weight: 600;
}

/* ===========================
   Print Styles
   =========================== */
@media print {
    .header,
    .site-footer,
    .btn-icon,
    .btn-secondary,
    .modal {
        display: none !important;
    }
    
    .map-container {
        height: 500px;
        page-break-inside: avoid;
    }
    
    body {
        background: white;
    }
}

/* ===========================
   Back to World Button (City Page)
   =========================== */
.back-to-world {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--bg-white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    margin-right: 5px;
}

.back-to-world:hover {
    background: var(--highlight-color);
    border-color: var(--highlight-color);
    transform: translateX(-3px);
}

/* ===========================
   Page Transition
   =========================== */
.page-transitioning {
    animation: pageOut 0.4s ease forwards;
}

@keyframes pageOut {
    to { opacity: 0; transform: scale(0.98); }
}

/* ===========================
   3D Globe Scene - Full Screen Experience
   =========================== */

.world-page {
    background: #050a18;
    overflow: hidden;
}

.globe-scene {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 50%, #0c1a30 0%, #060e1f 50%, #030812 100%);
}

/* Ambient particles */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

/* Navigation */
.globe-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(to bottom, rgba(5,10,24,0.8), transparent);
}

.globe-nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.globe-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.globe-nav-logo i {
    font-size: 1.3rem;
    color: var(--highlight-color);
}

.nav-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--highlight-color);
    border-color: var(--highlight-color);
    color: white;
    transform: scale(1.08);
}

/* Hero Text */
.globe-hero-text {
    position: absolute;
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-align: center;
    color: white;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease 0.2s;
    width: 90%;
    max-width: 700px;
}

.globe-hero-text.visible {
    opacity: 1;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 1.25rem;
}

.hero-eyebrow span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.45);
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.globe-hero-text h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.2rem;
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: heroWordIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.4s + var(--i) * 0.15s);
}

.hero-gradient {
    background: linear-gradient(135deg, #e94560, #ff7eb3, #e94560);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroWordIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards, 
               gradientShift 4s ease infinite;
    animation-delay: calc(0.4s + var(--i) * 0.15s), 0s;
}

@keyframes heroWordIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    max-width: 420px;
    margin: 0 auto;
}

.scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    animation: hintPulse 2.5s ease-in-out infinite;
    transition: opacity 0.5s ease;
}

.scroll-hint i {
    font-size: 0.9rem;
    color: var(--highlight-color);
    animation: hintBounce 1.5s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes hintBounce {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(5px) rotate(-15deg); }
}

/* Globe Container */
.globe-container {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.globe-container canvas {
    display: block;
    cursor: grab;
}

.globe-container canvas:active {
    cursor: grabbing;
}

/* City Label (Hover popup) */
.city-label {
    position: absolute;
    z-index: 30;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 0) scale(0.85);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.city-label.visible {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.city-label-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(8, 16, 32, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.2rem 0.5rem 0.6rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    white-space: nowrap;
}

.city-label-flag {
    font-size: 1.6rem;
}

.city-label-text {
    display: flex;
    flex-direction: column;
}

.city-label-text strong {
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.city-label-text small {
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
}

.city-label-arrow {
    color: var(--highlight-color);
    font-size: 0.75rem;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* Bottom Bar - Country Pills */
.globe-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 1.5rem 2rem 2rem;
    background: linear-gradient(to top, rgba(5,10,24,0.9) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

.globe-bottom-bar.visible {
    opacity: 1;
    transform: translateY(0);
}

.bottom-bar-inner {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.country-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1.4rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: rgba(255,255,255,0.8);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.3px;
}

.country-pill:hover {
    background: var(--pill-color, var(--highlight-color));
    border-color: var(--pill-color, var(--highlight-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3),
                0 0 30px color-mix(in srgb, var(--pill-color, var(--highlight-color)) 30%, transparent);
}

.pill-flag {
    font-size: 1.3rem;
}

.pill-city {
    letter-spacing: 0;
}

.pill-arrow {
    font-size: 0.65rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.country-pill:hover .pill-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Globe Footer */
.globe-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
    padding: 0.8rem;
    text-align: center;
}

.globe-footer p {
    color: rgba(255,255,255,0.15);
    font-size: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
}

.globe-footer strong {
    color: rgba(233, 69, 96, 0.3);
}

/* ===========================
   Globe Page Responsive
   =========================== */
@media (max-width: 768px) {
    .globe-scene {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .globe-nav {
        padding: 1rem 1.5rem;
    }

    .globe-nav-logo span {
        font-size: 0.95rem;
    }

    .globe-hero-text {
        top: 12%;
    }

    .globe-hero-text h1 {
        font-size: 2.5rem;
        letter-spacing: -2px;
    }

    .hero-word {
        font-size: 2.5rem;
    }

    .hero-sub {
        font-size: 0.85rem;
    }

    .globe-bottom-bar {
        padding: 0.8rem 0.5rem 1rem;
    }

    .bottom-bar-inner {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .country-pill {
        padding: 0.5rem 0.9rem;
        font-size: 0.78rem;
        flex-shrink: 0;
    }

    .pill-flag {
        font-size: 1.1rem;
    }

    .burger-btn {
        display: flex;
        border-color: rgba(255,255,255,0.2);
        color: rgba(255,255,255,0.8);
    }
}

@media (max-width: 480px) {
    .globe-hero-text {
        top: 14%;
    }

    .globe-hero-text h1 {
        font-size: 1.8rem;
        letter-spacing: -1.5px;
    }
    
    .hero-word {
        font-size: 1.8rem;
    }

    .hero-eyebrow span {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    .eyebrow-line {
        width: 20px;
    }

    .hero-sub {
        font-size: 0.75rem;
    }

    .bottom-bar-inner {
        gap: 6px;
    }

    .country-pill {
        padding: 0.45rem 0.75rem;
        font-size: 0.72rem;
    }

    .pill-flag {
        font-size: 1rem;
    }
}
