/* -------------------------
   Base / Global Styling
-------------------------- */
body, html {
  margin: 0;
  padding: 0;
  padding-top: 0px;
  font-family: 'Inter', sans-serif;
  color: #35281d;
  background-color: #dbe9ee;
  background-image: url('../images/TreeFoil.svg');
  background-repeat: repeat;
  background-size: 120px auto;
  background-position: top left;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #35281d;
}

/* -------------------------
   Navbar
-------------------------- */
.navbar {
  background: #3c685a;
  padding: 1.2rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar li {
  margin: 0 0.5rem;
}

.navbar a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.navbar a:hover {
  background-color: #bc5f04;
  color: #fff;
}

@media (max-width: 768px) {
  .navbar {
    height: 70px; /* set fixed height */
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
  }

  .navbar li {
    margin: 0.6rem 0;
  }

  .navbar a {
    padding: 0.7rem 1.2rem;
    font-size: 1.1rem;
    width: 90vw;
    max-width: 300px;
    text-align: center;
  }

  body > main,
  body > .page-container > main {
    padding-top: 70px; /* match navbar height */
  }
}


/* -------------------------
   Top Header Logo
-------------------------- */
.top-logo-container {
  background-color: transparent;
  text-align: center;
  padding: 0.5rem 0;
  border-bottom: 2px solid #3c685a;
}


.top-logo-container img {
  width: 96%;
  max-width: 1400px;
  height: auto;
  display: block;
  margin: 0 auto;
  animation: fadeSlideDown 0.4s ease-in-out;
}

/* -------------------------
   Hero Video
-------------------------- */
.hero-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-video .overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 2rem;
}

/* -------------------------
   Buttons
-------------------------- */
.btn, button {
  background-color: #bc5f04;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 1rem 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.btn:hover, button:hover {
  background-color: #FFA400;
}

/* -------------------------
   Featured Riley Section
-------------------------- */
.featured-riley-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 4rem 2rem;
  flex-wrap: wrap;
  background-color: #ffffff;
}

.riley-image img {
  max-width: 400px; /* bigger image */
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.riley-text {
  max-width: 480px;
}

.riley-text h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.riley-text p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #555555; /* slightly lighter for paragraph */
}

.button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1rem; /* optional spacing */
}

@media (max-width: 768px) {
  .featured-riley-row {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    position: relative;
  }

  .riley-image {
    display: none; /* 👈 this line hides the image on mobile */
  }

  .riley-text {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1;
    margin-top: 0; /* reset any overlap */
  }
}

/* -------------------------
   About Page
-------------------------- */
/* Container for about page content */
.about-section {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

/* Responsive image scaling */
.about-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .about-section {
    width: 95%;
    padding: 0.5rem;
  }

  .about-img {
    width: 100%;
  }

  .text-box h1 {
    font-size: 1.8rem;
  }

  .text-box p {
    font-size: 1rem;
  }

  /* Adjust navbar padding to prevent overlap */
  body > main,
  body > .page-container > main {
    padding-top: 70px; /* matches your navbar height on mobile */
  }
}

.riley-hero-crop {
  max-width: 400px;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* -------------------------
   Investments Page
-------------------------- */
.investment-section {
  max-width: 1000px;
  margin: auto;
  padding: 4rem 2rem;
  line-height: 1.6;
}

.investment-section h1,
.investment-section h2 {
  text-align: center;
}

.investment-images {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.investment-images img {
  max-width: 100%;
  width: 400px;
  border-radius: 10px;
  object-fit: cover;
}

/* -------------------------
   Form Styling
-------------------------- */
form {
  max-width: 700px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

form label {
  font-weight: bold;
}

form input,
form select,
form textarea {
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* -------------------------
   CTA Home Section
-------------------------- */
.cta-home {
  display: flex;
  align-items: center;
  gap: 3rem; /* more space between image and text */
  padding: 3.5rem 3rem;
  background-color: #ffffff;
  max-width: 900px; /* a bit wider container */
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  text-align: left;
  flex-wrap: nowrap;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* clean font */
  color: #333333; /* dark but soft text */
}

.cta-home h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-home p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* -------------------------
   Hover Image Overlay
-------------------------- */
.hover-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 10px;
}

.hover-container img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  transition: transform 0.3s ease;
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 1.5rem;
  font-weight: bold;
}

.hover-container:hover img {
  transform: scale(1.05);
}

.hover-container:hover .hover-overlay {
  opacity: 1;
}

/* -------------------------
   Swiper Styles
-------------------------- */
.swiper {
  width: 100%;
  padding: 2rem 0;
}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.swiper-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.swiper-button-next,
.swiper-button-prev {
  color: #ffffff !important;
  top: 45%;
}

.swiper-pagination-bullet {
  background: #ffffff;
}

/* -------------------------
   Lightbox
-------------------------- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.lightbox .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* -------------------------
   Animations
-------------------------- */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------
   Frame SVG Styling
-------------------------- */
.frame-logo {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 2rem auto;
}

@media (max-width: 768px) {
  .frame-logo {
    width: 80%;
    max-width: 300px;
    margin: 1.5rem auto;
  }
}

/* -------------------------
   Responsive
-------------------------- */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5rem 1rem;
  }

  .navbar a {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .frame-logo {
    width: 90%;
  }

  .featured-riley-row {
    flex-direction: column;
    text-align: center;
  }

  .hover-container img {
    max-width: 100%;
  }

  .btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 2rem 1rem;
  }

  .portfolio-section h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .portfolio-item {
    width: 90%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  .portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  .portfolio-item p {
    font-size: 1rem;
    padding: 0.75rem;
    text-align: center;
  }
}

/* -------------------------
   Footer Styling
-------------------------- */
.site-footer {
  background-color: #3c685a;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

.site-footer p {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-socials a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #FFA400;
}

.footer-socials img {
  width: 20px;
  height: 20px;
  display: inline-block;
}

/* -------------------------
   Contact Info Section
-------------------------- */
.contact-info-section {
  background-color: #ffffff;
  padding: 3rem 1rem 2rem;
  border-top: 2px solid #3c685a;
  display: flex;
  justify-content: center;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border: 2px solid #3c685a;
  border-radius: 10px;
  background-color: #f0f6f7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-logo {
  width: 240px;
  height: auto;
  flex-shrink: 0;
}


.contact-info {
  color: #35281d;
  font-size: 1.1rem;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.contact-divider {
  width: 60px;
  height: 2px;
  background-color: #3c685a;
  border: none;
  margin: 0.5rem auto 1rem;
}

.contact-info h3 {
  margin-bottom: 0.5rem;
  color: #3c685a;
  font-size: 1.5rem;
}

.contact-info p {
  line-height: 1.8;
  margin-top: 0.5rem;
}

.contact-info a {
  color: #bc5f04;
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  color: #FFA400;
}

.contact-header {
  text-align: left;
  padding: 4rem 2rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #35281d;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-header .intro-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #5b4c3a;
  line-height: 1.8;
  max-width: 700px;
}

@media (max-width: 768px) {
  .contact-box {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    text-align: center;
  }
}

/* -------------------------
   Contact Intro Text Formatting
-------------------------- */
.contact-header h1 {
  font-family: 'Playfair Display SC', serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #35281d;
  text-align: center;
  margin-bottom: 1.2rem;
}

.contact-header .intro-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #5b4c3a;
  text-align: center;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}


@media (max-width: 600px) {
  .contact-header h1 {
    font-size: 2.2rem;
  }

  .contact-header .intro-text {
    font-size: 1rem;
  }
}

/* -------------------------
   Contact Form Enhancements
-------------------------- */
#contact-form {
  background-color: #ffffff;
  padding: 3rem 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  max-width: 700px;
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#contact-form label {
  font-weight: bold;
  font-size: 1rem;
  color: #3c685a;
  margin-bottom: 0.3rem;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  border-color: #3c685a;
  box-shadow: 0 0 0 3px rgba(60, 104, 90, 0.15);
  outline: none;
}

#contact-form textarea {
  resize: vertical;
}

#contact-form button {
  background-color: #bc5f04;
  color: #fff;
  font-weight: bold;
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact-form button:hover {
  background-color: #ffa400;
}

/* Responsive Tweaks */
@media (max-width: 480px) {
  #contact-form {
    padding: 2rem 1rem;
  }

  #contact-form button {
    width: 100%;
  }
}

/* -------------------------
   Universal Text Background Box
-------------------------- */
.text-box {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(3px);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 900px;
  margin: 3rem auto;
  color: #35281d;
  line-height: 1.8;
}

/* Optional for darker tone: use this background instead */
.text-box.alt {
  background-color: #f7f9f8;
}

.portfolio-header {
  display: flex;
  justify-content: center;
  margin: 6rem 0 3rem;
}

.portfolio-svg {
  max-width: 800px;
  width: 95%;
  height: auto;
}

/* -------------------------
   Investments Page Enhancements
-------------------------- */

/* -------------------------
   Investment Image Fix
-------------------------- */
.investment-image-single {
  display: flex;
  justify-content: center;
  margin: 4rem auto 3rem;
  padding: 0 2rem;
}

.investment-image-single img {
  width: 100%;
  max-width: 800px; /* ✅ Much larger than previous 400px */
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: block;
}

/* -------------------------
   Paper Overlay (Enhanced Opacity)
-------------------------- */
.paper-overlay {
  position: relative;
  z-index: 1;
}

.paper-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/Paper.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.45; /* 🔼 Increased from 0.25 */
  z-index: 0;
  pointer-events: none;
  border-radius: 12px;
}
                              
.paper-overlay * {
  position: relative;
  z-index: 1;
}

/* -------------------------
   Pricing Card Enhancements
-------------------------- */
.pricing-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.pricing-card {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(3px);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  flex: 1 1 400px;
  max-width: 450px;
  line-height: 1.7;
  color: #35281d;
}

.pricing-card h3 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #1f1309;
  font-family: 'Playfair Display', serif;
  border-bottom: 2px solid #e0d6cc;
  padding-bottom: 0.5rem;
  margin-top: 0;
}

.pricing-card p {
  text-align: center;
}

.retainer {
  font-style: italic;
  color: #6e4c2c;
  margin-top: 1rem;
}

/* -------------------------
   Responsive Tweak for Cards
-------------------------- */
@media (max-width: 768px) {
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
}

/* Film SVG Separator */
.film-separator {
  display: block;
  margin: 2rem auto;
  width: 100%;
  max-width: 900px;
  height: 60px; /* Increased from 30px to 60px */
  object-fit: contain;
}

/* Contact Info inside Form */
.form-contact-box {
  margin-top: 3rem;
  background-color: #f8fafa;
  border: 1px solid #ccc;
  padding: 2rem;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.form-contact-box .contact-logo {
  width: 330px;
}

.form-contact-box .contact-info {
  text-align: center;
  font-size: 1rem;
}

.form-contact-box .contact-info h3 {
  margin-bottom: 0.5rem;
}

.form-contact-box .contact-info a {
  color: #3c685a;
  text-decoration: none;
}

.about-img {
  width: 100%;
  max-width: 650px; /* keeps it from getting too wide on big screens */
  height: auto;
  display: block;  /* remove inline gaps */
  margin: 2rem auto 0 auto; /* optional: center and margin top */
}


.about-section h1 {
  font-family: 'Playfair Display SC', serif;
  font-weight: 700;
  font-size: 2.5rem; /* or adjust to match contact page */
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: center;
}

/* Mobile navbar fix: make the navbar ul a flex container with no wrapping */
@media (max-width: 600px) {
  .navbar ul {
    display: flex;
    flex-wrap: nowrap;       /* Prevent wrapping */
    justify-content: space-between; /* Spread items evenly */
    overflow-x: auto;        /* Allow horizontal scroll if needed */
    padding: 0 10px;         /* Optional: some side padding */
  }

  .navbar ul li {
    flex: 1 1 auto;          /* Allow items to shrink/grow evenly */
    text-align: center;      /* Center text */
    white-space: nowrap;     /* Prevent item text from wrapping */
  }

  /* Optional: style links to fill li */
  .navbar ul li a {
    font-size: 14px;
    padding: 8px 4px;
  }
}

/* Add top padding on mobile to push header below navbar */
@media (max-width: 600px) {
  .investment-section h1 {
    padding-top: 60px; /* adjust this value as needed to clear navbar */
  }
}

.investment-header {
  font-family: 'Playfair Display SC', serif;
  font-size: 2.8rem;
  color: #35281d;
  margin-bottom: 1.5rem;
  font-weight: 700; 
}

@media (max-width: 600px) {
  .form-contact-box {
    flex-direction: column;
    padding: 1.5rem;
  }

  .form-contact-box .contact-logo {
    width: 175px;
  }

  .form-contact-box .contact-info {
    font-size: 0.95rem;
  }
}

@media (min-width: 1024px) {
  .top-logo-container img {
    width: 75%;
    max-width: 1000px;
  }

  .top-logo-container {
    padding: 0.5rem 0;
  }
}
