/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 100px;
    width: auto;
}

.logo-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c5282;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2c5282;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2c5282;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-container.scrolled {
    height: 70px; 
    transition: height 0.3s ease;
}

.nav-container.scrolled .logo {
    height: 70px;
    transition: height 0.3s ease;
}

.nav-container.scrolled .logo-text {
    font-size: 1rem;
    transition: font-size 0.3s ease;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Modern Hero Section Styles */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('images/mainpage.jpg') center/cover no-repeat;
  filter: brightness(0.6);
  z-index: 0;
  animation: bgZoom 20s ease-in-out infinite alternate;
}

@keyframes bgZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  max-width: 900px;
  padding: 0 20px;
  z-index: 2;
  animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #7b2ff7, #f107a3);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 16px 40px;
  border-radius: 40px;
  box-shadow: 0 4px 15px rgba(241, 7, 163, 0.5);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.cta-button:hover {
  box-shadow: 0 6px 25px rgba(123, 47, 247, 0.9);
  transform: scale(1.05);
}

.cta-button .arrow {
  margin-left: 12px;
  font-size: 1.4rem;
  transition: margin-left 0.3s ease;
}

.cta-button:hover .arrow {
  margin-left: 20px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
  cursor: pointer;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: rotate(45deg) translateY(0);
  }
  40% {
    transform: rotate(45deg) translateY(-10px);
  }
  60% {
    transform: rotate(45deg) translateY(-5px);
  }
}


/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .cta-button {
    font-size: 1rem;
    padding: 14px 30px;
  }
}


/* Section Styles */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
    text-align: center;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2c5282, #319795);
    margin: 0 auto;
}

.services-preview {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.services-preview-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2c5282;
}

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

.services-list li {
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    color: #2c5282;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #319795, #2c5282);
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(49, 151, 149, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(49, 151, 149, 0.4);
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #f9fafc, #eef2f7);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(49,151,149,0.15) 0%, transparent 70%);
  z-index: 0;
}

.about-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 50px rgba(0,0,0,0.06);
}

.about-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-lead {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.8;
  text-align: center;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #4a5568;
  line-height: 1.9;
  text-align: justify;
  text-indent: 25px;
}

.about-text p::first-letter {
  font-size: 130%;
  font-weight: bold;
  color: #319795;
}


.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s ease-out 0.4s forwards;
}
.expertise-subtext {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0;  
    line-height: 1.6;
    text-align: center;
}



.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #319795;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Services Section */
.services-section {
    background: #ffffff;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.services-intro p {
    font-size: 1.1rem;
    color: #4a5568;
}

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

.service-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #2c5282;
}

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

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c5282;
}

.service-description {
    color: #4a5568;
    line-height: 1.6;
}

.services-closing {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.services-closing p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c5282;
}

/* References Section */
.references-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.references-content {
    max-width: 1000px;
    margin: 0 auto;
}

.references-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.references-intro p {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.6;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.reference-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(49, 151, 149, 0.1);
    display: flex;
    flex-direction: column !important; /* burada kesin dikey olsun */
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.reference-image {
    height: 280px;
    width: 100%;
    background: linear-gradient(135deg, #319795, #2c5282);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.reference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reference-content {
    padding: 2rem;
    flex: none;
}

.reference-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.reference-description {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}


.reference-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, rgba(49, 151, 149, 0.1), rgba(44, 82, 130, 0.1));
    color: #2c5282;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(49, 151, 149, 0.2);
}

.references-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.references-cta p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

/* References Button*/
.view-details-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color:#2c5282;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.view-details-btn:hover {
  background-color: #30D5C8;
}

.view-details-btn2 {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color:#2c5282;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.view-details-btn2:hover {
  background-color: #30D5C8;
}

.view-details-btn3 {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color:#2c5282;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.view-details-btn3:hover {
  background-color: #30D5C8;
}

.view-details-btn4 {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color:#2c5282;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.view-details-btn4:hover {
  background-color: #30D5C8;
}

.view-details-btn5 {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color:#2c5282;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.view-details-btn5:hover {
  background-color: #30D5C8;
}

.view-details-btn6 {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color:#2c5282;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.view-details-btn6:hover {
  background-color: #30D5C8;
}

/* Contact Section */
.contact-section {
    background-color: #ffffff;
}

.contact-intro {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.contact-intro p {
    font-size: 1.1rem;
    color: #4a5568;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #2c5282;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-text {
    color: #4a5568;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #2c5282;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5282;
}

.submit-button {
    background-color: #2c5282;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
}

.submit-button:hover {
    background-color: #2a4a7a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 82, 130, 0.4);
}

/* Footer */

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px; 
  margin-bottom: 6px;
  color: #a0aec0;
}

.footer-contact-item .icon {
  font-size: 18px;
  line-height: 1;
}

.footer {
    background: #1a202c;
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-company-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-contact h4,
.footer-social h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}


.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #319795, #2c5282);
    transform: translateY(-2px);
}

.social-icon {
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p {
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #319795;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .references-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .references-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .logo-text {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .about-text {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .about-stats {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .expertise-item {
        padding: 1rem;
    }

    .references-grid {
        grid-template-columns: 1fr;
    }

    .reference-item {
        margin-bottom: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
    }
}

/* Smooth scrolling offset for fixed header */
#home,
#about,
#services,
#contact {
    scroll-margin-top: 80px;
}

