/* Genel Ayarlar */
:root {
    --primary-grey: #666666; /* Logodaki gri */
    --primary-red: #E60000; /* Logodaki kırmızı */
    --secondary-black: #000000; /* Logodaki siyah ve metinler için */
    --text-dark: #333333; /* Genel metin rengi */
    --text-light: #FFFFFF; /* Beyaz metin */
    --bg-light-grey: #F8F8F8; /* Açık gri arka plan */
    --bg-white: #FFFFFF; /* Beyaz arka plan */
}

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

body {
    font-family: 'Open Sans', sans-serif; /* Genel metin fontu */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light-grey {
    background-color: var(--bg-light-grey);
}

.bg-red {
    background-color: var(--primary-red);
}

.text-white {
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

/* Tipografi */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif; /* Başlık fontu, logodaki gibi kalın ve modern */
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-grey);
}

h1 {
    font-size: 3.2em;
    line-height: 1.2;
    color: var(--text-light); /* Hero bölümünde beyaz */
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

a {
    text-decoration: none;
    color: var(--primary-red);
}

/* CTA Düğmeleri */
.cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05em;
}

.primary-cta {
    background-color: var(--primary-red);
    color: var(--text-light);
    border: 2px solid var(--primary-red);
}

.primary-cta:hover {
    background-color: #c00000; /* Kırmızının biraz daha koyusu */
    border-color: #c00000;
}

.secondary-cta {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    margin-left: 15px;
}

.secondary-cta:hover {
    background-color: var(--text-light);
    color: var(--primary-red);
}

.header-cta {
    background-color: var(--primary-red);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    font-size: 0.95em;
}

.header-cta:hover {
    background-color: #c00000;
}

.white-outline-cta {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    margin-top: 20px;
}

.white-outline-cta:hover {
    background-color: var(--text-light);
    color: var(--primary-red);
}

/* Header */
header {
    background-color: var(--bg-white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Logonuzun boyutuna göre ayarlayın */
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--primary-grey);
    font-weight: 600;
    font-size: 1.05em;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--primary-red);
}

.hamburger-menu {
    display: none; /* Masaüstünde gizli */
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--primary-grey);
    cursor: pointer;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-background.jpg') no-repeat center center/cover; /* Arka plan görseli ekleyin */
    color: var(--text-light);
    text-align: center;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

#hero h1 {
    margin-bottom: 25px;
}

#hero p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.hero-cta-buttons {
    margin-top: 30px;
}

/* About Short Section */
#about-short {
    text-align: center;
}

#about-short p {
    max-width: 900px;
    margin: 0 auto 30px auto;
}

/* Services Highlights Section */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3.5em;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-grey);
    font-size: 1.5em;
}

.service-card p {
    font-size: 1em;
    margin-bottom: 20px;
}

.service-card .read-more {
    color: var(--primary-red);
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.service-card .read-more:hover {
    text-decoration: underline;
}

/* Why Us Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-light-grey);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.advantage-item i {
    font-size: 3em;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 1.4em;
    color: var(--primary-grey);
}

.advantage-item p {
    font-size: 0.95em;
    margin-bottom: 0;
}

/* Contact CTA Section */
#contact-cta h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

#contact-cta p {
    color: var(--text-light);
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: var(--secondary-black);
    color: var(--text-light);
    padding: 60px 0 20px 0;
    font-size: 0.95em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 1.3em;
    font-family: 'Open Sans', sans-serif; /* Footer başlıkları için Open Sans */
}

.footer-logo img {
    height: 45px; /* Footer logosu boyutu */
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-red);
}

.footer-contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact-info i {
    margin-right: 10px;
    color: var(--primary-red);
}

.footer-social a {
    color: var(--text-light);
    margin-right: 15px;
    font-size: 1.8em;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    margin-bottom: 5px;
    font-size: 0.9em;
}

.footer-bottom a {
    color: var(--text-light);
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: var(--primary-red);
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 2em;
    }
    .main-nav ul li {
        margin-left: 20px;
    }
    .header-cta {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .service-cards, .advantages-grid, .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    .main-nav {
        width: 100%;
        order: 3; /* Menüyü en alta taşı */
        text-align: center;
    }
    .main-nav ul {
        flex-direction: column;
        display: none; /* Varsayılan olarak gizli */
        width: 100%;
        background-color: var(--bg-white);
        border-top: 1px solid #eee;
        padding-top: 10px;
    }
    .main-nav ul.active {
        display: flex; /* Aktif olduğunda göster */
    }
    .main-nav ul li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    .main-nav ul li a {
        display: block;
        padding: 15px 0;
    }
    .hamburger-menu {
        display: block; /* Mobil cihazlarda göster */
        position: absolute;
        right: 20px;
        top: 25px;
    }
    .header-cta {
        display: none; /* Mobil menüde yer alabilir veya gizlenebilir */
    }

    #hero {
        padding: 100px 0;
        min-height: 450px;
    }
    h1 {
        font-size: 2.2em;
    }
    #hero p {
        font-size: 1.1em;
    }
    .hero-cta-buttons {
        flex-direction: column;
        display: flex;
        align-items: center;
    }
    .secondary-cta {
        margin-left: 0;
        margin-top: 15px;
    }

    .section-padding {
        padding: 60px 0;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.4em;
    }
    p {
        font-size: 1em;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col ul {
        padding-left: 0;
    }
    .footer-contact-info p {
        justify-content: center;
    }
    .footer-social {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.5em;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .service-cards, .advantages-grid {
        grid-template-columns: 1fr;
    }
}
/* === Projects Section === */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 4px solid var(--primary-red);
}

.project-item h3 {
    color: var(--primary-grey);
    margin: 15px 0 10px 0;
    font-size: 1.4em;
}

.project-item p {
    padding: 0 15px 20px;
    font-size: 1em;
    color: var(--primary-grey);
}

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

/* === ACCESSIBILITY & UX ENHANCEMENTS === */

/* Smooth hover animations for icons and cards */
.service-icon, .advantage-item i, .footer-social i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-icon:hover, .advantage-item i:hover, .footer-social i:hover {
  transform: scale(1.1) rotate(6deg);
  color: var(--primary-red);
}

/* Improve mobile hamburger menu position */
.hamburger-menu {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1000;
}

/* Smooth transition for cards */
.service-card, .project-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover, .project-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}


/* === Back to Top Button === */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-red);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background-color: #c00000;
  transform: translateY(-3px);
}


/* === v6 Contact / Map equal height === */
.contact-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
}

.contact-form, .map-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  padding: 28px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  min-height: 360px; /* equal baseline height */
  box-sizing: border-box;
}

.contact-form h3 { margin-top: 0; color: var(--primary-grey); font-family: 'Montserrat', sans-serif; }

.contact-form .wpcf7-form input,
.contact-form .wpcf7-form textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font-size: 0.98rem;
  font-family: 'Open Sans', sans-serif;
  box-sizing: border-box;
  margin-bottom: 12px;
}

.contact-form .wpcf7-submit,
.contact-form button {
  background-color: var(--primary-red);
  color: var(--text-light);
  border: none;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}
.contact-form .wpcf7-submit:hover,
.contact-form button:hover { background-color: #c00000; }

.map-container iframe { width:100%; height:100%; border:0; display:block; min-height:320px; aspect-ratio:16/9; }

/* Ensure contact section text colors on red background */
#contact-cta .container { color: #fff; }
#contact-cta .contact-form { color: #333; }
#contact-cta .contact-form input, #contact-cta .contact-form textarea { color: #333; }

@media (max-width: 900px) {
  .contact-row { grid-template-columns: 1fr; }
  .contact-form, .map-container { min-height: 220px; }
}
/* === Form Input Focus Rengi (Kırmızıya çevir) === */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-red);
  outline: none; /* Tarayıcının mavi outline’ını kaldır */
  box-shadow: 0 0 4px var(--primary-red); /* Hafif kırmızı parlama efekti */
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* === GÖNDER BUTONU - Tema Uyumlu Kırmızı (Yumuşak Ton) === */
.contact-form .wpcf7-submit,
.contact-form button {
  background-color: #d40000 !important; /* Yumuşatılmış kırmızı tonu */
  color: #ffffff !important; /* Beyaz yazı, !important ile sabitle */
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover efekti — biraz koyu kırmızı */
.contact-form .wpcf7-submit:hover,
.contact-form button:hover {
  background-color: #b80000 !important;
  transform: translateY(-2px);
}

/* Aktif (basılı) durum — daha koyu ton */
.contact-form .wpcf7-submit:active,
.contact-form button:active {
  background-color: #a00000 !important;
  transform: translateY(0);
}


/* === Contact Form 7 Uyarı Mesajı (Kırmızı Yumuşak Çerçeve) === */
.wpcf7 form .wpcf7-response-output {
  border: 2px solid var(--primary-red) !important; /* Kırmızı çerçeve */
  background-color: rgba(230, 0, 0, 0.05); /* Hafif kırmızı arka plan */
  color: var(--primary-red) !important; /* Yazı rengi kırmızı */
  border-radius: 8px; /* Yumuşak kenarlar */
  padding: 12px 18px;
  margin-top: 15px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 2px 6px rgba(230, 0, 0, 0.1); /* Hafif gölge efekti */
  transition: all 0.3s ease;
}

/* İsteğe bağlı — başarı mesajını da yeşil tonla göstermek istersen */
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #28a745 !important;
  background-color: rgba(40, 167, 69, 0.05);
  color: #28a745 !important;
}

/* HAMBURGER MENU STYLES */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Transform when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* RESPONSIVE NAVIGATION */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none !important;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 80px;
    right: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .main-nav.active {
    display: flex !important;
  }
}
