/*
Theme Name: G&T
Version: 1.0
Description: A child theme of Divi
Author: JoinAsOne
Template: Divi
*/

@import url("../Divi/style.css");


/*--- Full Screen Menu ---*/

/* Ensure the container is positioned correctly */
#mobile-menu {
  position: relative;
  width: 35px;
  height: 25px;
  cursor: pointer;
  z-index: 999;
right:40px;
	transition:.3s ease-in-out;
}

.et_pb_sticky--top #mobile-menu {
	right:20px;
}



/* Reset Divi inner wrapping */
#mobile-menu .et_pb_text_inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Lines styling */
#mobile-menu .line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease;
  border-radius: 2px;
	top:12px;
}

/* Top and bottom positions */
#mobile-menu .top {
  top: 0;
}

#mobile-menu .bottom {
  bottom: 0;
width: 20px;
   right: 0px;
   left: auto;
}

/* Fix Divi <br> layout shift */
#mobile-menu br {
  display: none;
}

/* Fullscreen menu initial state */
#fullscreen-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 989;
  
  /* Start off-screen */
  transform: translateX(100%);
  opacity: 0;

  /* Smooth transition for both entering and leaving */
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* When active (slide in) */
#fullscreen-menu.active {
  transform: translateX(0);
  opacity: 1;
}

/* Animate burger to X */
#mobile-menu.active .top {
  transform: rotate(45deg) translate(7px, 5px) !important;
	width: 30px;
}

#mobile-menu.active .bottom {
  transform: rotate(-45deg) translateY(-5px) !important;
	width: 30px;
}

/*--END- Full Screen Menu -END--*/


/*---- Pop-Up Intro ----*/

@keyframes pulse-bg {
  0%, 100% {
    border-color: rgba(0,0,0,0.4); /* Starting and ending color */
  }
  50% {
    border-color:rgba(0,0,0,0.0); /* Mid-point color */
  }
}

.close-pop {
	width: 240px;
    height: 240px;
    border-radius: 300px;
    background: transparent !important;
    cursor: pointer;
	border:2px solid;
	animation: pulse-bg 2s infinite alternate;
}

/* POPUP */
.pop-top {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.pop-top.hidden {
  opacity: 0;
  pointer-events: none;
}

.pop-content {
  background: transparent;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

/* PANELS SECTION (white layer) */
.top-row {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  z-index: 995;
  transition: opacity 0.8s ease 1s;
}

/* LEFT AND RIGHT PANELS */
.left-panel,
.right-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transform: translateX(0); /* initial position */
  transition: transform 3.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease;
}

.left-panel {
  z-index: 996;
}

.right-panel {
  z-index: 997;
}

.left-panel.slide-left {
  transform: translateX(-100%);
  opacity: 0.8;
}

.right-panel.slide-right {
  transform: translateX(100%);
  opacity: 0.8;
}

/* CENTER PANEL */
.center-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
}

.center-panel img {
  height: auto;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: transform 3.2s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 3.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.center-panel.slide-up img {
  transform: translateY(0) scale(1.3);
  opacity: 0; /* fades out while zooming */
}


/* Fade out the top-row layer */
.top-row.fade-out {
  opacity: 0;
  pointer-events: none;
}

/*--END-- Pop-Up Intro --END--*/

/*---- MultiStep Form RSVP ----*/

.form-step {
  display: none;
  transition: opacity 0.4s ease;
}

.form-step.active {
  display: block;
}

button.step-choice,
button.next-step, button.partner-choice, .normal-button {
  width: 100%;
    margin: 0px 0px 10px;
    border-radius: 0px;
    background: rgba(255, 255, 255, 1);
    color: #444138;
    font-family: 'Butler Regular';
    font-size: 18px;
    padding: 20px 0;
	border:2px solid rgba(255, 255, 255, 1);
}

.special-button {
  width: 100%;
    margin: 0px 0px 10px;
    border-radius: 0px;
    background: #e0d1ac;
    color: #222222;
    font-family: 'Butler Regular';
    font-size: 18px;
    padding: 20px 0;
	border:2px solid #e0d1ac;
}


button.step-choice.alt,
button.next-step.alt, button.partner-choice.alt, .alt-button {
  width: 100%;
    margin: 0px 0px 10px;
    border-radius: 0px;
    background: rgba(255, 255, 255, 0);
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Butler Regular';
    font-size: 18px;
    padding: 20px 0;
	border:2px solid rgba(255, 255, 255, 0.6);
}


[id$="-section"] {
    display: none;
}

#rsvp-form-wrapper #rsvp-initial h3, #rsvp-form-wrapper .form-step h3, #rsvp-form-wrapper #partner-step h3 {
	font-family: 'Butler Regular';
    color: #fff;
    font-size: 8.4vw;
    text-align: center;
    line-height: 11vw;
	margin-top: 20px;
	margin-bottom:20px;
}

#rsvp-form-wrapper .form-step label {
	font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e0d1ac;
}

#rsvp-form-wrapper .form-step label span input, #rsvp-form-wrapper .form-step label span select {
	width:100%;
    border: 1px solid #9a9588;
    background: #222222;
    padding: 10px;
    color: #fff;
}

#rsvp-form-wrapper .wpcf7-not-valid-tip {
	color: #fff;
    font-size: 10px;
    font-weight: normal;
    display: block;
}

#rsvp-form-wrapper .wpcf7-response-output {
	padding:0px;
	margin:0px;
	font-family:'Montserrat';
	color:#e0d2ab;
	font-size:14px;
	text-align:center;
	border: 0px;
}

#rsvp-form-wrapper .step-end h5 {
	font-size: 10vw;
    color: #fff;
    width: 100%;
    text-align: center;
    font-family: 'Butler Regular';
	padding-bottom:30px;
}

#rsvp-form-wrapper .step-end h4 {
	font-size: 4.5vw;
    color: #fff;
    width: 100%;
    text-align: center;
    font-family: 'Montserrat';
    padding-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#rsvp-form-wrapper .step-end p {
	font-size: 6.0vw;
    color: #fff;
    width: 100%;
    text-align: center;
    font-family: 'Butler Regular';
	margin-bottom: 30px;
}

#rsvp-form-wrapper .dietaryText {
	font-size: 12px;
    line-height: 16px;
    margin-top: 20px;
    display: block;
    margin-bottom: 10px;
    text-align: center;
    padding: 0 40px;
    color: #fff;
}


/*--END-- MultiStep Form RSVP --END--*/

/*---- Tabs ----*/

#our-wedding #tab_01 .et_pb_text_inner, #our-wedding #tab_02 .et_pb_text_inner, #our-wedding #tab_03 .et_pb_text_inner, #our-wedding #tab_04 .et_pb_text_inner {
	border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    padding: 1px 0;
}

#our-wedding #tab_01.active .et_pb_text_inner, #our-wedding #tab_02.active .et_pb_text_inner, #our-wedding #tab_03.active .et_pb_text_inner, #our-wedding #tab_04.active .et_pb_text_inner {
	border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    padding: 1px 0;
}