[v-cloak] { display: none !important; }
/* ==========================================================================
   Enerji Elektrik - Corporate Light Theme with Vue Transitions
   ========================================================================== */

   :root {
    --primary: #da291c;
    --primary-hover: #b91d12;
    --secondary: #ffcc33;
    --secondary-hover: #e6b82e;
    
    --bg-white: #ffffff;
    --bg-light: #fef2f2;
    --bg-dark: #1a0505;
    
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --text-white: #ffffff;
    
    --font-main: 'DM Sans', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding { padding: 6rem 0; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.bg-white { background-color: var(--bg-white); }
.text-white { color: var(--text-white); }
.text-gray { color: var(--text-gray); }
.text-gray-400 { color: #94a3b8; }
.text-gray-500 { color: #64748b; }
.text-red { color: var(--primary); }
.text-red-100 { color: #fee2e2; }
.text-red-200 { color: #fecaca; }
.text-red-500 { color: #ef4444; }
.text-yellow { color: var(--secondary); }
.bg-red-600 { background-color: var(--primary); }
.bg-red-500 { background-color: #ef4444; }

.bg-red-100 { background-color: #fee2e2; }
.text-red-600 { color: #dc2626; }
.bg-yellow-100 { background-color: #fef3c7; }
.text-yellow-600 { color: #d97706; }
.bg-gray-800 { background-color: #1e293b; }

.hover-bg-red:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pb-8 { padding-bottom: 2rem; }
.pt-8 { padding-top: 2rem; }
.p-8 { padding: 2rem; }

.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-24 { width: 6rem; }
.h-24 { height: 6rem; }
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }

.block { display: block; }
.object-cover { object-fit: cover; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.shadow-lg { box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.overflow-hidden { overflow: hidden; }

/* Grid & Flex */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }

.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.inline-flex { display: inline-flex; }
.flex-grow { flex-grow: 1; }
.italic { font-style: italic; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 6px -1px rgba(218, 41, 28, 0.2);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(218, 41, 28, 0.3);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    border-color: var(--text-dark);
    background-color: #f1f5f9;
}

.link-red { color: var(--primary); }
.link-red:hover { color: var(--primary-hover); text-decoration: underline; }

/* --- Vue Transitions & Loading Screen --- */
.fade-enter-active, .fade-leave-active { transition: opacity 0.5s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

.slide-down-enter-active, .slide-down-leave-active { transition: all 0.3s ease; }
.slide-down-enter-from, .slide-down-leave-to { opacity: 0; transform: translateY(-20px); }

.loader-overlay {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid #fee2e2;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.4s linear infinite;
    margin-bottom: 1.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.masonry-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.loader-text {
    font-family: var(--font-main);
    letter-spacing: 0.1em;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    animation: pulseText 1.5s infinite alternate;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulseText { 0% { opacity: 0.5; } 100% { opacity: 1; } }

/* Float Animations */
.float-anim { animation: float 6s ease-in-out infinite; }
.float-anim-delayed { animation: float 6s ease-in-out 3s infinite; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.reveal-active {
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Hover Lift Effect */
.hover-lift {
    transition: var(--transition);
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover-slide:hover {
    transform: translateX(8px);
}

.pulse-on-hover { transition: var(--transition); }
.hover-lift:hover .pulse-on-hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(218, 41, 28, 0.4);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: var(--bg-white);
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 1.25rem; font-weight: 700; color: var(--text-dark);
}

.logo-icon {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; background-color: var(--primary);
    color: white; border-radius: 0.5rem; font-size: 1.25rem;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }

.nav-links a {
    font-weight: 500; color: var(--text-gray); position: relative;
}

.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0%; height: 2px; background: var(--primary); transition: var(--transition);
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.mobile-toggle {
    background: transparent; border: none; font-size: 1.5rem; color: var(--text-dark); cursor: pointer; display: none;
}

.mobile-menu {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: white; border-bottom: 1px solid #f1f5f9;
    padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

/* --- Hero Section --- */
.hero { padding: 8rem 0 6rem; overflow: hidden; }

.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.badge {
    display: inline-block; padding: 0.25rem 1rem;
    background-color: #dbeafe; color: #1d4ed8;
    border-radius: 9999px; font-size: 0.875rem; font-weight: 700; margin-bottom: 1.5rem;
}

.hero-content h1 { font-size: 3.5rem; line-height: 1.1; font-weight: 700; margin-bottom: 1.5rem; color: #0f172a; }
.hero-content p { font-size: 1.125rem; color: var(--text-gray); margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; }

.hero-image { position: relative; }
.hero-image img { border-radius: 1rem; }

.floating-card {
    position: absolute; background: white; padding: 1rem;
    border-radius: 0.75rem; box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: flex; align-items: center; gap: 1rem;
    border: 1px solid #f1f5f9;
}

.floating-card.top-left { top: -20px; left: -30px; }
.floating-card.bottom-right { bottom: -20px; right: -30px; }

.icon-box {
    width: 3.5rem; height: 3.5rem; border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
}

/* --- Features Section --- */
.feature-card {
    background: white; padding: 2rem; border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

/* --- Services Section --- */
.service-box {
    background: white; border-radius: 1rem; overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.service-img img { width: 100%; height: 200px; object-fit: cover; }
.service-content { padding: 2rem; position: relative; }

.icon-circle {
    position: absolute; top: -24px; right: 2rem;
    width: 48px; height: 48px; background-color: var(--primary);
    color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; box-shadow: 0 4px 10px rgba(0,99,204,0.3);
}

/* --- Projects & Stats --- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-item {
    background: white; padding: 1rem; border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; transition: var(--transition);
}

/* --- Contact Section --- */
.border-t { border-top-width: 1px; }
.border-gray-200 { border-color: #e5e7eb; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-input {
    width: 100%; padding: 1rem; border: 1px solid #e2e8f0;
    border-radius: 0.5rem; color: #0f172a; font-family: inherit; font-size: 1rem;
    transition: var(--transition); background-color: #f8fafc;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 99, 204, 0.1); background-color: #fff; }

/* --- Responsive --- */
@media (min-width: 769px) {
    .show-mobile { display: none !important; }
    .md\:flex-row { flex-direction: row; }
    .md\:w-1\/2 { width: 50%; }
    .md\:text-base { font-size: 1rem; }
}

@media (max-width: 1024px) {
    .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-container { gap: 2rem; }
    .hero-content h1 { font-size: 2.75rem; }
}

@media (max-width: 768px) {
    .hidden-mobile { display: none !important; }
    .mobile-toggle { display: block; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .floating-card { display: none; }
    .grid-cols-4, .grid-cols-3, .grid-cols-2 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; text-align: center; }
    .projects .grid-cols-2 { grid-template-columns: 1fr; gap: 3rem; }
    .mobile-col-full { grid-column: span 12; padding-right: 0; }
}

/* --- Modal Styles (Jilet Gibi) --- */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.9); display: flex; justify-content: center; align-items: center; z-index: 9999; padding: 20px; backdrop-filter: blur(8px); }
.modal-content { background: white; width: 100%; max-width: 800px; max-height: 90vh; border-radius: 24px; position: relative; overflow-y: auto; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes modalSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close { position: fixed; top: 30px; right: 30px; width: 44px; height: 44px; background: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 10001; color: #000; font-size: 1.5rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; }
.modal-close:hover { transform: rotate(90deg); }
.blog-detail-img { width: 100%; height: 450px; object-fit: cover; border-bottom: 1px solid #eee; }
.blog-detail-body { padding: 3rem 4rem; }
@media (max-width: 768px) { .blog-detail-body { padding: 2rem; } .blog-detail-img { height: 250px; } .modal-close { top: 15px; right: 15px; } }

/* --- Testimonials Marquee --- */
.testimonials-marquee-container {
    overflow: hidden;
    padding: 2rem 0;
    width: 100%;
    position: relative;
}

/* Gradient masks for smooth edges */
.testimonials-marquee-container::before,
.testimonials-marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonials-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.testimonials-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.testimonials-marquee-content {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee 50s linear infinite;
}

.testimonials-marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    background-color: #1e293b;
    padding: 2.5rem; /* Artırılmış padding */
    border-radius: 1.25rem;
    width: 420px; /* Sabit genişlik */
    flex-shrink: 0;
    border: 1px solid #334155;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--secondary);
    background-color: #243147;
    transform: translateY(-5px);
}

.stars {
    color: #ffcc33; /* Sarı yıldızlar */
    display: flex;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.testimonial-text {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Mobile adjustments for marquee */
@media (max-width: 768px) {
    .testimonial-card {
        width: 320px;
        padding: 1.5rem;
    }
    .testimonials-marquee-container::before,
    .testimonials-marquee-container::after {
        width: 50px;
    }
}
