* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a365d;
    --dark-blue: #0f2547;
    --light-gray: #f5f5f5;
    --yellow: #FFD700;
    --white: #ffffff;
    --text-dark: #2d3748;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(26, 54, 93, 0.95) 0%, rgba(26, 54, 93, 0.7) 50%, rgba(26, 54, 93, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--yellow);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-image {
    position: relative;
    height: 500px;
}

.painter-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 10px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 500"><rect fill="%23e5e5e5" width="400" height="500"/><circle cx="200" cy="150" r="40" fill="%23d4d4d4"/><rect x="160" y="190" width="80" height="200" fill="%23d4d4d4"/><rect x="140" y="200" width="120" height="180" fill="%23ffffff"/><rect x="0" y="350" width="400" height="150" fill="%23c0c0c0"/></svg>');
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 50px;
}

.section-title.white {
    color: var(--white);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: var(--white);
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.interior-painting {
    background: linear-gradient(135deg, #e8f4f8 0%, #c8e6f0 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><rect fill="%23f0f0f0" width="300" height="200"/><rect x="50" y="50" width="200" height="100" fill="%23ffffff" stroke="%23d0d0d0"/><rect x="60" y="60" width="80" height="60" fill="%23e8e8e8"/><rect x="160" y="60" width="80" height="60" fill="%23e8e8e8"/></svg>');
}

.ceiling-painting {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe082 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><rect fill="%23ffffff" width="300" height="200"/><circle cx="150" cy="100" r="30" fill="%23f5f5f5" stroke="%23e0e0e0"/></svg>');
}

.wall-preparation {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><rect fill="%23f5f5f5" width="300" height="200"/><rect x="50" y="50" width="200" height="100" fill="%23ffffff" stroke="%23d0d0d0"/><rect x="60" y="60" width="40" height="40" fill="%23e8e8e8"/><rect x="110" y="60" width="40" height="40" fill="%23e8e8e8"/></svg>');
}

.repainting {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><rect fill="%23fff8e1" width="300" height="200"/><rect x="50" y="50" width="200" height="100" fill="%23ffffff" stroke="%23d0d0d0"/><rect x="60" y="60" width="80" height="60" fill="%23ffe082"/></svg>');
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-dark);
    font-size: 14px;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    color: var(--primary-blue);
    font-weight: 500;
}

.quick-facts {
    display: flex;
    justify-content: center;
}

.facts-box {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}

.facts-box h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
}

.facts-box ul {
    list-style: none;
}

.facts-box li {
    font-size: 18px;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.facts-box li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-size: 24px;
}

/* Before & After Section */
.before-after-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.before-after-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 50px;
    font-size: 16px;
    color: #4a5568;
}

.before-after-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.ba-project {
    width: 100%;
}

.ba-pair {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    background-color: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ba-pair:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.ba-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #000;
}

.ba-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.ba-item:hover .ba-image {
    transform: scale(1.08);
}

.ba-before {
    filter: grayscale(30%) brightness(0.9);
}

.ba-after {
    filter: brightness(1.05);
}

.ba-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ba-label-before {
    background-color: rgba(220, 38, 38, 0.9);
    color: var(--white);
}

.ba-label-after {
    background-color: rgba(34, 197, 94, 0.9);
    color: var(--white);
}

.ba-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.ba-divider svg {
    width: 100%;
    height: 100%;
    padding: 10px;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-item p {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-blue);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-size: 18px;
}

.info-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--yellow);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
    background-color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: 10px;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background-color: #4caf50;
    color: var(--white);
    display: block;
}

.form-message.error {
    background-color: #f44336;
    color: var(--white);
    display: block;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}
.painter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-image {
        height: 300px;
    }

    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ba-pair {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ba-divider {
        width: 50px;
        height: 50px;
        margin: 10px auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 200px;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .ba-image {
        height: 300px;
    }

    .ba-pair {
        padding: 15px;
    }

    .before-after-container {
        gap: 35px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .logo {
        font-size: 22px;
    }

    .section-title {
        font-size: 24px;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .ba-image {
        height: 250px;
    }

    .ba-label {
        bottom: 15px;
        left: 15px;
        padding: 8px 15px;
        font-size: 12px;
    }

    .ba-divider {
        width: 45px;
        height: 45px;
    }

    .before-after-container {
        gap: 30px;
    }
}


.service-image {
    height: 180px;
    border-radius: 10px 10px 0 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Priming & Painting */
.interior-painting {
    background-image: url("photo/28.jpeg");
}

.ceiling-painting {
    background-image: url("photo/30.jpeg"); /* або твоя назва файлу */
    background-position: center top;
    background-size: cover;
}
.wall-preparation {
    background-image: url("photo/2.jpeg");
    background-size: cover;
    background-position: 65% 30%;
}

.repainting {
    background-image: url("photo/11.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.before-image {
    background-image: url("photo/15.jpeg"); /* BEFORE */
    background-size: cover;
    background-position: center;
}

.after-image {
    background-image: url("photo/19.jpeg"); /* AFTER */
    background-size: cover;
    background-position: center;
}

.logo {
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.1;
}

.logo .brand {
  display: block;
  font-size: 42px;   /* тут "ProFinish" великий */
  font-weight: 800;
  letter-spacing: 0.2px;
}



@media (max-width: 480px) {
  .logo .brand { font-size: 34px; }
  .logo .tagline { font-size: 16px; }
}
.logo .brand {
  color: #ffffff;      /* білий */
  font-size: 52px;     /* великий, але не кричущий */
  font-weight: 900;
  letter-spacing: 0.6px;
}

.logo .tagline {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  opacity: 0.85;
}
