/* DESIGN SYSTEM: Opcja B (Soft & Airy) */
:root {
    /* Kolory - nowa paleta Burgund (#3d1120) */
    --clr-bg: #fffcfd; /* Delikatnie ocieplona biel/puder */
    --clr-surface: rgba(255, 255, 255, 0.85);
    --clr-text: #2a1b1f; /* Głęboki, ciepły brąz zamiast czerni */
    --clr-text-light: #5e4c51; /* Zgaszony taupe / szaro-brązowy */
    --clr-accent: #3d1120; /* Mocny burgund (kolor logo) */
    --clr-accent-dark: #270a14; /* Przyciemniony burgund (hover) */
    
    /* Typografia */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Przestrzenie */
    --spacing-sm: 0.5rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 6rem;
    
    /* Inne */
    --border-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--clr-text);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--border-radius); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: var(--spacing-xl) 0; }
.text-center { text-align: center; }

/* TYPOGRAPHY */
h1 { font-size: clamp(3rem, 5vw + 1rem, 5.5rem); margin-bottom: var(--spacing-md); }
h2 { font-size: clamp(2.5rem, 4vw + 1rem, 4rem); margin-bottom: var(--spacing-md); }
h3 { font-size: 1.8rem; margin-bottom: var(--spacing-sm); }
p { margin-bottom: var(--spacing-md); color: var(--clr-text-light); font-size: 1.1rem; }
.subtitle { text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; color: var(--clr-accent-dark); font-weight: 500; display: block; margin-bottom: var(--spacing-sm); }
.about-list { list-style: none; padding: 0; margin-bottom: var(--spacing-md); }
.about-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem; color: var(--clr-text-light); }
.about-list li::before { content: "•"; color: var(--clr-accent); position: absolute; left: 0; top: 0; font-size: 1.5rem; line-height: 1; font-weight: bold; }
.about-list li strong { color: var(--clr-text); font-weight: 500; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
}
.btn-primary {
    background-color: var(--clr-accent);
    color: #fff;
    box-shadow: 0 10px 20px rgba(61, 17, 32, 0.2);
}
.btn-primary:hover {
    background-color: var(--clr-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(61, 17, 32, 0.35);
}
.btn-outline {
    border-color: var(--clr-text);
}
.btn-outline:hover {
    background-color: var(--clr-text);
    color: var(--clr-bg);
}

/* GLASSMORPHISM UTILITY */
.glass-panel {
    background: var(--clr-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    background: var(--clr-accent);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.site-header.scrolled {
    background: rgba(61, 17, 32, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 0.2rem 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-size: 2rem; font-weight: 600; font-style: italic; color: #fff; }
.main-nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; }
.main-nav a:not(.btn) { position: relative; padding-bottom: 5px; color: #fff; }
.main-nav a:not(.btn)::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: #fff; transition: var(--transition);
}
.main-nav a:not(.btn):hover::after { width: 100%; }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.mobile-menu-toggle span { display: block; width: 30px; height: 2px; background: #fff; transition: var(--transition); }

/* HERO */
.hero { margin: 8rem 1.5rem 2rem; padding: 4rem 2rem; border-radius: 30px; }
.hero-inner { display: flex; align-items: center; gap: 4rem; }
.hero-content { flex: 1; }
.hero-image { flex: 1; }
.hero-image img { border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); aspect-ratio: 4/5; object-fit: cover; }

/* FULLSCREEN HERO (NEW) */
.hero-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: -100px; /* Offset for fixed header */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-bottom: 2rem;
}

.hero-fullscreen::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(61, 17, 32, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-fullscreen-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-fullscreen-content .subtitle {
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #f3a8b9;
    font-weight: 600;
}

.hero-fullscreen-content h1 {
    font-size: clamp(3rem, 5vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: #ffffff;
}

.hero-fullscreen-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-fullscreen-content .btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    background-color: var(--clr-accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(61, 17, 32, 0.4);
    text-decoration: none;
    display: inline-block;
}

.hero-fullscreen-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(61, 17, 32, 0.6);
    background-color: #2a0c16;
}

/* ABOUT */
.about-inner { max-width: 1000px; margin: 0 auto; }
.about-content { display: flex; align-items: center; gap: 4rem; }
.about-text-column { flex: 1; }
.about-image-column { flex: 1; text-align: center; }
.about-img { border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.about-text-column h2 { font-style: italic; }

/* OFFER */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.offer-card { background: #fff; border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: var(--transition); }
.offer-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.card-image { aspect-ratio: 1/1; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.6s ease; }
.offer-card:hover .card-image img { transform: scale(1.05); }
.card-content { padding: 2rem; }

/* PORTFOLIO */
.portfolio { margin: 2rem 1.5rem 4rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin-top: 3rem; }
.gallery-img { aspect-ratio: 1/1; object-fit: cover; cursor: pointer; transition: var(--transition); }
.gallery-img:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* CONTACT */
.contact-inner { 
    max-width: 700px; 
    padding: 4rem; 
    margin: 0 auto; 
    border-radius: 20px; 
    box-shadow: 0 20px 40px rgba(61, 17, 32, 0.25); 
    background: var(--clr-accent); 
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.1); 
}
.contact-inner .subtitle { color: rgba(255,255,255,0.7); }
.contact-inner h2 { color: #fff; }
.contact-inner p { color: rgba(255,255,255,0.8); }

/* GENERIC FORMS (np. zamówienie) */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; text-align: left; position: relative; margin-bottom: 1rem; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--clr-text-light); }
.form-group input, .form-group textarea, .form-group select { 
    width: 100%; padding: 1rem; border: 1px solid rgba(0,0,0,0.1); border-radius: 8px; 
    font-family: inherit; font-size: 1rem; background: #fff; color: var(--clr-text); transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--clr-accent); box-shadow: 0 0 0 3px rgba(61,17,32,0.1);
}

/* CONTACT FORM DARK THEME */
.contact-form { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-inner .form-group { margin-bottom: 0; }
.contact-inner .form-group label { color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; margin-left: 0.5rem; }
.contact-inner .form-group input, .contact-inner .form-group textarea { 
    padding: 1.2rem; 
    border: 1px solid rgba(255,255,255,0.2); 
    border-radius: 12px; 
    background: rgba(255, 255, 255, 0.05); 
    color: #fff; 
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1); 
}
.contact-inner .form-group input::placeholder, .contact-inner .form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-inner .form-group input:focus, .contact-inner .form-group textarea:focus { 
    border-color: rgba(255,255,255,0.5); 
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1), inset 0 2px 5px rgba(0,0,0,0.1); 
    background: rgba(255, 255, 255, 0.1); 
    transform: translateY(-2px); 
}
.contact-form .btn { width: 100%; max-width: 300px; margin: 1rem auto 0; padding: 1.2rem 2rem; font-size: 1.1rem; border-radius: 50px; letter-spacing: 1px; }

/* FOOTER */
.site-footer {
    background-color: var(--clr-accent);
    color: rgba(255,255,255,0.85);
    padding: var(--spacing-lg) 0 0;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { flex: 1; min-width: 250px; }
.footer-brand h3 { color: #fff; margin-bottom: 1rem; }
.footer-contact { flex: 1; min-width: 250px; }
.footer-contact h4 { color: #fff; margin-bottom: 1rem; }
.footer-contact p { color: rgba(255,255,255,0.7); }
.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-content { order: 2; }
    .hero-image { order: 1; width: 100%; max-width: 500px; margin: 0 auto; }
    .about-content { flex-direction: column; text-align: center; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .contact-inner { padding: 2rem 1.5rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--clr-accent); padding: 2rem; box-shadow: 0 15px 30px rgba(0,0,0,0.2); border-top: 1px solid rgba(255,255,255,0.1); }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; }
    .mobile-menu-toggle { display: flex; }
    .hero { margin: 5rem 0.5rem 1rem; padding: 2rem 1rem; }
    .portfolio { margin: 1rem 0.5rem 2rem; }
}

/* PAGINATION (SKLEP) */
.shop-pagination-container {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(61, 17, 32, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}
.shop-pagination-container .pagination-info {
    font-size: 0.95rem;
    color: var(--clr-text-light);
    letter-spacing: 0.5px;
}
.shop-pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.shop-pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(61, 17, 32, 0.15);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: var(--transition);
    backdrop-filter: blur(8px);
}
.shop-pagination .page-item a.page-link:hover {
    background: var(--clr-accent);
    color: #ffffff;
    border-color: var(--clr-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(61, 17, 32, 0.2);
}
.shop-pagination .page-item.active .page-link {
    background: var(--clr-accent);
    color: #ffffff;
    border-color: var(--clr-accent);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(61, 17, 32, 0.25);
}
.shop-pagination .page-item.disabled .page-link {
    color: #bbb;
    border-color: rgba(0,0,0,0.06);
    background: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    pointer-events: none;
}
.shop-pagination .page-item.ellipsis .page-link {
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--clr-text-light);
    cursor: default;
    min-width: 20px;
    padding: 0;
}

