/*------------------------------------------------------------------
[Master Stylesheet]

Project:	Lattes - One page multi purpose page
Version:	1.0
Last change:	17/08/2015 [...]
Designed by:	MOOZ Themes / www.MOOZthemes.com
Primary use:	One page

[Table of contents]

1. General
2. Header
3. Navigation
4. Sections
5. Footer
6. Components

[Color codes]

Buttons, etc:	#726FB9 (blue)
hover color:	#fed136 (yellow)
-------------------------------------------------------------------*/

/*--------------------
Import Google Fonts
--------------------*/

@import url('https://fonts.cdnfonts.com/css/audrey');

/*--------------------
1. General
--------------------*/

body {
  margin: 0px;
    font-family: 'Audrey', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 300;
    letter-spacing: 0.4px;
    /* font-family: "Open Sans", Sans-serif; */
    color: #232323;
}

p {
    /* font-family: 'Roboto', sans-serif; */
    font-size: 15px;
    font-weight: 300;
	line-height: 23px;
    letter-spacing: 0.2px;
    color: #797979;
}

a:hover, a:focus, a:active, a.active {
    color: #fec503;
}
a, a:hover, a:focus, a:active, a.active {
    outline: 0;
}
html, body {
  max-width: 100%;
  overflow-x: hidden !important;
}


::selection {
    text-shadow: none;
    background: #fed136;
}

@media (min-width: 768px) {
	section {
	    padding: 150px 0;
	}
}

section {
    padding: 70px 0;
}

/*--------------------
2. Navigation
--------------------*/

.navbar-default {
	background-color: #222;
	border-color: transparent
}
.navbar-default .navbar-brand {
	color: #fff;
	/* font-family: "Montserrat",sans-serif; */
    padding: 0px;
}
.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:active,.navbar-default .navbar-brand.active {
	color: #fec503
}
.navbar-default .navbar-collapse {
	border-color: rgba(255,255,255,.02)
}
.navbar-default .navbar-toggle {
	background-color: #fed136;
	border-color: #fed136
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #fff
}
.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus {
	background-color: #fed136
}
.navbar-default .nav li a {
	/* font-family: "Roboto",sans-serif; */
	text-transform: uppercase;
	font-weight: 400;
	letter-spacing: 1px;
	color:#fff
}
.navbar-default .nav li a:hover,.navbar-default .nav li a:focus {
	color: #fed136;
	outline: 0
}

.navbar-default .navbar-nav>.active>a {
	border-radius: 0;
	color: #fff;
	background-color: #fed136
}
.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus {
	color: #fff;
	background-color: #fec503
}

@media (min-width:768px) {
	.navbar-default
	{
		background-color: transparent;
		padding: 25px 0;
		-webkit-transition:padding .3s;
		-moz-transition:padding .3s;
		transition:padding .3s;
		border:0
	}
	.navbar-default .navbar-brand {
		font-size: 2em;
		-webkit-transition:all .3s;
		-moz-transition:all .3s;
		transition:all .3s
	}
	.navbar-default .navbar-nav>.active>a {
		border-radius: 3px
	}
	.navbar-default.navbar-shrink {
		background-color: #222;
		padding: 10px 0
	}
	.navbar-default.navbar-shrink .navbar-brand {
		font-size: 1.5em
	}
}

/*--------------------
3. Header
--------------------*/

header {
    position: relative;
    text-align: center;
    color: #fff;
    min-height: 100vh;
    overflow: hidden;
}
/* Fullscreen background video */
header .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay for better text readability */
header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* adjust opacity as needed */
    z-index: 1;
}

/* Keep content visible above video */
header .container,
header .slider-container,
header .intro-text {
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
	header .intro-text {
	    padding-top: 300px;
	    padding-bottom: 200px;
	}
}

header .intro-text .intro-lead-in {
    /* font-family: "Playfair Display",sans-serif; */
    /* font-style: italic; */
    font-size: 42px;
    line-height: 22px;
    margin-bottom: 25px;
}

@media (min-width: 768px) {
	header .intro-text .intro-lead-in {
	    /* font-family: 'Prata'; */
	    /* font-style: italic; */
	    /* font-size: 40px; */
	    line-height: 40px;
	    margin-bottom: 25px;
        font-size: 7.5rem;
        line-height: 1.1;
        margin-bottom: 25px;
        letter-spacing: 0.05rem;
        font-weight: normal;
        text-transform: none;
	}
}

header .intro-text .intro-heading {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 25px;
}

@media (min-width: 768px) {
	header .intro-text .intro-heading {
        /* font-family: 'Prata'; */
	    text-transform: capitalize;
	    font-weight: 200;
	    font-size: 22px;
	    line-height: 24px;
	    margin-bottom: 50px;
	}
}


/* Initial hidden state */
.fade-in-right,
.fade-in-left {
  opacity: 0;
  transform: translateX(0);
  transition: all 1s ease-out;
}

/* Define directions */
.fade-in-right {
  transform: translateX(80px);  /* start slightly off-screen right */
}

.fade-in-left {
  transform: translateX(-80px); /* start slightly off-screen left */
}

/* When visible on scroll */
.fade-in-show {
  opacity: 1;
  transform: translateX(0);
}

/*--------------------
4. Sections
--------------------*/

.section-title h2 {
    /* font-family: 'Prata'; */
    font-size: 54px; font-weight: 400;
    text-transform: capitalize; padding: 0px 200px;
}

.section-title p {
    font-size: 15px;
    font-weight: 300;
    line-height: 25px;
    margin: 20px 100px 60px 100px;
}



.dark-bg {
    background: #323232;
    color: #fff;
}

.bg-img1 {
    background-image: url(../images/demo/office-bg.jpg);
    background-size: cover !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.light-bg {
	background-color: #eaeaea;
}

  .plane-img {
    opacity: 0;
    transform: translateY(200px); 
    transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .plane-img.takeoff {
    opacity: 1;
    transform: translate(10px, 10px);
  }

.overlay-dark:before, .overlay-light:before {
    background-color: rgba(32,32,32,0.8);
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -1;
}

.overlay-dark, .overlay-light {
    position: relative;
    z-index: 1;
}

.short-section {
    padding-top: 110px;
    padding-bottom: 110px;
}

.counter-item h2 {
    color: #fff;
    font-size: 60px;
    margin: 0;
}

.counter-item h6 {
    color: #fff;
    font-size: 19px;
    margin: 0;	
}


#plane-animation {
  display: flex;
  justify-content: center;
  align-items: center;
}

#animated-plane.visible {
  opacity: 1;
  transform: translateX(0);
  animation: planeMove 1s ease-out forwards;
}

@keyframes planeMove {
  0% {
    transform: translateX(-150px);
  }
  100% {
    transform: translateX(150px);
  }
}




/*--------------------
5. Footer
--------------------*/

footer {
    padding: 30px;
    background-color: #000;    
}

footer p {
    color: #B7B7B7;
    margin: 0;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1.6px;
}

footer p a {
    color: #fff;
}

footer p a span {
    color: #FF9F46;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 700;
}



/*--------------------
7. Components
--------------------*/

.btn-xl:hover, .btn-xl:focus, .btn-xl:active, .btn-xl.active, .open .dropdown-toggle.btn-xl {
    color: #fff;
    background-color: #fec503;
    border-color: #f6bf01;
}

.btn:hover, .btn:focus, .btn:active, .btn.active, .open .dropdown-toggle.btn {
    color: #fff;
    background-color: #8b7c63;
    border-color: #8b7c63;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

 .news-box {
    box-sizing: border-box;
    padding: 22px;
    border: 2px solid white;
    max-width: 1100px;
    margin: 40px auto; /* top & bottom margin added */
    background: #fff;

    /* black box shadow */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}


  .news-heading {
    margin: 0 0 18px;
    text-align: center;
    font-size: 40px;
    line-height: 1;
    font-weight: 800;
  }

  .news-row {
    display: flex;
    gap: 28px;
    align-items: center; /* <– keeps text vertically centered relative to image */
  }

  .news-image {
    flex: 0 0 44%;
    max-width: 44%;
  }

  .news-image img {
    width: 100%;
    height: 260px;           /* fixed height for balanced layout */
    object-fit: cover;       /* crops to maintain proportion */
    display: block;
    border-radius: 2px;
  }

  .news-content {
    flex: 1 1 56%;
  }

  .news-title {
    margin: 4px 0 12px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #0b0b0b;
  }

  .news-excerpt {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
  }

  .news-readmore {
    color: #007bb6;
    text-decoration: none;
    font-weight: 700;
  }

  /* Responsive stacking */
  @media (max-width: 800px) {
    .news-row {
      flex-direction: column;
      align-items: flex-start;
    }
    .news-image,
    .news-content {
      max-width: 100%;
    }
    .news-image img {
      height: auto;
    }
    .news-heading {
      font-size: 28px;
    }
    .news-title {
      font-size: 20px;
    }
    .news-excerpt {
      font-size: 16px;
    }
  }

.btn-xl {
    color: #fff;
     background-color: #a6977d;
    border-color: #a6977d;
    /* font-family: "Robot",sans-serif; */
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 3px;
    font-size: 18px;
    padding: 20px 40px;
}

/* Products Section */
.products-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 600;
}

/* Grid layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* Product Card */
.product-card {
  background: #fff;
  border: 2px solid #000;
  padding: 20px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: 0.3s;

  /* NEW */
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 220px;         /* NEW: equal height */
  object-fit: cover;     /* NEW */
  margin-bottom: 15px;
}

.product-card h3 {
  margin: 10px 0 5px;
  font-size: 20px;
}

.subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.price {
  font-weight: 600;
  margin-bottom: 10px;
}

.desc {
  font-size: 14px;
  margin-bottom: 20px;
}

/* Vertical Buttons */
.button-block {
  display: flex;
  flex-direction: column;
  gap: 10px;

  /* NEW */
  margin-top: auto;
}

.btn-fill {
  padding: 10px 0;
  background: #000;
  color: #fff;
  border: 2px solid #000;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline {
  padding: 10px 0;
  background: transparent;
  border: 2px solid #000;
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline:hover {
  background: #000;
  color: #fff;
}

/* Animated View More */
.view-more-container {
  margin-top: 30px;
  text-align: center;   /* Add this */
}

.view-more {
  font-size: 18px;
  font-weight: 600;
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: #000;
  animation: slideArrow 1.4s infinite;
}


@keyframes slideArrow {
  0% { transform: translateX(0); }
  50% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}

/* Aircraft Sales Section */
.aircraft-sales-section {
  padding: 80px 0;
}

.aircraft-row {
  margin: 70px 0;
  display: flex;
  align-items: center;
}

.aircraft-row.reverse {
  flex-direction: row-reverse;
}

/* Images */
.aircraft-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Titles */
.aircraft-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2.3rem;   /* increased from 2rem */
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

/* Fix vertical alignment of logo */
.navbar-brand {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    height: auto !important;
    line-height: 20px;
}

/* Adjust nav items to match line height */
.navbar-nav > li > a {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}


/* LOGO BASE STYLES */
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.6px;
    /* padding-top: 8px; */
    display: inline-block;
}

/* WHITE TEXT WITH OUTLINE */
.logo-white {
    color: #ffffff; /* White text */
    text-shadow:
        -0.5px -0.5px 0 rgba(255,255,255,0.2),
         0.5px -0.5px 0 rgba(255,255,255,0.2),
        -0.5px  0.5px 0 rgba(255,255,255,0.2),
         0.5px  0.5px 0 rgba(255,255,255,0.2); /* Light outline */
}

/* OPTIONAL: If you want Nation in red but still outlined */
.logo-red-outline {
    color: #9b0d0d; /* Red fill */
}

/* Description */
.aircraft-desc {
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #333;
  font-size: 1.42rem;   /* increased from 1rem */
}

/* Button */
.btn-aircraft {
  background-color: #a6977d;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  display: inline-block;
}

.btn-aircraft:hover {
  background-color: #877a63;
  color: #fff;
}

/* View More — Center Alignment */
.view-more-container {
  margin-top: 30px;
  text-align: center;
}

.view-more {
  font-size: 18px;
  font-weight: 600;
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: #000;
  animation: slideArrow 1.4s infinite;
}

/* Mobile Fixes */
@media (max-width: 768px) {
  .aircraft-row,
  .aircraft-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .aircraft-title {
    font-size: 1.9rem;  /* scaled for mobile */
  }

  .aircraft-desc {
    font-size: 1rem;  /* normal size on mobile */
  }
}


/* Back to top button
---------------------------------- */
#back-top {
    position: fixed;
    z-index: 1000;
    bottom: 40px;
    right: 50px;
}
#back-top a {
    width: 60px;
    height: 60px;
    display: block;
    text-align: center;
    font: 11px/100% Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    background: #A9A9B1;
    /* background color transition */
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top a:hover {
    background: #a6977d;
}
/* arrow icon (span tag) */
#back-top i {
    margin-top: 15px;
    font-size: 28px;
}

@media only screen
and (min-width : 320px)
and (max-width : 480px) {
#back-top {
    position: fixed;
    bottom: 10px;
    right: 30px;
}
#back-top a {
    width: 40px;
    height: 40px;
}
#back-top i {
    margin-top: 7px;
    font-size: 20px;
}
}

/* ---------------------------------------------------
   MOBILE RESPONSIVE PATCH (GENERAL FIXES)
   --------------------------------------------------- */

/* GLOBAL FIXES */
@media (max-width: 768px) {

  section {
    padding: 40px 0 !important;
  }

  h1, h2, h3 {
    word-wrap: break-word;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}



/* -----------------------------
   NAVBAR FIXES
 ----------------------------- */
@media (max-width: 768px) {

  .navbar-brand {
    font-size: 20px !important;
    padding: 10px 0 !important;
  }

  .navbar-nav > li > a {
    padding: 10px !important;
    text-align: center;
  }

  .navbar-default {
    padding: 10px 0 !important;
    background: #111 !important;
  }
}



/* -----------------------------
   HERO SECTION (HEADER)
 ----------------------------- */
@media (max-width: 768px) {

  header {
    min-height: 70vh;
  }

  header .intro-text {
    padding-top: 140px;
  }

  header .intro-text .intro-lead-in {
    font-size: 38px !important;
    line-height: 1.1;
  }

  header .intro-text .intro-heading {
    font-size: 18px !important;
    margin-top: 10px;
  }
}



/* -----------------------------
   NEWS SECTION
 ----------------------------- */
@media (max-width: 600px) {

  .news-row {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center;
  }

  .news-image img {
    height: auto !important;
  }

  .news-title {
    font-size: 18px !important;
  }

  .news-excerpt {
    font-size: 15px !important;
  }
}



/* -----------------------------
   PRODUCT GRID
 ----------------------------- */
@media (max-width: 600px) {

  .product-grid {
    grid-template-columns: 1fr !important;
  }

  .product-card {
    max-width: 100% !important;
  }

  .product-card img {
    height: 180px !important;
  }
}



/* -----------------------------
   AIRCRAFT SALES SECTION
 ----------------------------- */
@media (max-width: 768px) {

  .aircraft-row,
  .aircraft-row.reverse {
    flex-direction: column !important;
    text-align: center;
    gap: 20px;
  }

  .aircraft-title {
    font-size: 1.5rem !important;
  }

  .aircraft-desc {
    font-size: 1rem !important;
    text-align: center;
  }

  .btn-aircraft {
    width: 100%;
    display: block;
    max-width: 260px;
    margin: 0 auto;
  }
}



/* -----------------------------
   FOOTER FIXES
 ----------------------------- */
@media (max-width: 768px) {

  footer .row > div {
    text-align: center !important;
    margin-bottom: 30px;
  }

  footer p {
    font-size: 12px !important;
  }
}



/* -----------------------------
   PLANE IMAGE FIX
 ----------------------------- */
@media (max-width: 768px) {
  #animated-plane {
    width: 90% !important;
    transform: translateX(0) !important;
  }
}

/* FIX title becoming vertical on mobile */
@media (max-width: 768px) {
  .section-title h2 {
    padding: 0 !important;
    font-size: 28px !important;
    white-space: normal !important;
    text-align: center;
  }
}


