/* ============================================
   KAJERA - Research Dossier Layout
   Main Stylesheet
   ============================================ */

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

:root {
    --primary: #2C3E50;
    --accent: #F39C12;
    --secondary: #BDC3C7;
    --neutral-dark: #7F8C8D;
    --white: #FFFFFF;
    --almost-black: #212121;
    --light-gray: #ECF0F1;
}

html, body {
    height: 100%;
    font-family: 'Lato', 'Segoe UI', sans-serif;
    color: var(--almost-black);
    line-height: 1.6;
    background-color: var(--white);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    margin: 20px 0 15px 0;
    color: var(--primary);
}

h1 {
    font-size: 3rem;
    margin: 40px 0 20px 0;
}

h2 {
    font-size: 2.2rem;
    margin: 35px 0 18px 0;
}

h3 {
    font-size: 1.6rem;
    margin: 25px 0 12px 0;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.8;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

ul, ol {
    margin: 15px 0 15px 30px;
}

ul li, ol li {
    margin-bottom: 8px;
    line-height: 1.8;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    background-color: var(--primary);
    color: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
}

nav a {
    color: var(--white);
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--accent);
    text-decoration: none;
}

nav a.active {
    color: var(--accent);
    font-weight: bold;
}

body {
    padding-top: 70px;
}

/* ============================================
   MAIN CONTAINER & SECTIONS
   ============================================ */

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 100px 0;
    border-bottom: 1px solid var(--light-gray);
}

section:last-child {
    border-bottom: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, rgba(44, 62, 80, 0.9) 100%);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(243, 156, 18, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--light-gray);
}

/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */

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

.two-column.reversed {
    direction: rtl;
}

.two-column.reversed > * {
    direction: ltr;
}

.two-column-text {
    flex: 1;
}

.two-column-image {
    flex: 1;
}

.two-column-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: block;
}

/* ============================================
   CARDS SECTION
   ============================================ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 40px 0;
}

.card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 80, 0.15);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.card h3 {
    color: var(--primary);
    margin-top: 0;
}

.card p {
    margin-bottom: 0;
}

/* ============================================
   RESEARCH PANEL
   ============================================ */

.research-panel {
    background-color: var(--light-gray);
    border-left: 5px solid var(--accent);
    padding: 40px;
    margin: 40px 0;
    border-radius: 4px;
}

.research-panel h3 {
    margin-top: 0;
    color: var(--primary);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
}

.btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    text-decoration: none;
}

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

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.footer-section h3 {
    color: var(--accent);
    margin-top: 0;
    font-size: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 40px;
    text-align: center;
    color: var(--light-gray);
    max-width: 1440px;
    margin: 0 auto;
    font-size: 0.9rem;
}

/* ============================================
   DISCLAIMER BLOCK
   ============================================ */

.disclaimer {
    background-color: var(--light-gray);
    border: 1px solid var(--secondary);
    padding: 30px;
    margin: 40px 0;
    border-radius: 4px;
    font-size: 0.95rem;
}

.disclaimer h4 {
    color: var(--primary);
    margin-top: 0;
}

/* ============================================
   FORM STYLES
   ============================================ */

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

input[type="text"],
input[type="email"],
input[type="phone"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--secondary);
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 5px rgba(243, 156, 18, 0.3);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        display: none;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 20px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.text-accent {
    color: var(--accent);
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.py-60 {
    padding: 60px 0;
}

.hidden {
    display: none;
}

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