/* ============================================
   NAVTEK GNSS - Main Stylesheet
   Modern, Fast, Responsive
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #0a1f44;
    --primary-light: #1a3a6b;
    --accent: #00b4d8;
    --accent-hover: #0096b7;
    --accent-glow: rgba(0, 180, 216, 0.3);
    --secondary: #f26522;
    --white: #ffffff;
    --light: #f4f7fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --dark: #1a1a2e;
    --text: #333333;
    --text-light: #777777;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1280px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Google Fonts Preload --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-left a {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

.top-bar-left a:hover { color: var(--accent); }

.top-bar-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.top-bar-right a {
    color: rgba(255,255,255,0.7);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition);
}

.top-bar-right a:hover {
    color: var(--white);
    background: var(--accent);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: var(--container);
    margin: 0 auto;
    height: 80px;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.site-logo .logo-text span {
    color: var(--accent);
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 8px; }

.main-nav a {
    padding: 10px 18px;
    font-weight: 500;
    font-size: 15px;
    color: var(--primary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
    background: rgba(0, 180, 216, 0.06);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
    border-radius: 2px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--primary);
    transition: all var(--transition);
    font-size: 18px;
}

.search-toggle:hover {
    background: var(--accent);
    color: var(--white);
}

.header-cta {
    background: var(--accent);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition);
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition);
    border-radius: 2px;
}

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

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

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

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 68, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.search-overlay.active .search-overlay-inner {
    transform: translateY(0);
}

.search-overlay form {
    display: flex;
    border-bottom: 3px solid var(--accent);
}

.search-overlay input[type="search"] {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 28px;
    padding: 15px 0;
    outline: none;
    font-family: var(--font);
}

.search-overlay input[type="search"]::placeholder {
    color: rgba(255,255,255,0.4);
}

.search-overlay button[type="submit"] {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 28px;
    cursor: pointer;
    padding: 0 10px;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 36px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition);
}

.search-close:hover {
    background: rgba(255,255,255,0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, #0d2b5e 50%, #0f3270 100%);
    min-height: 700px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, var(--accent-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(242, 101, 34, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Grid pattern overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-slider {
    position: relative;
    z-index: 2;
}

.hero-slide {
    display: flex;
    align-items: center;
    min-height: 700px;
    padding: 80px 0;
}

.hero-slide .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 35px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-height: 500px;
    width: auto;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3));
    animation: heroFloat 6s ease-in-out infinite;
}

/* Hero Device Animation */
.hero-device {
    position: absolute;
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-device.from-left {
    transform: translateX(-100px);
}

.hero-device.from-right {
    transform: translateX(100px);
}

.hero-device.from-bottom {
    transform: translateY(100px);
}

.hero-device.animated {
    opacity: 1;
    transform: translate(0, 0);
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Hero Slider Pagination */
.hero-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    opacity: 1;
    border-radius: 6px;
    transition: all var(--transition);
}

.hero-pagination .swiper-pagination-bullet-active {
    width: 36px;
    background: var(--accent);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-family: var(--font);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-light {
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-dark .section-title { color: var(--white); }

.section-desc {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-desc { color: rgba(255,255,255,0.6); }

/* ============================================
   FEATURES / SERVICES
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    transform: scaleX(0);
    transition: transform var(--transition);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), #0096b7);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--gray-light);
    background: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text);
    font-family: var(--font);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 180, 216, 0.05);
}

.products-search {
    max-width: 400px;
    margin: 0 auto 30px;
    position: relative;
}

.products-search input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    font-size: 15px;
    font-family: var(--font);
    transition: border-color var(--transition);
    outline: none;
}

.products-search input:focus {
    border-color: var(--accent);
}

.products-search svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    width: 20px;
    height: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
}

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

.product-card-image {
    position: relative;
    padding: 30px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    overflow: hidden;
}

.product-card-image img {
    max-height: 200px;
    width: auto;
    transition: transform var(--transition);
    object-fit: contain;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.product-card-body {
    padding: 20px 25px 25px;
}

.product-category {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card-body p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    transition: gap var(--transition);
}

.product-link:hover {
    gap: 10px;
    color: var(--accent-hover);
}

/* ============================================
   STATS / COUNTER
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0d2b5e 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-item p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    font-weight: 500;
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.about-image-badge h4 {
    font-size: 28px;
    font-weight: 800;
}

.about-image-badge p {
    font-size: 13px;
    opacity: 0.9;
}

.about-text .section-label { text-align: left; }
.about-text .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-list {
    margin: 20px 0 30px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-weight: 500;
    color: var(--text);
}

.about-list li svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ============================================
   BRANDS / PARTNERS
   ============================================ */
.brands-slider {
    padding: 20px 0;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition);
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-item img {
    max-height: 50px;
    width: auto;
}

/* ============================================
   INSTAGRAM FEED
   ============================================ */
.instagram-section {
    padding: 60px 0;
    background: var(--light);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.instagram-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.instagram-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 68, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.instagram-item:hover .instagram-item-overlay {
    opacity: 1;
}

.instagram-item-overlay svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #0077b6 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: clamp(28px, 3vw, 40px);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 17px;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background: var(--white);
    color: var(--accent);
    font-weight: 700;
}

.cta-section .btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about .site-logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.footer-widget h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-widget ul a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact li svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9998;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--text);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ============================================
   SINGLE PRODUCT
   ============================================ */
.single-product-hero {
    background: var(--light);
    padding: 60px 0;
}

.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.single-product-gallery {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
}

.single-product-gallery img {
    max-height: 400px;
    width: auto;
    margin: 0 auto;
}

.single-product-info h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.single-product-model {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.single-product-info .excerpt {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.specs-list {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 30px;
}

.specs-list li {
    padding: 12px 20px;
    border-bottom: 1px solid var(--gray-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specs-list li:last-child { border-bottom: none; }

.specs-list li svg {
    color: var(--accent);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary), #0d2b5e);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.page-hero .breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.page-hero .breadcrumb a:hover {
    color: var(--accent);
}

.page-content {
    padding: 60px 0;
}

.page-content .container {
    max-width: 900px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font);
    transition: border-color var(--transition);
    outline: none;
    margin-bottom: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info-cards {
    display: grid;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: var(--light);
    border-radius: var(--radius-sm);
}

.contact-info-card .icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card .icon svg {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.contact-info-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

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

.blog-card-image {
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.blog-card-body {
    padding: 25px;
}

.blog-date {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   LOADING & ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Product Loading */
.products-loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.products-loading.active { display: block; }

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-light);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-slide .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content { order: 2; }
    .hero-image { order: 1; }
    .hero-desc { margin: 0 auto 35px; }
    .hero-buttons { justify-content: center; }
    .hero-image img { max-height: 350px; }

    .about-preview { grid-template-columns: 1fr; gap: 40px; }
    .about-text .section-label,
    .about-text .section-title { text-align: center; }
    .about-text { text-align: center; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .single-product-layout { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }

    .header-inner { height: 70px; }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 30px 20px;
        gap: 5px;
        transform: translateX(-100%);
        transition: transform var(--transition);
        overflow-y: auto;
        z-index: 999;
    }

    .main-nav.open { transform: translateX(0); }

    .main-nav a {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: var(--radius-sm);
    }

    .mobile-toggle { display: flex; }
    .header-cta { display: none; }

    .hero-section { min-height: auto; }
    .hero-slide { min-height: 500px; padding: 40px 0; }
    .hero-image img { max-height: 250px; }

    .section { padding: 50px 0; }
    .features-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
    .blog-grid { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-item h3 { font-size: 32px; }

    .footer-grid { grid-template-columns: 1fr; }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-slide { min-height: 400px; }
    .hero-title { font-size: 28px; }
    .hero-buttons { flex-direction: column; align-items: center; }

    .products-grid { grid-template-columns: 1fr; }

    .instagram-grid { grid-template-columns: repeat(2, 1fr); }

    .whatsapp-float a { width: 52px; height: 52px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.wp-block-image img { border-radius: var(--radius-sm); }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--white);
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
