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

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2c5f8d;
    --accent-color: #4a90d9;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header Styles */
.header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.language-switcher {
    position: relative;
}

.language-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 0;
    padding-top: 0.5rem;
    min-width: 150px;
    z-index: 100;
}

/* Invisible bridge — no gap between button and dropdown */
.language-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.language-switcher:hover .language-dropdown {
    display: block;
}

.language-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.language-dropdown a:last-child {
    border-bottom: none;
}

.language-dropdown a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

.cta-btn {
    background: var(--accent-color);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(74, 144, 217, 0.3);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 144, 217, 0.4);
}

.cta-btn-outline {
    background: transparent !important;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.cta-btn-outline:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: var(--text-light);
    color: var(--text-light);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../loch-ness-scotland-adobe-805.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 20px;
    position: relative;
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-cta .cta-btn {
    min-width: 180px;
}

/* Widget below hero - centered */
.widget-section {
    margin: 2rem auto 3rem;
    max-width: 900px;
    padding: 0 20px;
}

.widget-section .hero-widget {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-widget {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Content Blocks */
.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.content-block h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.content-block p {
    margin-bottom: 1rem;
    line-height: 1.8;
    max-width: 75ch;
}

.content-block ul, .content-block ol {
    margin: 1rem 0 1rem 2rem;
}

.content-block li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Quick Summary Table */
.quick-summary {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
}

.summary-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.summary-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    width: 40%;
}

.summary-table tr:last-child td {
    border-bottom: none;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table thead {
    background: var(--primary-color);
    color: var(--text-light);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tbody tr:hover {
    background: var(--bg-light);
}

/* Info Box */
.info-box {
    background: #e8f4fd;
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.info-box.expert {
    background: #fff4e6;
    border-left-color: var(--warning-color);
}

.info-box.tip {
    background: #e8f5e9;
    border-left-color: var(--success-color);
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 1rem 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--text-light);
}

.footer-disclaimer {
    background: rgba(0,0,0,0.2);
    padding: 2rem;
    margin: 2rem 0 0;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        text-align: center;
    }
}

/* Widget Styles */
.widget-container {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
