@import "styles/normalize.css";

@import "styles/main.css";

/* Base Styles */

@font-face {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  src: url("assets/fonts/Lato-Regular.ttf") format(ttf);
}

@font-face {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  src: url("assets/fonts/Lato-Bold.ttf") format(ttf);
}

@font-face {
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  src: url("assets/fonts/WorkSans-Regular.ttf") format(ttf);
}

@font-face {
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  src: url("assets/fonts/WorkSans-Bold.ttf") format(ttf);
}

* {
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  transition: all 0.3s ease;
}

html {
  font-size: 1rem;
  font-family: "Lato", sans-serif;
  scroll-behavior: smooth;
}

@media (min-width: 2401px) {
  html {
    font-size: 13px;
  }
}

@media (min-width: 2201px) and (max-width: 2400px) {
  html {
    font-size: 12px;
  }
}

@media (min-width: 1901px) and (max-width: 2200px) {
  html {
    font-size: 12px;
  }
}

@media (min-width: 1500px) and (max-width: 1900px) {
  html {
    font-size: 12px;
  }
}

@media (max-width: 1500px) and (min-width: 1300px) {
  html {
    font-size: 12px;
  }
}

@media (max-width: 1299px) {
  html {
    font-size: 11px;
  }
}

*::-webkit-scrollbar,
html *::-webkit-scrollbar {
  height: 1rem;
  width: 1rem;
}

*::-webkit-scrollbar-track,
html *::-webkit-scrollbar-track {
  background: rgb(245, 241, 241);
}

*::-webkit-scrollbar-thumb,
html *::-webkit-scrollbar-thumb {
  background-color: rgb(69, 46, 36);
  border-radius: 1rem;
  border: 1px solid rgb(230, 230, 240);
}

body {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: "Lato";
}

.main {
  width: 100%;
  min-height: calc(100vh - 60px);
  position: relative;
  flex-grow: 2;
}

a,
button {
  text-decoration: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.img {
  width: 100%;
  max-width: 500px;
}
.img_icon {
  width: 100%;
  max-width: 150px;
  border-radius: 10px;
}
.img_max {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}
.img_icon:hover {
  transform: scale(1.1);
}
.flex_box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.color_w {
  color: white;
}
.color_w:hover {
  color: rgb(250, 226, 158);
}
.dn {
  display: none;
}
.pb_2 {
  padding-bottom: 20px;
}
.max_w_100 {
  max-width: 100%;
}
.tc {
  text-align: center;
}
.w_100 {
  width: 100%;
}

/* Calendar item visibility control */
.seaquest-calendar-item.hidden {
  display: none !important;
}

/* Reset display for visible items to inherit original styles */
.seaquest-calendar-item.visible {
  display: flex !important; /* Restore original display: flex from main.css */
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ Answer Animation Styles */
.seaquest-faq-item__answer {
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  overflow: hidden;
}

/* Mobile FAQ adjustments */
@media (max-width: 768px) {
  .seaquest-faq-item__answer {
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    line-height: 1.6;
  }

  .seaquest-faq-item__answer p {
    margin-bottom: 1rem;
  }

  .seaquest-faq-item__answer:last-child {
    margin-bottom: 0;
  }
}

/* Minimal Thanks Page Styles */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
  padding: 2rem;
}

.thanks-content {
  text-align: center;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 100%;
}

.thanks-icon {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 1.5rem;
}

.thanks-title {
  font-size: 2.5rem;
  color: #0a1628;
  margin-bottom: 1rem;
  font-weight: 700;
}

.thanks-text {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.thanks-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0a1628;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.thanks-button:hover {
  background: #1e3a5f;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .thanks-content {
    padding: 2rem;
  }

  .thanks-title {
    font-size: 2rem;
  }

  .thanks-text {
    font-size: 1rem;
  }
}

/* Blog Page CSS Classes - Replace Inline Styles */
.seaquest-blog-card__full-content {
  display: none;
}

.seaquest-blog-card__full-content.visible {
  display: block;
}

.seaquest-blog-card__excerpt.hidden {
  display: none;
}

.seaquest-blog-card.filtered-hidden {
  display: none;
}

.seaquest-blog-card__read-more i.rotated {
  transform: rotate(180deg);
}

.seaquest-blog-card {
  transition: transform 0.3s ease;
}

.seaquest-blog-card:hover {
  transform: translateY(-15px);
}

.seaquest-blog-posts__load-more-btn.loading {
  background: rgba(0, 168, 204, 0.3);
  cursor: default;
}

.seaquest-blog-newsletter__submit.success {
  background: #4caf50;
}

.seaquest-header.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.seaquest-header.scrolled.hidden {
  transform: translateY(-100%);
}

.seaquest-header.hidden {
  transform: translateY(-100%);
}

/* Animation for scroll elements */
.seaquest-blog-card,
.seaquest-blog-category {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.seaquest-blog-card.animated,
.seaquest-blog-category.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Animation keyframes */
@keyframes seaquest-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Toast Notification Styles */
.seaquest-toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: white;
  color: #333;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  border-left: 4px solid #0a1628;
}

.seaquest-toast.show {
  transform: translateX(0);
}

.seaquest-toast--success {
  border-left-color: #28a745;
}

.seaquest-toast--error {
  border-left-color: #dc3545;
}

.seaquest-toast--warning {
  border-left-color: #ffc107;
}

.seaquest-toast--info {
  border-left-color: #17a2b8;
}

.seaquest-toast__close {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.seaquest-toast__close:hover {
  background-color: #f5f5f5;
}

@media (max-width: 768px) {
  .seaquest-toast {
    right: 1rem;
    left: 1rem;
    min-width: auto;
  }
}
