/* =================================================================
   BASE.CSS - FINANCIAL EDITORIAL STYLE
   Theme: British Racing Green + Cream + Serif Authority
   ================================================================= */

:root {
  /* Paleta kolorów - Old Money / Financial Prestige */
  --color-bg-body: #fcfbf9;       /* Kremowa biel (papierowa) */
  --color-bg-surface: #ffffff;
  
  --color-primary: #1a3c34;       /* Deep Emerald Green - Pieniądze, Stabilność */
  --color-primary-light: #2d5a4e;
  
  --color-accent: #c5a059;        /* Zgaszone złoto - Prestiż */
  
  --color-text-heading: #111827;  /* Prawie czarny */
  --color-text-body: #374151;     /* Ciemny grafit */
  
  --color-border: #e5e7eb;        /* Delikatne linie */
  --color-border-strong: #1a3c34; /* Mocne linie akcentowe */

  /* Typografia */
  --font-display: 'Playfair Display', serif; /* Nagłówki - Elegancja */
  --font-body: 'Lora', serif;                /* Tekst - Czytelność (jak w książce) */
}

body {
    font-family: var(--font-body);
    color: var(--color-text-body);
    background-color: var(--color-bg-body);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* TYPOGRAFIA EXPERCKA */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--color-text-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* ELEMENTY BUTTONÓW - Styl Klasyczny */
.btn-editorial {
    background-color: var(--color-primary);
    color: white;
    font-family: var(--font-body);
    font-weight: 500;
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-primary);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-editorial::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: var(--color-accent);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-editorial:hover {
    border-color: var(--color-accent);
    color: #1a3c34; /* Ciemny tekst na złotym tle */
}

.btn-editorial:hover::after {
    height: 100%;
}

.btn-link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 2px;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.btn-link:hover {
    background-color: var(--color-accent);
    color: white;
    padding: 2px 5px;
}

/* SEKCJE Z LINIAMI (GRID LINES) */
.bordered-grid {
    display: grid;
    border-top: 1px solid var(--color-border-strong);
    border-bottom: 1px solid var(--color-border-strong);
}

.bordered-item {
    padding: 3rem;
    border-right: 1px solid var(--color-border);
}

.bordered-item:last-child {
    border-right: none;
}

/* NAGŁÓWEK SEKCJI */
.section-label {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
    font-weight: 700;
}

/* NAWIGACJA */
.nav-item {
    font-family: var(--font-body);
    color: var(--color-text-heading);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* KONTAKT BAR */
.top-bar {
    background-color: var(--color-primary);
    color: #e5e7eb;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

/* DROPDOWN MENU (Financial Style) */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--color-bg-body);
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(26, 60, 52, 0.15);
    z-index: 1000;
    top: 100%;
    left: 0;
    border-top: 3px solid var(--color-primary);
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-item {
    color: var(--color-text-heading);
    padding: 12px 24px;
    text-decoration: none;
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.2s;
    border-bottom: 1px solid var(--color-border);
}

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

.dropdown-item:hover {
    background-color: #f3f0eb; /* Darker cream */
    color: var(--color-primary);
    padding-left: 30px; /* Slight shift effect */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Utility for headings on dark hero backgrounds */
.hero-title-white {
    color: #fff;
}
