/* ==========================================================================
   Galactic Light Theme - Main Stylesheet
   ========================================================================== */

/* Import Google Font - Outfit */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.62;
    color: #434343;
    background: #000;
}

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

/* Top Bar */
.top-bar {
    background: #267ece;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: center;
}

.top-contacts {
    display: flex;
    gap: 30px;
}

.top-contacts a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-contacts a:hover {
    opacity: 0.8;
}

/* Header */
.site-header {
    background: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.logo span {
    font-size: 18px;
    font-weight: bold;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #ffc107;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.header-phone span {
    display: block;
    color: white;
    font-size: 12px;
}

.header-phone a {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

.btn-estimate {
    background: #ffc107;
    color: #000;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
}

.btn-estimate:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 600px;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 350px 1fr 400px;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Left - Mobile App */
.hero-left {
    display: flex;
    justify-content: center;
}

.mobile-app-preview {
    max-width: 350px;
}

.phone-image {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-frame {
    width: 280px;
    height: 550px;
    background: white;
    border-radius: 35px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    position: relative;
}

.time {
    font-size: 14px;
    font-weight: 600;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: black;
    border-radius: 0 0 20px 20px;
}

.status-icons {
    display: flex;
    gap: 5px;
    font-size: 12px;
}

.phone-content {
    text-align: center;
    padding: 40px 20px;
}

.app-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 24px;
    margin-bottom: 60px;
}

.phone-content h3 {
    font-size: 18px;
    margin-bottom: 60px;
    color: #333;
}

.call-button {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.phone-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border: none;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(238, 90, 111, 0.4);
    transition: transform 0.3s;
}

.phone-btn:hover {
    transform: scale(1.1);
}

.pulse-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(238, 90, 111, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.phone-content p {
    color: #999;
    font-size: 14px;
}

/* Hero Center */
.hero-center {
    text-align: center;
    padding: 0 40px;
}

.hero-subtitle {
    color: #ffc107;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    color: white;
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-service {
    display: inline-block;
    background: #ffc107;
    color: #000;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
}

/* Hero Right - Contact Form */
.hero-right {
    background: linear-gradient(135deg, #267ece, #1a5ba8);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-form-box h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-bottom-color: #ffc107;
    background: rgba(255, 255, 255, 0.15);
}

.quote-form select {
    cursor: pointer;
    color: white;
}

.quote-form select option {
    background: #267ece;
    color: white;
}

.captcha-box {
    margin-bottom: 20px;
}

.captcha-box label {
    display: block;
    color: white;
    font-size: 12px;
    margin-bottom: 8px;
}

.captcha-display {
    background: white;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.btn-submit {
    width: 100%;
    background: #ffc107;
    color: #000;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.form-terms {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    text-align: center;
    margin-top: 15px;
}

.form-terms a {
    color: white;
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: #000;
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-title {
        font-size: 36px;
    }

    .header-right {
        flex-direction: column;
    }
}

/* Contact Form 7 Styles */
.contact-form-box .wpcf7 {
    width: 100%;
}

.contact-form-box .wpcf7-form p {
    margin-bottom: 15px;
}

.contact-form-box .wpcf7-form input[type="text"],
.contact-form-box .wpcf7-form input[type="email"],
.contact-form-box .wpcf7-form input[type="tel"],
.contact-form-box .wpcf7-form select,
.contact-form-box .wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.contact-form-box .wpcf7-form input::placeholder,
.contact-form-box .wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form-box .wpcf7-form input:focus,
.contact-form-box .wpcf7-form select:focus,
.contact-form-box .wpcf7-form textarea:focus {
    outline: none;
    border-bottom-color: #ffc107;
    background: rgba(255, 255, 255, 0.15);
}

.contact-form-box .wpcf7-form .wpcf7-submit {
    width: 100%;
    background: #ffc107;
    color: #000;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.contact-form-box .wpcf7-form .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.contact-form-box .wdt-captcha-area {
    margin-bottom: 20px;
}

.contact-form-box .captcha-row {
    background: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.contact-form-box .wpcf7-response-output {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
}

/* Hide honeypot fields */
.contact-form-box .wpcf7-form .honeypot {
    display: none !important;
}

.contact-form-box .wpcf7-form p[style*="display:none"] {
    display: none !important;
}

/* Make form fields visible and styled */
.contact-form-box .wpcf7-form label {
    display: none;
}

.contact-form-box .wpcf7-form br {
    display: none;
}

.contact-form-box .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Hide honeypot completely */
.wpcf7-form p[style*="display: none"],
.wpcf7-form .wpcf7-form-control-wrap[style*="display:none"],
.honeypot-container {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Contact Form 7 - Dropdown fix */
.contact-form-box .wpcf7-form select option {
    background: white;
    color: #333;
    padding: 10px;
}

.contact-form-box .wpcf7-form select:hover option,
.contact-form-box .wpcf7-form select:focus option {
    background: white;
    color: #333;
}

/* Dropdown when opened */
.contact-form-box .wpcf7-form select option:hover,
.contact-form-box .wpcf7-form select option:checked {
    background: #267ece;
    color: white;
}


/* === CAPTCHA: compact dark mode overrides === */
.contact-form-box .wdt-captcha-area {
    margin-bottom: 12px;
}

/* Label для капчи */
.contact-form-box .wdt-captcha-area label {
    display: block;
    color: white;
    /* или rgba(255, 255, 255, 0.8) для полупрозрачности */
    font-size: 18px;
    /* или 12px для компактности */
    margin-bottom: 8px;
    /* или 6px */
}

/* Контейнер капчи */
.contact-form-box .captcha-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Изображение капчи */
.contact-form-box .captcha-row img,
.contact-form-box .wpcf7-captchac {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    max-height: 36px;
    max-width: 120px !important;
    border-radius: 8px;
    /* объединили */
}

/* Поле ввода капчи */
.contact-form-box .wpcf7-form .wpcf7-captchar {
    width: 100% !important;
    max-width: none !important;
    padding: 14px 16px !important;
    font-size: 16px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

/* Responsive */
@media (max-width: 420px) {
    .contact-form-box .captcha-row {
        flex-wrap: wrap;
        gap: 6px 10px;
    }
}