/*
Theme Name: Leblon Capital
*/

:root{
  --navy:#071f35;
  --gold:#b98a3a;
  --light:#f7f4ef;
  --white:#ffffff;
  --text:#1f1f1f;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html, body{
  overflow-x:hidden;
}

body{
  font-family:'Inter',sans-serif;
  color:var(--text);
  background:white;
  line-height:1.6;
}

/* HEADER */

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  padding:16px 7%;
  background:rgba(7,31,53,.97);
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.08);
  transition:all .35s ease;
}

.header.scrolled{
  padding:10px 7%;
  background:rgba(7,31,53,.99);
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.logo img{
  height:62px;
  background:white;
  padding:6px 12px;
  display:block;
}

.header.scrolled .logo img{
  height:50px;
}

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

.header nav a{
  color:white;
  text-decoration:none;
  font-size:15px;
  font-weight:500;
  letter-spacing:2px;
  text-transform:uppercase;
  opacity:.9;
  white-space:nowrap;
  position:relative;
  padding-bottom:6px;
}

.header nav a:hover{
  opacity:1;
}

.header nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:1px;
  background:var(--gold);
  transition:width .3s ease;
}

.header nav a:hover::after{
  width:100%;
}

/* HERO SLIDER */

.hero{
  position:relative;
  min-height:100vh;
  color:white;
  display:flex;
  align-items:center;
  padding:180px 7% 110px;
  overflow:hidden;
}

.hero-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1);
  animation-duration:24s;
  animation-timing-function:ease-in-out;
  animation-iteration-count:infinite;
  z-index:0;
}

.hero-slide-1{
  background-image:url('assets/hero-1.jpg');
  animation-name:luxurySlide1;
}

.hero-slide-2{
  background-image:url('assets/hero-2.jpg');
  animation-name:luxurySlide2;
}

.hero-slide-3{
  background-image:url('assets/hero-3.jpg');
  animation-name:luxurySlide3;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(7,31,53,.96),rgba(7,31,53,.78));
  z-index:1;
}

@keyframes luxurySlide1{
  0%{opacity:1; transform:scale(1);}
  28%{opacity:1; transform:scale(1.08);}
  33%{opacity:0; transform:scale(1.1);}
  100%{opacity:0; transform:scale(1);}
}

@keyframes luxurySlide2{
  0%{opacity:0; transform:scale(1);}
  33%{opacity:0; transform:scale(1);}
  38%{opacity:1; transform:scale(1);}
  61%{opacity:1; transform:scale(1.08);}
  66%{opacity:0; transform:scale(1.1);}
  100%{opacity:0; transform:scale(1);}
}

@keyframes luxurySlide3{
  0%{opacity:0; transform:scale(1);}
  66%{opacity:0; transform:scale(1);}
  71%{opacity:1; transform:scale(1);}
  95%{opacity:1; transform:scale(1.08);}
  100%{opacity:0; transform:scale(1.1);}
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:900px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hero-logo{
  width:240px;
  background:white;
  padding:12px;
  margin-bottom:40px;
  display:block;
}

.eyebrow{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:12px;
  font-weight:600;
  margin-bottom:20px;
}

.hero h1{
  font-family:'Playfair Display',serif;
  font-size:68px;
  line-height:1.05;
  margin-bottom:26px;
  max-width:800px;
}

.hero p{
  font-size:20px;
  max-width:720px;
  margin-bottom:42px;
  color:#f1f1f1;
}

.hero .btn{
  margin-right:14px;
  margin-bottom:18px;
}

/* BUTTONS */

.btn{
  display:inline-block;
  background:var(--gold);
  color:white;
  padding:14px 30px;
  text-decoration:none;
  font-weight:600;
  letter-spacing:1px;
  margin-right:14px;
  margin-bottom:12px;
}

.btn.outline{
  background:transparent;
  border:1px solid white;
}

/* METRICS */

.metrics{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:26px;
  margin-top:70px;
}

.metric{
  background:white;
  padding:32px 22px;
  text-align:center;
  border:1px solid #e2d7c6;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-height:160px;
  transition:.25s ease;
}

.metric:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(0,0,0,.08);
}

.metric strong{
  color:var(--gold);
  font-family:'Playfair Display',serif;
  font-size:34px;
  margin-bottom:9px;
}

.metric span{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1.5px;
  color:#222;
}

.metric-location strong{
  font-size:32px;
}

.metric-sub span{
  font-size:11px;
  color:#555;
}

.metric-sub small{
  margin-top:7px;
  font-size:12px;
  color:#111;
}

/* SECTIONS */

section{
  padding:95px 7%;
}

.light{
  background:var(--light);
}

.dark-section{
  background:var(--navy);
  color:white;
}

.section-title{
  max-width:850px;
  margin-bottom:42px;
}

.section-title span{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:13px;
  font-weight:600;
}

.section-title h2{
  font-family:'Playfair Display',serif;
  font-size:44px;
  color:var(--navy);
  margin-top:10px;
}

.dark-section .section-title h2{
  color:white;
}

/* PAGE HERO */

.page-hero{
  background:var(--navy);
  color:white;
  padding:170px 7% 90px;
}

.page-hero h1{
  font-family:'Playfair Display',serif;
  font-size:56px;
  margin-top:14px;
}

.page-hero p{
  max-width:800px;
  color:#e8e8e8;
  font-size:18px;
  margin-top:20px;
}

/* GRIDS */

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:55px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

/* CARDS */

.card{
  background:white;
  border:1px solid #e2d7c6;
  padding:32px;
}

.card h3{
  font-family:'Playfair Display',serif;
  color:var(--navy);
}

/* PROJECT DATA */

.project-data{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:18px;
}

.project-data span{
  padding:10px;
  font-size:13px;
}

/* CONTACT */

.contact-form{
  background:var(--navy);
  padding:38px;
}

.contact-form input,
.contact-form textarea,
.wpforms-field input,
.wpforms-field textarea{
  width:100% !important;
  padding:14px !important;
  margin-bottom:14px !important;
  border:none !important;
  background:rgba(255,255,255,.08) !important;
  color:white !important;
}

.wpforms-field-label{
  color:white !important;
  font-size:12px !important;
  text-transform:uppercase;
  letter-spacing:1px;
}

.wpforms-submit{
  background:var(--gold) !important;
  color:white !important;
  border:none !important;
  padding:14px 24px !important;
  text-transform:uppercase !important;
  letter-spacing:1px !important;
}

/* FOOTER */

.footer{
  background:var(--navy);
  color:white;
  padding:35px 7%;
}

/* MOBILE */

@media(max-width:1000px){

  .header{
    padding:10px 4%;
    display:flex;
    align-items:center;
    gap:14px;
    overflow:hidden;
  }

  .logo{
    flex:0 0 auto;
  }

  .logo img{
    height:46px;
    padding:4px 8px;
  }

  .header nav{
    display:flex !important;
    flex:1 1 auto;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    gap:20px;
    padding:8px 0;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }

  .header nav::-webkit-scrollbar{
    display:none;
  }

  .header nav a{
    flex:0 0 auto;
    font-size:12px;
    letter-spacing:1.4px;
  }

  .hero{
    min-height:auto;
    padding:140px 6% 70px;
  }

  .hero-logo{
    width:190px;
    margin-bottom:28px;
  }

  .hero h1{
    font-size:40px;
    line-height:1.1;
  }

  .hero p{
    font-size:17px;
  }

  .metrics{
    grid-template-columns:1fr;
    margin-top:40px;
  }

  .grid-2,
  .grid-3,
  .grid-4{
    grid-template-columns:1fr;
  }

  section{
    padding:65px 6%;
  }

  .page-hero{
    padding:135px 6% 70px;
  }

  .page-hero h1{
    font-size:40px;
  }

  .section-title h2{
    font-size:34px;
  }

  .contact-form{
    padding:26px;
  }
}