/* ----------------------------------------
   1. RESET / BASE
---------------------------------------- */

/* Resetting margins/paddings and box-sizing */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure images scale responsively */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Base font settings */
html {
  font-size: 16px;
}
body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  color: #c37303;
}

/* Utility containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: #c37303;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  background-color: #c37303;
}
.btn-secondary {
  display: inline-block;
  background-color: #fff;
  color: #c37303;
  padding: 0.75rem 1.5rem;
  border: 2px solid #c37303;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-secondary:hover {
  background-color: #c37303;
  color: #fff;
}

/* ----------------------------------------
   2. HEADER / NAVIGATION
---------------------------------------- */

header {
  background-color: rgba(34, 34, 34, 0.7); /* %30 saydam siyah */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 0.5rem;
}
#logo img {
  height: 50px;
}
.menu-items {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.menu-items li {
  position: relative;
}
.menu-items li a {
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  display: block;
}
.menu-items li a.active,
.menu-items li a:hover {
  background-color: #c37303;
  border-radius: 4px;
}
.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background-color: #333;
  list-style: none;
  min-width: 200px;
  border-radius: 4px;
  overflow: hidden;
}
.submenu li a {
  color: #fff;
  padding: 0.5rem 1rem;
}
.submenu li a:hover {
  background-color: #c37303;
}
.menu-items li:hover > .submenu {
  display: block;
}

/* Hamburger (for mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

/* ----------------------------------------
   3. FOOTER
---------------------------------------- */

.site-footer {
  background-color: #222;
  color: #fff;
  padding: 2rem 1rem;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-col {
  flex: 1;
  min-width: 220px;
}
.footer-col h3 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 1.125rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col ul li a {
  color: #ddd;
  transition: color 0.3s ease;
}
.footer-col ul li a:hover {
  color: #fff;
}
.footer-col p,
.footer-col a {
  color: #ddd;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #888;
}

/* ----------------------------------------
   4. RESPONSIVE FOR COMMON ELEMENTS
---------------------------------------- */

/* Mobile navigation: show hamburger, hide menu-items */
@media (max-width: 768px) {
  .menu-items {
    display: none;
    flex-direction: column;
    gap: 0;
    background-color: #222;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
  }
  .menu-items li {
    width: 100%;
  }
  .menu-items li a {
    padding: 0.75rem 1rem;
  }
  .hamburger {
    display: flex;
  }
  .menu.open .menu-items {
    display: flex;
  }
}
