* {
  box-sizing: border-box;
}

:root {
  --navy: #0b2d4d;
  --orange: #e86f12;
  --white: #ffffff;
  --soft-white: #f7f9fb;
  --text-dark: #122033;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text-dark);
}

/* Whole site wrapper */
.site-wrapper {
  width: 96%;
  margin: 20px auto;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--navy);
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  min-height: 45px;
  padding: 0 28px;
  width: 100%;
}

.top-bar::before {
  content: "";
  flex: 1;
}

/* Top Bar Links */
.top-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-left: auto;
  width: auto;
}

.top-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.top-links a:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.45);
  padding-right: 14px;
}

.top-links a:hover {
  color: var(--orange);
}

/* Main Header */
.main-header {
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 36px;
  border-bottom: 5px solid var(--orange);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-image {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--orange);
}

.site-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: bold;
  color: var(--navy);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2.5px;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--orange);
}

.main-nav a.active {
  color: var(--orange);
}

.search-icon {
  font-size: 1.6rem;
  color: var(--navy);
}

/* Homepage Hero Banner */
.hero-banner {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 5px solid var(--orange);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 45, 77, 0.42);
  z-index: 1;
}

.hero-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-align: center;
  padding: 40px;
}

.hero-text h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  margin: 0 0 18px;
  color: var(--white);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.hero-text p {
  max-width: 850px;
  margin: 0;
  font-size: 2rem;
  line-height: 1.35;
  font-weight: bold;
  color: var(--white);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

/* Homepage Main Content */
.content-section {
  background: var(--white);
  padding: 70px 8%;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  max-width: 1500px;
  margin: 0 auto;
  align-items: stretch;
}

.content-card {
  background: var(--soft-white);
  border-left: 10px solid var(--orange);
  padding: 45px 55px;
  box-shadow: 0 12px 28px rgba(11, 45, 77, 0.14);
  height: 100%;
}

.content-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: 3rem;
  margin: 0 0 25px;
}

.content-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 24px;
}

/* Our Story Page Hero with Background Image */
.story-hero {
  position: relative;
  height: 520px;
  background:
    linear-gradient(
      rgba(11, 45, 77, 0.50),
      rgba(11, 45, 77, 0.50)
    ),
    url("pas-luna-story.png");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  background-color: var(--navy);
  padding: 90px 12%;
  text-align: center;
  border-bottom: 5px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-hero-text {
  max-width: 950px;
  margin: 0 auto;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.story-hero-text h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  margin: 0 0 20px;
  color: var(--white);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.story-hero-text p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 0;
  color: var(--white);
  font-weight: bold;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

/* Our Story Content */
.story-content {
  background: var(--white);
  padding: 70px 12%;
}

.story-card {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--soft-white);
  padding: 50px 60px;
  border-left: 10px solid var(--orange);
  box-shadow: 0 12px 28px rgba(11, 45, 77, 0.14);
}

.story-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: 3rem;
  margin: 0 0 28px;
}

.story-card p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-dark);
  margin-bottom: 24px;
}

/* Footer Section */
.site-footer {
  background: var(--navy);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding: 55px 70px;
  border-top: 5px solid var(--orange);
  align-items: center;
}

.footer-logo {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--orange);
  background: var(--white);
  margin-bottom: 22px;
}

.footer-left p {
  margin: 8px 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
}

.footer-copy {
  font-weight: bold;
  font-size: 1.1rem !important;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-button {
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 13px 34px;
  border-radius: 8px;
  border: 2px solid var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.footer-button:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--orange);
}

.footer-button.secondary {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--white);
}

.footer-button.secondary:hover {
  background: var(--orange);
  color: var(--white);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 70px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--orange);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.footer-socials a:hover {
  background: var(--orange);
  color: var(--white);
}

.privacy-link {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.privacy-link:hover {
  color: var(--orange);
}

/* Mobile Layout */
@media (max-width: 950px) {
  .site-wrapper {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .top-bar {
    justify-content: center;
    padding: 0 14px;
  }

  .top-bar::before {
    display: none;
  }

  .top-links {
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
    padding: 14px;
    gap: 10px;
  }

  .top-links a {
    font-size: 0.75rem;
  }

  .main-header {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .logo-area {
    flex-direction: column;
  }

  .main-nav {
    flex-direction: column;
    gap: 16px;
  }

  .hero-banner {
    height: 430px;
  }

  .hero-text h1 {
    font-size: 3.4rem;
  }

  .hero-text p {
    font-size: 1.35rem;
  }

  .content-section {
    padding: 45px 22px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-card {
    padding: 32px 26px;
  }

  .content-card h2 {
    font-size: 2.4rem;
  }

  .story-hero {
    height: 430px;
    padding: 65px 24px;
    background-size: cover;
    background-position: center 35%;
  }

  .story-hero-text h1 {
    font-size: 3.4rem;
  }

  .story-hero-text p {
    font-size: 1.25rem;
  }

  .story-content {
    padding: 45px 22px;
  }

  .story-card {
    padding: 35px 28px;
  }

  .story-card h2 {
    font-size: 2.3rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 45px 24px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    align-items: center;
  }

  .footer-right {
    gap: 28px;
  }

  .footer-socials {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Founder Section */
.founder-section {
  background: var(--white);
  padding: 20px 8% 80px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 45px;
  max-width: 1500px;
  margin: 0 auto;
  align-items: stretch;
}

.founder-image-box {
  background: var(--soft-white);
  border-left: 10px solid var(--orange);
  box-shadow: 0 12px 28px rgba(11, 45, 77, 0.14);
  padding: 22px;
  height: 100%;
}

.founder-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.founder-card {
  background: var(--soft-white);
  border-left: 10px solid var(--orange);
  padding: 45px 55px;
  box-shadow: 0 12px 28px rgba(11, 45, 77, 0.14);
  height: 100%;
}

.founder-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: 3rem;
  margin: 0 0 25px;
}

.founder-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 24px;
}

/* Mobile Founder Section */
@media (max-width: 950px) {
  .founder-section {
    grid-template-columns: 1fr;
    padding: 20px 22px 55px;
    gap: 30px;
  }

  .founder-image {
    min-height: 380px;
  }

  .founder-card {
    padding: 32px 26px;
  }

  .founder-card h2 {
    font-size: 2.4rem;
  }
}

/* Our Story Text + Image Grid Layout */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  max-width: 1500px;
  margin: 0 auto;
  align-items: stretch;
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--soft-white);
  padding: 18px;
  box-shadow: 0 12px 28px rgba(11, 45, 77, 0.14);
}

.story-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Mobile Our Story Gallery */
@media (max-width: 950px) {
  .story-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-gallery {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }

  .story-gallery img {
    height: 190px;
  }
}

@media (max-width: 550px) {
  .story-gallery {
    grid-template-columns: 1fr;
  }

  .story-gallery img {
    height: 240px;
  }
}

/* Fix Our Story photo grid spacing */
.story-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-template-rows: repeat(2, 1fr) !important;
  gap: 12px !important;
  background: var(--soft-white) !important;
  padding: 18px !important;
  box-shadow: 0 12px 28px rgba(11, 45, 77, 0.14) !important;
  height: 100% !important;
  align-self: stretch !important;
}

.story-gallery img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
