/*
Theme Name: Isı Pompası
Theme URI: https://www.isipompasi.com
Author: Isı Pompası
Author URI: https://www.isipompasi.com
Description: Antalya Isı Pompası Sistemleri - Profesyonel Isı Pompası, Klima ve İklimlendirme Çözümleri
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: isipompasi
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
*/

/* ========================================
   CSS RESET & VARIABLES
   ======================================== */
:root {
    --primary-color: #e63946;
    --primary-dark: #c1121f;
    --secondary-color: #1d3557;
    --accent-color: #457b9d;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1d3557;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 80px;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* ========================================
   MOBILE CONTACT BAR
   ======================================== */
.mobile-contact-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9998;
    background: rgba(29, 53, 87, 0.95);
    padding: 0;
}

.mobile-contact-bar-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 56px;
}

.mobile-contact-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.7rem;
    padding: 8px 5px;
    flex: 1;
    text-decoration: none;
}

.mobile-contact-bar a i,
.mobile-contact-bar a svg {
    font-size: 1.3rem;
    margin-bottom: 3px;
}

.mobile-contact-bar a:hover {
    background: rgba(255,255,255,0.1);
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-right a {
    color: var(--white);
    font-size: 1rem;
}

.top-bar-right a:hover {
    color: var(--primary-color);
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 5px;
}

.main-nav ul li a {
    display: block;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a {
    background: var(--primary-color);
    color: var(--white);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #c1121f;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 8px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 10000;
    transition: right 0.35s ease;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    visibility: hidden;
}

.mobile-nav.active {
    right: 0;
    visibility: visible;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--secondary-color);
    color: var(--white);
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav ul {
    padding: 20px 0;
}

.mobile-nav ul li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav ul li a:hover,
.mobile-nav ul li.current-menu-item a {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255,255,255,0.05);
    transform: rotate(-15deg);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.hero-slider-track {
    display: flex;
    height: 100%;
    transition: none;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: none;
}

.hero-slide.active {
    display: block;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: var(--radius-lg);
    box-sizing: border-box;
}

.hero-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}

.hero-slide-content h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.hero-slide-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    background: rgba(255,255,255,0.8);
    color: var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 12px;
}

.slider-next {
    right: 12px;
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dot.active {
    background: var(--white);
    border-color: var(--white);
}

.slider-dot:hover {
    background: rgba(255,255,255,0.5);
}

/* slider fade animation */
.hero-slide {
    animation: sliderFadeIn 0.5s ease;
}

@keyframes sliderFadeIn {
    from { opacity: 0; transform: scale(1.05); }
    to   { opacity: 1; transform: scale(1); }
}
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.hero-badge-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

.hero-badge-text {
    font-size: 0.85rem;
}

/* ========================================
   FEATURES STRIP
   ======================================== */
.features-strip {
    background: var(--white);
    padding: 30px 0;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 1.05rem;
}

.section-light {
    background: var(--bg-light);
}

/* ========================================
   SERVICES / PRODUCTS
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-card-content {
    padding: 25px;
}

.service-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-card-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card-price small {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
}

.service-card-actions {
    display: flex;
    gap: 10px;
}

.service-card-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 10px 15px;
    font-size: 0.85rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.about-experience-text {
    font-size: 0.85rem;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-list {
    margin: 20px 0 30px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 1rem;
}

.about-list li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c1121f 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-contact-info {
    display: none;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #fff;
    color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.hero-contact-card {
    display: none;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* ========================================
   REFERENCES
   ======================================== */
.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.reference-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.reference-card-image {
    height: 180px;
    overflow: hidden;
}

.reference-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.reference-card:hover .reference-card-image img {
    transform: scale(1.05);
}

.reference-card-content {
    padding: 20px;
}

.reference-card-content h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.reference-card-content p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   BLOG
   ======================================== */
.blog-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 5px 0 25px 0;
    flex: 1;
}

.blog-slider::-webkit-scrollbar {
    display: none;
}

.blog-slider-arrow {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 2;
}

.blog-slider-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: calc(25% - 15px);
    flex: 0 0 calc(25% - 15px);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 18px 20px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    color: var(--text-light);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.blog-card-sep {
    color: #ccc;
}

.blog-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.blog-card-content h3 a:hover {
    color: var(--primary-color);
}

.blog-card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.home-content {
    max-width: 100%;
}

.home-content h1,
.home-content h2,
.home-content h3,
.home-content h4 {
    margin-top: 0;
    color: var(--heading-color);
}

.home-content p {
    line-height: 1.8;
    color: var(--text-color);
}

.blog-card-btn {
    display: inline-block;
    padding: 8px 22px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    margin-top: auto;
    align-self: flex-start;
}

.blog-card:hover .blog-card-btn,
.blog-card-btn:hover {
    background: var(--primary-dark);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-list {
    margin-top: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-content p,
.contact-info-content a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* ========================================
   MAP
   ======================================== */
.map-section iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.7;
    margin-top: 15px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links li a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact-item p,
.footer-contact-item a {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom {
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 9997;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 30px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.breadcrumbs {
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumbs a {
    color: var(--white);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* ========================================
   SINGLE POST
   ======================================== */
.single-content {
    padding: 60px 0;
}

.single-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.single-article {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.single-article-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.single-article-content {
    padding: 40px;
}

.single-article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.single-article-content h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.single-article-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget ul li a {
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
}

.sidebar-widget ul li a:hover {
    color: var(--primary-color);
}

/* ========================================
   SEARCH RESULTS
   ======================================== */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ========================================
   404 PAGE
   ======================================== */
.error-404 {
    text-align: center;
    padding: 100px 0;
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--primary-color);
    line-height: 1;
}

.error-404 h2 {
    font-size: 1.5rem;
    margin: 20px 0;
}

/* ========================================
   COOKIES BANNER
   ======================================== */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px 0;
    z-index: 10001;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookies-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookies-inner p {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cookies-buttons {
    display: flex;
    gap: 10px;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 150px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 9996;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .hero-slider {
        order: -1;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .hero-slider {
        height: 250px;
        margin-bottom: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .models-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-card {
        min-width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
    }

    .single-grid {
        grid-template-columns: 1fr;
    }

    .single-content {
        padding: 30px 0;
    }

    .single-article-content {
        padding: 20px 15px;
    }

    .single-article {
        border-radius: 0;
    }

    /* fix model card min-width on tablet */
    .model-card {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .mobile-contact-bar {
        display: block;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .header-cta .btn {
        display: none;
    }

    .header-cta .dealer-btn {
        display: inline-flex;
    }

    .header-cta .btn {
        padding: 6px 10px;
        font-size: 0.72rem;
        gap: 4px;
    }

    .header-cta .btn svg {
        width: 14px;
        height: 14px;
    }

    .header-cta .btn-whatsapp {
        display: flex;
    }

    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .hero-stat {
        flex: 1;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-item {
        gap: 12px;
        margin-bottom: 20px;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .models-grid {
        grid-template-columns: 1fr !important;
    }

    .references-grid {
        grid-template-columns: 1fr;
    }

    .reference-thumb {
        flex: 0 0 100%;
        height: 220px;
    }

    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .blog-card {
        min-width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
    }

    .blog-slider-wrapper {
        overflow: hidden;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 50px 0;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .hero-contact-info {
        display: block;
    }

    .hero-inner {
        gap: 15px;
    }
}

/* Landscape phones */
@media (max-width: 900px) and (orientation: landscape) {
    .top-bar {
        display: block !important;
    }
    .mobile-contact-bar {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: none !important;
    }
    .hero-section {
        padding: 50px 0 30px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-slider {
        height: 200px;
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .models-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .blog-card {
        min-width: calc(33.33% - 10px);
        flex: 0 0 calc(33.33% - 10px);
    }
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .models-grid {
        grid-template-columns: 1fr !important;
    }

    .model-card {
        min-width: 0;
        width: 100%;
    }

    .model-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .model-actions {
        width: 100%;
    }

    .model-actions .btn {
        flex: 1;
        text-align: center;
        min-width: 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .order-modal {
        padding: 25px 18px 20px;
    }

    .blog-card {
        min-width: calc(100% - 10px);
        flex: 0 0 calc(100% - 10px);
    }

    .cta-buttons {
        flex-direction: row;
    }

    .single-content {
        padding: 15px 0;
    }

    .single-article-content {
        padding: 12px 8px;
    }

    .single-article {
        border-radius: 0;
        box-shadow: none;
    }

    .page-header {
        padding: 25px 0;
    }

    .page-header h1 {
        font-size: 1.2rem;
    }
}

}

/* ========================================
   SECURITY STYLES
   ======================================== */
.no-js {
    display: none;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* ========================================
   LOADING ANIMATION
   ======================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Models Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.model-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.model-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.model-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-light);
    transition: var(--transition);
}

.model-card:hover .model-card-image img {
    transform: scale(1.08);
}

.model-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.model-card-content {
    padding: 18px;
}

.model-card-content h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--heading-color);
}

.model-card-content p {
    font-size: 0.85rem;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.5;
}

.model-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.model-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.model-actions {
    display: flex;
    gap: 6px;
}

.btn-review {
    font-size: 0.8rem;
    padding: 6px 14px;
}

.btn-order {
    font-size: 0.8rem;
    padding: 6px 14px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Order Modal */
.order-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.order-modal {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 35px 30px 25px;
}

.order-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-color);
    line-height: 1;
}

.order-modal-header {
    margin-bottom: 20px;
}

.order-modal-header h3 {
    margin-bottom: 4px;
}

.order-modal-model {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.order-form .form-group {
    margin-bottom: 14px;
}

.order-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--heading-color);
}

.order-form .form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.order-form .form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,94,140,0.15);
}

.order-modal-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.order-modal-success {
    background: #f0fdf4;
    color: #16a34a;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    margin-bottom: 14px;
}

/* ========================================
   ANNOUNCEMENT TICKER
   ======================================== */
.announcement-ticker {
    background: var(--bg-dark);
    color: var(--white);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    margin: 0;
    margin-bottom: 7px;
    border-radius: 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 10;
}

.announcement-ticker-label {
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
}

.announcement-ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.announcement-ticker-item {
    display: none;
    align-items: center;
    padding: 12px 20px;
    gap: 16px;
    white-space: nowrap;
    animation: tickerFadeIn 0.4s ease;
    width: 100%;
}

.announcement-ticker-item.active {
    display: flex;
}

@keyframes tickerFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.announcement-ticker-text {
    flex: 1;
}

.announcement-ticker-link {
    color: #ffd166;
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
}

.announcement-ticker-link:hover {
    color: var(--white);
}

.announcement-ticker-nav {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
}

.announcement-ticker-prev,
.announcement-ticker-next {
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.announcement-ticker-prev:hover,
.announcement-ticker-next:hover {
    background: rgba(255,255,255,0.1);
}

/* ========================================
   ANNOUNCEMENTS RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .announcement-ticker {
        font-size: 0.8rem;
    }
    .announcement-ticker-label {
        padding: 10px 14px;
        font-size: 0.72rem;
    }
    .announcement-ticker-item {
        padding: 10px 16px;
    }
    .announcement-ticker-prev,
    .announcement-ticker-next {
        padding: 10px 12px;
    }
}

/* ========================================
   REFERENCES SLIDER
   ======================================== */
.references-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    padding: 10px 0;
}

.references-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    padding: 0 10px;
}

.references-track::-webkit-scrollbar {
    display: none;
}

.reference-thumb {
    flex: 0 0 180px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.reference-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reference-thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reference-thumb:hover .reference-thumb-overlay {
    opacity: 1;
}

.reference-thumb-overlay h4 {
    font-size: 0.8rem;
    margin: 0 0 2px 0;
    font-weight: 600;
}

.reference-thumb-overlay p {
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.85;
}

.references-prev,
.references-next {
    background: #1abc9c;
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(26,188,156,0.4);
    z-index: 2;
}

.references-prev:hover,
.references-next:hover {
    background: #16a085;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .reference-thumb {
        flex: 0 0 140px;
        height: 140px;
    }
    .references-prev,
    .references-next {
        width: 36px;
        height: 36px;
    }
    .references-prev svg,
    .references-next svg {
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   REFERENCE LIGHTBOX
   ======================================== */
.ref-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ref-lightbox.active {
    display: flex;
}

.ref-lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
}

.ref-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s;
}

.ref-lightbox-close:hover {
    opacity: 0.7;
}
