@charset "utf-8";

:root{
  --primary-color:#527E85;
  --brand-font:'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --surface:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;
  --shadow: 0 10px 30px rgba(0,0,0,0.10);
}

/* =========================
   GENEL AYARLAR
========================= */

*{ box-sizing:border-box; }

body{
  font-family: var(--brand-font);
  color: var(--text);
  background: #f6f7f9;
  transition: background-color .25s ease, color .25s ease;
}

a{ color:inherit; }

/* Reveal animasyon (JS: data-reveal) */
[data-reveal]{
  opacity:0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-reveal].is-visible{
  opacity:1;
  transform: translateY(0);
}

/* =========================
   HEADER / NAVBAR
========================= */

header {
  z-index: 1030;
}

.caffe-navbar {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-bottom: 3px solid var(--primary-color);
}

.caffe-navbar .navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.caffe-navbar .nav-link {
  color: #555 !important;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.caffe-navbar .nav-link:hover,
.caffe-navbar .nav-link.active {
  color: var(--primary-color) !important;
}

/* Mobil Menü */

.caffe-navbar .navbar-toggler {
  border: none;
  outline: none;
}

.caffe-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(74, 116, 126, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
  .caffe-navbar .navbar-collapse {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .caffe-navbar .nav-item {
    margin: 5px 0;
  }
}

/* =========================
   HERO CAROUSEL
========================= */

.hero-carousel {
  margin-top: 56px;
}

.carousel-item {
  height: 70vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-item::before {
  content: "";
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.4);
}

.carousel-caption {
  bottom: 30%;
  z-index: 2;
}

.carousel-caption h1 {
  font-size: 3.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

@media (max-width: 768px){
  .carousel-caption h1{ font-size: 2.1rem; }
  .carousel-item{ height: 56vh; }
}

/* =========================
   ABOUT
========================= */

.about {
  padding: 80px 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

@media (max-width: 992px){
  .about-content{ flex-direction: column; }
}

.about-text {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

/* =========================
   FEATURED / CARDS
========================= */

.featured {
  padding: 80px 0;
  background-color: #2c2c2c;
  color: white;
}

.featured h2 {
  margin-bottom: 40px;
}

.card-container {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 220px;
  background: #3a3a3a;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card h3 {
  margin-top: 15px;
  font-size: 20px;
}

.card p {
  color: #ccc;
  font-size: 14px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* =========================
   FOOTER
========================= */

.footer {
  background: linear-gradient(to right, #1f1f1f, #2a2a2a);
  color: #fff;
  padding-top: 60px;
}

.footer-container {
  width: 85%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-box {
  flex: 1;
  min-width: 220px;
}

.footer-box h3,
.footer-box h4 {
  margin-bottom: 20px;
}

.footer-box p {
  line-height: 1.6;
  color: #ccc;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a,
.social-links a {
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

.footer-box ul li a:hover,
.social-links a:hover {
  color: #f4b400;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid #333;
  font-size: 14px;
  color: #aaa;
}

/* =========================
   DARK MODE
========================= */

body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

body.dark-mode .caffe-navbar {
  background-color: #1b1b1b;
  border-bottom: 3px solid var(--primary-color);
}

body.dark-mode .nav-link {
  color: #ddd !important;
}

body.dark-mode .nav-link:hover {
  color: #a7d2d8 !important;
}

body.dark-mode .about {
  background:#181818;
}

body.dark-mode .card {
  background:#2a2a2a;
  color:white;
}

body.dark-mode .card p {
  color:#bbb;
}

body.dark-mode .featured {
  background:#161616;
}

body.dark-mode .footer {
  background:linear-gradient(to right,#0f0f0f,#1a1a1a);
}

/* =========================
   THEME SWITCH
========================= */

.theme-switch {
  position: relative;
  display: inline-block;
  width: 55px;
  height: 28px;
  margin-left: 15px;
}

.theme-switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top:0;
  left:0;
  right:0;
  bottom:0;
  transition:0.4s;
}

.slider:before {
  position: absolute;
  content:"☀️";
  height:22px;
  width:22px;
  left:3px;
  bottom:3px;
  background:white;
  border-radius:50%;
  transition:0.4s;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
}

input:checked + .slider {
  background-color:var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(27px);
  content:"🌙";
}

/* =========================
   BRANCHES SAYFASI
========================= */

.branches {
  padding:80px 0;
}

.branch-card {
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
  transition:0.3s;
}

.branch-card:hover {
  transform: translateY(-10px);
}

.branch-card img {
  width:100%;
  height:230px;
  object-fit:cover;
}

.branch-info {
  padding:20px;
}

.branch-info h4 {
  margin-bottom:10px;
  font-weight:bold;
}

.branch-info p {
  color:#666;
  font-size:14px;
  line-height:1.6;
}

.branch-btn {
  margin-top:10px;
}

body.dark-mode .branch-card {
  background:#2a2a2a;
  color:white;
}

body.dark-mode .branch-info p {
  color:#bbb;
}
/* hamburger */

.menu-btn{
font-size:28px;
cursor:pointer;
padding:10px;
}

/* menü */

.side-menu{

position:fixed;
top:0;
left:-260px;
width:260px;
height:100%;
background:var(--primary-color);
color:white;
padding-top:70px;
transition:0.3s;
z-index:2000;

}

/* linkler */

.side-menu a{

display:block;
padding:15px 25px;
text-decoration:none;
color:white;
font-size:16px;

}

.side-menu a:hover{

background:rgba(255,255,255,0.10);

}

.side-menu hr{

border:1px solid #333;
margin:10px 0;

}

/* açık hali */

.side-menu.active{

left:0;

}
