/* OSWOJONE WNĘTRZE - Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Work+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
    /* Colors - Ciepłe brązy i beże */
    --primary: #6B5F5A;
    --primary-dark: #4A3F3B;
    --primary-light: #8B7F7A;
    --accent: #A68B7B;
    --beige: #CEC6BB;
    --beige-light: #E8E3DB;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --white: #ffffff;
    
    /* Typography - Bezszeryfowe */
    --font-display: 'Work Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing - 8px grid */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); font-family: var(--font-body); font-weight: 600; }

p {
    margin-bottom: var(--space-md);
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gray-600);
}

/* Header Logo Element - zamiast różnych ikon */
.header-ornament {
    display: none;
}

/* BUTTONS - Eleganckie, nie Bootstrap */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 1.125rem 2.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(107, 95, 90, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.35);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-link {
    padding: 0;
    background: none;
    color: var(--primary);
    text-transform: none;
    letter-spacing: normal;
}

.btn-link::after {
    content: '→';
    margin-left: var(--space-xs);
    transition: transform var(--transition);
    display: inline-block;
}

.btn-link:hover::after {
    transform: translateX(4px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    transition: all var(--transition-slow);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--gray-200);
}

.header.scrolled {
    padding: var(--space-md) 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 65px;
    width: auto;
    margin-bottom: -5px;
}

.hero-logo-img {
    max-width: 500px;
    width: 90%;
    height: auto;
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
    align-items: center;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-800);
    text-decoration: none;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: var(--space-md);
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all var(--transition);
    border-radius: 50%;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--primary);
    background: var(--gray-100);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 999;
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.3);
    cursor: pointer;
    transition: all var(--transition);
    animation: pulse 3s infinite;
    text-decoration: none;
}

.floating-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(30, 58, 95, 0.4);
}

.floating-cta i {
    color: var(--white);
    font-size: 1.5rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel {
    position: absolute;
    inset: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65) grayscale(0.2);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.hero-logo {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 6rem);
    margin-bottom: var(--space-lg);
    text-shadow: 2px 4px 40px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-2xl);
    text-shadow: 1px 2px 20px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.carousel-dots {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 11;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--transition-slow);
}

.dot.active {
    background: var(--accent);
    width: 32px;
    border-radius: 4px;
}

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

/* Sections */
.section {
    padding: var(--space-3xl) var(--space-xl);
}

.section-alt {
    background: var(--gray-50);
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
    color: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

/* Page Hero dla podstron */
.page-hero {
    padding: 12rem var(--space-xl) 6rem;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: var(--space-md);
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }

/* Cards */
.card {
    background: var(--white);
    transition: all var(--transition-slow);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: var(--accent);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--space-3xl) var(--space-xl) var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    max-width: 1400px;
    margin: 0 auto var(--space-2xl);
}

.footer h3, .footer h4 {
    color: var(--white);
}

.footer-logo {
    height: 105px;
    width: auto;
    margin-bottom: var(--space-lg);
    display: block;
}

.footer-mission {
    font-style: italic;
    color: var(--gray-500);
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--gray-400);
    transition: all var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition);
}

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

.footer-bottom {
    max-width: 1400px;
    margin: var(--space-xl) auto 0;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-800);
    text-align: center;
    color: var(--gray-600);
}

/* Utilities */
.text-center { text-align: center; }
.text-gold { color: var(--accent); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* CTA Button w menu nawigacji */
.btn-nav-cta {
    padding: 0.625rem 1.5rem !important;
    font-size: 0.875rem !important;
    margin-left: 1rem;
    text-decoration: none !important;
}

.btn-nav-cta::after {
    display: none !important;
}

.btn-nav-cta:hover {
    transform: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-2, .grid-3, .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .section { padding: var(--space-3xl) var(--space-md); }
    .page-hero { padding: 10rem var(--space-md) 4rem; }
}
