/*
Theme Name: DEA
Theme URI: https://www.deayapi.com
Author: odoerp
Author URI: https://www.odoerp.com
Description: DEA Yapı İnşaat kurumsal web sitesi teması. Modern, responsive ve SEO uyumlu WordPress teması. İnşaat, taahhüt ve endüstriyel yapı projeleri için özel tasarlanmıştır.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dea
Tags: corporate, construction, business, custom-menu, featured-images, full-width-template, one-column, two-columns, custom-logo, translation-ready

DEA - İnşaat ve Taahhüt Kurumsal Teması
*/

/* ========================================
   CSS Variables / Renk Paleti
======================================== */
:root {
    /* Ana Renkler */
    --dea-red: #d20b10;
    --dea-red-dark: #b00910;
    --dea-red-light: #d71920;
    --dea-yellow: #f9cc41;
    --dea-yellow-dark: #e5b830;

    /* Nötr Renkler */
    --dea-dark: #262533;
    --dea-dark-alt: #2F3242;
    --dea-gray: #9d9d9c;
    --dea-gray-light: #f5f5f5;
    --dea-white: #ffffff;
    --dea-black: #000000;

    /* Yeşil (CTA butonları için) */
    --dea-green: #68c950;
    --dea-green-dark: #5ab842;

    /* Tipografi */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing */
    --section-padding: 80px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

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

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

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--dea-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--dea-red);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--dea-red-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

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

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

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

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

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--dea-red-dark);
    color: var(--dea-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--dea-yellow);
    color: var(--dea-dark);
}

.btn-secondary:hover {
    background-color: var(--dea-yellow-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--dea-red);
    color: var(--dea-red);
}

.btn-outline:hover {
    background-color: var(--dea-red);
    color: var(--dea-white);
}

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

.btn-white:hover {
    background-color: var(--dea-gray-light);
}

/* ========================================
   Header / Navigation
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background-color: var(--dea-white);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.site-logo img {
    height: 60px;
    width: auto;
    transition: height var(--transition-normal);
}

.site-header.scrolled .site-logo img {
    height: 45px;
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dea-white);
    padding: 10px 0;
    transition: color var(--transition-fast);
}

.site-header.scrolled .nav-menu a {
    color: var(--dea-dark);
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--dea-red);
}

/* Dropdown Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--dea-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    padding: 10px 0;
}

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

.nav-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--dea-dark);
    font-size: 0.9rem;
}

.nav-menu .sub-menu a:hover {
    background-color: var(--dea-gray-light);
    color: var(--dea-red);
}

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dea-white);
    transition: all var(--transition-normal);
}

.site-header.scrolled .menu-toggle span {
    background-color: var(--dea-dark);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.lang-switcher a {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
}

.lang-switcher a.active {
    background-color: var(--dea-red);
    color: var(--dea-white);
}

/* ========================================
   Hero Section / Slider
======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(38, 37, 51, 0.9) 0%,
        rgba(38, 37, 51, 0.5) 50%,
        transparent 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 80px;
}

.hero-title {
    font-size: 4rem;
    color: var(--dea-white);
    margin-bottom: 20px;
    max-width: 600px;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--dea-gray);
    margin-bottom: 30px;
    max-width: 500px;
}

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

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-dot.active,
.slider-dot:hover {
    background-color: var(--dea-red);
    transform: scale(1.2);
}

/* Slider Arrows */
.slider-arrows {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dea-red);
    color: var(--dea-white);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-arrow:hover {
    background-color: var(--dea-yellow);
    color: var(--dea-dark);
}

/* ========================================
   About Section
======================================== */
.about-section {
    position: relative;
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.about-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--dea-red);
    color: var(--dea-white);
    padding: 30px;
    text-align: center;
}

.about-experience .number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.about-experience .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dea-red);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text {
    color: var(--dea-gray);
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--dea-red);
    font-size: 1.25rem;
}

/* ========================================
   Services Section
======================================== */
.services-section {
    background-color: var(--dea-gray-light);
}

.services-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--dea-white);
    padding: 40px 30px;
    text-align: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background-color: var(--dea-red);
    color: var(--dea-white);
    border-radius: 50%;
    font-size: 2rem;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: var(--dea-yellow);
    color: var(--dea-dark);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-text {
    color: var(--dea-gray);
    font-size: 0.95rem;
}

/* ========================================
   Projects Section
======================================== */
.projects-section {
    overflow: hidden;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.projects-filter {
    display: flex;
    gap: 15px;
}

.filter-btn {
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    background: none;
    border: 2px solid var(--dea-gray-light);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--dea-red);
    border-color: var(--dea-red);
    color: var(--dea-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 4/3;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(38, 37, 51, 0.95) 0%,
        transparent 60%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    font-size: 0.85rem;
    color: var(--dea-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.project-title {
    font-size: 1.25rem;
    color: var(--dea-white);
    margin-bottom: 10px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--dea-white);
    font-weight: 500;
}

.project-link:hover {
    color: var(--dea-yellow);
}

/* ========================================
   Stats Section
======================================== */
.stats-section {
    background-color: var(--dea-dark);
    padding: 60px 0;
}

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

.stat-item {
    color: var(--dea-white);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dea-yellow);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   References Section
======================================== */
.references-section {
    background-color: var(--dea-gray-light);
}

.references-header {
    text-align: center;
    margin-bottom: 60px;
}

.references-slider {
    position: relative;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.reference-item {
    background-color: var(--dea-white);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.reference-item img {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

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

/* ========================================
   News Section
======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--dea-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.news-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.news-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--dea-red);
    color: var(--dea-white);
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-content {
    padding: 25px;
}

.news-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.news-title a {
    color: var(--dea-dark);
}

.news-title a:hover {
    color: var(--dea-red);
}

.news-excerpt {
    color: var(--dea-gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.news-link {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    background: linear-gradient(
        135deg,
        var(--dea-red) 0%,
        var(--dea-red-dark) 100%
    );
    padding: 80px 0;
    text-align: center;
    color: var(--dea-white);
}

.cta-title {
    font-size: 2.5rem;
    color: var(--dea-white);
    margin-bottom: 15px;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background-color: var(--dea-dark);
    color: var(--dea-white);
    padding-top: 80px;
}

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

.footer-about .footer-logo {
    margin-bottom: 20px;
}

.footer-about .footer-logo img {
    height: 50px;
}

.footer-about p {
    color: var(--dea-gray);
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--dea-white);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background-color: var(--dea-red);
}

.footer-title {
    font-size: 1.1rem;
    color: var(--dea-white);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: var(--dea-gray);
    transition: all var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--dea-red);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--dea-gray);
}

.footer-contact i {
    color: var(--dea-red);
    width: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.copyright {
    color: var(--dea-gray);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--dea-gray);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--dea-red);
}

/* ========================================
   Page Templates
======================================== */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--dea-dark);
    background-size: cover;
    background-position: center;
    margin-top: 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 37, 51, 0.8);
}

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

.page-title {
    font-size: 3rem;
    color: var(--dea-white);
    margin-bottom: 15px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: var(--dea-gray);
}

.breadcrumbs a {
    color: var(--dea-gray);
}

.breadcrumbs a:hover {
    color: var(--dea-red);
}

.breadcrumbs span.current {
    color: var(--dea-yellow);
}

/* Page Content */
.page-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   Contact Page
======================================== */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dea-red);
    color: var(--dea-white);
    border-radius: 50%;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    margin-bottom: 5px;
}

.contact-info-item p {
    color: var(--dea-gray);
    margin: 0;
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--dea-red);
}

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

/* Map */
.contact-map {
    height: 400px;
    margin-top: 60px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   Preloader
======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dea-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-slow);
}

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

.preloader-logo {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

/* ========================================
   Animations
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

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

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

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

/* ========================================
   404 Page
======================================== */
.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--dea-dark-alt);
    color: var(--dea-white);
}

.error-number {
    font-family: var(--font-heading);
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
    color: var(--dea-red);
    margin-bottom: 20px;
}

.error-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.error-text {
    color: var(--dea-gray);
    margin-bottom: 30px;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    /* Navigation */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--dea-dark);
        flex-direction: column;
        padding: 80px 30px;
        transition: right var(--transition-normal);
    }

    .main-navigation.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .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(--dea-white);
    }

    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        background: transparent;
    }

    .nav-menu .sub-menu a {
        color: var(--dea-gray);
    }

    .menu-toggle {
        display: flex;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 20px;
    }

    /* Grid adjustments */
    .about-grid {
        grid-template-columns: 1fr;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .projects-filter {
        flex-wrap: wrap;
    }

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

    .contact-section {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .page-header {
        height: 300px;
    }

    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

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

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-experience {
        position: static;
        margin-top: 20px;
    }

    .error-number {
        font-size: 6rem;
    }
}

/* ========================================
   WordPress Specific
======================================== */
.wp-block-image img {
    height: auto;
}

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: var(--dea-gray);
    text-align: center;
    margin-top: 10px;
}

.sticky {
    border-left: 4px solid var(--dea-red);
    padding-left: 20px;
}

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

.gallery-item {
    margin: 0;
}

.gallery-item img {
    border-radius: var(--radius-sm);
}

/* Screen Reader Text */
.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;
}

.screen-reader-text:focus {
    background-color: var(--dea-gray-light);
    clip: auto !important;
    clip-path: none;
    color: var(--dea-dark);
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
