/* ========================================
   Genel Stiller
   ======================================== */

:root {
    --primary-color: #dc3545;
    --secondary-color: #333333;
    --accent-color: #ff6b6b;
    --text-color: #555555;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
  }

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Top Bar
   ======================================== */

.top-bar {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

.top-bar a:hover {
    color: var(--accent-color);
}

.top-bar i {
    color: var(--accent-color);
    margin-right: 5px;
}

.social-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color) !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
    margin-right: 10px;
}

.brand-text {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.btn-nav {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 25px;
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    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 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons .btn {
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 30px;
    margin: 0 10px;
}

.btn-hero-primary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-hero-primary:hover {
    background-color: transparent;
    color: white;
}

.btn-hero-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* ========================================
   Stats Section
   ======================================== */

.stats-section {
    background-color: var(--light-bg);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}

/* ========================================
   Section Headers
   ======================================== */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-top: 15px;
}

/* ========================================
   Service Cards
   ======================================== */

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 20px;
}

.service-card .btn {
    padding: 8px 25px;
    border-radius: 25px;
}

/* ========================================
   Project Cards
   ======================================== */

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
    display: none; /* Gerçek görseller kullanılıyor */
}

.project-content {
    padding: 25px;
    background: white;
}

.project-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.project-content .client {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* ========================================
   Team Cards
   ======================================== */

.team-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
  position: relative;
}

.team-image i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.5);
}

.team-content {
    padding: 25px;
}

.team-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 700;
}

.team-content .position {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.team-content p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* ========================================
   Contact Form
   ======================================== */

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: start;
    margin-bottom: 30px;
}

.contact-info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-item .info {
    flex: 1;
}

.contact-info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-info-item p {
    margin: 0;
    color: var(--text-color);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--secondary-color);
}

.form-control {
    border: 2px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.1);
}

/* ========================================
   Buttons
   ======================================== */

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 8px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: var(--dark-bg);
    color: #cccccc;
}

.footer-content {
    padding: 60px 0 30px;
}

.footer-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 10px;
}

.footer-links i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.8rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: start;
    margin-bottom: 20px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 3px;
    font-size: 1.2rem;
}

.footer-contact span {
    color: #cccccc;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom p {
    margin: 0;
    color: #cccccc;
}

.footer-bottom a {
    color: #cccccc;
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: white;
}

/* ========================================
   Utility Classes
   ======================================== */

.section-padding {
    padding: 80px 0;
}

.bg-light-custom {
    background-color: var(--light-bg);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }

    .navbar-nav .nav-item {
        margin: 10px 0;
    }

    .btn-nav {
        margin-top: 15px;
    }

    .top-bar-right {
        text-align: left !important;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .navbar-brand img {
        max-height: 40px;
    }

    .navbar-brand .brand-text {
        font-size: 1.2rem;
    }
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 1 !important;
}
