@import url('reset.css');
@import url('fonts.css');


:root {
  --color-bg: #14213C;
  --color-text: #B5B5B5;
  --color-primary: #C19759;
  --color-white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: 'BR Shape', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  transform-style: preserve-3d;
}

p {
  font-size: 1.125rem;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

a {
  color: var(--color-white);
}

li {
  margin-bottom: 0.5rem;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.5rem;
}

form {
  width: 100%;
  /* Prevent animation flickering */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

input[type="text"], input[type="email"] {
  background-color: var(--color-white);
  border: 1px solid var(--color-primary);
  color: #000;
  font-size: 0.9375rem;
  width: 100%;
  padding: .66rem 1rem;
  border-radius: 0;
  border-width: 2px;
}
input[type="text"]:focus, input[type="email"]:focus {
  outline: none;
  border: 2px solid var(--color-bg);
}
input::placeholder {
  color: #000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.container-small {
  max-width: 960px;
  margin: 0 auto;
}


.header {
  padding: 1.5rem;
}

.header-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-content h1 {
  font-size: 3rem;
  margin-top: 120px;
}
@media (max-width: 767px) {
  .header-content h1 {
    font-size: 2.5rem;
  }
}

.hero {   
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  height: 100svh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 33, 60, 0.7);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: -150px auto 0;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.875rem;
}

.hero-content h1 {
  margin: 0;
}

.hero-content h1 img {
  max-width: 300px;
  height: auto;
}

.hero-content h2 {
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1rem;
  color: var(--color-white);
  margin: 0 auto;
  max-width: 600px;
}

.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 2;
}

.hero-bottom-content {
  width: 100%;
  background: rgba(20, 33, 60, 0.5);
  padding: 1.5rem 0;
  text-align: center;
}

.hero-bottom-content h3 {
  margin: 0;
}

.hero-bottom-content h3 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.hero-bottom-content h3 a:hover {
  color: var(--color-primary);
}

.hero-bottom-content h3 a::after {
  content: '→';
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.hero-bottom-content h3 a:hover::after {
  transform: translateX(5px);
}

/* Mobile responsive design */
@media (max-width: 479px) {
  .hero {
    padding: 1rem;
  }
  
  .hero-content h1 img {
    max-width: 250px;
    margin-bottom: 1.5rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-bottom-content {
    padding: 1rem;
  }
  
  .hero-bottom-content h3 a {
    font-size: .9375rem;
  }
}

@media (min-width: 480px) and (max-width: 719px) {
  .hero-content h1 img {
    max-width: 280px;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
}

@media (min-width: 720px) and (max-width: 959px) {
  .hero-content h2 {
    font-size: 2.25rem;
  }
}


/* Animation base styles - hide animated elements by default */
[data-animate] {
  opacity: 0;
  visibility: hidden;
  transform: translateY(25px) scale(0.95);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Specific animation types */
[data-animate="fade-up"] {
  transform: translateY(25px) scale(0.95);
}

[data-animate="slide-left"] {
  transform: translateX(-20px) scale(0.96);
}

[data-animate="slide-right"] {
  transform: translateX(20px) scale(0.96);
}

[data-animate="scale-in"] {
  transform: scale(0.85);
}


.left-right-block h4 {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-15px) scale(0.95);
}

.left-right-feature {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-15px) scale(0.95);
}

.two-column-content hr {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

/* Two Column Layout */
.two-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 3.25rem 1.5rem 0;
  z-index: 1;
}

.two-column-first-column {
  
  position: relative;
  z-index: 0;
}

.two-column-header {
  position: sticky;
  top: 0;
  z-index: -1;
  
}

.two-column-header h3 {
  font-size: 1.25rem;
  color: var(--color-white);
  text-transform: uppercase;
  /* Prevent animation flickering */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.two-column-second-column {
  
}

.two-column-content-wrapper {
  margin-bottom: 3rem;
}

.two-column-content-wrapper:last-child {
  margin-bottom: 0;
}

.two-column-image {
  margin-bottom: 1.5rem;
}

.two-column-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.two-column-content {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.two-column-content h4 {
  margin-bottom: 0.85rem;
}
.two-column-content h6 {
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.85rem;
}

.two-column-content hr {
  border: none;
  height: 1px;
  background-color: var(--color-primary);
  opacity: 0.5;
  margin-top: 2.5rem;
}

@media (min-width: 768px) and (max-width: 959px) {
  .two-column-content-wrapper {
    max-width: 500px;
    margin: 0 auto 6.25rem;
  }
}


@media (min-width: 960px) {
  .two-column {
    flex-direction: row;
    padding: 6.25rem 1.25rem 0;
    gap: 0;
  }
  
  .two-column-first-column {
    flex: 0 0 25%;
    
    position: sticky;
    top: 50px;
    align-self: flex-start;
  }
  
  
  .two-column-second-column {
    flex: 1;
    
  }
  
  .two-column-content-wrapper {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: flex-start;
  }
  
  .two-column-image {
    flex: 0 0 285px;
    margin-bottom: 0;
  }
  
  .two-column-content {
    flex: 1;
    height: 100%;
    min-height: 285px;
    margin-bottom: 0;
  }
  .two-column-content hr {
    margin-top: auto;
  }
}

/* Left-Right Block Layout */
.left-right-block {
  display: flex;
  flex-direction: column-reverse;
  min-height: 100vh;
  position: relative;
  margin-top: 3.25rem;
  margin-bottom: 3.25rem;
  gap: 3.75rem;
  z-index: 1;
}

.left-right-block-left {
  flex: 1;
}

.left-right-block-left-content {
  max-width: 100%;
  padding-left: 1.5rem;
}
@media (max-width: 767px) {
  .left-right-block-left-content {
    padding-right: 1.5rem;
  }
}


.left-right-feature {
  margin-bottom: 4rem;
}
.left-right-feature:last-of-type {
  margin-bottom: 0;
}

.left-right-block-left-content h4 {
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.left-right-block-left-content p {
  margin-bottom: 1.5rem;
}


.left-right-block-left-content p strong {
  color: var(--color-text);
  font-weight: 600;
}


.left-right-block-right {
  flex: 1;
  z-index: 0;
}

.left-right-block-right-content {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: -1;
}

.left-right-block-right-content img {
  width: 100%;
  height: auto;
}

/* Mobile responsive design */
@media (max-width: 479px) {
  .left-right-feature {
    margin-bottom: 2.5rem;
  }
  .left-right-block-left-content p {
    font-size: 1rem;
  }
  
}

@media (min-width: 768px) and (max-width: 959px) {
  .left-right-block {
    max-width: 500px;
    margin: 0 auto 6.25rem;
  }
}

@media (min-width: 960px) {
  .left-right-block {
    flex-direction: row;
    gap: 6.25rem;
    margin-top: 6.25rem;
    margin-bottom: 6.25rem;
  }
  
  .left-right-block-left {
    flex: 0 0 40%;
    
    max-width: 40%;
  }
  
  .left-right-block-left-content {
    
  }
  
  .left-right-block-left-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }
  
  .left-right-block-left-content p:first-child {
    text-align: left;
  }
  
  .left-right-block-left-content p:first-child img {
    max-width: 350px;
  }
  
  .left-right-block-right {
    flex: 0 0 72%;
    max-width: 72%;
  }
  .left-right-block-right-content {
    width: 100%;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: -1;
  }
  
  .left-right-block-right-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Newsletter CTA */
.newsletter-cta {
  background-color: var(--color-primary);
  padding: 3.75rem 2rem;  
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 3.75rem;
}
@media (max-width: 767px) {
  .newsletter-cta {
    flex-direction: column;
    gap: 1.5rem;
  }
}


.newsletter-cta-content-left {
  
}

.newsletter-cta-content-left p {
  color: #fff;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  max-width: 30ch;
}
@media (max-width: 767px) {
  .newsletter-cta-content-left p {
    max-width: none;
  }
}

.newsletter-cta-content-left-title {
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  margin-bottom: .9rem;
  max-width: 24ch;
  text-wrap: wrap;
  /* Prevent animation flickering */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
@media (max-width: 767px) {
  .newsletter-cta-content-left-title {
    max-width: none;
  }
}

@media (min-width: 768px) {
  .newsletter-cta-content-right {
    min-width: 333px;
  }
}

.newsletter-cta-content-right-form-group {
  margin-bottom: 1rem;
  width: 100%;
}

.newsletter-cta-content-right-form-group-checkbox {
  margin-bottom: 0.5rem;
}

.newsletter-cta-content-right-form-group-checkbox label {
  display: flex;
  align-items: center;
  font-size: 0.9375rem;
  color: #fff;
  cursor: pointer;
  font-weight: 400;
}

.newsletter-cta-content-right-form-group-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 0.75rem;
  accent-color: var(--color-bg);
  cursor: pointer;
}

.newsletter-cta-content-right button[type="submit"] {
  background-color: var(--color-bg);
  color: var(--color-white);
  border: none;
  padding: 0.75rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  font-family: 'BR Shape', sans-serif;
}

.newsletter-cta-content-right button[type="submit"]:hover {
  background-color: #183059;
  transform: translateY(-1px);
}
.newsletter-cta-content-right button[type="submit"]:active {
  transform: translateY(0);
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.75rem 2rem 6rem;
  gap: 1.5rem;
}
.footer h4 {
  text-transform: uppercase;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-content-social {
  margin-top: 1.1875rem;
  margin-bottom: 3.125rem;
  display: flex;
  gap: 1.1875rem;
}
.footer-content-social a {
  transition: all 0.3s ease;
}
.footer-content-social a:hover svg {
  fill: var(--color-primary);
}
.footer-content-social svg {
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  fill: #838383;
}

.footer-content-legal p {
  font-size: 0.9375rem;
  color: #838383;
  line-height: 1.5;
}

.footer-content-legal a {
  transition: all 0.3s ease;
  font-size: 0.9375rem;
  color: #838383;
  text-decoration: none;
}

.footer-content-legal a:hover {
  color: var(--color-primary);
}