/* Art Deco стили для RepairPro Gear */

:root {
    --gold: #d4af37;
    --dark-gold: #b8941f;
    --black: #1a1a1a;
    --dark-gray: #2c2c2c;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --accent: #c9a961;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--black);
    margin: 0;
    padding: 0;
    background-color: var(--white);
}

/* Art Deco Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 2rem 0 1rem 0;
}

h1 {
    font-size: 3rem;
    color: var(--gold);
    text-align: center;
    position: relative;
}

h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold));
    margin: 1rem auto;
}

h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 2rem;
    color: var(--black);
}

h4 {
    font-size: 1.5rem;
    color: var(--dark-gray);
}

/* Art Deco Header */
.header-wrapper {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    position: relative;
    overflow: hidden;
}

.header-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(212, 175, 55, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(212, 175, 55, 0.1) 50%, transparent 60%);
    background-size: 50px 50px;
}

nav {
    position: relative;
    z-index: 2;
}

.nav-wrapper {
    background: transparent !important;
    padding: 0 20px;
    height: 80px;
    line-height: 80px;
}

.brand-logo {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--gold) !important;
    text-transform: uppercase;
}

.brand-logo img {
    height: 50px;
    vertical-align: middle;
    margin-right: 15px;
}

nav ul a {
    color: var(--white) !important;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

nav ul a:hover {
    color: var(--gold) !important;
    background: transparent !important;
}

nav ul a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--gold);
}

/* Art Deco Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    background: linear-gradient(
        rgba(26, 26, 26, 0.7), 
        rgba(26, 26, 26, 0.7)
    ), url('/img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 100;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--gold);
}

/* Art Deco Buttons */
.btn-art-deco {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border: none;
    color: var(--black);
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.btn-art-deco::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-art-deco:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-art-deco:hover::before {
    left: 100%;
}

/* Art Deco Cards */
.service-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-card .card-content {
    padding: 30px;
}

.service-card .card-title {
    color: var(--black);
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.service-card .card-image img {
    transition: transform 0.3s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

/* Art Deco Sections */
.section-art-deco {
    padding: 80px 0;
    position: relative;
}

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

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 200px;
    height: 1px;
    background: var(--gold);
    margin: 2rem auto;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
}

/* Art Deco Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border: 3px solid var(--gold);
    transition: all 0.3s ease;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(26, 26, 26, 0.8) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Contact Form Art Deco Style */
.contact-form {
    background: var(--white);
    padding: 40px;
    border: 1px solid #e0e0e0;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold));
}

.input-field input, .input-field textarea {
    border-bottom: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.input-field input:focus, .input-field textarea:focus {
    border-bottom: 2px solid var(--gold) !important;
    box-shadow: 0 1px 0 0 var(--gold) !important;
}

.input-field label {
    color: var(--dark-gray);
    font-weight: 300;
    letter-spacing: 1px;
}

.input-field label.active {
    color: var(--gold);
}

/* Art Deco Footer */
.footer-art-deco {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 60px 0 20px 0;
    position: relative;
    overflow: hidden;
}

.footer-art-deco::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(212, 175, 55, 0.05) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(212, 175, 55, 0.05) 50%, transparent 60%);
    background-size: 100px 100px;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-title {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-info p {
    margin: 0.5rem 0;
    color: #cccccc;
}

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

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

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--dark-gray);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #999999;
}

/* Art Deco Decorative Elements */
.decorative-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 40px 0;
}

.decorative-diamond {
    width: 20px;
    height: 20px;
    background: var(--gold);
    transform: rotate(45deg);
    margin: 20px auto;
    position: relative;
}

.decorative-diamond::before,
.decorative-diamond::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--dark-gold);
    top: 6px;
    left: 6px;
}

/* Responsive Adjustments */
@media screen and (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .nav-wrapper {
        padding: 0 10px;
    }
    
    .section-art-deco {
        padding: 60px 0;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 1s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}