/* ================================
     * AĞABEYOĞLU YAZILIM A.Ş.  
     * Tema: [EMRAH KÜTÜKCÜ]
     * Sürüm: 1.0.0
     * Geliştirici: Ağabeyoğlu® Grup Medya İnşaat Yazılım San. ve Tic. A.Ş. 
     * Web: https://agabeyoglu.com
     * Lisans:  ©2025 Özel Kullanım | Tüm Hakları Saklıdır.
   ================================ */

/* Color Variables */
:root {
    --primary-color: #002e5b;
    --secondary-color: #fde428;
    --accent-color: #2a61a5;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #888888;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-color: rgba(0, 46, 91, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 25px var(--shadow-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 4px 30px rgba(0, 46, 91, 0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white) !important;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.brand-text {
    color: var(--white);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-contact {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    border-radius: 25px;
}

.btn-contact:hover {
    background-color: #f5d300 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 228, 40, 0.3);
}

/* WhatsApp Fixed Button - Sol Alt */
.whatsapp-fixed {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1000;
}

.whatsapp-fixed a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366, #20b358);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-fixed a:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
    text-decoration: none;
}

.whatsapp-fixed i {
    font-size: 2rem;
    color: white;
}

.whatsapp-fixed a:focus {
    outline: none;
    text-decoration: none;
}

.whatsapp-fixed a:visited {
    text-decoration: none;
}

.whatsapp-fixed img {
    width: 38px;
    height: 38px;
    filter: brightness(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Scroll to Top Button - Sağ Alt */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 46, 91, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    font-size: 1.3rem;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 46, 91, 0.6);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.scroll-to-top.show {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    padding: 120px 0 80px;
    color: var(--white);
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 46, 91, 0.8),
        rgba(42, 97, 165, 0.7));
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-avatar {
    text-align: center;
    position: relative;
}

.avatar-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.avatar-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.slider-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.slider-dot:hover {
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.slider-dot.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(253, 228, 40, 0.5);
}

.slider-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-dot.active::before {
    opacity: 1;
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(253, 228, 40, 0.4);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

/* Slider Animation Enhancement */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-slide.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.hero-slide.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 97, 165, 0.3);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
    border: 2px solid #25d366;
}

.btn-whatsapp:hover {
    background-color: transparent;
    color: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-company {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.btn-company:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 228, 40, 0.3);
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* Expertise Section */
.expertise-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.expertise-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--accent-color);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(42, 97, 165, 0.05), transparent);
    transition: left 0.5s ease;
}

.expertise-card:hover::before {
    left: 100%;
}

.expertise-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    border-top-color: var(--secondary-color);
}

.expertise-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.expertise-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.expertise-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.expertise-list li {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0.7rem;
    padding-left: 1.5rem;
    position: relative;
}

.expertise-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* About Preview Section */
.about-preview-section {
    padding: 80px 0;
    background: var(--white);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-preview-section .btn-primary {
    margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
    .about-preview-section .btn-primary {
        margin-bottom: 3rem;
    }
}

.education-info {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
}

.education-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.education-list {
    list-style: none;
    padding: 0;
}

.education-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.education-list li::before {
    content: '🎓';
    position: absolute;
    left: 0;
    top: 0;
}

.education-list strong {
    color: var(--primary-color);
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.footer-logo h4 {
    color: var(--white);
    margin: 0;
}

.footer-logo p {
    color: var(--secondary-color);
    margin: 0;
    font-size: 0.9rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.widget-title {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--secondary-color);
    margin-right: 10px;
    margin-top: 3px;
    width: 20px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.copyright-text p,
.developer-credit p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.developer-credit {
    text-align: right;
}

.developer-credit a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.developer-credit a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* Footer Widget Spacing */
.footer-widget {
    margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
    .footer-widget {
        margin-bottom: 2.5rem;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .developer-credit {
        text-align: center !important;
        margin-top: 0;
    }
    
    .copyright-text {
        text-align: center !important;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .avatar-img {
        width: 250px;
        height: 250px;
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-slide {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    /* Footer Mobile Adjustments */
    .footer-section {
        padding: 40px 0 20px;
    }
    
    .footer-widget {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    /* Slider Controls for Mobile */
    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .slider-nav.prev {
        left: 15px;
    }
    
    .slider-nav.next {
        right: 15px;
    }
    
    .slider-controls {
        bottom: 20px;
        gap: 12px;
    }
    
    .slider-dot {
        width: 12px;
        height: 12px;
    }
    
    .slider-container {
        height: 100vh;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .expertise-section,
    .about-preview-section {
        padding: 60px 0;
    }
    
    .whatsapp-fixed {
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-fixed a {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-fixed img {
        width: 32px;
        height: 32px;
    }
    
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .avatar-img {
        width: 200px;
        height: 200px;
    }
    
    .expertise-card {
        padding: 2rem 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
    
    /* Mobile Slider Adjustments */
    .slider-nav {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .slider-controls {
        bottom: 15px;
        gap: 10px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
        border-width: 1px;
    }
    
    .hero-slide {
        min-height: 100vh;
    }
    
    .slider-container {
        min-height: 100vh;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--accent-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--accent-color);
    color: var(--white);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Focus States */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Improved Link Hover */
a {
    transition: all 0.3s ease;
}

/* Card Improvements */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image Loading Effect */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}