/*
Theme Name: SKYBRIZ Custom Theme – Ocean Style
Theme URI: https://skybriz.com
Author: SKYBRIZ LLC
Author URI: https://skybriz.com
Description: A custom lightweight theme built for SKYBRIZ, with a modern blue ocean color palette.
Version: 1.3
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(160deg, #001d3d, #0077b6);
  background-attachment: fixed;
  background-size: cover;
  color: #dfeeff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#page-container {
  flex: 1;
  padding: 20px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  animation: fadeInContent 1s ease forwards;
}

/* ========== HEADER STYLES ========== */
.skybriz-header {
  background: linear-gradient(135deg, #003566, #00b4d8);
  padding: 5px 0;
  border-radius: 10px;
  color: white;
}

.skybriz-header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0px;
  height: 70px;
  box-sizing: border-box;
}

.left-zone {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.center-zone {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-zone img {
  height: 70px;
  max-width: 160px;
  object-fit: contain;
}

.right-zone {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  font-size: 28px;
  color: white;
  cursor: pointer;
  display: none;
}

.auth-links img {
  height: 32px;
  width: 32px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.auth-links a:hover img {
  transform: scale(1.1);
}

.dropdown-wrapper {
  position: relative;
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  background: #1e293b;
  border: 1px solid #00d4ff44;
  border-radius: 8px;
  min-width: 160px;
  box-shadow: 0 0 10px rgba(0,212,255,0.2);
  z-index: 9999;
  padding: 0.5rem 0;
}

.user-dropdown a {
  display: block;
  padding: 10px 15px;
  color: #e2f1ff;
  text-decoration: none;
  font-size: 0.95rem;
}

.user-dropdown a:hover {
  background-color: #00a3cc33;
}

.skybriz-nav .nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.skybriz-nav .nav-menu li a {
  background: #3ecf8e;
  border: 1px solid #3ecf8e;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.7);
  color: #000 !important;
  font-weight: bold;
  padding: 0 10px;
  line-height: 1;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.skybriz-nav .nav-menu li a:hover,
.skybriz-nav .current-menu-item a {
  background: #26b07c;
  border-color: #26b07c;
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.9), 0 0 20px rgba(0, 217, 255, 0.7);
  color: #00f0ff !important;
}

/* ========== MAIN SECTION ========== */
main {
  margin-top: 30px;
  background-color: rgba(13, 36, 69, 0.9);
  padding: 0px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.1);
  flex: 1 0 auto;
  animation: fadeInContent 1s ease forwards;
}

/* ========== FOOTER ========== */
footer {
  background-color: #001d3d;
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  margin-top: auto;
  opacity: 0;
  animation: fadeInFooter 1.2s ease forwards;
  animation-delay: 0.3s;
}

footer .footer-center a {
  padding: 6px 10px;
  margin: 0 4px;
  background: #3ecf8e;
  color: #001219;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 0 6px rgba(0, 217, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

footer .footer-center a:hover,
footer .footer-center a:focus {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.8);
  outline: none;
}

footer .footer-right {
  font-style: italic;
  font-size: 14px;
  animation: slideInRight 1s ease-out forwards;
  opacity: 0;
  transform: translateX(50px);
  animation-delay: 1s;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInContent {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInFooter {
  to { opacity: 1; }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInNav {
  to { opacity: 1; }
}

/* ========== MOBILE HEADER ========== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .skybriz-header .header-container {
    flex-direction: row;
    align-items: center;
    height: auto;
    padding: 10px 15px;
  }

  .center-zone {
    flex: 1;
    justify-content: center;
    position: static;
    transform: none;
  }

  .right-zone {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 5;
  }

  .skybriz-nav .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 29, 61, 0.97);
    padding: 20px 0;
    z-index: 999;
    border-top: 1px solid #0077b6;
  }

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

  .skybriz-nav .nav-menu li {
    margin: 10px 0;
    text-align: center;
  }

  .skybriz-nav .nav-menu li a,
  .auth-button {
    font-size: 14px;
    padding: 8px 12px;
    width: 90%;
    margin: 0 auto;
  }

  .skybriz-section {
    margin-top: 20px !important;
    padding: 30px 20px;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  body.home .skybriz-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding: 30px 20px;
    border-radius: 0 !important;
    margin-top: 20px !important;
  }
}
