:root {
    --color-primary: #1a3a2f; /* Deep Forest Green */
    --color-secondary: #f2e9db; /* Warm Champagne */
    --color-accent: #c05a2a; /* Burnt Orange */
    --color-accent-hover: #9c4720;
    --color-bg: #faf8f5; /* Soft Ivory */
    --color-text: #222222; /* Charcoal */
    --color-text-light: #555555;
    --color-white: #ffffff;
    --color-border: #e0d8c8;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(34, 34, 34, 0.05);
    --shadow-md: 0 8px 24px rgba(34, 34, 34, 0.08);
    --shadow-lg: 0 16px 40px rgba(34, 34, 34, 0.12);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: radial-gradient(var(--color-secondary) 1px, transparent 1px);
    background-size: 40px 40px;
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    position: relative; /* Unstuck as requested */
    z-index: 100;
}

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

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

.logo svg {
    width: 28px;
    height: 28px;
    fill: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: #122820;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 47, 0.9) 0%, rgba(26, 58, 47, 0.4) 100%), url('images/photo-1436491865332-7a61d102dc85.png') no-repeat center center;
    background-size: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h1 {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    color: var(--color-secondary);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-bg-alt {
    background-color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
}

/* Product Cards Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

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

.card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card-img-wrap {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    background-color: var(--color-secondary);
}

.card-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-content {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-brand {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

.card-specs {
    list-style: none;
    margin-bottom: 24px;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
}

.card-specs li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.card-specs li::before {
    content: "•";
    color: var(--color-accent);
    font-weight: bold;
    display: inline-block;
    width: 1em;
}

.card-footer {
    margin-top: auto;
}

.card-footer .btn {
    width: 100%;
}

/* Detail Page specific */
.detail-hero {
    background-color: var(--color-white);
    padding: 60px 0;
    border-bottom: 1px solid var(--color-border);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.detail-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

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

.spec-table th {
    font-weight: 700;
    color: var(--color-primary);
    width: 40%;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.pros-cons h4 {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pros-cons .pros h4 { color: #2e7d32; }
.pros-cons .cons h4 { color: #c62828; }

.pros-cons ul {
    list-style: none;
}

.pros-cons li {
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
}

.pros-cons .pros li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: bold;
}

.pros-cons .cons li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #c62828;
    font-weight: bold;
}

/* Airline Checker Tool */
.tool-container {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.tool-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--color-primary);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.checker-result {
    margin-top: 32px;
    padding: 24px;
    border-radius: var(--radius-md);
    background-color: var(--color-secondary);
    display: none; /* toggled by JS */
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

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

.status-pass { color: #2e7d32; font-weight: bold; }
.status-fail { color: #c62828; font-weight: bold; }

/* Content Pages (Legal, Blog) */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
    margin-bottom: 80px;
}

.content-page h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.content-page p {
    margin-bottom: 20px;
}

.content-page ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 80px 0 24px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-logo svg {
    fill: var(--color-accent);
    width: 24px;
    height: 24px;
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 24px;
    font-size: 1.2rem;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--color-secondary);
    opacity: 0.8;
}

.footer-col a:hover {
    color: var(--color-accent);
    opacity: 1;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    border-radius: var(--radius-md);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 6px solid var(--color-accent);
    transform: translateY(150%);
    transition: transform var(--transition-smooth);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-text p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 24px 0;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path var(--transition-smooth);
        gap: 20px;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .mobile-menu-btn { display: block; }
    .header-btn { display: none; }
    
    .detail-layout { grid-template-columns: 1fr; gap: 32px; }
    .hero { padding: 60px 0; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-content { margin: 0 auto; }
    
    .tool-inputs { grid-template-columns: 1fr; }
    .pros-cons { grid-template-columns: 1fr; }
    
    .cookie-banner { flex-direction: column; gap: 16px; text-align: center; }
    .cookie-actions { width: 100%; flex-direction: column; }
    .cookie-actions button { width: 100%; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .content-page { padding: 32px 20px; }
    .hero h1 { font-size: 2rem; }
}