/* Genel Sayfa Stilleri */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

/* Header ve Navigasyon */
header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover {
    color: #007bff;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Ana İçerik */
main {
    width: 90%;
    margin: 2rem auto;
}

/* Hero Alanı */
.hero {
    text-align: center;
    padding: 6rem 1rem;
    background: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=1974&auto=format&fit=crop') no-repeat center center/cover;
    color: #fff;
    position: relative;
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #0056b3;
}

/* İçerik Alanı */
.content {
    padding: 2rem 0;
}

.content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Hizmetler Sayfası Grid Yapısı */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-item i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #007bff;
}

/* Hakkımızda Sayfası */
.about-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* İletişim Sayfası */
.contact-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-info h3, .contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.contact-form button {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    text-align: center;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #007bff;
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 0; /* hide corrupted text */
}
.testimonial-card .stars::before {
    content: '★★★★★'; /* 5 solid stars */
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
}

.testimonial-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.testimonial-card span {
    font-size: 0.9rem;
    color: #777;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 0;
    background: #333;
    color: #fff;
    margin-top: 2rem;
}

/* Responsive helpers and global adjustments (add to end of file) */
/* Container */
.container, .content { max-width: 1200px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }

/* Header / Nav */
header nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 0; }
header nav .logo { font-weight: 700; }
header nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
header nav ul li a { display: block; padding: 8px 6px; }

/* Typography scaling */
h1 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); margin: .4em 0; }
h2 { font-size: clamp(1.25rem, 2.5vw, 2rem); margin: .4em 0; }
p, li, a { font-size: clamp(0.95rem, 1.6vw, 1rem); line-height: 1.5; }

/* Images and iframes */
img, iframe { max-width: 100%; height: auto; display: block; }

/* Forms and controls */
input, textarea, select, button { font-size: 1rem; padding: 10px; border-radius: 6px; box-sizing: border-box; }
button.cta-button { cursor: pointer; }

/* Footer spacing */
footer { padding: 24px 0; text-align: center; }

/* Contact page fallback (in case inline styles differ) */
.contact-grid { display: flex; gap: 24px; align-items: stretch; flex-wrap: wrap; }
.contact-form, .info-map { flex: 0 0 45%; min-width: 280px; display: flex; flex-direction: column; }

/* Map sizing */
.map-wrapper { min-height: 200px; }

/* Small screens */
@media (max-width: 800px) {
  header nav { padding: 10px 0; }
  header nav ul { width: 100%; flex-direction: column; gap: 10px; margin-top: 8px; }
  .contact-grid { flex-direction: column; gap: 20px; }
  .contact-form, .info-map { flex: 1 1 100%; }
  .map-wrapper { min-height: 250px; }
}

/* Accessibility focus */
a:focus, button:focus, input:focus, textarea:focus { outline: 3px solid rgba(0,120,212,0.18); outline-offset: 2px; }
