/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Navigation */
nav {
    background-color: #34495e;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    position: relative;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
}

.hamburger-menu:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger Animation */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav a:hover {
    color: #3498db;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Main content */
main {
    padding: 2rem 0;
}

/* Sections */
.section {
    margin-bottom: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.section h2 {
    background-color: #3498db;
    color: white;
    padding: 1.5rem;
    font-size: 1.8rem;
    margin: 0;
}

.content-box {
    padding: 2rem;
}

.content-box.warning {
    border-left: 5px solid #e74c3c;
}

/* Highlight box */
.highlight-box {
    background-color: #ecf0f1;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    border-left: 4px solid #3498db;
}

.highlight-box ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

/* Promise grid */
.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.promise-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.promise-item strong {
    color: #27ae60;
    font-size: 1.1rem;
}

/* Timeline */
.incident-timeline {
    background-color: #fff5f5;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    border-left: 4px solid #e74c3c;
}

.timeline-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #fecaca;
}

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

.timeline-item strong {
    color: #dc2626;
}

/* Quote box */
.quote-box {
    background-color: #f0f9ff;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #0ea5e9;
    margin: 1.5rem 0;
    text-align: center;
}

.quote-box em {
    font-size: 1.2rem;
    color: #0c4a6e;
}

/* Accommodation issues */
.accommodation-issues {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.issue-item {
    background-color: #fef2f2;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #ef4444;
}

.issue-item h4 {
    color: #dc2626;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Comparison grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.comparison-item {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.comparison-item h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.expected {
    background-color: #dcfce7;
    padding: 0.75rem;
    border-radius: 4px;
    margin: 0.5rem 0;
    border-left: 3px solid #16a34a;
}

.expected:before {
    content: "Expected: ";
    font-weight: bold;
    color: #15803d;
}

.reality {
    background-color: #fee2e2;
    padding: 0.75rem;
    border-radius: 4px;
    margin: 0.5rem 0;
    border-left: 3px solid #dc2626;
}

.reality:before {
    content: "Reality: ";
    font-weight: bold;
    color: #dc2626;
}

/* Evidence grid */
.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.evidence-item {
    background-color: #fffbeb;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #fbbf24;
}

.evidence-item h3 {
    color: #d97706;
    margin-bottom: 1rem;
}

.video-placeholder {
    background-color: #374151;
    color: white;
    padding: 3rem 1rem;
    border-radius: 4px;
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    border: 2px dashed #6b7280;
}

/* Failure list */
.failure-list {
    background-color: #fef2f2;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #ef4444;
    margin: 1rem 0;
}

.failure-list li {
    margin: 0.5rem 0;
    padding-left: 1rem;
}

.failure-list li:before {
    content: "✗ ";
    color: #dc2626;
    font-weight: bold;
    margin-left: -1rem;
}

/* Final thoughts */
.final-thoughts {
    background-color: #f0f9ff;
    padding: 2rem;
    border-radius: 6px;
    margin: 2rem 0;
    border: 1px solid #0ea5e9;
}

.final-thoughts h3 {
    color: #0c4a6e;
    margin-bottom: 1rem;
}

/* Rating */
.rating {
    text-align: center;
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 6px;
    margin: 2rem 0;
}

.stars {
    font-size: 2rem;
    margin: 1rem 0;
}

.star {
    color: #d1d5db;
    margin: 0 0.2rem;
}

.star.filled {
    color: #fbbf24;
}

.rating-text {
    display: block;
    font-size: 1rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    /* Mobile Navigation */
    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background-color: #34495e;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
        padding-top: 80px;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 80%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
        margin: 0.25rem 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
    }
    
    /* Overlay for mobile menu */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 99;
        transition: opacity 0.3s ease;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section h2 {
        font-size: 1.5rem;
        padding: 1rem;
    }
    
    .content-box {
        padding: 1.5rem;
    }
    
    .promise-grid,
    .comparison-grid,
    .evidence-grid {
        grid-template-columns: 1fr;
    }
    
    .stars {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section h2 {
        font-size: 1.3rem;
    }
    
    .content-box {
        padding: 1rem;
    }
    
    .highlight-box,
    .incident-timeline,
    .quote-box {
        padding: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* SEO and performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    .video-placeholder,
    nav {
        display: none;
    }
    
    .section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Resolution section styles */
.resolution-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.resolution-item {
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #dc2626;
}

.resolution-item.cost {
    background-color: #fef2f2;
}

.resolution-item.learning {
    background-color: #fefce8;
    border-left-color: #eab308;
}

.resolution-item h4 {
    color: #dc2626;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.resolution-item.learning h4 {
    color: #a16207;
}

/* Cost breakdown table */
.cost-breakdown {
    margin: 2rem 0;
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.cost-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.cost-table .additional-cost {
    background-color: #fef2f2;
    color: #dc2626;
}

.cost-table .lost-value {
    background-color: #fefce8;
    color: #a16207;
}

/* Similar experiences section */
.similar-reviews {
    margin-top: 1.5rem;
}

.review-source {
    background-color: #f0f9ff;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    border-left: 4px solid #0ea5e9;
}

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

.external-links li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.external-links li:before {
    content: "🔗";
    position: absolute;
    left: 0;
}

.external-links a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
}

.external-links a:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

.common-issues {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
}

.issue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.common-issue {
    background-color: white;
    padding: 1.25rem;
    border-radius: 6px;
    border-left: 3px solid #f59e0b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.common-issue strong {
    color: #92400e;
    display: block;
    margin-bottom: 0.5rem;
}

.expert-opinion {
    background-color: #f0fdf4;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
    border-left: 4px solid #16a34a;
}

.expert-opinion blockquote {
    margin: 1rem 0;
    font-style: italic;
    font-size: 1.1rem;
}

.expert-opinion cite {
    font-weight: bold;
    color: #15803d;
}

/* Contact section styles */
.contact-info {
    max-width: 700px;
    margin: 2rem auto;
}

.contact-item {
    background-color: #f0f9ff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #0ea5e9;
    text-align: center;
}

.contact-item h3 {
    color: #0c4a6e;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.email-contact {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border: 2px solid #0ea5e9;
}

.email-contact strong {
    display: block;
    margin-bottom: 1rem;
    color: #374151;
    font-size: 1.1rem;
}

.email-link {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #0ea5e9;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background-color: #f0f9ff;
    border-radius: 6px;
    border: 2px solid #0ea5e9;
    transition: all 0.3s ease;
}

.email-link:hover {
    background-color: #0ea5e9;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(14, 165, 233, 0.3);
}

.contact-note {
    background-color: #ecfdf5;
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 2rem;
    border-left: 4px solid #10b981;
}

.contact-note p {
    color: #047857;
    margin: 0;
}

/* Focus styles for accessibility */
nav a:focus,
.section:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Additional responsive styles */
@media (max-width: 768px) {
    .resolution-details {
        grid-template-columns: 1fr;
    }
    
    .issue-grid {
        grid-template-columns: 1fr;
    }
    
    .cost-table {
        font-size: 0.9rem;
    }
    
    .contact-info {
        margin: 1rem 0;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .email-contact {
        padding: 1.5rem;
    }
}