/* ==========================================
   PREMBLE - MEUBLE NA WYMIAR
   Black & Gold Premium Theme
   ========================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================
   CSS VARIABLES & ROOT
   ========================================== */
:root {
    /* Colors */
    --black-primary: #0a0a0a;
    --black-secondary: #1a1a1a;
    --black-light: #2a2a2a;
    --black-lighter: #333333;
    
    --gold-primary: #b8860b;
    --gold-secondary: #d4af37;
    --gold-light: #daa520;
    --gold-pale: #f4e4bc;
    
    --text-primary: #f5f5f5;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    
    --white: #ffffff;
    --transparent: transparent;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Font Sizes */
    --fs-h1: 3.5rem;
    --fs-h2: 2.5rem;
    --fs-h3: 2rem;
    --fs-h4: 1.5rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 2rem;
    --grid-gap: 2rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 15px 50px rgba(0, 0, 0, 0.3);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--black-primary);
    overflow-x: hidden;
}

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

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--gold-secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-light);
}

/* Gold accent text */
.text-gold {
    color: var(--gold-secondary);
}

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

/* ==========================================
   LAYOUT & CONTAINERS
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.container-fluid {
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section-sm {
    padding: 60px 0;
}

/* Flex & Grid utilities */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.grid {
    display: grid;
    gap: var(--grid-gap);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-medium);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-secondary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: var(--black-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-secondary), var(--gold-light));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

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

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

.btn-outline:hover {
    border-color: var(--gold-secondary);
    color: var(--gold-secondary);
}

/* Button sizes */
.btn-sm { padding: 0.75rem 1.5rem; font-size: var(--fs-small); }
.btn-lg { padding: 1.25rem 2.5rem; font-size: 1.125rem; }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)),
                url('hero-kitchen.png') center/cover no-repeat;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--gold-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

/* ==========================================
   HERO SPLIT SECTION (like moderno)
   ========================================== */
.hero-split {
    position: relative;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    background: var(--black-primary);
}

.hero-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    min-height: calc(100vh - 80px);
}

.hero-split-left {
    position: relative;
    overflow: hidden;
}

.hero-split-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-split-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background: var(--black-primary);
    position: relative;
}

.hero-split-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold-primary), var(--gold-secondary));
}

.hero-split-content {
    max-width: 500px;
    text-align: left;
}

.hero-split-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.hero-split-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-split-features {
    margin-bottom: 3rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.hero-feature i {
    color: var(--gold-secondary);
    font-size: 1.25rem;
}

.hero-split-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================
   CARDS - NOW POWIĘKSZONE
   ========================================== */
.card {
    background: var(--black-secondary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-secondary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--black-primary);
}

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

.card-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.125rem;
}

/* Large cards for offer section */
.card-large {
    background: var(--black-secondary);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-large:hover {
    transform: translateY(-10px);
    border-color: var(--gold-secondary);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

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

.card-text-large {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 1.25rem;
    flex-grow: 1;
}

/* ==========================================
   GALLERY - POWIĘKSZONE
   ========================================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 10, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.gallery-overlay p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* ==========================================
   SECTIONS
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: var(--fs-h2);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-secondary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* ==========================================
   STATS
   ========================================== */
.stats {
    background: var(--black-secondary);
    padding: 4rem 0;
    border-radius: var(--radius-lg);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   FORM
   ========================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--black-secondary);
    border: 2px solid var(--black-lighter);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

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

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--black-secondary);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    color: var(--gold-secondary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--black-lighter);
    color: var(--text-muted);
    font-size: var(--fs-small);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out forwards;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    :root {
        --fs-h1: 2.5rem;
        --fs-h2: 2rem;
        --fs-h3: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
        --container-padding: 0 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--black-primary);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    /* Hero split responsive */
    .hero-split-container {
        grid-template-columns: 1fr;
    }
    
    .hero-split-left {
        min-height: 40vh;
    }
    
    .hero-split-right {
        padding: 3rem 2rem;
    }
    
    .hero-split-right::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
    }
    
    .hero-split-title {
        font-size: 2.5rem;
    }
    
    .hero-split-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-split-content {
        text-align: center;
    }
    
    .hero-split-cta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --fs-h1: 2rem;
        --fs-h2: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title::after {
        width: 40px;
    }
}

/* ==========================================
   SCROLLBAR STYLING
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ==========================================
   SELECTION STYLING
   ========================================== */
::selection {
    background: var(--gold-secondary);
    color: var(--black-primary);
}

::-moz-selection {
    background: var(--gold-secondary);
    color: var(--black-primary);
}