/* Genel Stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* Yardımcı Sınıflar */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    background-color: #e74c3c;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
}

/* Header */
.header {
    position: relative;
    background: url('../img/ankara.jpg') no-repeat center/cover;
    padding: 2rem 0;
    color: #fff;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Hafif koyu ton */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
}

.header-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.header-owner {
    flex: 0 0 auto; /* Sabit genişlik */
    text-align: left;
}

.header-owner span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    display: block;
    white-space: nowrap;
}

.logo {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.header-text {
    flex: 1;
    text-align: center;
}

.header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin: 0;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.header p {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    color: #ffebcd;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    margin: 0.25rem 0 0;
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-buttons a {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background: #ff7f50;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-buttons a:hover {
    background: #ff4500;
    transform: scale(1.05);
}
/* Services */
.services {
    padding: 4rem 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 4vw, 2rem);
    color: #222;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-img {
    width: 100%;
    max-width: 150px; /* Fotoğrafların boyutu kontrol altında */
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px; /* Hafif yuvarlak köşeler */
    object-fit: cover; /* Fotoğraflar orantılı görünür */
}

.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #222;
}

.service-item p {
    font-size: 1rem;
    color: #555;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .services { padding: 3rem 0; }
    .service-item { padding: 1rem; }
    .service-img { max-width: 120px; }
}

@media (max-width: 480px) {
    .service-img { max-width: 100px; }
    .service-item h3 { font-size: 1.1rem; }
    .service-item p { font-size: 0.9rem; }
}

/* Navigation */
.sticky-nav {
    position: sticky;
    top: 0;
    background: #34495e;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-toggle:hover {
    transform: rotate(90deg);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #e74c3c;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: #f7f7f7;
    padding: 4rem 0;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 50%;
}

.hero-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 1rem;
    color: #222;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin: 0 0 1.5rem;
    color: #555;
}

.hero-video {
    flex: 1;
    max-width: 50%;
}

.hero-video video {
    width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .hero { padding: 3rem 0; }
    .hero-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero-content, .hero-video {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h2 { font-size: 1.5rem; }
    .hero-content p { font-size: 1rem; }
}

/* Genel Bölüm Stilleri */
.services,
.why-us,
.pricing,
.references,
.contact {
    padding: 4rem 0;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 4vw, 2rem);
    color: #222;
}

.services-grid,
.why-us-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item,
.why-us-item,
.price-item {
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover,
.why-us-item:hover,
.price-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-item i,
.why-us-item i {
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

/* Why Us */
.why-us {
    background: #fff;
}

.why-us-item {
    background: #f9f9f9;
}

/* Pricing */
.pricing {
    background: #f7f7f7;
}

.note {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: #666;
}

.note a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.note a:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* References */
.references {
    overflow: hidden;
    padding: 4rem 0;
}

.references-slider {
    display: flex;
    width: 100%; /* Kopyalar yok, tam genişlik */
    animation: slide 30s infinite linear;
}

.reference-item {
    flex: 0 0 33.33%; /* Her yorum 1/3 genişlik alacak (3 yorum görünür) */
    max-width: 300px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.reference-item:hover {
    transform: scale(1.05);
}

.reference-item p {
    font-style: italic;
    margin-bottom: 1rem;
}

.stars {
    color: #f1c40f;
    margin-bottom: 1rem;
}

.stars i {
    font-size: 1.2rem;
}

/* Slider Animasyonu */
@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); } /* 6 yorum için tam kayma */
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .references-slider {
        flex-direction: column;
        width: 100%;
        animation: none; /* Mobilde kaydırma devre dışı */
    }
    .reference-item {
        flex: 1 1 auto;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

/* Contact */
.contact {
    padding: 4rem 0;
    background: #f9f9f9;
}

.contact-info {
    margin-bottom: 2.5rem;
    text-align: center;
}

.contact-info p {
    margin: 0.75rem 0;
    font-size: 1.1rem;
    color: #444;
}

.contact-info p strong {
    color: #222;
    font-weight: 600;
}

.contact-info a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #c0392b;
    text-decoration: underline;
}

.contact form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact form:hover {
    transform: translateY(-5px);
}

.contact form h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #222;
}

.contact input,
.contact select {
    width: 100%;
    padding: 1rem;
    margin: 0.75rem 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: #fafafa;
    transition: all 0.3s ease;
}

.contact input:focus,
.contact select:focus {
    border-color: #e74c3c;
    background: #fff;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.3);
    outline: none;
}

.contact select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fafafa url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"><path fill="%23333" d="M7 10l5 5 5-5z"/></svg>') no-repeat right 1rem center;
}

.contact button {
    width: 100%;
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.map-container {
    margin-top: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: scale(1.02);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

/* Footer */
footer {
    background: #34495e;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.social-icons {
    margin-top: 1rem;
}

.social-icons a {
    color: #fff;
    margin: 0 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

/* Animasyonlar */
.pulse {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Back-to-Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 0.5rem 1rem;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    transition: opacity 0.3s ease;
}

.back-to-top:hover {
    opacity: 0.9;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    
    .header { padding: 2rem 0; }
    .header-container { 
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .header-owner { 
        position: static;
        text-align: center;
        margin-bottom: 1rem;
    }
    .header-buttons { 
        flex-direction: column;
        gap: 0.75rem;
    }

    .nav-toggle { display: block; }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #34495e;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .nav-menu.active { display: flex; }
    .nav-menu li { margin: 0.5rem 0; }
    .nav-menu a { padding: 1rem; }

    .hero, .services, .why-us, .pricing, .references, .contact { padding: 3rem 0; }
    .hero-content h2 { font-size: 1.5rem; }

    .contact-info p { font-size: 1rem; }
    .contact form { padding: 1.5rem; }
    .contact input,
    .contact select { padding: 0.8rem; }
    .contact button { padding: 0.8rem; }

    .references-slider {
        flex-direction: column;
        width: 100%;
        animation: none;
    }
    .reference-item {
        flex: 1 1 auto;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .header h1 { font-size: 1.8rem; }
    .header p { font-size: 1rem; }
    .header-owner span { font-size: 0.9rem; }
    .btn, .header-buttons a { padding: 0.6rem 1.2rem; }

    .contact-info p { font-size: 0.9rem; }
    .contact form { padding: 1rem; }
    .contact form h3 { font-size: 1.3rem; }
}