/* ----------------------------- */
/* HEADER / NAVBAR               */
/* ----------------------------- */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 50;
    font-family: 'Rubik', sans-serif;
}

/* Logo Text */
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 600;
    color: #1c2526;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    margin-left: 20px;
}

/* Main Navigation Menu */
.main-menu {
    display: flex;
    align-items: center;
    gap: 0px;
    margin: 0 auto;
}

.main-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 12px;
    transition: color 0.3s ease, transform 0.2s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.main-menu a:hover {
    color: #00796b;
    transform: scale(1.05);
}

/* ----------------------------- */
/* Mega Dropdown (Alt Menü)      */
/* ----------------------------- */
.menu-item .mega-dropdown {
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    min-width: 220px;
    gap: 8px;
    transition: all 0.3s ease-in-out;
}

.menu-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

/* Başlık */
.mega-dropdown .menu-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #1c2526;
    font-size: 14px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 4px;
}

/* Alt Menü Linkleri */
.mega-dropdown a {
    font-size: 12px;
    color: #2c3e50;
    padding: 6px 0;
    transition: all 0.3s ease;
}

.mega-dropdown a:hover {
    color: #00796b;
    transform: translateX(5px);
}

/* ----------------------------- */
/* Hamburger Menu                */
/* ----------------------------- */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #2c3e50;
    padding: 5px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 20px;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: #34495e;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 10px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    color: #00796b;
    transform: translateX(5px);
}

/* Alt menü animasyon mobil için */
.mobile-menu .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 15px;
}

.mobile-menu .submenu a {
    font-size: 13px;
}

/* ----------------------------- */
/* Responsive Design             */
/* ----------------------------- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .main-menu {
        display: none;
    }

    .header {
        padding: 15px 20px;
    }

    .mega-dropdown {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: none;
        padding-left: 15px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

















/* popup.css – Tam genişlik görselli zarif tasarım */

.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}

.popup-content {
  background: #fff;
  max-width: 420px;
  width: 90%;
  padding: 0; /* resmi header gibi göstermek için padding sıfır */
  border-radius: 14px;
  overflow: hidden; /* resmi köşelerde kes */
  font-family: 'Rubik', sans-serif;
  animation: popupFade .3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  position: relative;
}

.popup-content img {
  width: 100%;
  height: 180px;           /* sabit yükseklik */
  object-fit: cover;       /* kırpıp doldurur */
  display: block;
}

.popup-body {
  padding: 20px;
  text-align: center;
}

.popup-body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 4px;
  color: #00796b;
}

.popup-body p {
  font-size: 15px;
  margin: 6px 0 14px;
  color: #444;
}

.popup-body form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popup-body input[type=email] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.popup-body button[type=submit] {
  background: #00796b;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background .3s ease;
}
.popup-body button[type=submit]:hover {
  background: #005f55;
}

.close-btn {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,0.3);
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
}

.popup-footer {
  margin-top: 10px;
  font-size: 13px;
  text-align: left;
  color: #555;
}

@keyframes popupFade {
  from {transform: scale(0.95); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}


