:root {
  --primary-color: #0A2540; /* Ana marka rengi (koyu mavi) */
  --secondary-color: #F6F9FC; /* Açık arka plan grisi */
  --accent-color: #007BFF; /* Butonlar ve vurgular için renk (canlı mavi) */
  --text-color: #333; /* Ana metin rengi */
  --light-text-color: #FFF; /* Koyu arka planlar için metin rengi */
  
  --font-primary: 'Poppins', sans-serif; /* Ana yazı tipi */
  --h1-font-size: 2.5rem;
  --h2-font-size: 2rem;
  --body-font-size: 1rem;
}

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

main {
    flex-grow: 1;

}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--body-font-size);
  background-color: #FFF;
  color: var(--text-color);
  flex-direction: column;
  min-height: 100vh;
  display: flex;

}

.container {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: var(--h2-font-size);
  text-align: center;
  margin-bottom: 2rem;
}

/* HEADER AND NAVIGATION */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: #FFFfffaa;
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}

.nav {
  height: 4.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* ? */

}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--accent-color);
}

.nav-toggle {
  display: none;
  cursor: pointer;
}
.nav-toggle svg {
  fill: var(--primary-color);
}

.title {
  margin-right: auto;
}

.nav-logo{
    display: flex;          /* İçindeki logo ve yazıyı yan yana getirir */
    align-items: center;    /* Logo ve yazıyı dikey olarak ortalar */
    gap: 0.5rem;              /* Logo ile yazı arasına boşluk koyar (örn: 16px) */
    text-decoration: none;  /* Linkin altındaki çizgiyi kaldırır */
    color: inherit;      
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: var(--font-primary);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent-color);
  border-color: var(--accent-color);
}


/*
.nav-logo img
{
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, black 3%, black 97%, transparent 100%);

    mask-image:
      linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, black 3%, black 97%, transparent 100%);

    -webkit-mask-composite: intersect;
    mask-composite: intersect;

}
*/

.nav-logo title p {
  margin: 0;
  font-size: 1.5rem;
  white-space: nowrap; 
}



.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-text-color);
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 37, 64, 0.7);
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: var(--h1-font-size);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--light-text-color);
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, background-color 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  background-color: #0056b3; 
  transform: translateY(-3px);
}

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

.service-item {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-item h3 {
  margin-bottom: 1rem;
}


.about-container {
  max-width: 800px;
  text-align: center;
}

.footer {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding: 2rem 0;
}

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

footer p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--light-text-color);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}


.service-item,.about-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media screen and (max-width: 768px) {
 .nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;  
    background-color: #FFF;
    padding: 2rem 0;
    transition: top 0.4s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

 .nav-list {
    flex-direction: column;
    align-items: center;
  }

 .nav-toggle {
    display: block;
  }
  
 .show-menu {
    top: 4.5rem;
  }
  
  :root {
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
  }

  .footer {
    font-size : 0.7em;
  }
}



.page-header {
    text-align: center;
    padding: 60px 20px;
    background-color: #f4f4f4;
    border-bottom: 1px solid #ddd;
/*    margin-bottom: 40px; */
}

.page-header h1 {
    font-size: 2.8em;
    color: #333;
    margin: 0;
}

.section-title {
    text-align: center;
    font-size: 2.2em;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #007bff;
    margin: 10px auto 0;
}



.about-section {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-section .content-wrapper {
    text-align: left;
    line-height: 1.8;
    color: #555;
}

.about-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-section {
    padding: 40px 20px;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}


.service-item {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

.service-item h3 {
  margin-bottom: 1rem;
}




.team-member {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  width: 280px;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.team-member img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #007bff;
}

.team-member h3 {
    margin: 10px 0 5px;
    font-size: 1.4em;
    color: #333;
}

.team-member p {
    margin: 0;
    color: #777;
    font-style: italic;
}


.services-section {
    padding: 40px 20px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-card .icon {
    font-size: 3em; /* Font Awesome icon size */
    color: #007bff;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}
.btn-submit {
    background-color: #007bff;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.map-container {
    height: 500px;
    width: 60%;
}

.map-container iframe {
    border-radius: 8px;
    width: 100%;
    height: 100%;
}



.contact-section {
    padding: 40px 20px;
}

.contact-grid {
    width: 100%;
}

.contact-top-row {
    display: flex;
    flex-wrap: wrap; 
    gap: 2rem;
    align-items: flex-start;
}

.contact-map {
    flex: 7;
}

.contact-details {
    flex: 3; 
}

.contact-map h2,
.contact-details h2,
.contact-form-container h2{
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    text-align: center;
    color: #333;
    position: relative;

}




.contact-map h2::after,
.contact-details h2::after, 
.contact-form-container h2::after{
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #007bff;
    margin: 10px auto 0;
}


.contact-details p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-form-container {
    margin-top: 3rem;
    text-align: center; 
}





.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 70%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: var(--font-primary);
}


.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent-color);
  border-color: var(--accent-color);
}



.nav-link {
    color: #333;
}

.nav-link:hover {
    color: #bbb;
} 









.cta-button {
    padding: 1rem 3rem;
    cursor: pointer;
    border: none;
    background-color: #5cc8d2;
    color: white;
    font-weight: bold;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .contact-top-row {
        flex-direction: column;
    }
}