/*
Theme Name: Mustafa Bootstrap Theme v2
Theme URI: http://example.com/
Author: Mustafa
Author URI: http://example.com/
Description: A clean Bootstrap 5 starter theme with proper WP navigation styling.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mustafa-bootstrap-v2
*/
body{
	padding: 0px;
	margin 0px;
	max-width:100%;
	overflow-x: hidden;
}

/* Header */
.site-header {
  background: #FFF;
  color: #fff;
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.site-logo img {
  max-height: 50px;
}

.site-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

/* Hamburger toggle button */
.nav-toggle {
  display: none; /* hidden on desktop */
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #000000;
  cursor: pointer;
}

/* Nav Menu */
.nav-menu, 
.nav-menu ul {
  list-style: none;   /* remove bullets */
  margin: 0;
  padding: 0;
}

.nav-menu {
  display: flex;       /* horizontal top-level menu */
  gap: 20px;
}

.nav-menu li {
  position: relative;  /* for dropdowns */
}

.nav-menu li a {
  text-decoration: none;
  color: #017898 !important;  /* force white color */
  font-weight: 700;
  font-size: 18px;
  padding: 8px 12px;
  display: block;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #0d6efd !important;
}

/* Dropdown submenu (for future sub-items) */
.nav-menu li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  padding: 10px 0;
  min-width: 180px;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 99;
}

.nav-menu li:hover > ul.sub-menu {
  display: flex;  /* show on hover desktop */
}

.nav-menu li ul.sub-menu li a {
  padding: 8px 15px;
  color: #fff;
}

.nav-menu li ul.sub-menu li a:hover {
  background: #222;
  color: #0d6efd;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }

  .site-logo { order: 1; }
  .nav-toggle { order: 2; margin-left: auto; display: block; }
  .main-nav { order: 3; width: 100%; }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    /*background: #111;*/
    margin-top: 25px;
  }

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

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #333;
  }

  .nav-menu li a {
    padding: 0.75rem 1rem;
  }

  /* Mobile submenus */
  .nav-menu li ul.sub-menu {
    position: static;
    display: none;
    background: #222;
    box-shadow: none;
  }

  .nav-menu li.open > ul.sub-menu {
    display: block;
  }
}

/*Comments template*/

/* Comments wrapper */
.comments {
    margin-top: 2rem;
}

/* Comment list */
.comments ul {
    list-style: none;
    padding-left: 0;
}

/* Individual comment */
.comments li.comment {
    border: 1px solid #ddd;
    border-radius: 0.375rem; /* Bootstrap card radius */
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa; /* light gray */
}

/* Comment author */
.comments .comment-author {
    font-weight: 600;
    color: #0d6efd; /* Bootstrap primary color */
}

/* Comment metadata (date/time) */
.comments .comment-meta {
    font-size: 0.875rem;
    color: #6c757d; /* muted */
    margin-bottom: 0.5rem;
}

/* Comment content */
.comments .comment-content {
    font-size: 1rem;
    color: #212529;
}

/* Reply link */
.comments .reply a {
    font-size: 0.875rem;
    color: #0d6efd;
    text-decoration: none;
}

.comments .reply a:hover {
    text-decoration: underline;
}

/* Comment form */
.comments #commentform {
    margin-top: 2rem;
}

.comments #commentform input,
.comments #commentform textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
}

.comments #commentform input:focus,
.comments #commentform textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
    outline: none;
}

/* Submit button */
.comments #submit {
    background-color: #0d6efd;
    color: #fff;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
}

.comments #submit:hover {
    background-color: #0b5ed7;
}
