/*
Theme Name: EFH Engineering
Theme URI: https://efh.ozgurbekdas.com
Author: EFH Engineering
Author URI: https://efh.ozgurbekdas.com
Description: Profesyonel mühendislik ve metal işleme teması. Modern, responsive ve SEO dostu tasarım.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
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: efh-engineering
Tags: engineering, industrial, metal, manufacturing, one-column, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS Variables / Root
   ========================================================================== */
:root {
    --primary-color: #f57c00;
    --primary-dark: #e65100;
    --primary-light: #ffb74d;
    --secondary-color: #1a1a2e;
    --secondary-light: #2d2d44;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --white: #ffffff;
    --black: #000000;
    --border-color: #e0e0e0;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--white);
}

.section-light {
    background-color: var(--bg-light);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-white { color: var(--white) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-light { background-color: var(--bg-light) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-dark {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-dark:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
}

.btn-lg {
    padding: 18px 45px;
    font-size: 15px;
}

.btn-sm {
    padding: 10px 25px;
    font-size: 13px;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-dark .section-title {
    color: var(--white);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
}

.section-header.text-center .section-desc {
    margin: 0 auto;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
}

.site-header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    transition: var(--transition);
}

.site-header.scrolled .header-inner {
    padding: 15px 0;
}

.site-logo img {
    max-height: 50px;
    transition: var(--transition);
}

.site-logo .logo-light {
    display: block;
}

.site-logo .logo-dark {
    display: none;
}

.site-header.scrolled .site-logo .logo-light {
    display: none;
}

.site-header.scrolled .site-logo .logo-dark {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    padding: 10px 0;
    position: relative;
}

.site-header.scrolled .nav-menu a {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--primary-color);
}

/* Dropdown Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    padding: 15px 0;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    display: block;
    padding: 10px 25px;
    color: var(--text-color);
    font-size: 14px;
}

.nav-menu .sub-menu a:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

.nav-menu .sub-menu a::after {
    display: none;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 600;
}

.site-header.scrolled .header-phone {
    color: var(--secondary-color);
}

.header-phone i {
    font-size: 18px;
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.site-header.scrolled .menu-toggle span {
    background-color: var(--secondary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Slider */
.hero-slider .swiper-pagination {
    bottom: 40px;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.about-image-accent .number {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.about-image-accent .text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    gap: 15px;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
}

.about-feature-content h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.about-feature-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   Projects / Portfolio Section
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    font-size: 13px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 15px;
}

.project-link {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition);
}

.project-link:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* ==========================================================================
   Stats / Counter Section
   ========================================================================== */
.stats-section {
    background-color: var(--secondary-color);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    background-color: var(--bg-light);
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: 20px;
    left: 30px;
    line-height: 1;
}

.testimonial-content {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-info h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author-info span {
    font-size: 14px;
    color: var(--primary-color);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.testimonial-rating i {
    color: #ffc107;
}

/* Testimonials Slider */
.testimonials-slider .swiper-pagination {
    margin-top: 40px;
    position: relative;
}

.testimonials-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--border-color);
    opacity: 1;
}

.testimonials-slider .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background-color: var(--primary-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 15px;
    text-align: center;
}

.blog-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.blog-date .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-muted);
}

.blog-meta a {
    color: var(--text-muted);
}

.blog-meta a:hover {
    color: var(--primary-color);
}

.blog-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-read-more i {
    transition: var(--transition);
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.contact-info-content h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-content p {
    color: var(--text-light);
    margin: 0;
}

.contact-info-content a {
    color: var(--text-light);
}

.contact-info-content a:hover {
    color: var(--primary-color);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px 20px;
    font-family: var(--font-secondary);
    font-size: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--white);
}

.footer-main {
    padding: 80px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand {
    margin-bottom: 25px;
}

.footer-brand img {
    max-height: 50px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-widget h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item i {
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   Page Header / Breadcrumb
   ========================================================================== */
.page-header {
    background-color: var(--secondary-color);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.8) 100%);
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: var(--primary-color);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar {
    padding-left: 40px;
}

.widget {
    background-color: var(--bg-light);
    padding: 30px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.widget-search .search-form {
    display: flex;
}

.widget-search input {
    flex: 1;
    padding: 15px;
    border: none;
    background-color: var(--white);
}

.widget-search button {
    padding: 15px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.widget-search button:hover {
    background-color: var(--primary-dark);
}

.widget-categories li {
    border-bottom: 1px solid var(--border-color);
}

.widget-categories li:last-child {
    border-bottom: none;
}

.widget-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--text-color);
}

.widget-categories a:hover {
    color: var(--primary-color);
}

.widget-categories .count {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
}

.widget-recent-posts .recent-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.widget-recent-posts .recent-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget-recent-posts .post-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.widget-recent-posts .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-recent-posts .post-date {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.widget-recent-posts .post-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.widget-recent-posts .post-title a:hover {
    color: var(--primary-color);
}

.widget-tags .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.widget-tags a {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--white);
    color: var(--text-color);
    font-size: 13px;
    transition: var(--transition);
}

.widget-tags a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   Single Post
   ========================================================================== */
.single-post-content {
    font-size: 1.05rem;
    line-height: 1.9;
}

.single-post-content p {
    margin-bottom: 1.5rem;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-post-content img {
    margin: 2rem 0;
}

.single-post-content blockquote {
    background-color: var(--bg-light);
    padding: 30px 40px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.post-tags strong {
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--bg-light);
    color: var(--text-color);
    font-size: 13px;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.post-nav-link {
    padding: 25px;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.post-nav-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.post-nav-link .label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.post-nav-link:hover .label {
    color: rgba(255, 255, 255, 0.8);
}

.post-nav-link .title {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ==========================================================================
   Comments
   ========================================================================== */
.comments-section {
    margin-top: 60px;
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.comment-list {
    margin-bottom: 50px;
}

.comment {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.comment .children {
    padding-left: 80px;
}

.comment-avatar {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.comment-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.comment-content p {
    margin-bottom: 15px;
}

.comment-reply {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .section {
        padding: 80px 0;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--secondary-color);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        transition: var(--transition);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 0;
        color: var(--white);
    }
    
    .nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(0, 0, 0, 0.2);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .sidebar {
        padding-left: 0;
        margin-top: 50px;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .services-grid,
    .blog-grid,
    .projects-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-image-accent {
        position: static;
        width: 100%;
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 13px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .widget {
        padding: 25px 20px;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease forwards;
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    margin: 0;
}

.gallery-icon img {
    width: 100%;
}

.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;
    width: 1px;
    word-wrap: normal !important;
}

.sticky .blog-card {
    border: 2px solid var(--primary-color);
}

.bypostauthor .comment {
    background-color: var(--bg-light);
    padding: 25px;
}

/* ==========================================================================
   Scroll to Top
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
