:root {
    --primary-color: #1a1a1a;
    --secondary-color: #4a4a4a;
    --accent-color: #d4c5b0;
    --beige-light: #e8dfd0;
    --beige-dark: #c7b59a;
    --grey-light: #f5f5f5;
    --grey-medium: #6b6b6b;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --bg-light: #faf8f5;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

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

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary.large {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

.btn-primary.full-width {
    width: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary.large {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 197, 176, 0.15) 0%, rgba(74, 74, 74, 0.1) 50%, transparent 70%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--grey-light) 0%, var(--white) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--beige-dark) 0%, var(--accent-color) 100%);
    color: var(--white);
    transform: scale(1.1);
    border-color: var(--beige-dark);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 6rem 0;
    background: var(--bg-light);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.why-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--beige-dark);
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary-color);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 0 1.5rem 0;
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--accent-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.why-item:hover .why-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    transform: scale(1.05) rotate(5deg);
}

.why-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.why-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 250px;
    background: linear-gradient(135deg, #4a4a4a 0%, #2c2c2c 100%);
    position: relative;
    overflow: hidden;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><rect width="200" height="200" fill="none"/><path d="M0,100 L100,0 L200,100 L100,200 Z" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.3;
}

.service-image.repair {
    background: linear-gradient(135deg, #c7b59a 0%, #d4c5b0 100%);
}

.service-image.maintenance {
    background: linear-gradient(135deg, #6b6b6b 0%, #4a4a4a 100%);
}

.service-image.inspection {
    background: linear-gradient(135deg, #e8dfd0 0%, #c7b59a 100%);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.service-overlay .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-content .lead {
    font-size: 1.3rem;
    color: var(--beige-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--grey-light) 0%, var(--white) 100%);
    border-radius: 8px;
    border-left: 4px solid var(--beige-dark);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-left-color: var(--secondary-color);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-image {
    height: 500px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4a4a4a 0%, #c7b59a 50%, #e8dfd0 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><path d="M20,100 L100,20 L180,100 L100,180 Z" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="3"/><path d="M60,100 L100,60 L140,100 L100,140 Z" fill="none" stroke="rgba(255,255,255,0.3)" stroke-width="2"/></svg>');
    opacity: 0.5;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-light);
}

.review-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--beige-dark) 100%);
    padding: 2rem 2.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
    box-shadow: var(--shadow);
}

.review-cta h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.review-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.review-cta .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    font-weight: 600;
    padding: 0.9rem 2rem;
}

.review-cta .btn-primary:hover {
    background: var(--beige-light);
    color: var(--primary-color);
    border-color: var(--beige-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    line-height: 1;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 2rem;
    position: relative;
    font-style: italic;
}

.star-rating {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.star-rating svg {
    width: 20px;
    height: 20px;
    fill: #d4af37;
}

.testimonial-author {
    border-top: 2px solid var(--bg-light);
    padding-top: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

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

.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--beige-dark);
    margin-top: 0.2rem;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    background: var(--white);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--beige-dark);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--beige-light);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--beige-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero {
        margin-top: 80px;
        min-height: 500px;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        height: 300px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .logo img {
        height: 80px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-wrapper {
        padding: 0.8rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary.large,
    .btn-secondary.large {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-content .lead {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-info .lead {
        font-size: 1rem;
    }
    
    .feature-card,
    .service-content,
    .testimonial-card,
    .why-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    .feature-card:hover .feature-icon {
        transform: none;
    }
}
