
/* =========================================
DigiEuro Theme - Main CSS
========================================= */
:root {
    --de-primary:   #0066cc;
    --de-secondary: #1a1a2e;
    --de-header-bg: #ffffff;
    --de-footer-bg: #1a1a2e;
    --de-text:      #333333;
    --de-text-light:#666666;
    --de-border:    #e0e0e0;
    --de-white:     #ffffff;
    --de-bg-light:  #f0f4f8;
    --de-shadow:    0 4px 20px rgba(0,0,0,0.08);
    --de-radius:    8px;
    --de-transition:all 0.3s ease;
    --de-font:      'Inter', sans-serif;
    --de-font-head: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--de-font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--de-text);
    background: var(--de-white);
}

img { max-width:100%; height:auto; display:block; }
a { color: var(--de-primary); text-decoration:none; transition:var(--de-transition); }
a:hover { color: var(--de-secondary); }

h1,h2,h3,h4,h5,h6 {
    font-family: var(--de-font-head);
    font-weight: 700;
    line-height: 1.3;
    color: var(--de-secondary);
}

ul { list-style:none; }

/* =========================================
CONTAINER
========================================= */
.de-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
BUTTONS
========================================= */
.de-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--de-radius);
    font-family: var(--de-font-head);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--de-transition);
    cursor: pointer;
    border: none;
}

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

.de-btn-primary:hover {
    background: var(--de-secondary);
    color: var(--de-white);
}

.de-btn-white {
    background: var(--de-white);
    color: var(--de-secondary);
}

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

/* =========================================
TOP BAR
========================================= */
.de-topbar {
    background: var(--de-secondary);
    color: var(--de-white);
    font-size: 13px;
    padding: 10px 0;
}

.de-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.de-topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.de-topbar-left a {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
}

.de-topbar-left a:hover { color: var(--de-primary); }

.de-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================
SOCIAL ICONS
========================================= */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: var(--de-white) !important;
    font-size: 16px;
    transition: var(--de-transition);
}

.social-icon:hover {
    background: var(--de-primary);
    transform: translateY(-3px);
}

/* =========================================
HEADER
========================================= */
.de-header {
    background: var(--de-header-bg);
    box-shadow: var(--de-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--de-transition);
}

.de-header.scrolled {
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.de-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
}

/* LOGO */
.de-logo a { display:flex; align-items:center; }
.de-logo-img { max-height: 60px; width:auto; }
.de-logo-text {
    font-family: var(--de-font-head);
    font-size: 24px;
    font-weight: 700;
    color: var(--de-secondary);
    letter-spacing: -0.5px;
}

/* =========================================
NAVIGATION
========================================= */
.de-nav { display:flex; align-items:center; }
.de-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.de-menu > li {
    position: relative;
}

.de-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 30px 20px;
    color: var(--de-text);
    font-family: var(--de-font-head);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: var(--de-transition);
    white-space: nowrap;
}

.de-menu > li > a:hover,
.de-menu > li.current-menu-item > a,
.de-menu > li.current-menu-ancestor > a {
    color: var(--de-primary);
}

.de-menu > li > a::after {
    content:'';
    position:absolute;
    bottom:0; left:0; right:0;
    height:3px;
    background: var(--de-primary);
    transform: scaleX(0);
    transition: var(--de-transition);
}

.de-menu > li:hover > a::after,
.de-menu > li.current-menu-item > a::after {
    transform: scaleX(1);
}

/* SUBMENU */
.de-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--de-white);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-top: 3px solid var(--de-primary);
    border-radius: 0 0 var(--de-radius) var(--de-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--de-transition);
    z-index: 999;
}

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

.de-submenu li a {
    display: block;
    padding: 12px 22px;
    color: var(--de-text);
    font-size: 14px;
    border-bottom: 1px solid var(--de-border);
    transition: var(--de-transition);
}

.de-submenu li:last-child a { border-bottom:none; }
.de-submenu li a:hover {
    color: var(--de-primary);
    padding-left: 28px;
    background: var(--de-bg-light);
}

/* Nested submenu */
.de-submenu .de-submenu {
    top: 0;
    left: 100%;
    border-top: none;
    border-left: 3px solid var(--de-primary);
}

.de-submenu li:hover > .de-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.de-arrow { font-size: 12px; transition: var(--de-transition); }
.de-menu > li:hover .de-arrow { transform: rotate(180deg); }

/* MOBILE TOGGLE */
.de-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.de-mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--de-secondary);
    border-radius: 2px;
    transition: var(--de-transition);
}

.de-mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.de-mobile-toggle.open span:nth-child(2) { opacity:0; }
.de-mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* MOBILE NAV */
.de-mobile-nav {
    display: none;
    background: var(--de-white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 85px;
    left: 0; right: 0;
    z-index: 998;
    max-height: calc(100vh - 85px);
    overflow-y: auto;
}

.de-mobile-nav.open { display:block; }

.de-mobile-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: var(--de-text);
    font-weight: 600;
    border-bottom: 1px solid var(--de-border);
    font-size: 14px;
}

.de-mobile-menu li a:hover { color: var(--de-primary); background: var(--de-bg-light); }

.de-mobile-menu .de-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--de-primary);
    display: none;
    background: var(--de-bg-light);
}

.de-mobile-menu .de-submenu.open { display:block; }

.de-mobile-menu .de-submenu li a {
    padding-left: 38px;
    font-weight: 400;
    font-size: 13px;
}

/* =========================================
SLIDER
========================================= */
.de-slider-section { position:relative; overflow:hidden; }
.de-slider-wrapper { position:relative; }

.de-slide {
    display: none;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    align-items: center;
}

.de-slide.active { display:flex; }

.de-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.de-slide .de-container { position:relative; z-index:2; }

.de-slide-content {
    max-width: 650px;
    padding: 60px 0;
    animation: de-fade-in 0.6s ease;
}

@keyframes de-fade-in {
    from { opacity:0; transform:translateY(20px); }
    to   { opacity:1; transform:translateY(0); }
}

.de-slide-sub {
    display: inline-block;
    background: var(--de-primary);
    color: var(--de-white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 16px;
    border-radius: 25px;
    margin-bottom: 18px;
}

.de-slide-title {
    font-size: clamp(28px,4vw,52px);
    color: var(--de-white);
    margin-bottom: 18px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.de-slide-desc {
    color: rgba(255,255,255,0.9);
    font-size: 17px;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Slider Controls */
.de-slider-prev,
.de-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--de-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--de-transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.de-slider-prev { left: 25px; }
.de-slider-next { right: 25px; }

.de-slider-prev:hover,
.de-slider-next:hover {
    background: var(--de-primary);
    border-color: var(--de-primary);
}

.de-slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.de-dot {
    width: 12px; height:12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--de-transition);
}

.de-dot.active { background: var(--de-primary); transform:scale(1.4); }

/* =========================================
ABOUT SECTION
========================================= */
.de-about-section {
    padding: 90px 0;
    background: var(--de-white);
}

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

.de-section-sub {
    display: inline-block;
    color: var(--de-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
}

.de-section-title {
    font-size: clamp(22px,3vw,36px);
    color: var(--de-secondary);
    margin-bottom: 22px;
    line-height: 1.3;
}

.de-about-desc {
    color: var(--de-text-light);
    line-height: 2;
    margin-bottom: 32px;
}

.de-about-image img {
    border-radius: 12px;
    box-shadow: var(--de-shadow);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* =========================================
INFO BOXES
========================================= */
.de-infoboxes-section {
    background: var(--de-bg-light);
    padding: 70px 0;
}

.de-infoboxes-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
}

.de-infobox {
    background: var(--de-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--de-shadow);
    text-align: center;
    transition: var(--de-transition);
    border-bottom: 4px solid transparent;
}

.de-infobox:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--de-primary);
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
}

.de-infobox-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--de-primary), var(--de-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}

.de-infobox-icon i {
    font-size: 32px;
    color: var(--de-white);
}

.de-infobox-title {
    font-size: 19px;
    color: var(--de-secondary);
    margin-bottom: 14px;
}

.de-infobox-text {
    color: var(--de-text-light);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

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

.de-infobox-link:hover { color: var(--de-secondary); }

/* =========================================
PRODUCTS
========================================= */
.de-products-section {
    padding: 90px 0;
    background: var(--de-white);
}

.de-section-center-title {
    text-align: center;
    font-size: clamp(24px,3vw,38px);
    color: var(--de-secondary);
    margin-bottom: 45px;
    position: relative;
}

.de-section-center-title::after {
    content:'';
    display:block;
    width:70px;
    height:4px;
    background: var(--de-primary);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* 4 ÜRÜN YAN YANA - SABİT 4 SÜTUN */
.de-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.de-product-card {
    background: var(--de-white);
    border: 1px solid var(--de-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--de-transition);
    box-shadow: var(--de-shadow);
}

.de-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
}

.de-product-thumb img { width:100%; height:210px; object-fit:cover; }
.de-product-body { padding: 22px; }
.de-product-title { font-size:18px; margin-bottom:12px; }
.de-product-title a { color: var(--de-secondary); }
.de-product-title a:hover { color: var(--de-primary); }
.de-product-excerpt { color: var(--de-text-light); font-size:14px; margin-bottom:16px; }
.de-product-link {
    color: var(--de-primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* =========================================
INNER PAGES
========================================= */
.de-page-banner {
    background: linear-gradient(135deg, var(--de-secondary) 0%, color-mix(in srgb, var(--de-secondary) 70%, black) 100%);
    padding: 55px 0;
    color: var(--de-white);
}

.de-page-banner-title {
    font-size: clamp(24px,3vw,38px);
    color: var(--de-white);
    margin-bottom: 10px;
}

.de-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.de-breadcrumb a { color: var(--de-primary); }
.de-breadcrumb a:hover { color: var(--de-white); }

.de-inner-wrap { padding: 65px 0; }
.de-inner-layout { display:flex; gap:45px; }
.de-inner-content { flex:1; }
.de-full-width { max-width: 100%; }

.de-page-article .de-featured-img {
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
}

.de-page-article .de-featured-img img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.de-page-content { line-height:2; color: var(--de-text); }
.de-page-content p { margin-bottom:18px; }
.de-page-content h2,
.de-page-content h3,
.de-page-content h4 { margin: 26px 0 14px; color: var(--de-secondary); }
.de-page-content ul,
.de-page-content ol { padding-left:22px; margin-bottom:18px; }
.de-page-content li { list-style:disc; margin-bottom:8px; }
.de-page-content img { border-radius: var(--de-radius); }

.de-post-meta-bar {
    display: flex;
    gap: 22px;
    margin-bottom: 22px;
    color: var(--de-text-light);
    font-size: 14px;
}

.de-post-meta-bar span { display:flex; align-items:center; gap:6px; }

/* Post Cards */
.de-page-wrap { padding: 65px 0; }
.de-content-area { max-width: 900px; margin: 0 auto; }

.de-post-card {
    background: var(--de-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--de-shadow);
    margin-bottom: 32px;
    border: 1px solid var(--de-border);
    transition: var(--de-transition);
}

.de-post-card:hover { transform:translateY(-5px); }
.de-post-thumb img { width:100%; height:260px; object-fit:cover; }
.de-post-body { padding:26px; }
.de-post-title { font-size:21px; margin-bottom:12px; }
.de-post-title a { color:var(--de-secondary); }
.de-post-title a:hover { color:var(--de-primary); }
.de-post-meta { color:var(--de-text-light); font-size:14px; margin-bottom:14px; display:flex; gap:18px; }
.de-post-excerpt { color:var(--de-text-light); margin-bottom:18px; }

/* =========================================
FOOTER
========================================= */
.de-footer {
    background: var(--de-footer-bg);
    color: rgba(255,255,255,0.75);
    padding: 75px 0 45px;
}

.de-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 55px;
}

.de-footer-logo { max-height:60px; margin-bottom:18px; }

.de-footer-logo-text {
    font-family: var(--de-font-head);
    font-size: 24px;
    font-weight: 700;
    color: var(--de-white);
    display:block;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.de-footer-desc {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 22px;
    color: rgba(255,255,255,0.65);
}

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

.de-footer-title {
    color: var(--de-white);
    font-size: 17px;
    font-family: var(--de-font-head);
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--de-primary);
    display: inline-block;
}

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

.de-footer-menu li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--de-transition);
}

.de-footer-menu li a::before {
    content: '›';
    color: var(--de-primary);
    font-weight: 700;
    font-size: 16px;
}

.de-footer-menu li a:hover { color: var(--de-primary); padding-left:6px; }

.de-footer-contact p {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.de-footer-contact p i { color: var(--de-primary); margin-top:3px; flex-shrink:0; font-size: 18px; }
.de-footer-contact a { color: rgba(255,255,255,0.7); }
.de-footer-contact a:hover { color: var(--de-primary); }

.de-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 22px 0 0;
    margin-top: 45px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* =========================================
RESPONSIVE
========================================= */
@media (max-width: 1024px) {
    .de-about-grid { grid-template-columns:1fr; }
    .de-about-image { order:-1; }
    .de-footer-grid { grid-template-columns:1fr 1fr; }
    .de-footer-about { grid-column: 1/-1; }
}

/* Tablet - 2 sütun */
@media (max-width: 1024px) {
    .de-about-grid { grid-template-columns:1fr; }
    .de-about-image { order:-1; }
    .de-footer-grid { grid-template-columns:1fr 1fr; }
    .de-footer-about { grid-column: 1/-1; }
    .de-products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobil - 1 sütun */
@media (max-width: 768px) {
    .de-nav { display:none; }
    .de-mobile-toggle { display:flex; }
    .de-slide { min-height: 420px; }
    .de-slide-content { padding: 45px 0; }
    .de-infoboxes-grid { grid-template-columns:1fr; }
    .de-products-grid { grid-template-columns:1fr; }
    .de-footer-grid { grid-template-columns:1fr; }
    .de-footer-about { grid-column:auto; }
    .de-topbar-inner { flex-direction:column; align-items:flex-start; gap:8px; }
    .de-header-inner { height:70px; }
    .de-mobile-nav { top:70px; }
}

@media (max-width: 480px) {
    .de-container { padding: 0 15px; }
    .de-about-section,
    .de-products-section { padding: 55px 0; }
    .de-infoboxes-section { padding: 45px 0; }
}
