html, body {
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  font-size: 14px;
  background-image: none !important;
  background-size: initial !important;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
  min-width: 90%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Modern Card & Banner Eklemeleri */
.card {
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
    border: none;
    transition: box-shadow 0.3s, transform 0.3s;
    background: #fff;
}
.card:hover {
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.16);
    transform: translateY(-8px) scale(1.02);
}
.card-img-top {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    height: 220px;
    object-fit: cover;
    background: #f0f0f0;
}
.card-title {
    font-weight: 700;
    color: #2c3e50;
}
.card-text {
    color: #6c757d;
}
.btn-primary {
    background: linear-gradient(90deg, #258cfb 0%, #1a7ae8 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-primary:hover {
    background: linear-gradient(90deg, #1a7ae8 0%, #258cfb 100%);
}

/* Banner */
.hero-section {
    padding: 100px 0 60px 0;
    background: linear-gradient(120deg, #f8f9fa 60%, #e3f0ff 100%);
    border-radius: 0 0 32px 32px;
    box-shadow: 0 2px 24px rgba(44, 62, 80, 0.04);
    text-align: left;
}
.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
}
.hero-section .lead {
    font-size: 1.25rem;
    color: #6c757d;
}
.hero-section img {
    max-width: 350px;
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(44, 62, 80, 0.10);
}

/* Placeholder Image */
.img-placeholder {
    background: repeating-linear-gradient(135deg, #e3e3e3, #f8f9fa 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    font-size: 1.5rem;
    height: 220px;
    border-radius: 18px 18px 0 0;
}

/* Services Section */
.services-section .card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.services-section .card:hover {
    transform: translateY(-5px);
}

.services-section .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Projects Section */
.projects-section .card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.projects-section .card:hover {
    transform: translateY(-5px);
}

.projects-section .card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Contact Section */
.contact-section {
    background-color: #fff;
}

.contact-section .form-control {
    border-radius: 0;
    border: 1px solid #dee2e6;
    padding: 12px;
}

.contact-section .form-control:focus {
    border-color: #258cfb;
    box-shadow: none;
}

.contact-section .btn-primary {
    padding: 12px 30px;
    border-radius: 0;
    background-color: #258cfb;
    border: none;
}

.contact-section .btn-primary:hover {
    background-color: #1a7ae8;
}

.map-container {
    height: 450px;
    border-radius: 5px;
    overflow: hidden;
}

/* Footer */
.footer {
    flex-shrink: 0;
    background: linear-gradient(90deg, #0a2342 0%, #1976d2 100%);
    color: #fff;
    padding: 32px 0 0 0;
    border-top: 4px solid #1976d2;
}

.footer h5 {
    color: #fff;
    margin-bottom: 20px;
}

.footer a, .footer a:visited {
    color: #90caf9;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #fff;
}

.footer .social-links a {
    font-size: 20px;
    margin-right: 15px;
}

.footer .social-links a:hover {
    color: #258cfb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }

    .hero-section img {
        margin-top: 30px;
    }

    .contact-section .map-container {
        margin-top: 30px;
    }
}

.main-content {
    flex: 1 0 auto;
}

/* HEADER ve MENÜ instructables tarzı */
.navbar {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.navbar .nav-link {
  color: #fff !important;
  background: transparent;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.navbar .nav-link:hover, .navbar .nav-link:focus {
  background: #1976d2;
  color: #fff !important;
}
.navbar .nav-link.active, .navbar .nav-link[aria-current="page"] {
  background: #0a2342;
  color: #fff !important;
}
.navbar .navbar-brand img {
  filter: drop-shadow(0 2px 8px rgba(10,35,66,0.10));
}

/* Container'ı tam ekran yap */
.container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* İçerik için padding ekle */
.container > * {
    padding-left: 15px;
    padding-right: 15px;
}

/* HERO SLIDER instructables tarzı */
.hero-slider, #mainSlider, #mainSlider .carousel-inner, #mainSlider .carousel-item, #mainSlider .slider-image-wrapper {
    min-height: 100vh !important;
    height: 100vh !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0;
    right: 0;
    border-radius: 0 !important;
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
}

.slider-image-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}
.slider-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}
.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(90deg, rgba(10,35,66,0.7) 40%, rgba(25,118,210,0.1) 100%);
}
.slider-content {
    color: #fff;
    max-width: 700px;
    margin-left: 0;
    margin-top: 0;
    padding-top: 0;
    padding-left: 3vw;
    z-index: 2;
    text-align: left;
    align-items: flex-start !important;
    justify-content: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.slider-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 32px #000c, 0 2px 8px #000a;
    letter-spacing: 1px;
}
.slider-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 32px #000c, 0 2px 8px #000a;
}
.slider-content .btn {
    font-size: 1.2rem;
    padding: 16px 40px;
    border-radius: 32px;
    font-weight: 700;
    box-shadow: 0 4px 32px #0004;
    background: linear-gradient(90deg, #ff512f 0%, #dd2476 100%);
    border: none;
    letter-spacing: 1px;
    transition: background 0.2s, box-shadow 0.2s;
}
.slider-content .btn:hover {
    background: linear-gradient(90deg, #dd2476 0%, #ff512f 100%);
    box-shadow: 0 8px 32px #ff512f88;
}

/* SLIDER OKLARI VE GÖSTERGELERİ */
.carousel-control-prev, .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.18);
    border-radius: 50%;
    border: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
    background: rgba(0,0,0,0.32);
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
}
.carousel-indicators {
    bottom: 40px;
}
.carousel-indicators [data-bs-target] {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: #fff;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.carousel-indicators .active {
    opacity: 1;
    background: #ff512f;
}

/* NAVBAR SLIDER ÜSTÜNDE SABİT */
.navbar-glass.fixed-top {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 100;
    background: rgba(20,20,30,0.18) !important;
    box-shadow: none !important;
}

@media (max-width: 992px) {
    .slider-content h1 { font-size: 1.5rem !important; }
    .slider-content h2 { font-size: 1rem !important; }
    .slider-content { padding-left: 2vw; }
}
@media (max-width: 600px) {
    .slider-content h1 { font-size: 1.1rem !important; }
    .slider-content h2 { font-size: 0.8rem !important; }
    .slider-content { padding-left: 1vw; }
}

/* SLIDER YÜKSEKLİĞİNİ ORANLI YAP */
#mainSlider,
#mainSlider .carousel-inner {
    aspect-ratio: 16/5;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    border-radius: 0 !important;
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: 400px !important;
}
#mainSlider .carousel-item {
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
}
#mainSlider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    #mainSlider,
    #mainSlider .carousel-inner {
        aspect-ratio: 16/6;
        max-height: 220px !important;
    }
}

.hero-banner {
    position: relative;
    min-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10,35,66,0.7) 60%, rgba(25,118,210,0.5) 100%);
    z-index: 1;
}
.hero-banner > .container {
    position: relative;
    z-index: 2;
}
.hero-banner h1, .hero-banner h2, .hero-banner a, .hero-banner .scroll-now {
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {
    .hero-banner h1 { font-size: 2rem !important; }
    .hero-banner h2 { font-size: 1.1rem !important; }
    .hero-banner img { height: 48px !important; }
    .hero-banner .btn { font-size: 1rem !important; padding: 10px 24px !important; }
}

/* GLASS NAVBAR */
.navbar-glass {
    background: rgba(20, 20, 30, 0.25) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s, box-shadow 0.3s;
}
.navbar-glass .nav-link {
    color: #fff !important;
    text-shadow: 0 2px 8px #000a;
    font-weight: 700;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px #0002;
}
.navbar-glass .nav-link:hover, .navbar-glass .nav-link:focus {
    background: rgba(255,255,255,0.10);
    color: #fff !important;
    box-shadow: 0 4px 16px #fff2;
    text-shadow: 0 4px 16px #fff8, 0 2px 8px #000a;
}
.navbar-glass .nav-link.active, .navbar-glass .nav-link[aria-current="page"] {
    background: rgba(255,255,255,0.18);
    color: #fff !important;
    box-shadow: 0 4px 16px #fff2;
}

/* HERO SLIDER YAZILARI */
.hero-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    width: 100vw;
    padding-top: 60px;
}
.hero-banner .container {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-banner h1, .hero-banner h2 {
    color: #fff;
    text-shadow: 0 4px 32px #000c, 0 2px 8px #000a;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
}
.hero-banner h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}
.hero-banner h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.hero-banner .btn {
    font-size: 1.3rem;
    padding: 18px 48px;
    border-radius: 32px;
    font-weight: 700;
    box-shadow: 0 4px 32px #0004;
    background: linear-gradient(90deg, #ff512f 0%, #dd2476 100%);
    border: none;
    letter-spacing: 1px;
    transition: background 0.2s, box-shadow 0.2s;
}
.hero-banner .btn:hover {
    background: linear-gradient(90deg, #dd2476 0%, #ff512f 100%);
    box-shadow: 0 8px 32px #ff512f88;
}
.hero-banner img {
    margin-bottom: 32px;
    background: rgba(255,255,255,0.85);
    border-radius: 16px;
    padding: 10px 32px;
    box-shadow: 0 4px 32px #0002;
    height: 96px;
}
.hero-banner .scroll-now {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 2px 8px #000a;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .navbar-glass {
        top: 0 !important;
        border-radius: 0 !important;
        padding: 8px 0 !important;
    }
    .hero-banner h1 { font-size: 2.2rem !important; }
    .hero-banner h2 { font-size: 1.1rem !important; }
    .hero-banner img { height: 48px !important; }
    .hero-banner .btn { font-size: 1rem !important; padding: 10px 24px !important; }
}
@media (max-width: 600px) {
    .hero-banner h1 { font-size: 1.3rem !important; }
    .hero-banner h2 { font-size: 0.9rem !important; }
    .hero-banner img { height: 32px !important; }
}

@media (max-width: 576px) {
    .mt-navbar-fix { margin-top: 40px !important; }
}
@media (min-width: 577px) and (max-width: 991px) {
    .mt-navbar-fix { margin-top: 60px !important; }
}
@media (min-width: 992px) {
    .mt-navbar-fix { margin-top: 90px !important; }
}

/* Mobil başlık boyutu */
@media screen and (max-width: 575.98px) {
    .navbar-brand span {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        word-break: break-word !important;
    }
    .navbar-brand img {
        height: 40px !important;
        width: auto !important;
    }
}
/* Mobil menü düzenlemeleri */
@media screen and (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(20,20,30,0.95);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
    }
    .navbar-nav {
        align-items: center !important;
        text-align: center !important;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        width: 100%;
        text-align: center;
    }
    .nav-contact-btn {
        width: 100%;
        margin: 0.5rem 0 !important;
        text-align: center;
    }
}

@keyframes pop {
    0% { transform: scale(1); }
    100% { transform: scale(1.13); }
}

.info-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #0d4c6a;
    animation: pop 1.2s infinite alternate cubic-bezier(.4,2,.6,1);
}

@keyframes fadein {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: none; }
}
.animate-fadein { animation: fadein 0.7s cubic-bezier(.4,2,.6,1) both; }

@media (max-width: 1400px) {
  .project-desc { max-width: 98vw; }
}
@media (max-width: 992px) {
  .project-desc { max-width: 100vw; padding-left: 0.5rem; padding-right: 0.5rem; }
}

@media (max-width: 1200px) {
    .info-cards-row { gap: 1.2rem; }
}
@media (max-width: 992px) {
    .info-cards-row { flex-wrap: wrap; }
    .info-card-flex { flex: 1 1 45%; min-width: 220px; }
}
@media (max-width: 600px) {
    .info-cards-row { flex-direction: column; gap: 1rem; }
    .info-card-flex { flex: 1 1 100%; min-width: 0; }
}

@media (max-width: 600px) {
    .modal-arrow { font-size: 2rem; width: 38px; height: 38px; }
    .modal-arrow.left { left: 2px; }
    .modal-arrow.right { right: 2px; }
}