/* styles.css */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

.top-bar {
    background-color: #0044cc;
    color: white;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: top 0.3s;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar .contact-info i {
    margin-right: 5px;
}

.top-bar .social-icons a {
    color: white;
    margin-left: 10px;
    text-decoration: none;
}

header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 40px; /* top-bar yüksekliğine göre ayarlanır */
    left: 0;
    z-index: 900;
    transition: top 0.3s;
}

header.hidden {
    top: -100px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header .logo {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
}

header .logo img {
    height: 40px; /* Logonun yüksekliği */
    width: auto;
}

header nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end; /* Menü öğelerini sağa hizalayın */
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

header nav ul li {
    display: inline;
}

header nav ul li a {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
}

header nav ul li a:hover {
    background-color: #f0f0f0;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    padding: 0;
    background-color: #0044cc;
    color: white;
    margin-top: 90px; /* Hero bölümünün menünün altında yerleşmesi */
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero-text h1 span {
    color: #0044cc;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero-text .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0044cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.hero-text .btn:hover {
    background-color: #003399;
}

h2 {
    color: #0044cc;
    margin-bottom: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.xidmetler-grid, .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.xidmet, .portfolio-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.xidmet i, .portfolio-info h3 {
    font-size: 2em;
    color: #0044cc;
    margin-bottom: 10px;
}

.portfolio-item img {
    width: 100%;
    border-radius: 10px;
}

.portfolio-info {
    margin-top: 10px;
}

footer {
    background-color: #0044cc;
    color: white;
    text-align: center;
    padding: 10px 0;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form input,
form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 10px 20px;
    background-color: #0044cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #003399;
}
