/*
Theme Name: EMA Konut
Theme URI: https://regbar.com/ema-konut
Author: Regbar Construction
Author URI: https://regbar.com
Description: EMA Konut - İnşaat şirketi WordPress teması. ACF Free ile uyumlu, modern ve responsive tasarım.
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: ema-konut
Tags: construction, business, custom-menu, featured-images, theme-options

EMA KONUT WordPress Teması
Copyright (C) 2026 Regbar Construction
*/

/* ============================================
   CSS VARIABLES
   ============================================ */

:root {
    --ema-blue: #004f72;
    --ema-red: #b50d3e;
    --ema-dark: #0a1628;
    --accent: #b50d3e;
    --accent-hover: #d4104a;
    --text: #333;
    --text-muted: #6c757d;
    --border: #e9ecef;
    --white: #fff;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Google Sans Flex', system-ui, -apple-system, sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

::selection {
    background: var(--accent);
    color: #fff;
}

a { text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-accent { color: var(--accent) !important; }
.section-padding { padding: 80px 0; }
.min-vh-75 { min-height: 75vh; }

@media (max-width: 767.98px) {
    .min-vh-75 { min-height: auto; padding: 100px 0 120px; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-accent {
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(181, 13, 62, 0.3);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--accent), var(--accent-hover), transparent, var(--accent));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.btn-glow:hover::after {
    opacity: 0.6;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; filter: blur(8px); }
    50% { opacity: 0.7; filter: blur(12px); }
}

.btn-arrow i {
    transition: transform 0.3s ease;
}

.btn-arrow:hover i {
    transform: translateX(4px);
}

/* ============================================
   PRELOADER
   ============================================ */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--ema-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 80px;
    height: auto;
    margin-bottom: 1.5rem;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    animation: preloaderFill 1.5s ease forwards;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes preloaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar-wrapper.scrolled {
    background: rgba(10, 22, 40, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent) !important;
}

/* Dropdown Menu */
.navbar-nav .dropdown-menu {
    background: rgba(10, 22, 40, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-nav .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-nav .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background: rgba(181, 13, 62, 0.2);
    color: #fff;
    padding-left: 1.5rem;
}

.navbar-nav .dropdown-menu .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: var(--accent);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -80px;
    animation: floatShape1 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -60px;
    animation: floatShape2 15s ease-in-out infinite;
    background: #fff;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 20%;
    animation: floatShape3 18s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-30px, 30px) rotate(120deg); }
    66% { transform: translate(20px, -20px) rotate(240deg); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-25px, 25px) rotate(180deg); }
}

.hero-slider {
    position: relative;
    height: 100vh;
}

.hero-slide {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.7) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(181, 13, 62, 0.2);
    color: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(181, 13, 62, 0.3);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-pagination {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 30px;
    border-radius: 6px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2.5rem; }
    .hero-desc { font-size: 1rem; }
    .hero-pagination { bottom: 80px; }
    .hero-scroll { display: none; }
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.85) 100%);
}

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

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.breadcrumb-item.active {
    color: var(--accent);
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   SECTION LABELS
   ============================================ */

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

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ema-dark);
    line-height: 1.2;
}

@media (max-width: 767.98px) {
    .section-title { font-size: 1.7rem; }
}

/* ============================================
   INFO CARDS (3 Column)
   ============================================ */

.info-card-visual {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 380px;
    background: #f8f9fa;
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
}

.info-card-visual:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.info-card-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.3) 100%);
}

.info-card-visual-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.info-card-visual-logo {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    opacity: 0.1;
}

.info-card-visual-logo img {
    height: 120px;
    width: auto;
}

.info-card-visual-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
}

.info-card-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.75rem;
    background: rgba(181, 13, 62, 0.15);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
}

.info-card-visual-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.info-card-visual-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.info-card-visual-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.info-card-visual:hover .info-card-visual-link {
    gap: 0.75rem;
}

.info-card-visual-link i {
    transition: transform 0.3s ease;
}

.info-card-visual:hover .info-card-visual-link i {
    transform: translateX(4px);
}

/* Blue variant */
.info-card-blue {
    background-color: var(--ema-blue);
}

.info-card-blue.has-bg .info-card-visual-overlay {
    background: linear-gradient(to top, rgba(0, 79, 114, 0.95) 0%, rgba(0, 79, 114, 0.75) 50%, rgba(0, 79, 114, 0.45) 100%);
}

/* Dark variant */
.info-card-dark {
    background-color: var(--ema-dark);
}

.info-card-dark.has-bg .info-card-visual-overlay {
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.75) 50%, rgba(10, 22, 40, 0.45) 100%);
}

@media (max-width: 767.98px) {
    .info-card-visual { min-height: 320px; }
    .info-card-visual-content { padding: 1.5rem; }
    .info-card-visual-title { font-size: 1.2rem; }
    .info-card-visual-text { font-size: 0.85rem; }
    .info-card-visual-icon { width: 50px; height: 50px; top: 1rem; right: 1rem; }
    .info-card-visual-icon svg { width: 26px; height: 26px; }
    .info-card-visual-logo img { height: 100px; }
}

/* ============================================
   PROJECT CARDS
   ============================================ */

.project-card {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    text-decoration: none;
    background: #e9ecef;
    min-height: 250px;
}

.project-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card-img {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.7) 70%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.project-card:hover .project-card-overlay {
    background: linear-gradient(to top, rgba(181, 13, 62, 0.95) 0%, rgba(181, 13, 62, 0.7) 70%, transparent 100%);
}

.project-card-cat {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    width: fit-content;
    transition: all 0.3s ease;
}

.project-card:hover .project-card-cat {
    background: #fff;
    color: var(--accent);
}

.project-card-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.project-card-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

/* Project List Card (kategori sayfası) */
.project-list-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
}

.project-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.project-list-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.project-list-card:hover .project-list-img {
    transform: scale(1.05);
}

.project-list-body {
    padding: 1.25rem;
}

.project-list-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ema-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-list-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.project-list-status.completed {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.project-list-status.ongoing {
    background: rgba(255, 193, 7, 0.1);
    color: #e0a800;
}

.project-list-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ema-dark);
    margin-bottom: 0.25rem;
}

.project-list-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.project-list-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.project-list-link i {
    transition: transform 0.3s ease;
}

.project-list-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 767.98px) {
    .project-card-title { font-size: 1rem; }
    .project-card-info { font-size: 0.8rem; }
    .project-card-overlay { padding: 1rem; }
}

/* ============================================
   WORDPRESS GALLERY
   ============================================ */

.wp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.wp-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

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

.wp-gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wp-gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: #fff;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox-prev { left: 20px; }
.gallery-lightbox-next { right: 20px; }

/* ============================================
   SERVICES
   ============================================ */

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(0, 79, 114, 0.05);
}

.service-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 79, 114, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ema-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-item:hover .service-item-icon {
    background: var(--ema-blue);
    color: #fff;
    transform: scale(1.1);
}

.service-item h6 {
    font-weight: 700;
    color: var(--ema-dark);
    margin-bottom: 0.25rem;
}

.service-item small {
    font-size: 0.85rem;
}

/* Services Visual */
.services-visual {
    position: relative;
    height: 400px;
}

.sv-main {
    width: 80%;
    height: 80%;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}

.sv-float {
    position: absolute;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sv-float-1 {
    width: 120px;
    height: 120px;
    top: 0;
    right: 0;
    animation: float1 6s ease-in-out infinite;
}

.sv-float-2 {
    width: 100px;
    height: 80px;
    bottom: 20%;
    right: 20%;
    animation: float2 8s ease-in-out infinite;
}

.sv-counter {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--accent);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-align: center;
}

.sv-counter-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.sv-counter-suffix {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.sv-counter-text {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

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

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

/* ============================================
   COUNTER AREA
   ============================================ */

.counter-area {
    background: var(--ema-dark);
}

.counter-box {
    padding: 2rem;
}

.counter-number {
    display: inline;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.counter-suffix {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
}

.counter-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.9);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.pulse-cta {
    animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(181, 13, 62, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(181, 13, 62, 0); }
}

/* ============================================
   FILTER BAR
   ============================================ */

.filter-bar {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.filter-search {
    position: relative;
}

.filter-search i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.filter-search .form-control {
    padding-right: 2.5rem;
}

/* ============================================
   SIDEBAR & PAGE DESIGN
   ============================================ */

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ema-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}

.sidebar-contact {
    background: var(--ema-dark);
    border-color: transparent;
    color: #fff;
}

.sidebar-contact .sidebar-title {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}

.sidebar-contact p {
    color: rgba(255, 255, 255, 0.7);
}

.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    margin-bottom: 0.5rem;
}

.sidebar-categories li:last-child {
    margin-bottom: 0;
}

.sidebar-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text);
    background: #f8f9fa;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sidebar-categories li a i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.sidebar-categories li a:hover,
.sidebar-categories li a.active,
.sidebar-categories li.current_page_item > a,
.sidebar-categories li.current-menu-item > a {
    background: var(--accent);
    color: #fff !important;
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(181, 13, 62, 0.25);
}

.sidebar-categories li a:hover i,
.sidebar-categories li a.active i,
.sidebar-categories li.current_page_item > a i,
.sidebar-categories li.current-menu-item > a i {
    transform: translateX(2px);
    color: #fff;
}

.sidebar-brochure {
    background: #f8f9fa;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.sidebar-brochure:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ============================================
   CONTENT AREA & TYPOGRAPHY
   ============================================ */

.content-area {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text);
}

.content-area h2,
.content-area h3,
.content-area h4 {
    font-weight: 700;
    color: var(--ema-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-area p {
    color: #495057;
    margin-bottom: 1.25rem;
}

.content-featured img {
    border-radius: 16px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.content-quote {
    border-left: 4px solid var(--accent);
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.content-quote p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--ema-dark);
    margin-bottom: 0.5rem;
}

.content-quote footer {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Value Cards */
.value-card {
    padding: 1.75rem 1.5rem;
    background: #f8f9fa;
    border-radius: 14px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: #fff;
    border-color: var(--border);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.value-card i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: inline-block;
}

.value-card h5 {
    font-weight: 700;
    color: var(--ema-dark);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Stats */
.stat-item {
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ema-dark);
    margin-top: 0.5rem;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination-wrapper {
    text-align: center;
}

.pagination .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin: 0 0.25rem;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-info-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(181, 13, 62, 0.1), rgba(181, 13, 62, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--accent);
}

.contact-info-card h5 {
    font-weight: 700;
    color: var(--ema-dark);
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.contact-info-card a {
    color: var(--accent);
    font-weight: 500;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
    font-weight: 700;
    color: var(--ema-dark);
}

.form-label {
    font-weight: 500;
    color: var(--ema-dark);
    font-size: 0.9rem;
}

.form-control,
.form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(181, 13, 62, 0.1);
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ============================================
   SINGLE PROJECT
   ============================================ */

.single-project-header {
    padding: 160px 0 60px;
    background: var(--ema-dark);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.project-meta-item i {
    color: var(--accent);
}

.project-gallery {
    margin: -60px 0 2rem;
    position: relative;
    z-index: 10;
}

.project-gallery .swiper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-gallery .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.project-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ema-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.project-gallery-nav:hover {
    background: var(--accent);
    color: #fff;
}

.project-gallery-prev { left: -25px; }
.project-gallery-next { right: -25px; }

.project-content {
    padding: 3rem 0;
}

.project-sidebar {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.project-sidebar h5 {
    font-weight: 700;
    color: var(--ema-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.sidebar-info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-info-item:last-child {
    border-bottom: none;
}

.sidebar-info-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.sidebar-info-value {
    font-weight: 600;
    color: var(--ema-dark);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--ema-dark);
    padding: 80px 0 0;
}

.footer-logo {
    height: 45px;
    width: auto;
}

.footer-about {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

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

.footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 0.2rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 3rem 0 1.5rem;
}

.footer-bottom {
    padding: 1.5rem 0;
}

.footer-regbar {
    height: 30px;
    width: auto;
    opacity: 0.7;
}

.footer-powered {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================
   BACK TO TOP
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(181, 13, 62, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(181, 13, 62, 0.4);
    color: #fff;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

[data-scroll] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll="fade-up"] {
    transform: translateY(40px);
}

[data-scroll="fade-right"] {
    transform: translateX(-40px);
}

[data-scroll="fade-left"] {
    transform: translateX(40px);
}

[data-scroll="zoom-in"] {
    transform: scale(0.9);
}

[data-scroll="counter"] {
    opacity: 1;
    transform: none;
}

[data-scroll].in-view {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ============================================
   PULSE ICON
   ============================================ */

.pulse-icon {
    position: relative;
}

.pulse-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0; }
    50% { transform: scale(1.15); opacity: 0.3; }
}

/* ============================================
   WORDPRESS ADMIN BAR FIX
   ============================================ */

body.admin-bar .navbar-wrapper { top: 32px; }
@media (max-width: 782px) {
    body.admin-bar .navbar-wrapper { top: 46px; }
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    .filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; }
    .filter-btn { white-space: nowrap; }

    .info-card-visual { min-height: 320px; }
    .info-card-visual-content { padding: 1.5rem; }
    .info-card-visual-title { font-size: 1.2rem; }
    .info-card-visual-text { font-size: 0.85rem; }
    .info-card-visual-icon { width: 50px; height: 50px; top: 1rem; right: 1rem; }
    .info-card-visual-icon svg { width: 26px; height: 26px; }
    .info-card-visual-logo img { height: 100px; }

    .project-card-title { font-size: 0.95rem; }
    .project-card-info { font-size: 0.8rem; }
    .project-card-overlay { padding: 1rem; }

    .contact-info-card { padding: 1.5rem 1rem; }

    .footer-title { font-size: 0.9rem; }
    .footer-about { font-size: 0.85rem; }

    .services-visual { height: 300px; margin-top: 2rem; }
    .sv-main { width: 100%; height: 70%; }
    .sv-float-1 { width: 100px; height: 100px; }
    .sv-float-2 { width: 80px; height: 60px; }
    .sv-counter { padding: 1rem 1.5rem; }
    .sv-counter-num { font-size: 2rem; }

    .section-header { flex-direction: column; align-items: flex-start !important; gap: 1rem; }

    .footer-bottom .d-flex { flex-direction: column; text-align: center; }
}

@media (max-width: 767.98px) {
    .section-title { font-size: 1.7rem; }
    .sv-counter-suffix { font-size: 2rem; }
    .project-gallery .swiper-slide img { height: 250px; }
    .project-gallery-prev { left: 10px; }
    .project-gallery-next { right: 10px; }
    .project-gallery-nav { width: 40px; height: 40px; }
    .cta-title { font-size: 1.8rem; }
}
