/* Plan Harmonia - Główne style CSS (Semantic UI + Brutalist Design) */
/* Resetowanie i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    font-size: 16px;
}

/* Semantic UI Base Classes + Brutalist Style */
.ui.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ui.grid {
    display: grid;
    gap: 20px;
}

.ui.segment {
    background: #fff;
    border: 3px solid #000;
    padding: 30px;
    margin: 20px 0;
}

.ui.header {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 4px solid #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Header */
.site-header {
    background: #000;
    color: #fff;
    padding: 15px 0;
    border-bottom: 6px solid #fff;
    position: relative;
}

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

.logo {
    height: 60px;
    width: auto;
}

.company-info {
    text-align: right;
    font-size: 14px;
    line-height: 1.4;
}

.company-info a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.company-info a:hover {
    background: #fff;
    color: #000;
    padding: 2px 4px;
}

/* Navigation - Brutalist Style */
.main-nav {
    background: #fff;
    border-bottom: 4px solid #000;
    padding: 0;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-item {
    border-right: 2px solid #000;
}

.nav-item:last-child {
    border-right: none;
}

.nav-link {
    display: block;
    padding: 20px 30px;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.1s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #000;
    color: #fff;
}

/* Hero Section - Brutalist */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    border-bottom: 8px solid #000;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0 #000;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Buttons - Brutalist Style */
.ui.button {
    background: #fff;
    color: #000;
    border: 3px solid #000;
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.1s ease;
    cursor: pointer;
    font-size: 16px;
}

.ui.button:hover {
    background: #000;
    color: #fff;
    transform: translate(2px, 2px);
}

.ui.button.primary {
    background: #000;
    color: #fff;
}

.ui.button.primary:hover {
    background: #fff;
    color: #000;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #000;
}

.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.text-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 30px 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 25px 0 12px;
    text-transform: uppercase;
}

.text-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 10px;
}

/* Lists - Brutalist Style */
.ui.list {
    list-style: none;
    padding: 0;
}

.ui.list .item {
    padding: 15px 0;
    border-bottom: 2px solid #000;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.ui.list .item::before {
    content: '■';
    position: absolute;
    left: 0;
    font-weight: 900;
    font-size: 1.2rem;
}

.ui.list .item:last-child {
    border-bottom: none;
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.service-card {
    background: #fff;
    border: 4px solid #000;
    padding: 30px;
    text-align: center;
    transition: all 0.1s ease;
}

.service-card:hover {
    background: #000;
    color: #fff;
    transform: translate(4px, 4px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Portfolio Gallery - Brutalist Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

.portfolio-item {
    background: #fff;
    border: 4px solid #000;
    overflow: hidden;
    transition: all 0.1s ease;
}

.portfolio-item:hover {
    transform: translate(3px, 3px);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid #000;
}

.portfolio-content {
    padding: 20px;
}

.portfolio-title {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.portfolio-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Form - Brutalist */
.contact-form {
    background: #fff;
    border: 4px solid #000;
    padding: 40px;
    margin: 40px 0;
}

.form-field {
    margin-bottom: 25px;
}

.form-field label {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 15px;
    border: 3px solid #000;
    background: #fff;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.1s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    background: #f0f0f0;
    border-color: #000;
}

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

.checkbox-field {
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
    gap: 10px;
}

.checkbox-field input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-field label {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    text-transform: none;
    font-weight: normal;
}

.checkbox-field a {
    color: #000;
    font-weight: 700;
    text-decoration: underline;
}

.checkbox-field a:hover {
    background: #000;
    color: #fff;
    padding: 1px 3px;
    text-decoration: none;
}

/* Hidden honeypot field */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.team-member {
    text-align: center;
    background: #fff;
    border: 3px solid #000;
    padding: 25px;
}

.team-photo {
    width: 150px;
    height: 150px;
    border: 3px solid #000;
    margin: 0 auto 20px;
    object-fit: cover;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.member-position {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

/* Footer - Brutalist */
.site-footer {
    background: #000;
    color: #fff;
    padding: 50px 0 30px;
    border-top: 6px solid #fff;
    margin-top: 80px;
}

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

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
}

.footer-section p,
.footer-section a {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    background: #fff;
    color: #000;
    padding: 2px 4px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    padding: 10px;
    border: 2px solid #fff;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    transition: all 0.1s ease;
}

.social-link:hover {
    background: #fff;
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid #fff;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 10px;
    border: 1px solid #fff;
}

.footer-links a:hover {
    background: #fff;
    color: #000;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.margin-top {
    margin-top: 40px;
}

.margin-bottom {
    margin-bottom: 40px;
}

.padding-top {
    padding-top: 40px;
}

.padding-bottom {
    padding-bottom: 40px;
}

/* Separators */
.section-separator {
    width: 100%;
    height: 4px;
    background: #000;
    margin: 60px 0;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border: 2px solid #000;
}

.image-full {
    width: 100%;
    object-fit: cover;
}

/* Responsive adjustments for larger screens */
@media (min-width: 1400px) {
    .ui.container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}