/* Custom CSS (style.css) */

/* --- Typography and Global Reset --- */
body {
    line-height: 1.6;
}

body, button, input, select, textarea {
    font-family: Barlow, sans-serif;
    font-size: 18px;
}

h1, h2, h3, h4, .display-3, .display-4 {
    /* Large, tight, bold text for impact */
    letter-spacing: -1.5px;
    line-height: 1.05;
	
}

.display-3{
	font-weight: 600;
	font-size: 66px;
	color: #e6e8eb;
}
 .display-4 {font-size: 2rem;}

/* --- Color Blocks (Matching Reference Site) --- */
.section-dark-blue {
    background-color: #1a1e27; /* Very dark blue/black */
}

.section-dark-gray {
    /* Used for the book section */
    background-color: #343a40; 
}

.section-book {
    /* Used for the book section */
    background-color: #6F4E37; 
}

.top-header {
		/* Mimic the dark blue/black timer bar */
		background-color: #1a1e27; 
	}

/* --- Navigation/Header --- */
#main-nav {
    /* Set transparent background and white text by default */
    /*background-color: transparent !important;*/
    display: flex;
    border: none;
    z-index: 1030; /* Ensure it stays above content */
    padding: 15px 0;
    font-size: 1.1rem;
}

.checkout_header {background: #0d141d;}

#main-nav .navbar-brand {
    font-size: 1rem;
    font-weight: 900;
}

.e-book-order-btn:hover {
    background-color: #e4eb64;
}

#main-nav.is-sticky {
    -webkit-box-shadow: 0 0 15px 0 rgb(0 0 0 / 10%);
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 10%);
    position: fixed;
    left: 0;
    z-index: 9999;
    -webkit-animation: 0.5s 
ease-in-out fadeInDown;
    animation: 0.5s 
ease-in-out fadeInDown;
    -webkit-transition: 0.6s;
    transition: 0.6s;
}

#main-nav.is-sticky {
    background: #0d141d;
    width: 100%;
}

#main-nav ul {
    list-style: none; /* Remove bullet points */
    margin: 0;
    padding: 0;
    display: flex; /* Use flexbox for horizontal layout */
    justify-content: space-around; /* Distribute items evenly */
}

#main-nav li {
    display: inline-block; /* Make list items display horizontally */
}

#main-nav a {
    display: block; /* Make links fill the list item area */
    padding: 10px 15px; /* Add padding for spacing */
    text-decoration: none; /* Remove underlines from links */
    color: #000; /* Set link color */
}

#main-nav.is-sticky a {
     color: #fff;
}

#main-nav.is-sticky .e-book-order-btn {
     color: #000;
}

#main-nav.checkout_header a{
    color: #fff;
}

#main-nav.checkout_header .e-book-order-btn{
    color: #000;
}

/* --- Section 1: Hero --- */
.hero-section {	
	background-color: #363f4d;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    width: 100%;
}

.hero-section:before {
    opacity: 1;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.hero-image-placeholder {
    width: 100%;
    padding: 0px;
    display: block;
    overflow: hidden;
    max-height: 880px;
    position: relative;
}

.hero-image-placeholder img {
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.banner2-image-placeholder {
    width: 100%;
    padding: 0px;
    display: block;
    overflow: hidden;
    max-height: 880px;
    position: relative;
}

.banner2-image-placeholder img {
   object-fit: cover;
    display: block;
    margin: 0 auto;
}

.banner3-image-placeholder {
    width: 100%;
    padding: 0px;
    display: block;
    overflow: hidden;
    max-height: 880px;
    position: relative;
}

.banner3-image-placeholder img {
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.banner4-image-placeholder {
    width: 100%;
    padding: 0px;
    display: block;
    overflow: hidden;
    position: relative;
}

.banner4-image-placeholder img {
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.banner5-image-placeholder {
    width: 100%;
    padding: 0px;
    display: block;
    overflow: hidden;
    position: relative;
}

.banner5-image-placeholder img {
    object-fit: cover;
    display: block;
    margin: 0 auto;
    max-height: 600px;
}

.banner6-image-placeholder {
    width: 100%;
    padding: 0px;
    display: block;
    overflow: hidden;
    position: relative;
}

.banner6-image-placeholder img {
    object-fit: cover;
    display: block;
    margin: 0 auto;
    max-width: 350px;
}

.banner7-image-placeholder {
    width: 100%;
    padding: 0px;
    display: block;
    overflow: hidden;
    position: relative;
}

.banner7-image-placeholder img {
    object-fit: cover;
    display: block;
    margin: 0 auto;
    max-height: 675px;
}

.banner8-image-placeholder {
    width: 100%;
    padding: 0px;
    display: block;
    overflow: hidden;
    position: relative;
}

.banner8-image-placeholder img {
    object-fit: cover;
    display: block;
    margin: 0 auto;
    max-width: 500px;
}

#banner8{background-color: #fef1eb;}
/* Position text below the image curve */
/*.hero-section .container {
	position: absolute;
    right: 16%;
    text-align: right;
    top: 38%;
    width: 41%;
    z-index: 2;
	border-color: #e6e8eb;
    border-right-style: solid;
    border-right-width: 2px;
    border-top-style: solid;
    border-top-width: 2px;
    font-size: 66px;
	padding-top: 12px;
    padding-right: 10px;
    display: none;
}*/

.hero-section .container {
	position: absolute;
    right: 17%;
    text-align: center;
    top: 64%;
    width: 25%;
    z-index: 2;
}


/* --- Section 2: Introduction --- */
.divider {
    width: 60px;
    height: 3px;
    background-color: #FEAE00; /* Yellow divider color */
}

.logo-row img {
    opacity: 0.35; /* Dims the logos */
    transition: opacity 0.3s;
}

.logo-row img:hover {
    opacity: 1;
}

.intro_title{
	color: #c5c8d1;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    margin-left: 2px;
    padding-left: 20px;
    padding-top: 10px;
    text-transform: uppercase;
    border-top: 1px solid #d2d94f;
    border-left: 1px solid #d2d94f;
}

.intro_subtitle{
	font-weight: 600;
    font-size: 36px;
    margin-bottom: 30px;
	color: #e6e8eb;
}

.intro_description{
	color: #c5c8d1;
	font-family: Barlow, sans-serif;
    font-size: 18px;
	word-wrap: break-word;
}


/* --- Section 3: Book Section --- */
.about_book_title{
	font-size: 36px;
    font-weight: 600;
    text-transform: uppercase;
    color: #e6e8eb;
    line-height: 1.2em;
    margin-bottom: 30px;
}

.about_book_subtitle{
	color: #c5c8d1;
	font-family: Barlow, sans-serif;
    font-size: 18px;
    margin-bottom: 2px;
}

.about_book_subtitle_author{
	color: #c5c8d1;
	margin-bottom: 1.5em;
	font-family: Barlow, sans-serif;
    font-size: 15px;
}

.book-features {
	margin-bottom: 30px;
}
.book-features li {
	color: #c5c8d1;
    position: relative;
	margin-bottom: 15px;
}

.book_author_says {
	color: #c5c8d1;
	border-left: 5px solid rgba(0, 0, 0, .05);
    padding: 20px;
    font-size: 1.2em;
    font-style: italic;
    margin: 0 0 1.5em;

}

.e-book-order-btn{
	background-color: #d2d94f;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    color: #0F1A2B;
    width: 100%;
    border: none;
	text-decoration: none;
	letter-spacing: 1px;
    padding: 10px 30px;
	-webkit-appearance: button;
	overflow: visible;
	text-align: center;
}

.e-book-order-btn:hover{
	color: #0F1A2B;
	text-decoration: none;
}

/* --- Newsletter CTA --- */
.newsletter-form input {
    border-radius: 0;
    border: 1px solid #ccc;
    padding: 10px 15px;
    /*min-width: 180px;*/
	height: 50px;
}

.newsletter-form .btn-dark {
    border-radius: 0;
    padding: 10px 25px;
	height: 50px;
}

.nf-form-fields-required {display:none;}
/* --- Footer --- */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.get_in_touch{
	font-size: 24px;
    text-decoration: none;
    font-weight: 600;
	color: #fff;
	text-transform: uppercase !important;
}

footer .contact_address h4{
    font-weight: 600;
}
footer .contact_address p{
    margin: 0px;
    font-size: 16px;
}
footer .contact_address a{
    color: #fff;
}

footer .social-links a {
    font-size: 24px;
}

/*Checkout Page */
/* --- Main Content Area --- */
	.main-content-area {
		/* Ensure the main area uses max width but has padding */
		max-width: 1400px;
		position: relative;
		top: 100px;
		padding-top: 70px;
		margin-bottom: 150px;
	}

	/* --- Left Column: Form Styling --- */
	.form-column h1 {
		letter-spacing: -1.5px;
		line-height: 1.1;
	}

	.security-box {
		background-color: #e9ecef; /* Light gray box for security notice */
		color: #6c757d;
		border: 1px dashed #ced4da;
		font-size: 0.95rem;
	}

	.form-section .card {
		border: none;
		box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05); /* Subtle shadow for definition */
	}

	/* Form Input Styling (Tall and professional) */
	.form-control {
		border-radius: 0.25rem;
		padding: 0.75rem 1rem; /* Increase padding for taller inputs */
		height: auto;
		font-size: 1rem;
	}

	/* Purchase Button (Crucial CTA color) */
	.btn-purchase {
		background-color: #FEAE00; /* Yellow/Orange CTA color */
		border-color: #FEAE00;
		font-size: 1.3rem;
		padding: 15px 30px !important;
		transition: background-color 0.3s;
	}

	.btn-purchase:hover {
		background-color: #d89600; /* Slightly darker hover */
		border-color: #d89600;
	}


	/* --- Right Column: Summary Styling --- */
	.summary-column {
		padding-left: 0; /* Align sidebar closer to form */
	}

	.order-summary-box {
		background-color: #fff;
		border: 1px solid #dee2e6;
		border-radius: 0.5rem;
		box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
	}
	.pdf_product_img{
		width: 50px;
	}
	.author_img{
		width: 50px;
	}

	/* Sticky Positioning (Key to the sidebar design) */
	.sticky-top {
		top: 30px; /* Offset from the top of the viewport */
		z-index: 1020;
	}

	.guarantee-box {
		background-color: #f1f7fe; /* Light blue background for guarantee */
		border: 1px solid #d0e0fb;
		color: #007bff;
		border-radius: 0.25rem;
	}

	/* Author Box Image */
	.author-box img {
		border: 4px solid #FEAE00; /* Yellow ring around author image */
	}
	
	/* Hide the 'Remove' link from the EDD checkout cart table */
	#edd_checkout_cart .edd_cart_actions {
		display: none;
	}
	
	.wp-block-edd-checkout {
		display: flex !important;
		flex-direction: row-reverse;
		width: 100%;
	}
	.wp-block-edd-checkout>* {
		width: 100%;
	}
	
	#edd-purchase-button{
		width: 100%;
		background-color: #FEAE00;
		border-color: #FEAE00;
		font-size: 1.3rem;
		padding: 15px 30px !important;
		transition: background-color 0.3s;
	}
	
	#edd-purchase-button:hover {
		background-color: #d89600; /* Slightly darker hover */
		border-color: #d89600;
	}

	 .wp-block-edd-checkout #edd_purchase_form .edd-blocks-form input[type=text]{		
		padding: 0.50rem 1rem;
		display: block;
		height: calc(1.5em + .75rem + 2px);
		font-size: 1rem;
		font-weight: 400;
		line-height: 1.5;
		color: #495057;
		background-color: #fff;
		background-clip: padding-box;
		border: 1px solid #ced4da;
		border-radius: .25rem;
		transition: border-color .15s 
		ease-in-out, box-shadow .15s 
		ease-in-out;
	 }
	 
	 #edd_purchase_form .edd-description{display:none;}
	  .wp-block-edd-confirmation { width: 100%}
	 .wp-block-edd-receipt { width: 100%}

/* Responsive Adjustments for Mobile (Sidebar should stack normally) */
@media (max-width: 991.98px) {
	.sticky-top {
		position: static; /* Disable sticky on smaller screens */
	}
	.summary-column {
		margin-top: 30px; /* Add margin above summary when stacked */
		padding-left: 15px;
	}
}


@media(max-width:767px){
    #main-nav {font-size: 1rem;background: #000;}
    #main-nav .navbar-brand{font-size: 1rem;}
    .page-content{position: relative; top: 77px;}
    .hero-section .container {right: 5%;width: 65%;}
    .display-3 {font-size: 22px;}
    .display-4 {font-size: 2.5rem;}
    section#book .row{flex-direction: column-reverse;}
	.main-content-area{top: 50px;} 
	.btn-purchase{font-size: 1rem;}
	#menu-top-menu-1 {list-style: none;}
	#menu-top-menu-1 .nav-item a{color: #000;font-weight: 600;}
	#menuModal {top: 65px;}
	#book_desc_section{padding: 1rem 0rem !important;}
	#book_desc_section .display-4 {
        font-size: 1.5rem !important;
    }
	.about_book_title{font-size: 32px;}
	#newsletter{padding: 0.5rem 0rem !important;}
	#newsletter .display-4{font-size: 1.5rem !important;}
	footer .container{flex-direction: column; justify-content: center !important; align-items: center !important; gap: 15px; text-align: center;}
	.wp-block-edd-checkout {flex-direction: column;}
	.checkout_title{line-height: 1;font-size: 1.5rem !important;}
	.edd-blocks-form__cart .edd_checkout_cart_item_title{font-size: 1rem;}
	.edd-blocks__purchase-form{padding: 0px 8px;}
}