/* =============================================================== */
/* -------------------------- GLOBAL RESET ------------------------ */
/* =============================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}

html, body {
  background-color: #f5f7fa;
  color: #333;
  overflow-x: hidden;
}

/* =============================================================== */
/* ------------------------------ NAVBAR --------------------------- */
/* =============================================================== */

nav {
  background-color: #111827;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  position: fixed;
  width: 100%;
  height: 75px;
  z-index: 1000;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav .logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

nav .logo span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffcc00;
}

/* Dropdown */
nav ul li.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #0b2338;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 10px 0;
  border-radius: 5px;
}

nav ul li.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  padding: 10px 15px;
  display: block;
  color: white;
  transition: 0.3s;
}

.dropdown-menu a:hover {
  background-color: #103652;
  color: #ffcc00;
}

/* =============================================================== */
/* ------------------------- HAMBURGER MENU ------------------------ */
/* =============================================================== */

/* Always hidden until mobile. */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 4px;
  transition: 0.3s;
}

/* =============================================================== */
/* --------------------------- CONTACT HEADER ---------------------- */
/* =============================================================== */

.contact-header {
  text-align: center;
  padding: 120px 10px 30px;
  background-color: var(--light-bg);
}

.contact-title {
  font-size: 50px;
  color: var(--text-dark);
  font-weight: bold;
}

.contact-title .line {
  color: var(--gold);
}

.contact-header p {
  font-size: 22px;
  color: var(--text-grey);
}

/* =============================================================== */
/* -------------------------- HERO SECTION ------------------------ */
/* =============================================================== */

.hero {
  background-image: url('main background.png');
  background-size: cover;
  background-position: center;
  height: 100vh;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: white;
  padding: 0 20px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

/* Typing text */
.typing-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  width: auto;
  padding-right: 2px;
  animation: typing 2.5s forwards, blink .8s infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.animate-title {
  z-index: 2;
  font-size: 50px;
  font-weight: 700;
}

.tagline {
  font-size: 24px;
  margin-top: 12px;
  z-index: 2;
}

/* =============================================================== */
/* -------------------------- ABOUT SECTION ------------------------ */
/* =============================================================== */

.about-wrapper {
  padding: 70px 20px;
  display: flex;
  justify-content: center;
}

.about-card {
  background: white;
  border-radius: 20px;
  padding: 50px;
  display: flex;
  gap: 60px;
  max-width: 1250px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
  align-items: center;
}

.about-text {
  flex: 1;
  padding-left: 20px;
}

.about-subtitle {
  font-size: 18px;
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.about-title {
  font-size: 33px;
  font-weight: 700;
  color: #0b2338;
  font-family: "Playfair Display", serif;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 14px;
}

.about-btn {
  padding: 12px 26px;
  background: #0b2338;
  color: white;
  border-radius: 6px;
  display: inline-block;
  text-decoration: none;
  margin-top: 10px;
  transition: 0.3s;
}

.about-btn:hover {
  background: #123b5c;
}

.about-img {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.about-img img {
  width: 480px;
  max-width: 100%;
  border-radius: 12px;
  margin-left: 40px;
  margin-right: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* =============================================================== */
/* ------------------------------ FOOTER --------------------------- */
/* =============================================================== */

footer {
  background: #111827;
  color: #e5e7eb;
  padding: 60px 60px 30px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: #e5e7eb;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #60a5fa;
}

.footer-col p {
  margin-bottom: 8px;
}

.privacy-bar-wrapper {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #374151;
}

.privacy-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.privacy-bar a {
  color: #9ca3af;
}

/* =============================================================== */
/* -------------------------- RESPONSIVE --------------------------- */
/* =============================================================== */

/* Mobile Navigation */
@media (max-width: 820px) {

  /* Show hamburger */
  .hamburger {
    display: flex;
  }

  /* Convert nav list to mobile sliding panel */
  nav ul {
    position: absolute;
    top: 75px;
    right: -100%;
    width: 250px;
    flex-direction: column;
    background: #0b2338;
    padding: 20px;
    transition: 0.3s ease;
    display: flex;
    gap: 18px;
  }

  nav ul.mobile-nav-active {
    right: 0;
  }

  /* Mobile dropdown closed */
  nav ul li.dropdown .dropdown-menu {
    display: none;
    position: static;
    background: transparent;
    padding-left: 10px;
  }

  /* Open dropdown when JS adds .open */
  nav ul li.dropdown.open .dropdown-menu {
    display: block;
  }
}

/* Tablets */
@media (max-width: 992px) {
  nav { padding: 12px 25px; }
  .about-card { gap: 25px; padding: 30px; }
}

/* Tablets / Large Phones */
@media (max-width: 768px) {

  .hero .animate-title { font-size: 40px; }
  .tagline { font-size: 20px; }

  .about-card {
    flex-direction: column;
    text-align: center;
  }

  .about-img {
    justify-content: center;
  }

  .about-img img {
    margin: 0;
    width: 80%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Phones */
@media (max-width: 576px) {
  nav { padding: 10px 15px; }
  nav .logo img { height: 52px; }

  .animate-title { font-size: 32px; }
  .tagline { font-size: 17px; }

  .typing-text { width: 18ch; }

  .about-wrapper { padding: 40px 10px; }
  .about-card { padding: 22px; }

  .footer-grid { grid-template-columns: 1fr; }

  .privacy-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Extra Small Phones */
@media (max-width: 360px) {
  .animate-title { font-size: 26px; }
  .tagline { font-size: 15px; }
}
