/* style.css – Sercem pieczone */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;600;700&family=DM+Sans:wght@400;500;700&display=swap');

:root {
    --bg: #FBF7F0;
    --bg-light: #FFFFFF;
    --bg-warm: #F9F3E9;
    --text: #3D2817;
    --text-soft: #6B5444;
    --accent: #C17A4A;
    --accent-dark: #9A5A36;
    --accent-light: #E8B896;
    --heart-red: #C85A54;
    --white: #ffffff;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow-soft: 0 8px 30px rgba(61, 40, 23, 0.08);
    --shadow-hover: 0 12px 40px rgba(61, 40, 23, 0.15);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-warm) 100%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0 0 1rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 1rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin: 0 0 0.75rem;
}

.lead {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--text-soft);
    margin: 0 0 2rem;
    max-width: 70ch;
}

/* Layout */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* Header */
header {
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(61, 40, 23, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

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

.logo img {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05) rotate(2deg);
}

.logo-text {
    font-family: 'Crimson Pro', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-dark);
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-soft);
    font-weight: 500;
}

/* Navigation */
nav {
    margin-left: auto;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-list a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    background-color: transparent;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-list a:hover {
    background-color: rgba(193, 122, 74, 0.08);
    color: var(--accent-dark);
    border-color: rgba(193, 122, 74, 0.15);
}

.nav-list a.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(193, 122, 74, 0.3);
}

/* Hamburger menu - hidden on desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--accent-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%);
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 20px rgba(61, 40, 23, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0 24px;
    }
    
    nav.active {
        max-height: 400px;
        padding: 20px 24px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    /* Hamburger animation when active */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .header-inner {
        position: relative;
    }
}

/* Hero Section */
.hero {
    margin: 40px 0 60px;
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 184, 150, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(193, 122, 74, 0.08) 0%, rgba(193, 122, 74, 0.12) 100%);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 16px;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.hero-badge span {
    font-size: 1.3rem;
}

.hero h1 {
    animation: fadeIn 0.8s ease-out 0.5s both;
}

.hero > div:first-child > p {
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.hero-note {
    font-size: 1rem;
    color: var(--text-soft);
    line-height: 1.6;
}

.hero-cta {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: fadeIn 0.8s ease-out 0.7s both;
}

.hero-visual {
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.hero-visual-inner {
    border-radius: var(--radius);
    padding: 32px;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: var(--white);
    box-shadow: var(--shadow-soft);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-visual-inner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.hero-visual-inner p {
    margin: 0 0 12px;
    line-height: 1.6;
}

.hero-visual-inner p:last-child {
    margin-bottom: 0;
}

.hero-visual-inner strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
}

/* Sections */
section {
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

section h2 {
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
    width: 300%;
    height: 300%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(193, 122, 74, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(193, 122, 74, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-ghost:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 122, 74, 0.25);
}

/* Cards Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card h3 {
    color: var(--accent-dark);
    margin-top: 12px;
}

.card p {
    margin: 0 0 12px;
    color: var(--text-soft);
}

.card p:last-child {
    margin-bottom: 0;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Highlight */
.highlight {
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 1.3rem;
    display: block;
    margin: 8px 0;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.contact-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-soft);
}

.contact-box h3 {
    margin-top: 0;
    color: var(--accent-dark);
}

.contact-item {
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-soft);
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-box ol {
    padding-left: 20px;
    color: var(--text-soft);
}

.contact-box ol li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 24px;
    color: var(--text-soft);
    font-size: 0.9rem;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.5) 100%);
    margin-top: 60px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 36px 28px;
        gap: 28px;
    }
}

@media (min-width: 769px) {
    .header-inner {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .logo {
        flex: 1;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }
    
    .wrapper {
        padding: 0 16px 40px;
    }
    
    .hero {
        padding: 28px 20px;
    }
    
    .card {
        padding: 24px;
    }
    
    .contact-box {
        padding: 24px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
}

/* Animations on scroll */
@media (prefers-reduced-motion: no-preference) {
    .card {
        animation: fadeInUp 0.6s ease-out both;
    }
    
    .card:nth-child(1) { animation-delay: 0.1s; }
    .card:nth-child(2) { animation-delay: 0.2s; }
    .card:nth-child(3) { animation-delay: 0.3s; }
    .card:nth-child(4) { animation-delay: 0.4s; }
}
