/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Child theme for GeneratePress
 Author:       Suhail
 Author URI:   https://futuresoch.local/
 Template:     generatepress
 Version:      1.0.0
*/

/* ----------------------
  Custom Header Bar
------------------------- */
.custom-main-bar {
  background: #000;
  color: #fff;
  padding: 15px 40px;
}

.container-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.bar-left,
.bar-center,
.bar-right {
  flex: 1;
}

.bar-left {
  text-align: left;
  font-size: 14px;
}

.bar-center {
  text-align: center;
}

.bar-center img {
  max-height: 60px;
  height: auto;
  width: auto;
}

.bar-right {
  text-align: right;
}

.bar-right a {
  color: #989898;
  margin-left: 15px;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bar-right a:hover {
  color: #ffff;
}

/* Separator line below header */
.header-separator {
  border-top: 1px solid #333;
  margin: 0;
}

/* ----------------------
  Main Navigation
------------------------- */
.main-navigation .main-nav ul {
  display: flex;
  justify-content: space-around; /* or space-evenly */
  flex-wrap: nowrap; /* prevent wrapping */
  white-space: nowrap; /* keep text in one line */
}

.main-navigation .main-nav ul li a {
  padding: 10px 15px;
  line-height: 1.2;
  color: #ffff; /* change if needed */
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item a {
  color: #007bff; /* highlight color */
}

/* ----------------------
  Secondary Menu Bar
------------------------- */
.secondary-bar {
  background: #000;
  display: flex;
  justify-content: space-between; /* menu left, email right */
  align-items: center;
  padding: 0 30px;
  flex-wrap: wrap;
  font-size: 14px
}

.secondary-menu-wrap {
  display: flex;
}

.secondary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.secondary-menu li {
  margin: 0 12px;
}

.secondary-menu li a {
  color: #989898;
  text-decoration: none;
  padding: 10px 0;
  display: inline-block;
  transition: color 0.3s ease;
}

.secondary-menu li a:hover,
.secondary-menu li.current-menu-item a {
  color: #ffff;
}

.secondary-right a {
  color: #989898;
  text-decoration: none;
  padding: 10px 0;
  display: inline-block;
  transition: color 0.3s ease;
}

.secondary-right a:hover {
  color: #ddd;
}

/* ----------------------
  Responsive Adjustments
------------------------- */
@media (max-width: 768px) {
  .container-bar,
  .secondary-bar {
    flex-direction: column;
    align-items: center;
  }

  .bar-left,
  .bar-center,
  .bar-right,
  .secondary-right {
    text-align: center;
    margin: 5px 0;
  }

  .secondary-menu {
    justify-content: center;
  }
}


/* ----------------------
  Footer 3 Bars
------------------------- */
.custom-footer {
    font-size: 11px;
    color: #989898;
    background: #111;
}

/* Top Bar */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 50px;
    background: #222;
    flex-wrap: wrap;
}

.footer-top-left a {
    color: #989898;
    margin-right: 10px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-top-left a:hover {
    color: #ffff;
}

.footer-top-right a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.footer-top-right a:hover {
    color: #989898;
}

/* Middle Bar */
.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #000;           /* dark background */
    flex-wrap: wrap;
    gap: 10px;
}

.footer-middle-left {
    flex: 1;
}

.footer-middle-left img {
    max-height: 50px;           /* slightly taller logo */
    width: auto;
    display: block;
    margin: 15px 0;             /* vertical spacing */
}

.footer-middle-left p {
    margin: 5px 0;
    color: #989898;             /* subtle text color */
    font-size: 11px;
    line-height: 1.5;
}

.footer-middle-left a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.footer-middle-left a:hover {
    color: #ffcc00;             /* optional highlight */
}

.footer-middle-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;                  /* spacing between items */
}

.footer-middle-right span {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 11px;
    color: #989898;
}

.footer-middle-right i {
    margin-right: 8px;          /* consistent spacing with text */
    color: #ffcc00;             /* icon color */
}

.footer-middle-right a {
    color: #989898;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-middle-right a:hover {
    color: #ffffff;
}


/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background: #111;
    flex-wrap: wrap;
}

.footer-bottom-left {
    flex: 1;
}

.footer-bottom-left a {
    color: #fff;
    text-decoration: none;
    margin-right: 10px;
    transition: color 0.3s ease;
}	

.footer-bottom-left a:hover {
    color: #989898;

	
.footer-bottom-right {
    flex: 1;
    text-align: right;
}

.footer-bottom-right a {
    color: #fff;
    text-decoration: none;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: #ffff;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-top,
    .footer-middle,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-middle-right {
        justify-content: center;
        margin-top: 10px;
    }

    .footer-middle-right span {
        margin: 5px 10px;
    }

    .footer-bottom-right {
        margin-top: 5px;
        text-align: center;
    }
}


//* Logo zoom on hover */
.logo-zoom {
    display: inline-block !important;
}

.logo-zoom img.custom-logo {
    display: block !important;
    width: auto !important;       /* override WP inline width */
    height: auto !important;      /* override WP inline height */
    max-width: 100% !important;   /* responsive */
    transition: transform 0.3s ease;
}

.logo-zoom:hover img.custom-logo {
    transform: scale(1.1); /* 110% zoom */
}


.single-header { margin-bottom: 20px; }
.single-title { font-size: 36px; color: #fff; }
.single-meta span { margin-right: 15px; color: #989898; }
.single-content { font-size: 16px; color: #ccc; line-height: 1.7; }
.single-footer .tags { margin-top: 30px; color: #fff; }
