/* Europellet - Elegant Design */

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

:root {
    --black: #0a0a0a;
    --dark: #1a1a1a;
    --gray: #888;
    --light-gray: #e8e8e8;
    --white: #fff;
    --cream: #f5f3f0;
    --accent: #8b7355;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.1;
}

.section-num {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 20px;
}

.section-num.light {
    color: rgba(255, 255, 255, 0.6);
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 40px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

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

@media (max-width: 768px) {
    .nav {
        padding: 0 24px;
    }
}

.nav-logo {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.header.scrolled .logo-image {
    content: url('../images/logo.svg');
}

.nav-menu {
    display: flex;
    gap: 50px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.header.scrolled .nav-link {
    color: var(--gray);
}

.nav-link:hover {
    color: var(--white);
}

.header.scrolled .nav-link:hover {
    color: var(--dark);
}

.nav-burger {
    display: none;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.nav-burger span,
.nav-burger::before,
.nav-burger::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--white);
    transition: all 0.3s;
}

.header.scrolled .nav-burger span,
.header.scrolled .nav-burger::before,
.header.scrolled .nav-burger::after {
    background: var(--dark);
}

.nav-burger span {
    top: 50%;
}

.nav-burger::before {
    content: '';
    top: 0;
}

.nav-burger::after {
    content: '';
    bottom: 0;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 60px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding: 0 24px;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    max-width: 700px;
    padding-top: 100px;
}

.hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 30px;
    padding: 10px 20px;
    border: 1px solid rgba(139, 115, 85, 0.5);
}

.hero-title {
    font-size: clamp(48px, 8vw, 90px);
    color: var(--white);
    margin-bottom: 30px;
}

.hero-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    max-width: 450px;
}

.btn-hero {
    display: inline-block;
    padding: 18px 45px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    border: 1px solid var(--white);
    transition: all 0.4s ease;
}

.btn-hero:hover {
    background: var(--white);
    color: var(--dark);
}

.hero-scroll {
    position: absolute;
    bottom: 50px;
    left: 60px;
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .hero-scroll {
        left: 24px;
    }
}

.hero-scroll span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        left: -100%;
    }

    50% {
        left: 0;
    }

    100% {
        left: 100%;
    }
}

/* Intro */
.intro {
    padding: 150px 0;
    background: var(--white);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
}

@media (max-width: 992px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.intro-lead {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    line-height: 1.5;
    color: var(--dark);
    margin-bottom: 30px;
}

.intro-right p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Image Section */
.image-section {
    padding: 0 60px;
}

@media (max-width: 768px) {
    .image-section {
        padding: 0 24px;
    }
}

.image-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
}

.image-item {
    overflow: hidden;
}

.image-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

@media (max-width: 768px) {
    .image-item img {
        height: 300px;
    }
}

.image-item:hover img {
    transform: scale(1.05);
}

/* What We Do */
.what-we-do {
    padding: 150px 0;
    background: var(--cream);
}

.wwd-header {
    margin-bottom: 80px;
}

.wwd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

@media (max-width: 992px) {
    .wwd-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.wwd-item {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.wwd-num {
    display: block;
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 20px;
}

.wwd-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.wwd-item p {
    color: var(--gray);
    font-size: 15px;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.92);
}

.cta-content {
    max-width: 600px;
}

.cta-title {
    font-size: clamp(36px, 5vw, 52px);
    color: var(--white);
    margin-bottom: 50px;
}

.cta-list {
    margin-bottom: 50px;
}

.cta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.cta-check {
    color: var(--accent);
    font-size: 14px;
}

.btn-cta {
    display: inline-block;
    padding: 18px 45px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark);
    background: var(--white);
    text-decoration: none;
    transition: all 0.4s ease;
}

.btn-cta:hover {
    background: var(--accent);
    color: var(--white);
}

/* Contact */
.contact {
    padding: 150px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.contact-text {
    color: var(--gray);
    margin-bottom: 50px;
    max-width: 400px;
}

.contact-email {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-email span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
}

.contact-email a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-email a:hover {
    color: var(--accent);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
}

.form-group input,
.form-group textarea {
    padding: 15px 0;
    font-family: inherit;
    font-size: 16px;
    color: var(--dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--light-gray);
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--dark);
}

.form-group textarea {
    resize: none;
    min-height: 100px;
}

.btn-submit {
    align-self: flex-start;
    padding: 18px 45px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--dark);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-submit:hover {
    background: var(--accent);
}

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--black);
}

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

.footer-logo {
    height: 35px;
    width: auto;
}

.footer-copy {
    font-size: 13px;
    color: var(--gray);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-burger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        font-size: 24px;
        color: var(--white);
    }
}

/* Honeypot - ukryte pole przeciw botom */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Form States */
.form-success {
    padding: 20px;
    background: #e8f5e9;
    color: #2e7d32;
    text-align: center;
    margin-top: 20px;
    border-radius: 4px;
}

.form-error {
    padding: 20px;
    background: #ffebee;
    color: #c62828;
    text-align: center;
    margin-top: 20px;
    border-radius: 4px;
}

.btn-submit.loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}