* {
    box-sizing: border-box;
}

#ai-trip-planner {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.trip-planner-container {
    /*max-width: 720px;*/
    margin: 0 auto;
    /*padding: 0 20px;*/
}

/* Header */
.planner-header {
    text-align: center;
    margin-bottom: 3rem;
}

.header-icon {
    font-size: 4rem;
    display: block;
    /*margin-bottom: 1rem;*/
}

.planner-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #1a1a1a;
}

.planner-header p {
    font-size: 1.5rem;
    color: #666;
    margin: 0;
}

/* Form */
.trip-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.form-field {
    margin-bottom: 2rem;
}

.form-field label {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.label-icon {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 2rem;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 0.5rem 1.25rem;
    font-size: 1.6rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.3s ease;
    color: #1a1a1a;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: #4F46E5;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-field input::placeholder {
    color: #999;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Interests */
.interests-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.interest-tag {
    position: relative;
    cursor: pointer;
}

.interest-tag input {
    position: absolute;
    opacity: 0;
}

.interest-tag span {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: #f5f5f5;
    border: 2px solid #e5e5e5;
    border-radius: 25px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    user-select: none;
}

.interest-tag:hover span {
    background: #f0f0f0;
    border-color: #d0d0d0;
}

.interest-tag input:checked + span {
    background: #4F46E5;
    color: white;
    border-color: #4F46E5;
}

/* Submit Button */
.submit-button {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-loader {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.submit-button:disabled .button-text {
    display: none;
}

.submit-button:disabled .button-loader {
    display: flex;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Field hints */
.field-hint {
    font-size: 1.3rem;
    color: #666;
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.required {
    color: #ef4444;
}

.optional {
    color: #666;
    font-weight: normal;
    font-size: 0.875rem;
}

/* Trip duration display */
.trip-duration {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0369a1;
}

.duration-icon {
    font-size: 1.95rem;
}

/* Form errors */
.form-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 1rem 0;
    color: #dc2626;
}

/* Destination Autocomplete Styles */
.destination-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: -2px;
}

.suggestions-title {
    padding: 12px 16px;
    font-size: 1.6rem;
    font-weight: 600;
    color: #666;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.highlighted {
    background-color: #f8f9fa;
}

.suggestion-icon {
    font-size: 1.6rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.suggestion-text {
    flex: 1;
    font-size: 1.6rem;
    color: #333;
}

.suggestion-loading,
.suggestion-error {
    padding: 20px;
    text-align: center;
    color: #666;
}

.suggestion-loading .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

/* Enhance the destination input when suggestions are open */
.form-field:has(.destination-suggestions:not([style*="display: none"])) input {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Enhanced Results Container */
.results-container {
    margin-top: 4rem;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Results Header */
.results-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 30px 30px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.results-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.results-header-content h3 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sparkle {
    animation: sparkle 2s infinite;
    display: inline-block;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.8; }
}

.results-subtitle {
    margin: 0.5rem 0 0 0;
    font-size: 1.25rem;
    opacity: 0.9;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Destination Hero Section */
.destination-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    overflow: hidden;
    margin: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
}

.hero-content {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    color: white;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.trip-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 1.125rem;
}

.trip-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Section Styling */
.gallery-section,
.itinerary-section,
.map-section,
.tips-section {
    padding: 3rem;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.title-icon {
    font-size: 2.5rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.map-hint {
    font-size: 0.875rem;
    color: #666;
    font-weight: 400;
    margin-left: auto;
}

/* Enhanced Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0;
}

.gallery-loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.gallery-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
    background: #f3f4f6;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(0,0,0,0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.image-card:hover::before {
    opacity: 1;
}

.image-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.image-card:hover img {
    transform: scale(1.1);
}

.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-card:hover .image-label {
    transform: translateY(0);
}

/* Enhanced Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-content {
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-lightbox:hover {
    color: #ff6b6b;
    transform: rotate(90deg);
    background: rgba(0,0,0,0.8);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.prev-image,
.next-image {
    cursor: pointer;
    color: white;
    font-size: 50px;
    font-weight: 200;
    padding: 0 20px;
    user-select: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: 80px;
    pointer-events: all;
}

.prev-image:hover,
.next-image:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.lightbox-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    min-width: 400px;
}

.lightbox-caption {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.lightbox-caption strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.lightbox-caption a {
    color: #93c5fd;
    text-decoration: none;
}

.lightbox-caption a:hover {
    text-decoration: underline;
}

.lightbox-counter {
    font-size: 1rem;
    opacity: 0.8;
}

/* Enhanced Itinerary Section Styles */
.itinerary-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
    position: relative;
}

.itinerary-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 3rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Timeline Container */
.itinerary-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Central Timeline Line */
.itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 3px;
}

/* Day Container */
.day-container {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 100px;
}

/* Day Number Circle */
.day-number {
    position: absolute;
    left: 25px;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 2;
}

/* Day Header */
.day-header {
    background: white;
    border-radius: 20px;
    padding: 2rem 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.day-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #667eea, #764ba2);
}

.day-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.day-subtitle {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
    font-style: italic;
}

/* Time Blocks */
.time-block {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.time-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.time-period {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.time-icon {
    width: 50px;
    height: 50px;
    background: #f0f9ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.time-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4F46E5;
}

/* Activity List */
.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #4a5568;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
}

/* Highlight Items */
.highlight-item {
    background: #f0f9ff;
    border-left: 3px solid #3b82f6;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 0 12px 12px 0;
    font-weight: 500;
}

.highlight-item strong {
    color: #1e40af;
}

/* Cost Badge */
.cost-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fef3c7;
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 1rem;
}

/* Info Tags */
.info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f4f6;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #4b5563;
}

.info-tag-icon {
    font-size: 1.2rem;
}

/* Where to Stay Card */
.stay-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.stay-card::before {
    content: '🏨';
    position: absolute;
    right: -20px;
    top: -20px;
    font-size: 8rem;
    opacity: 0.1;
}

.stay-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 1rem;
}

/* Budget Breakdown */
.budget-breakdown {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.budget-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.budget-items {
    display: grid;
    gap: 1rem;
}

.budget-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.budget-item:hover {
    background: #f3f4f6;
}

.budget-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.budget-amount {
    font-weight: 700;
    color: #4F46E5;
    font-size: 1.125rem;
}

.budget-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    margin-top: 1rem;
}

.budget-total-label {
    font-size: 1.25rem;
    font-weight: 600;
}

.budget-total-amount {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Itinerary Content (fallback styles) */
.itinerary-content {
    background: white;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

/* Day Sections (fallback) */
.day-section {
    background: white;
    padding: 3rem;
    margin: 0 0 2rem 0;
    border-radius: 20px;
    border-left: 5px solid #667eea;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.day-section:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.day-section::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.day-section:hover::before {
    opacity: 1;
}

.day-section h4 {
    color: #667eea;
    font-size: 2.25rem;
    margin: 0 0 2rem 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.day-section h4::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #667eea, transparent);
}

.day-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

/* Enhanced Map Section */
.trip-map {
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin: 0;
    position: relative;
}

.map-placeholder {
    height: 600px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: #666;
}

.placeholder-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.placeholder-content p {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
}

.placeholder-content small {
    font-size: 1rem;
    opacity: 0.7;
}

/* Quick Tips Grid */
.quick-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #bae6fd;
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

.tip-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.tip-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0 0 0.5rem 0;
}

.tip-content {
    color: #64748b;
    line-height: 1.6;
}

/* Essential Tips Section */
.tips-section.essential-tips {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeInAnim 0.6s ease forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.6s ease forwards;
}

@keyframes fadeInAnim {
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stagger animations */
.day-container:nth-child(1) { animation-delay: 0.1s; }
.day-container:nth-child(2) { animation-delay: 0.2s; }
.day-container:nth-child(3) { animation-delay: 0.3s; }
.day-container:nth-child(4) { animation-delay: 0.4s; }
.day-container:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .trip-form {
        padding: 2rem;
    }
    
    .results-header {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 2rem;
    }
    
    .results-header-content h3 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        left: 1.5rem;
        bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .gallery-section,
    .itinerary-section,
    .map-section,
    .tips-section {
        padding: 1.5rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    .trip-map,
    .map-placeholder {
        height: 400px;
    }
    
    .lightbox-info {
        min-width: auto;
        width: 90%;
        padding: 15px 25px;
    }
    
    .prev-image,
    .next-image {
        font-size: 30px;
        height: 60px;
        padding: 0 15px;
    }
    
    .lightbox-caption {
        font-size: 14px;
        min-width: 200px;
        bottom: 60px;
    }
    
    /* Timeline Mobile */
    .itinerary-timeline::before {
        left: 30px;
    }
    
    .day-container {
        padding-left: 70px;
    }
    
    .day-number {
        left: 5px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .day-header {
        padding: 1.5rem;
    }
    
    .day-title {
        font-size: 1.75rem;
    }
    
    .time-block {
        padding: 1.5rem;
    }
    
    .info-tags {
        gap: 0.5rem;
    }
    
    .info-tag {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    .action-buttons,
    .trip-form,
    .planner-header,
    .image-gallery,
    .tips-section {
        display: none;
    }
    
    .results-header {
        background: none;
        color: #000;
        padding: 1rem 0;
    }
    
    .day-section,
    .day-container {
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .itinerary-content {
        box-shadow: none;
        padding: 0;
    }
}

/* Animation for content loading */
.day-section,
.day-container,
.image-card,
.tip-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image card stagger animation */
.image-card:nth-child(1) { animation-delay: 0.1s; }
.image-card:nth-child(2) { animation-delay: 0.15s; }
.image-card:nth-child(3) { animation-delay: 0.2s; }
.image-card:nth-child(4) { animation-delay: 0.25s; }
.image-card:nth-child(5) { animation-delay: 0.3s; }
.image-card:nth-child(6) { animation-delay: 0.35s; }
.image-card:nth-child(7) { animation-delay: 0.4s; }
.image-card:nth-child(8) { animation-delay: 0.45s; }
.image-card:nth-child(9) { animation-delay: 0.5s; }
.image-card:nth-child(10) { animation-delay: 0.55s; }
.image-card:nth-child(11) { animation-delay: 0.6s; }
.image-card:nth-child(12) { animation-delay: 0.65s; }