/*
 Theme Name:     Divi-Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Salt Design
 Author URI:     https://www.saltdesign.co.nz
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Move reCAPTCHA v3 badge in front */
.grecaptcha-badge {
	z-index: 1;
}

/*Font Styles */

body {
	font-family: "Reddit Sans Condensed", sans-serif;
	font-weight: normal;
	color: #ffffff;
	font-size: 60px;
	line-height: 1.2;
}

/* Fullscreen video background */
.video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    max-width: none;
    max-height: none;
}

/* Black overlay with fade-out effect */
.black-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: -1; /* Sits over the video but under the text */
    animation: fadeOutOverlay 4s ease-in-out forwards;
    opacity: 1;
}

@keyframes fadeOutOverlay {
    0% {
        opacity: 1; /* 100% black */
    }
    100% {
        opacity: 0.3; /* 20% black */
    }
}


/* Overlay content */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0; /* Equal padding top and bottom */
    box-sizing: border-box;
}

/* Centered "JUST RELAX" text */
.fade-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 0; /* Ensure it's above everything else */
}

.fade-text h1 {
    font-size: 6rem;
	font-weight: 700;
	letter-spacing: -1.1px;
    color: #fff;
    opacity: 0;
    animation: fadeInOut 8s ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Top section at the top of the screen */
.header .row {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5rem;
    display: flex;
	flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

/* Bottom section at the bottom of the screen */
.text-section {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 5rem 0rem 5rem 5rem;
    text-align: left;
    box-sizing: border-box;
}

/* Main content initially hidden */
.main-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 2s ease-in-out, visibility 0s linear 0s;
}

/* Show main content after fade-out */
.main-content.visible {
    opacity: 1;
    visibility: visible;
}

.logo-column {
    padding-right: 3rem;
	padding-bottom: 3rem;
}

.logo-column img{
    display: block; /* Optional: Ensure it doesn't have extra space below */
    max-width: 100%; /* Scale down if the screen is smaller */
    height: auto; /* Maintain aspect ratio */
}

.text-column {
    padding-bottom: 3rem;
}

.text-column p {
	font-size: 20px;
	line-height: 1.6;
	font-weight: 700;
    letter-spacing: -1px;
}
.text-column a {
	color: #fff;
}
.text-column a:hover {
	color: #F39200;
}	

.text-section p {
	line-height: .8;
	font-weight: 700;
    letter-spacing: -1.2px;
}

.text-section span {
	color: #F39200;
}
.contact-text {
	color: #F39200;
	margin-right: 1.2rem;
}
.contact-info {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.8rem;
    align-items: center;
    column-gap: 0.2rem;
}

.contact-item {
    display: inline-flex;
    align-items: center;
	margin-right: 1.2rem; /* Space between contact items */
}

.phone-link {
    display: inline-flex; /* Ensures both the icon and text are treated as a single line element */
    align-items: center; /* Vertically centers the icon and text */
    text-decoration: none;
	position: relative; /* Ensures that each link is properly positioned */
}

.phone-link .icon {
    margin-right: 0.3rem; /* Space between the icon and text */
    vertical-align: middle;
}

.phone-link span {
    display: inline-block;
    line-height: 1;
    color: inherit;
    cursor: pointer;
}

/* Responsive typography adjustments */
	.text-section {
    	font-size: 4em; /* Default font size */
		width: 50%;
}
@media (max-width: 1024px) {
    .text-section {
        font-size: 4em; 
		width: 70%;
		padding: 4rem 0rem 4rem 4rem;
    }
	.header .row {
		padding: 4rem;
	}
}

@media (max-width: 768px) {
    .text-section {
        font-size: 3em; 
		width: 70%;
		padding: 3rem 0rem 3rem 3rem;
    }
	.header .row {
		padding: 3rem;
	}
}

@media (max-width: 480px) {
    .text-section {
        font-size: 2em;
		width: 80%;
		padding: 2rem 0rem 2rem 2rem;
    }
	.header .row {
		padding: 2rem;
	}
	.text-column p {
	font-size: 16px;
	}
}


