
/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    margin: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
header {
    background: #222;
    color: #fff;
    padding: 10px 0;
}

header h1 {
    text-align: center;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
}

nav ul li a:hover {
    color: #f4a261;
}

/* Hero */
.hero {
    background: url('img/uzman.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.btn {
    background: #e76f51;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
}

.btn:hover {
    background: #f4a261;
}

/* Sections */
section {
    padding: 40px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Grid Layout */
.product-grid, .service-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.product-item, .service-item {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.product-item img {
    width: 100%;
    border-radius: 5px;
}

/* İletişim Formu */
form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: auto;
}

label {
    margin-bottom: 5px;
}

input, textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background: #e76f51;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #f4a261;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

/* Hakkımızda Bölümü */
.about-section {
    background-color: #f9fdf9;
    padding: 60px 20px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
}

.about-text {
    max-width: 50%;
}

.about-text h2 {
    color: #004d25;
    font-size: 1.5rem;
    margin-bottom: 10px;
    border-bottom: 2px solid #004d25;
    display: inline-block;
}

.about-text h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.about-text p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-btn {
    display: inline-block;
    color: #004d25;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #004d25;
    padding: 10px 15px;
    border-radius: 5px;
}

.about-btn:hover {
    background-color: #004d25;
    color: #fff;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
.service-section {
    padding: 20px;
  }
  
  .service-header {
    text-align: center;
  }
  
  .service-header h2 {
    margin-bottom: 20px;
  }
  
  .service-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .service-tabs input {
    display: none;
  }
  
  .service-tabs label {
    padding: 10px 20px;
    background-color: #ddd;
    color: #333;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .service-tabs input:checked + label {
    background-color: #1abc9c;
    color: white;
  }
  
  /* İçerik Alanı */
  .service-content .content {
    display: none; /* Başlangıçta içerikleri gizle */
    text-align: center;
    margin-top: 20px;
  }
  
  .service-content img {
    width: 100%;
    max-width: 500px;
    margin-bottom: 10px;
  }
  
  /* Radio Button'a Göre İçerik Gösterme */
  #hizmet:checked ~ .service-content .hizmet,
  #ticari:checked ~ .service-content .ticari,
  #saglik:checked ~ .service-content .saglik,
  #konut:checked ~ .service-content .konut {
    display: block;
  }
  
  /* İletişim Bölümü */
.contact-section {
    margin-top: 100px;
    padding: 50px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-section h2 {
    text-align: center;
    color: #1abc9c;
    margin-bottom: 20px;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Sol: Form */
.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.submit-btn {
    background-color: #1abc9c;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.submit-btn:hover {
    background-color: #16a085;
}

/* Sağ: Konum ve Adres */
.contact-info {
    flex: 1;
}

.map-container {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.address p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}


