/* CraftBruk - Custom Theme Styles */
/* Colors based on logo: Gold, Green, Dark */

:root {
    --gold: #D4A84B;
    --gold-dark: #B8923D;
    --gold-light: #E8C97A;
    --green: #5CB85C;
    --green-dark: #4A9A4A;
    --green-light: #7ED17E;
    --dark: #1A1A1A;
    --dark-lighter: #2D2D2D;
    --gray: #6C757D;
    --gray-light: #F5F5F5;
    --white: #FFFFFF;
    --text: #333333;
    --text-light: #666666;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Image Slider - Always visible at top */
.image-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    z-index: 100;
    background: var(--dark);
}

.slider-track {
    display: flex;
    height: 100%;
    animation: slide 60s linear infinite;
}

.slider-track img {
    height: 100%;
    width: auto;
    min-width: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Header */
.header {
    position: fixed;
    top: 120px;
    left: 0;
    width: 100%;
    background: #000000;
    padding: 1.5rem 0;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.header-flag {
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.header-flag .polish-flag {
    width: 60px;
    height: auto;
}

.header-flag .flag-caption {
    color: var(--white);
    font-size: 0.65rem;
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.header-logo-center {
    text-align: center;
}

.header-logo-center img {
    height: 120px;
    width: auto;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Main content offset */
main {
    margin-top: 300px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 168, 75, 0.4);
}

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

.btn-secondary:hover {
    background: var(--gold);
    color: var(--dark);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section:nth-child(even) {
    background: var(--gray-light);
}

h1, h2, h3, h4 {
    line-height: 1.2;
    color: var(--dark);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--green));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-lighter) 100%);
    color: var(--white);
    padding: 6rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

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

.hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Why Us Section */
.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.process-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    border-left: 4px solid var(--gold);
}

.process-box h4 {
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.process-box ul {
    list-style: none;
}

.process-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.process-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

.guarantees {
    background: linear-gradient(135deg, var(--dark), var(--dark-lighter));
    padding: 2.5rem;
    border-radius: 10px;
    color: var(--white);
}

.guarantees h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
}

.guarantee-item .check {
    color: var(--green);
    font-size: 1.25rem;
    font-weight: bold;
}

/* Area Section */
.area-content {
    text-align: center;
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.area-list span {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(212, 168, 75, 0.3);
}

/* CTA Section */
.section.cta-section {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: var(--white);
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    color: var(--white);
}

.cta-box h2::after {
    background: var(--white);
}

.cta-box p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-box .btn {
    margin-top: 1.5rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-item h4 {
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-link {
    color: var(--dark);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--gold);
}

.contact-cta {
    background: var(--dark);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: var(--white);
}

.contact-cta .lead {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-cta p {
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: #000000;
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-flag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-flag .polish-flag {
    width: 70px;
    height: auto;
}

.footer-flag .flag-caption {
    color: var(--white);
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--gold);
    font-weight: 600;
}

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

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .header-flag .polish-flag {
        width: 50px;
    }

    .header-flag .flag-caption {
        font-size: 0.55rem;
    }
}

@media (max-width: 768px) {
    .image-slider {
        height: 80px;
    }

    .header {
        top: 80px;
        padding: 1rem 0;
    }

    .header-logo-center img {
        height: 80px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000000;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    main {
        margin-top: 230px;
    }

    .hero {
        padding: 3rem 0;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section {
        padding: 3rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .header-flag {
        position: static;
        margin-top: 0.5rem;
    }

    .header-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .header-flag .polish-flag {
        width: 45px;
    }

    .header-flag .flag-caption {
        font-size: 0.5rem;
    }

    .footer-flag .polish-flag {
        width: 60px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .image-slider {
        height: 60px;
    }

    .header {
        top: 60px;
    }

    .header-logo-center img {
        height: 60px;
    }

    main {
        margin-top: 180px;
    }

    .slider-track img {
        min-width: 120px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Animations */
@media (prefers-reduced-motion: reduce) {
    .slider-track {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}
