/*
Theme Name: SmartAutoLabs
Theme URI: https://smartautolabs.com
Author: SmartAutoLabs
Description: Exact WordPress replica of SmartAutoLabs. All pages fully editable via WordPress admin.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: smartautolabs
Tags: automotive, technology, responsive, custom-menu, editor-style, custom-logo
*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: 'Open Sans','Segoe UI',Tahoma,Geneva,Verdana,sans-serif; line-height: 1.7; color: #333; background: #fff; overflow-x: hidden; }
a { text-decoration: none; color: #e8a838; transition: all .3s ease; }
a:hover { color: #c98a20; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-weight: 600; line-height: 1.3; color: #1a1a2e; }

/* HEADER */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; background: rgba(26,26,46,.95); backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0,0,0,.1); transition: all .3s ease; }
.site-header.scrolled { background: rgba(26,26,46,.98); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 25px; display: flex; align-items: center; justify-content: space-between; height: 70px; }

/* Logo */
.site-logo a { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 40px; width: auto; }
.site-logo-img { height: 45px !important; width: auto; filter: brightness(0) invert(1); transition: all .3s ease; }
.site-logo a:hover .site-logo-img { filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(232,168,56,.4)); }

.site-logo-text { font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: .5px; }
.site-logo-text span { color: #e8a838; }

.main-navigation { display: flex; align-items: center; }
.nav-menu { display: flex; gap: 0; }
.nav-menu li { position: relative; }
.nav-menu a { display: block; padding: 24px 18px; color: rgba(255,255,255,.9); font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; position: relative; transition: all .3s ease; }
.nav-menu a:hover, .nav-menu .current-menu-item a, .nav-menu .current_page_item a { color: #e8a838; }
.nav-menu a::after { content: ''; position: absolute; bottom: 18px; left: 18px; right: 18px; height: 2px; background: #e8a838; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav-menu a:hover::after, .nav-menu .current-menu-item a::after, .nav-menu .current_page_item a::after { transform: scaleX(1); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; background: none; border: none; z-index: 10000; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: #fff; transition: all .3s ease; }

/* HERO */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#1a1a2e 0%,#16213e 40%,#0f3460 100%); overflow: hidden; padding-top: 70px; }
.hero-bg-pattern { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 15% 50%,rgba(232,168,56,.08) 0%,transparent 50%), radial-gradient(circle at 85% 20%,rgba(244,162,97,.06) 0%,transparent 50%), radial-gradient(circle at 50% 85%,rgba(232,168,56,.04) 0%,transparent 50%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 850px; padding: 0 25px; animation: fadeInUp 1s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.hero-title { font-size: 3.2rem; font-weight: 800; color: #fff; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 4px 20px rgba(0,0,0,.3); letter-spacing: 1px; }
.hero-title span { color: #e8a838; }
.hero-subtitle { font-size: 1.25rem; color: rgba(255,255,255,.85); margin-bottom: 40px; font-weight: 300; line-height: 1.7; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; padding: 14px 32px; border-radius: 4px; font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: all .3s ease; cursor: pointer; border: none; text-align: center; }
.btn-primary { background: linear-gradient(135deg,#e8a838,#d4952e); color: #fff; box-shadow: 0 4px 15px rgba(232,168,56,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(232,168,56,.45); color: #fff; }
.btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.3); }
.btn-secondary:hover { background: rgba(255,255,255,.1); border-color: #e8a838; color: #e8a838; transform: translateY(-2px); }

/* SECTIONS */
.section { padding: 90px 0; position: relative; }
.section-light { background: #f8f9fa; }
.section-dark { background: #1a1a2e; color: #fff; }
.section-white { background: #fff; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 25px; }
.section-header { text-align: center; margin-bottom: 55px; }
.section-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 15px; color: #1a1a2e; position: relative; display: inline-block; }
.section-dark .section-title { color: #fff; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: linear-gradient(90deg,#e8a838,#f4a261); border-radius: 2px; }
.section-subtitle { font-size: 1.05rem; color: #666; max-width: 650px; margin: 25px auto 0; line-height: 1.7; }
.section-dark .section-subtitle { color: rgba(255,255,255,.7); }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.feature-card { background: #fff; border-radius: 8px; padding: 40px 30px; text-align: center; box-shadow: 0 2px 15px rgba(0,0,0,.06); transition: all .35s ease; border: 1px solid #e8e8e8; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg,#e8a838,#f4a261); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,.1); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 70px; height: 70px; margin: 0 auto 22px; background: linear-gradient(135deg,rgba(232,168,56,.1),rgba(244,162,97,.1)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #e8a838; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: #1a1a2e; font-weight: 600; }
.feature-card p { color: #666; line-height: 1.7; font-size: .95rem; }

/* ABOUT */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.about-image img { width: 100%; height: auto; transition: transform .5s ease; }
.about-image:hover img { transform: scale(1.03); }
.about-text h2 { font-size: 2rem; margin-bottom: 18px; color: #1a1a2e; line-height: 1.3; font-weight: 700; }
.about-text p { color: #555; margin-bottom: 18px; line-height: 1.8; font-size: 1rem; }

/* SERVICES */
.services-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.service-item { background: #fff; border-radius: 8px; padding: 35px 30px; box-shadow: 0 2px 15px rgba(0,0,0,.06); transition: all .35s ease; border: 1px solid #e8e8e8; }
.service-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.service-item h3 { font-size: 1.2rem; margin-bottom: 12px; color: #1a1a2e; font-weight: 600; padding-bottom: 10px; border-bottom: 2px solid #e8a838; display: inline-block; }
.service-item p { color: #555; line-height: 1.7; font-size: .95rem; }
.service-item ul { margin-top: 15px; padding-left: 0; }
.service-item ul li { padding: 6px 0; color: #555; font-size: .92rem; position: relative; padding-left: 22px; }
.service-item ul li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: #e8a838; font-size: .8rem; }

/* MIRRORTECH */
.product-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.product-image { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 15px 50px rgba(0,0,0,.25); }
.product-image img { width: 100%; height: auto; }
.product-badge { position: absolute; top: 20px; right: 20px; background: linear-gradient(135deg,#e8a838,#d4952e); color: #fff; padding: 8px 18px; border-radius: 30px; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; }
.product-details h2 { font-size: 2.2rem; margin-bottom: 18px; color: #fff; font-weight: 700; }
.product-details h2 span { color: #e8a838; }
.product-details p { color: rgba(255,255,255,.8); line-height: 1.8; margin-bottom: 22px; font-size: 1rem; }
.product-features-list { margin-bottom: 30px; list-style: none; padding-left: 0; }
.product-features-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: rgba(255,255,255,.9); border-bottom: 1px solid rgba(255,255,255,.08); font-size: .95rem; }
.product-features-list li:last-child { border-bottom: none; }
.feature-check { width: 22px; height: 22px; background: #e8a838; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .7rem; flex-shrink: 0; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info h3 { font-size: 1.6rem; margin-bottom: 15px; color: #1a1a2e; font-weight: 700; }
.contact-info > p { color: #555; margin-bottom: 30px; line-height: 1.7; }
.contact-item { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
.contact-icon { width: 45px; height: 45px; background: linear-gradient(135deg,#e8a838,#f4a261); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.contact-item h4 { font-size: 1rem; margin-bottom: 4px; color: #1a1a2e; font-weight: 600; }
.contact-item p, .contact-item a { color: #555; font-size: .95rem; }
.contact-item a:hover { color: #e8a838; }

.contact-form { background: #fff; padding: 35px; border-radius: 8px; box-shadow: 0 2px 20px rgba(0,0,0,.06); border: 1px solid #e8e8e8; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: #1a1a2e; font-size: .9rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 6px; font-size: .95rem; font-family: inherit; transition: all .3s ease; background: #fafafa; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #e8a838; box-shadow: 0 0 0 3px rgba(232,168,56,.1); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 14px; background: linear-gradient(135deg,#e8a838,#d4952e); color: #fff; border: none; border-radius: 6px; font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all .3s ease; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,168,56,.35); }

.social-links { display: flex; gap: 12px; margin-top: 25px; }
.social-links a { width: 40px; height: 40px; background: #f0f0f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #1a1a2e; font-size: 1rem; transition: all .3s ease; border: 1px solid #e0e0e0; }
.social-links a:hover { background: #e8a838; color: #fff; border-color: #e8a838; transform: translateY(-3px); }

/* PAGE HEADER */
.page-header-inner { background: linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%); padding: 140px 0 60px; text-align: center; position: relative; overflow: hidden; }
.page-header-inner::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 50%,rgba(232,168,56,.08) 0%,transparent 50%); pointer-events: none; }
.page-header-inner .page-title { color: #fff; font-size: 2.5rem; font-weight: 700; position: relative; z-index: 1; margin-bottom: 0; }
.page-header-inner .page-title::after { background: linear-gradient(90deg,#e8a838,#f4a261); }

/* FOOTER */
.site-footer { background: #0d0d1a; color: rgba(255,255,255,.65); padding: 55px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 35px; margin-bottom: 35px; }
.footer-brand h3 { font-size: 1.4rem; color: #fff; margin-bottom: 12px; font-weight: 700; }
.footer-brand h3 span { color: #e8a838; }
.footer-brand p { line-height: 1.8; margin-bottom: 18px; font-size: .92rem; color: rgba(255,255,255,.6); }
.footer-column h4 { color: #fff; font-size: .9rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.footer-column h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 35px; height: 2px; background: #e8a838; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a { color: rgba(255,255,255,.6); font-size: .92rem; transition: all .3s ease; }
.footer-column ul li a:hover { color: #e8a838; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; text-align: center; font-size: .88rem; color: rgba(255,255,255,.5); }

/* WORDPRESS CONTENT */
.entry-content { line-height: 1.8; color: #333; font-size: 1rem; }
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6 { margin: 30px 0 15px; color: #1a1a2e; line-height: 1.3; font-weight: 600; }
.entry-content h2 { font-size: 1.8rem; }
.entry-content h3 { font-size: 1.4rem; }
.entry-content p { margin-bottom: 18px; color: #555; }
.entry-content ul, .entry-content ol { margin-bottom: 18px; padding-left: 25px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 8px; color: #555; }
.entry-content a { color: #e8a838; text-decoration: underline; }
.entry-content a:hover { color: #c98a20; }
.entry-content img { border-radius: 8px; margin: 20px 0; box-shadow: 0 4px 15px rgba(0,0,0,.08); }
.entry-content blockquote { border-left: 3px solid #e8a838; padding: 18px 22px; margin: 22px 0; background: #f8f9fa; border-radius: 0 8px 8px 0; font-style: italic; color: #555; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 22px 0; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.entry-content th, .entry-content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #e8e8e8; }
.entry-content th { background: #1a1a2e; color: #fff; font-weight: 600; font-size: .9rem; }
.entry-content tr:nth-child(even) { background: #f8f9fa; }

.alignleft { float: left; margin-right: 25px; margin-bottom: 15px; }
.alignright { float: right; margin-left: 25px; margin-bottom: 15px; }
.aligncenter { display: block; margin: 0 auto 25px; }
.alignwide { max-width: 1400px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(25px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .about-content, .product-showcase, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .features-grid, .services-list { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    .header-inner { height: 65px; }
    .menu-toggle { display: flex; }
    .main-navigation { position: fixed; top: 65px; left: 0; width: 100%; background: rgba(26,26,46,.98); max-height: 0; overflow: hidden; transition: max-height .4s ease; }
    .main-navigation.active { max-height: 400px; }
    .nav-menu { flex-direction: column; padding: 15px 25px; }
    .nav-menu a { padding: 12px 0; font-size: .9rem; }
    .nav-menu a::after { bottom: 8px; left: 0; right: auto; width: 25px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.7rem; }
    .features-grid, .services-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .contact-form { padding: 25px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 260px; }
    .page-header-inner { padding: 120px 0 50px; }
    .page-header-inner .page-title { font-size: 1.8rem; }
    .product-details h2 { font-size: 1.7rem; }
    .site-logo-img { height: 35px !important; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem; }
    .section-title { font-size: 1.4rem; }
    .container { padding: 0 18px; }
}

.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

@media print {
    .site-header, .site-footer, .hero-buttons, .menu-toggle, .social-links { display: none !important; }
    .hero-section { min-height: auto; padding: 30px 0; }
    body { font-size: 12pt; line-height: 1.5; color: #000; }
}
