/* General Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
    color: var(--dark-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.card-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

/* About Section */
#hakkimizda {
    background-color: var(--light-color);
}

#hakkimizda img {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Form Styles */
.form-control {
    margin-bottom: 1rem;
    padding: 0.8rem;
    border-radius: 5px;
}

.btn-primary {
    background-color: var(--accent-color);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Footer */
footer {
    background-color: var(--dark-color);
}

footer a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: var(--primary-color);
}

.navbar-brand span {
    margin-left: 10px;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobil Menü */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }

    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* Kartlar ve Projeler için Mobil Düzeltmeler */
@media (max-width: 768px) {
    .card-img-top {
        height: 200px;
        object-fit: cover;
    }
    
    .project-card img {
        height: 200px;
        object-fit: cover;
    }
    
    .card, .project-card {
        margin-bottom: 1.5rem;
    }

    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .col-md-4 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
}

/* Genel Düzeltmeler */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
}

/* Proje Kartları */
.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-card .project-content {
    padding: 20px;
}

.project-card h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-card p {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.project-card .project-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.project-card .project-details span {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
}

.project-card .project-details i {
    margin-right: 5px;
    color: var(--accent-color);
}

/* Mobil Düzeltmeler */
@media (max-width: 768px) {
    .project-card {
        margin-bottom: 20px;
    }

    .project-card img {
        height: 200px;
    }

    .project-card h4 {
        font-size: 1.2rem;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .col-md-4 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}
