/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */


/* ===== LAYOUT ===== */

.hero-split{
  display:flex;
  min-height:80vh;
}

.hero-text{
  width:50%;
  padding:80px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hero-text p{
  font-size:18px;
  line-height:1.7;
  margin-top:20px;
  max-width:520px;
}


/* ===== TITLE (NO ROTATION) ===== */

.title-rotate{
  position:relative;
  height:auto; /* no animation -> auto height */
}

.title-rotate > *{
  position:relative;  /* remove absolute stacking */
  opacity:1;          /* always visible */
  margin:0;
}

/* Mini title styling */
.mini-title{
  font-size:14px !important;
  font-weight:800;
  letter-spacing:3px;
  text-transform:uppercase;
  color:#F2E6D8;
}


/* ===== IMAGE SIDE ===== */

.hero-image{
  width:50%;
  position:relative;
  overflow:hidden;
}

.slides{
  position:relative;
  width:100%;
  height:100%;
}

.slide{
  position:relative; /* no overlap */
  width:100%;
  height:100%;
}

.slide img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}

.h1-header {
	  color:#F2E6D8;

}

/* ===== BUTTONS ===== */

.hero-buttons{
  display:flex;
  gap:15px;
  margin-top:30px;
  flex-wrap:wrap;
}

/* Filled button */
.btn{
  padding:12px 22px;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
  border-radius:6px;
  transition:all 0.3s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Primary (filled) */
.btn-primary{
  background:#7A1E1E;
  color:#F2E6D8;
  border:2px solid #7A1E1E;
}

.btn-primary:hover{
  background:#F2E6D8;
  border-color:#F2E6D8;
	  color:#7A1E1E;

}

/* Outline button */
.btn-outline{
  background:transparent;
  color:#F2E6D8;
  border:2px solid #F2E6D8;
}

.btn-outline:hover{
  background:#F2E6D8;
  color:#7A1E1E;
}

@media (max-width: 991px) {
  .inverse {
      display: flex;
      flex-direction: column-reverse;
  }
}

@media (min-width: 1024px) {
  .center-text-image {
      display: flex;
      align-items: center;
  }
}