:root{
  --brand:#0A516D;        /* primary */
  --brand-700:#084356;
  --brand-600:#0A516D;
  --brand-500:#0D5E7C;
  --brand-100:#E6EFF2;

  --accent:#E63946;       /* accent */
  --accent-700:#C42E3B;
  --accent-600:#E63946;
  --accent-500:#F04A57;
  --accent-100:#FCEAEC;

  --muted:#F5F7FA;        /* surface */
  --muted-200:#EDF2F6;
  --text:#1F2937;         /* body text */
}

body{
  font-family:"Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
}

.navbar-brand{color:var(--brand)}
.nav-link{color:var(--text)}
.nav-link:hover{color:var(--brand-600)}
.nav-link.active{color:var(--brand-600); font-weight:600}

.btn-primary{
  background-color:var(--brand-600);
  border-color:var(--brand-600);
}
.btn-primary:hover{
  background-color:var(--brand-700);
  border-color:var(--brand-700);
}
.btn-primary:focus-visible{
  box-shadow:0 0 0 .25rem rgba(10,81,109,.25);
}

.btn-outline-primary{
  color:var(--brand-600);
  border-color:var(--brand-600);
}
.btn-outline-primary:hover{
  background-color:var(--brand-600);
  color:#fff;
  border-color:var(--brand-600);
}

.badge-accent{
  background-color:var(--accent-100);
  color:var(--accent-700);
  border:1px solid var(--accent-500);
}

.hero{
  background:linear-gradient(180deg, #ffffff, var(--muted));
}
.hero .display-5{color:var(--brand)}

.card .stretched-link{color:var(--brand)}
.card:hover .stretched-link{text-decoration:underline}

/* Utilities */
.bg-muted{background-color:var(--muted)}
.text-brand{color:var(--brand-600)!important}
.border-brand{border-color:var(--brand-600)!important}


/* Carousel responsive heights */
#homeCarousel .carousel-item img{height:360px;object-fit:cover}
@media (min-width:768px){#homeCarousel .carousel-item img{height:420px}}
@media (min-width:1200px){#homeCarousel .carousel-item img{height:520px}}


/* Hero logo size */
header.hero img.img-fluid{max-height:140px;width:auto}
@media (min-width:768px){header.hero img.img-fluid{max-height:180px}}
@media (min-width:1200px){header.hero img.img-fluid{max-height:220px}}


/* Slider caption and header tweaks */
header.hero{padding-top:0;padding-bottom:0}
#homeCarousel .carousel-item img{height:420px;object-fit:cover}
@media (min-width:768px){#homeCarousel .carousel-item img{height:520px}}
@media (min-width:1200px){#homeCarousel .carousel-item img{height:600px}}
#homeCarousel .carousel-caption{left:2rem;right:auto;bottom:2rem;text-shadow:0 1px 2px rgba(0,0,0,.5)}
#homeCarousel .carousel-caption .display-5{color:#fff}
#homeCarousel .carousel-caption .lead{color:#f5f7fa}


/* Slider readability overlay */
#homeCarousel .carousel-item{position:relative}
#homeCarousel .carousel-item::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 100%);z-index:1;pointer-events:none}
#homeCarousel .carousel-caption{z-index:2}
/* Slider overlay tweak: 80% -> 20%, half width */
#homeCarousel .carousel-item{position:relative}
#homeCarousel .carousel-item::before{content:"";position:absolute;top:0;bottom:0;left:0;width:50%;background:linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 100%);z-index:1;pointer-events:none}
/* Slider overlay tweak: 70% -> 0%, half width */
#homeCarousel .carousel-item::before{left:0;width:50%;background:linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 100%)}

/* Navbar logo fixed height */
#navbar .navbar-brand img{height:72px !important;max-height:72px !important;width:auto}

/* Navbar brand & primary link sizing consistency */
#navbar .navbar-brand span{font-size:42px !important;line-height:1.1 !important}
#navbar .nav-link{font-size:1rem !important;line-height:1.25}

.about-logo{max-width:160px;height:auto}
@media (max-width:767.98px){.about-logo{max-width:120px}}

/* About page logo size override */
.about-logo{max-width:200px !important;height:auto}

/* Navbar brand text styling - all pages */
.navbar-brand span, 
.navbar .navbar-brand span, 
#navbar .navbar-brand span, 
body .navbar .navbar-brand span {
  font-size: 42px !important;
  line-height: 1.1 !important;
  color: #0A516D !important;                     /* koyu mavi */
  font-weight: 600 !important;                   /* semi-bold */
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji" !important;
}


/* Team cards equal height */
.team-card{display:flex;flex-direction:column}
.team-card .card-body{flex:1}
