/*
Theme Name: Kuğu Dekor
Theme URI: https://kugudekor.com.tr
Author: Kuğu Dekor
Author URI: https://kugudekor.com.tr
Description: Fuar standı ve sahne tasarımı için profesyonel WordPress teması. Kırmızı-beyaz renk teması, Elementor uyumlu, tam responsive.
Version: 1.0.0
License: GPL v2 or later
Text Domain: kugu-dekor
Tags: fuar-standı, fuar-tasarımı, kurumsal, kırmızı-beyaz, elementor-ready, responsive, custom-menu, custom-logo, featured-images
*/

/* ============================================
   RESET & VARIABLES
   ============================================ */
:root {
    --primary-red: #c62828;
    --primary-red-dark: #b71c1c;
    --primary-red-light: #ef5350;
    --dark-bg: #0a0a1a;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --text-dark: #1a1a2e;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 4px 15px rgba(198,40,40,0.3);
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198,40,40,0.4);
}

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

.btn-outline:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

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

.btn-white:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   SCROLL TOP BUTTON
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 5px 20px rgba(198,40,40,0.4);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--primary-red-dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(198,40,40,0.5);
}

.scroll-top-btn i {
    animation: bounceUp 1.5s ease-in-out infinite;
}

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

/* ============================================
   HEADER & LOGO - OTOMATİK BOYUTLANDIRMA
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 2px solid var(--primary-red);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Logo otomatik boyutlandırma */
.site-branding {
    display: inline-block;
}

.custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.custom-logo {
    max-width: 180px;
    height: auto;
    width: auto;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.custom-logo:hover {
    transform: scale(1.02);
}

.site-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-logo i {
    font-size: 1.5rem;
}

.site-logo div {
    display: flex;
    flex-direction: column;
}

.site-logo span {
    font-size: 0.7rem;
    color: var(--gray-medium);
    display: block;
    font-weight: normal;
}

/* ============================================
   MENU & HOVER ANİMASYONLARI - KIRMIZI ÇİZGİLİ
   ============================================ */
.nav-container {
    display: flex;
}

.main-navigation {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation > li {
    position: relative;
    margin: 0 16px;
}

.main-navigation > li > a {
    text-decoration: none;
    font-weight: 500;
    color: #2d3748;
    padding: 8px 0;
    display: inline-block;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ALT ÇİZGİ ANİMASYONU - KIRMIZI ÇİZGİ */
.main-navigation > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--primary-red);
    transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
}

/* Hover'da alt çizgi tamamen açılır - KIRMIZI ÇİZGİ GÖRÜNÜR */
.main-navigation > li > a:hover::after {
    width: 100%;
}

/* Hover'da renk değişimi ve yukarı kayma */
.main-navigation > li > a:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

/* Aktif sayfada alt çizgi görünür ve renkli */
.main-navigation > .current-menu-item > a,
.main-navigation > .current_page_item > a,
.main-navigation > .current-page-ancestor > a {
    color: var(--primary-red);
}

.main-navigation > .current-menu-item > a::after,
.main-navigation > .current_page_item > a::after,
.main-navigation > .current-page-ancestor > a::after {
    width: 100%;
}

/* ============================================
   DROPDOWN MENU ANİMASYONLARI
   ============================================ */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    padding: 12px 0;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 100;
    list-style: none;
    transform: translateY(10px);
}

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

.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: #2d3748;
    transition: all 0.25s ease;
    position: relative;
}

.main-navigation .sub-menu a::after {
    display: none;
}

.main-navigation .sub-menu a:hover {
    color: var(--primary-red);
    background: #fef5f5;
    padding-left: 28px;
}

.main-navigation .sub-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--primary-red);
    transition: width 0.25s ease;
    border-radius: 0 3px 3px 0;
}

.main-navigation .sub-menu a:hover::before {
    width: 3px;
}

/* ============================================
   MOBILE MENU BUTONU
   ============================================ */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-red);
    background: none;
    border: none;
    padding: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
    color: var(--primary-red-dark);
}

/* ============================================
   RESPONSIVE MENU
   ============================================ */
@media (max-width: 860px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-container {
        width: 100%;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        background: white;
    }
    
    .main-navigation.active {
        display: flex;
    }
    
    .main-navigation > li {
        margin: 8px 0;
    }
    
    .main-navigation > li > a {
        display: inline-block;
    }
    
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 10px;
        display: none;
        background: transparent;
        transform: none;
    }
    
    .main-navigation li:hover > .sub-menu {
        transform: none;
    }
    
    .main-navigation .sub-menu a:hover {
        padding-left: 20px;
    }
    
    .custom-logo {
        max-width: 140px;
        max-height: 50px;
    }
    
    .site-logo {
        font-size: 1.4rem;
    }
    
    .site-logo i {
        font-size: 1.2rem;
    }
    
    .site-logo span {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .custom-logo {
        max-width: 120px;
        max-height: 45px;
    }
    
    .main-navigation > li {
        margin: 5px 0;
    }
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    width: 100%;
    height: 650px;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    max-width: 800px;
    padding: 40px;
}

.slide-content h2 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: white;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.95);
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-red);
    background: rgba(255,255,255,0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1rem;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: var(--primary-red) !important;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 90px 0;
}

.section-bg-white {
    background: #ffffff;
}

.section-bg-light {
    background: #fef5f5;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--primary-red);
    margin: 16px auto 0;
}

.section-title.white:after {
    background: var(--primary-red-light);
}

.section-sub {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #4a5568;
}

/* ============================================
   GRID SYSTEMS
   ============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

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

/* ============================================
   VALUE CARDS
   ============================================ */
.value-card {
    background: white;
    padding: 35px 25px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(198,40,40,0.15);
    border-color: var(--primary-red-light);
}

.value-icon {
    font-size: 2.8rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 12px;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-header {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white;
    padding: 30px 25px;
    text-align: center;
}

.service-header i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-body {
    padding: 25px;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(198,40,40,0.12);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.blog-content {
    padding: 24px;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-content h3 a {
    color: var(--primary-red);
    text-decoration: none;
}

.read-more {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 10px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    padding: 20px 0;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
}

/* ============================================
   LOGO CAROUSEL
   ============================================ */
.logo-carousel {
    background: white;
    padding: 40px 20px;
    border-radius: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.logo-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.logo-item:hover {
    transform: scale(1.05);
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.logo-item i {
    font-size: 2rem;
    color: var(--primary-red);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    max-width: 350px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial-card i.fa-star {
    color: #f5b042;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #0a0a1a;
    color: #cbd5e1;
    padding: 60px 0 30px;
    border-top: 4px solid var(--primary-red);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget-title {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-widget-title:after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--primary-red);
    display: block;
    margin-top: 8px;
}

.footer-widget {
    margin-bottom: 0;
}

.footer-widget p, .footer-widget a {
    color: #cbd5e1;
    text-decoration: none;
    line-height: 1.8;
    display: block;
}

.footer-widget a:hover {
    color: var(--primary-red-light);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2d3748;
    font-size: 0.85rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-slider {
        height: 550px;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 860px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-grid {
        justify-content: center;
    }
    
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 1.4rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        max-width: 200px;
    }
    
    .value-card {
        padding: 20px 15px;
    }
    
    .value-icon {
        font-size: 2rem;
    }
    
    .stats-grid .stat-number {
        font-size: 2rem;
    }
    
    .blog-img {
        height: 150px;
    }
    
    .blog-content {
        padding: 15px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .scroll-top-btn,
    .hero-slider,
    .cta-group,
    .portfolio-filters {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    .container {
        padding: 0;
        max-width: 100%;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red-dark);
}

/* WooCommerce Desteği */
.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.woocommerce .add_to_cart_button,
.woocommerce .single_add_to_cart_button {
    background: var(--primary-red) !important;
    color: white !important;
    border-radius: 40px !important;
}

/* Elementor Desteği */
.elementor-page .site-header {
    position: relative;
}

.elementor-editor-active .reveal {
    opacity: 1;
    transform: none;
}

/* Loading Animation */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff5f5, #ffffff);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-wrapper.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 3.5rem;
    color: var(--primary-red);
    animation: loaderFloat 1.2s ease-in-out infinite;
    display: inline-block;
}

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

.loader-bar {
    width: 200px;
    height: 3px;
    background: #f0f0f0;
    border-radius: 3px;
    margin: 20px auto 0;
    overflow: hidden;
}

.loader-bar-fill {
    width: 100%;
    height: 100%;
    background: var(--primary-red);
    animation: loaderFill 1.5s ease-out;
}

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