﻿/*!
Theme Name: Arline
Theme URI: https://arlinestroy.kz
Author: Arline Stroy
Author URI: https://arlinestroy.kz
Description: Тема для ремонтной компании Arline Stroy
Version: 1.0.0
License: GPL v2 or later
Text Domain: arline
*/

:root {
    --bg-color: #FFFFFF;
    --bg-alt: #F9F9F9;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --accent-color: #A88B7D;
    --accent-hover: #967a6d;
    --border-color: #E0E0E0;
    --font-main: 'Manrope', sans-serif;
    --page-padding: 40px;
    --section-spacing: 100px;
    --radius-lg: 40px;
    --radius-md: 20px;
    --radius-sm: 12px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.btn-pill {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 500;
    transition: 0.2s;
}
.btn-pill:hover { background-color: var(--accent-hover); }

.logo-img { height: 48px; width: auto; object-fit: contain; }

/* HEADER */
html { scroll-behavior: smooth; margin-top: 0 !important; }
body { margin-top: 0 !important; }
.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .header { top: 46px; } }
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px var(--page-padding);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}
.logo { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.logo-accent { color: var(--accent-color); }
.nav { display: flex; gap: 32px; }
.nav-link { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: 0.2s; text-transform: uppercase; letter-spacing: 0.05em; }
.nav-link:hover { color: var(--text-main); }
.contact-info { text-align: right; display: flex; flex-direction: column; }
.phone { font-weight: 700; font-size: 16px; }
.callback { color: var(--text-muted); font-size: 13px; border-bottom: 1px solid #ddd; width: max-content; align-self: flex-end; }
.menu-toggle { display: none; }

/* SECTIONS */
section, .section { padding: var(--section-spacing) var(--page-padding); }
.section-title { font-size: 40px; font-weight: 300; text-transform: uppercase; margin-bottom: 60px; text-align: center; }
.section-bg { background-color: var(--bg-alt); }
iconify-icon { vertical-align: middle; position: relative; top: -1px; }

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1fr 35%;
    min-height: calc(100vh - 80px);
    padding: 0 var(--page-padding) var(--page-padding);
    gap: 40px;
}
.hero-content { display: flex; flex-direction: column; position: relative; padding-top: 40px; }
.hero-title { font-size: clamp(40px, 5vw, 84px); line-height: 1.1; font-weight: 500; margin-bottom: 40px; text-transform: uppercase; }
.line-1, .line-2, .line-3 { display: block; }
.hero-description { position: absolute; top: 60px; right: 20px; width: 280px; font-size: 16px; line-height: 1.5; color: #444; }
@media (max-width: 1400px) and (min-width: 1025px) {
    .hero-description { position: relative; top: 0; right: 0; margin-bottom: 20px; width: 100%; max-width: 400px; }
}
.arrow-down { margin-top: 20px; font-size: 24px; color: var(--accent-color); }
.image-landscape-wrapper { margin-top: auto; width: 100%; height: 400px; border-radius: var(--radius-lg); border-top-right-radius: 0; overflow: hidden; }
.hero-img-landscape, .hero-img-portrait { width: 100%; height: 100%; object-fit: cover; }
.cta-circle {
    position: absolute;
    bottom: 350px;
    right: -20px;
    width: 160px;
    height: 160px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.3;
    z-index: 5;
    transition: transform 0.3s;
}
.cta-circle:hover { transform: scale(1.05); background-color: var(--accent-hover); }
.image-portrait-wrapper { height: 100%; border-radius: var(--radius-lg); overflow: hidden; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: white; padding: 40px; border-radius: var(--radius-md); border: 1px solid var(--border-color); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.service-title { font-size: 24px; margin-bottom: 10px; font-weight: 500; }
.service-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 30px; display: block; }
.service-list { list-style: none; }
.service-list li { margin-bottom: 12px; padding-left: 20px; position: relative; font-size: 15px; }
.service-list li::before { content: "•"; color: var(--accent-color); position: absolute; left: 0; font-size: 20px; line-height: 1; }

/* PROCESS */
.process-steps { display: flex; justify-content: space-between; position: relative; }
.step-item { flex: 1; text-align: center; position: relative; padding: 0 10px; }
.step-number { width: 60px; height: 60px; border: 2px solid var(--accent-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 600; margin: 0 auto 20px; background: #fff; position: relative; z-index: 2; }
.step-item:not(:last-child)::after { content: ""; position: absolute; top: 30px; left: 50%; width: 100%; height: 1px; background: var(--border-color); z-index: 1; }
.step-title { font-size: 18px; font-weight: 500; }
.step-desc { color: var(--text-muted); font-size: 14px; margin-top: 10px; }

/* SLIDER */
.slider-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 30px; padding-bottom: 20px; scrollbar-width: none; }
.slider-scroll::-webkit-scrollbar { display: none; }
.slider-container { position: relative; display: flex; align-items: center; }
.slider-btn { width: 50px; height: 50px; border-radius: 50%; background: white; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 24px; color: var(--text-main); z-index: 10; position: absolute; transition: 0.2s; }
.slider-btn:hover { background: var(--accent-color); color: white; }
.slider-btn.prev { left: -20px; }
.slider-btn.next { right: -20px; }
@media (max-width: 1024px) { .slider-btn { display: none; } }

/* PROJECTS */
.project-card { min-width: 350px; flex: 0 0 350px; scroll-snap-align: start; border-radius: var(--radius-md); overflow: hidden; background: white; cursor: pointer; transition: transform 0.3s; }
.project-card:hover { transform: translateY(-5px); }
.project-img { width: 100%; height: 250px; object-fit: cover; }
.project-info { padding: 24px; }
.project-title { font-size: 20px; margin-bottom: 16px; font-weight: 600; }
.project-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 14px; color: var(--text-muted); }
.meta-label { display: block; font-size: 12px; color: #999; }
.meta-value { color: var(--text-main); font-weight: 500; }

/* VIDEO REVIEWS */
.reviews-title { text-align: center; font-size: 30px; margin: 80px 0 40px; font-weight: 300; }
.video-card { min-width: 300px; flex: 0 0 300px; height: 530px; scroll-snap-align: center; border-radius: var(--radius-md); overflow: hidden; background: #000; position: relative; }
.video-frame { width: 100%; height: 100%; border: none; }
.video-link { display: block; position: relative; text-decoration: none; cursor: pointer; }
.video-thumb { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: 0.3s; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; z-index: 2; opacity: 0.9; transition: 0.3s; background: rgba(0,0,0,0.3); border-radius: 50%; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.video-link:hover .video-thumb { opacity: 0.7; transform: scale(1.05); }
.video-link:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); background: rgba(0,0,0,0.5); opacity: 1; }

/* LEAD FORM */
.lead-form-section { background-color: var(--text-main); color: white; border-radius: var(--radius-lg); margin: var(--section-spacing) var(--page-padding); padding: 80px 60px; display: flex; justify-content: space-between; align-items: center; }
.lead-content { max-width: 500px; }
.lead-title { font-size: 36px; margin-bottom: 16px; font-weight: 300; }
.lead-text { color: #ccc; margin-bottom: 0; }
.lead-inputs { display: flex; gap: 20px; align-items: center; }
.form-input { background: transparent; border: none; border-bottom: 1px solid #555; padding: 12px 0; width: 200px; color: white; font-family: inherit; font-size: 16px; outline: none; }
.form-input::placeholder { color: #555; }
.form-input:focus { border-bottom-color: var(--accent-color); }
.btn-submit { background: var(--accent-color); color: white; border: none; padding: 0 40px; height: 50px; border-radius: 25px; font-family: inherit; font-size: 16px; cursor: pointer; transition: background 0.2s; }
.btn-submit:hover { background: var(--accent-hover); }

/* STATS */
.stats-section { background-color: var(--text-main); color: white; }
.stats-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; }
.stat-item { text-align: center; }
.stat-number { font-size: 64px; font-weight: 700; color: var(--accent-color); line-height: 1; margin-bottom: 10px; }
.stat-label { color: #ccc; font-size: 16px; }

/* TECH DESIGN */
.tech-design { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tech-content h3 { font-size: 36px; margin-bottom: 20px; font-weight: 300; }
.tech-content p { color: var(--text-muted); line-height: 1.6; }
.tech-visual img { width: 100%; border-radius: var(--radius-md); box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.design-slider { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius-md); }
.design-slider-track { display: flex; transition: transform 0.4s ease; }
.design-slide { min-width: 100%; flex-shrink: 0; }
.design-slide img { width: 100%; height: 400px; object-fit: cover; display: block; }
.design-prev, .design-next { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(255,255,255,0.9); border: none; border-radius: 50%; cursor: pointer; font-size: 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.2s; z-index: 5; }
.design-prev:hover, .design-next:hover { background: var(--accent-color); color: white; }
.design-prev { left: 15px; }
.design-next { right: 15px; }

/* WHY US */
.why-us-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 900px; margin: 0 auto; }
.advantage-item { display: flex; gap: 20px; align-items: flex-start; }
.advantage-icon { width: 50px; height: 50px; flex-shrink: 0; background: var(--bg-alt); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-color); font-size: 24px; }
.advantage-text h4 { font-size: 20px; margin-bottom: 8px; font-weight: 600; }
.advantage-text p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* FOOTER */
.footer { background: #111; color: white; padding: 80px var(--page-padding) 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-col h4 { font-size: 18px; margin-bottom: 24px; color: var(--accent-color); }
.footer-contact-item { margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.footer-link { color: #999; transition: color 0.2s; }
.footer-link:hover { color: white; }
.requisites { border-top: 1px solid #333; padding-top: 30px; text-align: center; color: #555; font-size: 14px; }

/* FLOATING WA */
.floating-wa { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 900; transition: transform 0.3s; }
.floating-wa:hover { transform: scale(1.1); }

/* PROJECT PAGE */
.back-link { display: inline-block; margin-bottom: 30px; color: var(--text-muted); font-size: 14px; }
.project-page-title { font-size: 48px; font-weight: 300; margin-bottom: 40px; }
.project-specs-grid { display: flex; gap: 60px; margin-bottom: 60px; border-bottom: 1px solid var(--border-color); padding-bottom: 40px; }
.spec-label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.05em; }
.spec-value { font-size: 20px; font-weight: 500; }
.project-gallery { margin-bottom: 80px; }
.gallery-main { width: 100%; height: 600px; margin-bottom: 20px; border-radius: var(--radius-md); overflow: hidden; }
.gallery-main a { display: block; width: 100%; height: 100%; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-main a:hover img { transform: scale(1.05); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid a { display: block; position: relative; overflow: hidden; border-radius: var(--radius-sm); }
.gallery-grid img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius-sm); transition: transform 0.3s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid a::after { content: '🔍'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 48px; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.gallery-grid a:hover::after { opacity: 0.8; }
.project-description { max-width: 800px; }
.project-description h3 { font-size: 24px; margin-bottom: 20px; }
.project-description p { font-size: 18px; line-height: 1.6; color: #444; margin-bottom: 20px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .header { flex-wrap: nowrap; }
    .menu-toggle { display: block; background: none; border: none; font-size: 32px; color: var(--text-main); cursor: pointer; z-index: 200; }
    .nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: white; flex-direction: column; justify-content: center; align-items: center; z-index: 150; gap: 40px; font-size: 24px; transform: translateY(-100%); transition: transform 0.3s ease-in-out; }
    .nav.active { transform: translateY(0%); }
    .nav-link { font-size: 20px; }
    .contact-info { display: none; }
    .hero { grid-template-columns: 1fr; height: auto; text-align: center; padding-top: 0; }
    .image-portrait-wrapper { display: none; }
    .hero-content { align-items: center; }
    .hero-title { font-size: 40px; }
    .hero-title .line-1, .hero-title .line-2, .hero-title .line-3 { display: inline-block; margin: 0 5px; }
    .hero-description { position: relative; top: 0; right: 0; width: 100%; margin-bottom: 30px; text-align: center; }
    .cta-circle { position: relative; bottom: 0; right: 0; margin: -80px auto 40px; }
    .services-grid, .why-us-grid, .footer-grid, .stats-row, .tech-design { grid-template-columns: 1fr; justify-content: center; }
    .tech-design { padding: 30px 20px; text-align: center; }
    .tech-content h3 { font-size: 24px; margin-bottom: 15px; }
    .process-steps { flex-direction: column; gap: 40px; }
    .step-item::after { display: none; }
    .project-specs-grid { flex-direction: column; gap: 20px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-main { height: 300px; }
    .lead-form-section { flex-direction: column; text-align: center; gap: 40px; padding: 40px 20px; }
    .lead-inputs { flex-direction: column; width: 100%; }
    .form-input { width: 100%; }
    .footer-grid { display: flex; flex-direction: column; gap: 40px; text-align: center; }
    .footer-contact-item { justify-content: center; }
}

@media (max-width: 480px) {
    .section-title { font-size: 28px; }
    .hero-title { font-size: 32px; margin-top: 50px; }
    .stats-row { gap: 30px; }
    .stat-number { font-size: 48px; }
    .hero-content { padding-top: 0; }
}
