@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #112240;
  --bg-light: #18304f;
  --card: #162a47;
  --gold: #c3a462;
  --gold-light: #dfbc53;
  --white: #f7f5f2;
  --text: #d8dde7;
  --border: rgba(201, 162, 39, 0.18);

  --heading: "Cormorant Garamond", serif;
  --body: "Inter", sans-serif;

  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);

  --radius: 16px;

  --transition: 0.35s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  width: min(1200px, 90%);
  margin: auto;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title span {
  display: inline-block;
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 0.8rem;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title h2 {
  font-family: var(--heading);
  font-size: 48px;
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 50px;
  transition: var(--transition);
  font-weight: 500;
}

.btn:hover {
  background: var(--gold);
  color: #112240;
  transform: translateY(-3px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: 0.35s;
  padding: 12px 0;
}

.header.scrolled {
  background: rgba(17, 34, 64, 0.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 120px;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 38px;
}

.navbar a {
  position: relative;
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.6px;
  transition: var(--transition);
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.navbar a:hover,
.navbar .active {
  color: var(--gold);
}

.navbar a:hover::after,
.navbar .active::after {
  width: 100%;
}

.menu-btn {
  display: none;
  color: var(--white);
  font-size: 1.5rem;
}

.close-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  transition: 0.3s ease;
}

.close-btn:hover {
  color: var(--gold);
}

/*==============================
HERO
==============================*/

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 50px;

  background-image: url("/images/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-bottom: 1px solid var(--gold);
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(17, 34, 64, 0.95) 0%,
    rgba(17, 34, 64, 0.75) 45%,
    rgba(17, 34, 64, 0.35) 100%
  );
}

/* Decorative glow */
.hero::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;

  background: radial-gradient(
    circle,
    rgba(201, 162, 39, 0.18),
    transparent 70%
  );

  right: -250px;
  top: -180px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05),
    transparent 70%
  );

  left: -200px;
  bottom: -200px;
}

.hero-wrapper {
  width: 100%;
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 650px;
  text-align: left;
    padding: 0 24px;

}

.section-tag {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.82rem;
  margin-bottom: 25px;
}

.hero-content h1 {
  font-family: var(--heading);
  color: var(--white);

  font-size: 56px;
  line-height: 1.1;
  font-weight: 600;

  margin-bottom: 28px;
}

.hero-content p {
  color: var(--text);

  font-size: 1.05rem;
  line-height: 1.8;

  max-width: 560px;

  margin-bottom: 45px;
}

.scroll-down {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 35px;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.scroll-down::after {
  content: "";
  display: block;
  width: 1px;
  height: 55px;
  background: var(--gold);
  margin: 12px auto 0;
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

/* About */
.about {
  background: linear-gradient(to bottom, #112240, #10203b);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gold);
}

.about-content {
  max-width: 850px;
  margin: auto;
  text-align: center;
}

.about-content p {
  font-size: 1.08rem;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.9;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(
    circle,
    rgba(201, 162, 39, 0.08),
    transparent 70%
  );
  top: -150px;
  right: -120px;
}

.about::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(201, 162, 39, 0.08);
  border-radius: 50%;
  left: -120px;
  bottom: 60px;
}

/* Services */
.services {
  background: #10203b;
  border-bottom: 1px solid var(--gold);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.06), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card i {
  font-size: 42px;
  color: var(--gold);
  margin-bottom: 28px;
}

.service-card h3 {
  font-family: var(--heading);
  color: var(--white);
  font-size: 30px;
  line-height: 35px;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card p {
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.8;
}

/* contact */
.contact {
  background: linear-gradient(to bottom, #112240, #10203b);
  border-bottom: 1px solid var(--gold);
}

.contact-box {
  max-width: 700px;
  margin: auto;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 70px 50px;
  transition: var(--transition);
}

.contact-box:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.contact-box i {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 30px;
}

.contact-box h3 {
  font-family: var(--heading);
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 22px;
}

.contact-box h3 a {
  color: var(--white);
  transition: var(--transition);
}

.contact-box h3 a:hover {
  color: var(--gold);
}

.contact-box p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 8px;
}

/* Legal */
.legal {
  background: #10203b;
  border-bottom: 1px solid var(--gold);
}

.legal-accordion {
  max-width: 900px;
  margin: 30px auto 0;
}

.legal-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 22px;
  overflow: hidden;
  transition: 0.35s ease;
}

.legal-item:hover {
  border-color: var(--gold);
}

.legal-header {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--white);
  padding: 28px 35px;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-family: var(--heading);
  font-size: 1.5rem;
  text-align: left;
}

.legal-header i {
  color: var(--gold);
  font-size: 1rem;
  transition: 0.35s ease;
}

.legal-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.legal-body {
  padding: 0 35px 35px;
}

.legal-body p {
  color: var(--text);
  line-height: 1.9;
}

.legal-item.active .legal-header i {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background: #0c1b33;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 100px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 45px;
}

.footer-content img {
  width: 180px;
}

.footer-content p {
  color: #9ba7bb;
  font-size: 0.9rem;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0b1930;
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/*==============================
BACK TO TOP
==============================*/

.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/*==============================
MEDIA 1100px
==============================*/

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*==============================
MEDIA 768px
==============================*/

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    background-position: center;
  }

  .hero-overlay {
    background: rgba(17, 34, 64, 0.85);
  }
  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section {
    padding: 90px 0;
  }

  .section-title h2 {
    font-size: 38px;
  }

  .logo img {
    width: 100px;
  }
  .menu-btn {
    display: block;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 1100;
  }

  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;

    background: var(--bg);

    display: flex;
    flex-direction: column;
    align-items: center;

    padding-top: 100px;
    text-align: center;
    gap: 30px;

    transition: right 0.4s ease;

    z-index: 1000;
  }

  .navbar.show {
    right: 0;
  }

  .navbar .close-btn {
    display: block;
    position: absolute;
    top: 22px;
    right: 22px;
  }

  .navbar a {
    font-size: 18px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 50px 30px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 20px;
    flex-direction: column;
  }
}

/*==============================
MEDIA 576px
==============================*/

@media (max-width: 576px) {
  .container {
    width: 92%;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .service-card {
    padding: 35px 25px;
  }

  .service-card h3 {
    font-size: 26px;
  }

  .contact-box h3 {
    font-size: 28px;
    word-break: break-word;
  }

  .contact-box {
    padding: 45px 20px;
  }

  .btn {
    width: 100%;
  }

  .back-to-top {
    width: 46px;
    height: 46px;
    right: 18px;
    bottom: 18px;
  }
}

/*==============================
LARGE SCREENS
==============================*/

@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
  }

  .section-title h2 {
    font-size: 56px;
  }
}
