/* Custom CSS for DeBevers Landing Page */

:root {
    --primary-color: #45ADB4;
    --secondary-color: #F8B92B;
    --secondary-color-hover: #F8D500;    
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --black: #000000;
    --white: #ffffff;
    --section-spacing: 6rem;
    --section-spacing-mobile: 3.5rem;
    --bold: 700;
}

body {
    background: var(--black);
    font-family: 'Amaranth', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--white);
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

h2 {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.bold {
    font-weight: var(--bold);
}

.btn-primary {
    background: var(--secondary-color);    
    border: none;
    font-weight: var(--bold);
    color: var(--black);
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color-hover);
    color: var(--black);
}

/* Main Container with max-width 1440px */
.main-container {
    max-width: 1440px;
    margin: 0 auto;
    background: var(--dark-color);
    background-image: url('/imgs/background-middle.jpg');
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: 0 260px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

section {
    padding: var(--section-spacing) 0;
}

/* Hero Section with 2 Stacked Rows */
.hero-section {
    position: relative;
    height: 900px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.hero-left-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 63vw;
	max-width: 915px;
}

.hero-left-overlay .hero-left-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-left: -4rem;
    margin-bottom: -4rem;
}

.hero-row {
    position: relative;
    width: 100%;
}

/* First row - Background image with right-aligned image */
.hero-row-1 {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 80%;
}

.hero-row-1 .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-row-1 .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-row-1 .hero-right-content {
    position: relative;
    z-index: 2;
    max-width: 75vw;
    padding-top: 1vh;
    padding-right: 48px;
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    height: 100%;
}

.hero-row-1 .hero-right-content .hero-right-image {
    width: 100%;
    max-width: 915px;
    height: auto;
}

/* Second row - Gradient background with right-aligned text */
.hero-row-2 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 33%;
}

.hero-row-2 .hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    background: radial-gradient(circle, rgba(69, 173, 180, 1) 0%, rgba(69, 173, 180, 1) 80%, rgba(52, 126, 132, 1) 100%);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-row-2 .hero-text-content {
    position: relative;
    z-index: 2;
    width: 60vw;
    display: flex;
	justify-content: flex-end;
    padding-right: 30px;
}

.hero-row-2 .hero-title {
    font-size: clamp(1.5rem, 4vw, 4rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.2;
    margin: 0;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Video Sections */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.video-wrapper:hover {
    transform: scale(1.05);
}
.video-wrapper video:focus-visible {
    outline: 0!important;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* YouTube Player Container */
.youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.youtube-player iframe {
    border-radius: 10px;
}

.video-wrapper.video-wrapper-large {
    border: 2px solid var(--secondary-color);
}

.video-column {
	padding-left: .5rem;
	padding-right: .5rem;
}

/* Video Cover Image */
.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 10px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-wrapper:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    font-size: 7.5rem;
    color: var(--white);
    margin-left: 4px; /* Slight offset to center the play icon */
}

.video-wrapper.video-wrapper-large .play-button {
    width: 320px;
	height: 320px;
	border: 20px solid var(--white);
}

.video-wrapper.video-wrapper-large .play-button i {
    font-size: 10rem;
}

/* Video cover overlay effect */
.video-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
    border-radius: 10px;
}

.video-wrapper:hover .video-cover::before {
    background: rgba(0, 0, 0, 0.2);
}

.video-section {
   	padding-bottom: .5rem;
}

/* Locked Video Section */
.locked-video-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.locked-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.locked-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.video-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lock-content {
    padding: 3rem;
}

.lock-content .lock-button {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 10px solid #ffffff1f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 0 auto 2rem auto;
    animation: pulse 2s infinite;
}

.lock-content .lock-button i {
    font-size: 10rem;
    margin-left: 4px;
    animation: pulse 2s infinite;
}

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

/* Button Section */
.button-section .btn {
    min-width: 360px;
    padding: 4px 90px;
    margin-right: 1.75rem;
    font-size: 2.5rem;
    text-align: center;
    border-radius: .75rem;
    transition: all 0.3s ease;
}

.button-section .btn:last-child {
    margin-right: 0;
}

.button-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Video Columns Section */
.video-column-header {
    padding-bottom: 1rem;
}

.video-column .cover-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-column .cover-image img:hover {
    transform: scale(1.05);
}

/* Countdown Section */
.countdown-section {
    padding-top: 0;
    padding-bottom: 0;
}

.countdown-section h2 {
    font-size: 3.5rem;
    font-weight: normal;
    padding-left: 4rem;
    padding-right: 4rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;    
    min-width: 120px;
}

.countdown-number {
    font-size: 8rem;
    line-height: 1;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 2rem;
    letter-spacing: 1px;
}

/* Image and Text Section */
.image-text-section {
    padding-top: 0;
    padding-bottom: 0;
}

.image-text-section .text-content {
    min-height: 400px;
    padding-right: 2rem;
    text-align: center;
}

.image-text-section .text-content h2 {
    font-size: 3.5rem;
	font-weight: normal;
    padding-right: 1.5rem;
}

.image-text-section .image-text-section-image-left {
    display: block;
    overflow: hidden;
    margin-left: -10px;
}

.image-text-section img {
    margin-left: -5rem;
}

/* Footer */
footer {
    background: #347E84;
    background: linear-gradient(181deg, rgba(52, 126, 132, 1) 0%, rgba(69, 173, 180, 1) 73%, rgba(52, 126, 132, 1) 100%);
    margin-top: auto;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.social-icons a {
    position: relative;
    width: 38px;
	height: 38px;
	padding: 3px;
	display: inline-block;
	transition: all 0.3s ease;
	background-color: white;
	color: var(--primary-color) !important;
    text-align: center;
	margin-right: 10px;
	border-radius: 9px;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.social-icons a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    font-size: 2rem;
}

.social-icons a.facebook i {
    bottom: -7px;
}

.social-icons a.youtube i {
    bottom: -5px;
	font-size: 1.65rem;
}

.footer-copyright {
    font-size: 1.5rem;
}

.footer-copyright p {
    margin-bottom: 0;
}

@media (min-width: 1400px) {
    .hero-row-2 .hero-text-content {
        width: 59vw;
        max-width: 780px;
    }
}

@media (max-width: 1199.98px) {
    .hero-left-overlay {
        width: 77vw;
        max-width: 915px;
    }

    .hero-row-1 .hero-right-content {
        max-width: 75vw;
    }

     .hero-row-1 .hero-right-content .hero-right-image {
        max-width: 772px;
    }

    .play-button {
        width: 160px;
        height: 160px;
    }

    .play-button i {
        font-size: 5.5rem;
    }

    .video-wrapper.video-wrapper-large .play-button {
        width: 280px;
        height: 280px;
        border: 16px solid var(--white);
    }

    .video-wrapper.video-wrapper-large .play-button i {
        font-size: 8rem;
    }

    .image-text-section .text-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    section {
        padding: var(--section-spacing-mobile) 0;
    }

    .hero-section {
        height: 680px;
        /* height: 590px; */
    }

    .hero-left-overlay {
        width: 73vw;
        max-width: 915px;
    }

    .hero-left-overlay .hero-left-image {
        margin-bottom: -2rem;
    }

    .button-section .btn {
        min-width: 198px;
		font-size: 2rem;
		padding: 4px 23px;
		margin-bottom: 1.25rem;
    }

    .countdown-section h2 {
        font-size: 1.75rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .countdown-timer {
        gap: 1rem;
        flex-wrap: wrap;
        margin-top: 1.5rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 1rem;
    }

    .countdown-number {
        font-size: 2.75rem;
    }

    .countdown-label {
        font-size: 1rem;
    }

    .locked-video-wrapper {
        min-height: 450px;
    }

    .image-text-section .text-content {
        min-height: auto;
        padding: 1rem;
        margin-top: 2rem;
    }

    .image-text-section .text-content h2 {
        font-size: 1.5rem;
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .play-button {
        width: 160px;
        height: 160px;
        border: 10px solid var(--white);
    }

    .play-button i {
        font-size: 5.5rem;
    }

    .video-wrapper.video-wrapper-large .play-button {
        width: 140px;
		height: 140px;
		border: 12px solid var(--white);
    }

    .video-wrapper.video-wrapper-large .play-button i {
        font-size: 4rem;
    }

}

/* @media (max-width: 767.98px) { */
@media (max-width: 768.98px) {
    .main-container {
        box-shadow: none;
    }

    .hero-section {
        height: 430px;
    }

    .hero-left-overlay {
        width: 100%;
		bottom: 70px;
		overflow: hidden;
    }
    
    .hero-left-overlay .hero-left-image {
        bottom: 70px;
        max-width: 100vw;
       	min-height: 345px;
		max-height: 356px;
        margin-bottom: -2.5rem;
    }
    
    .hero-row-1 {
        height: calc(100% - 70px);
    }

    .hero-row-1 .hero-right-content {
		position: absolute;
		top: 20px;
		left: 50%;
		transform: translateX(-50%);
		width: 100vw;
		height: 145px;
        padding-right: 0;
    }

    .hero-row-1 .hero-right-content .hero-right-image {
        width: auto;
        height: 100%;
    }
    
    .hero-row-2 {
        height: 70px;
    }

    .hero-row-2 .hero-gradient-bg {
        background: linear-gradient(90deg, rgba(69, 173, 180, 1) 0%, rgba(69, 173, 180, 1) 73%, rgba(52, 126, 132, 1) 100%);
    }    
    
    .hero-row-2 .hero-text-content {
        justify-content: center;
		width: 100%;
		max-width: 100vw;
        padding-right: 20px;
		padding-left: 20px;
    }
    
    .hero-row-2 .hero-title {
        font-size: clamp(1.5rem, 3vw, 1.5rem);
        text-align: center;
    }

    .locked-video-wrapper {
        min-height: 280px;
    }

    .lock-content {
        padding: 1rem;
    }

    .lock-content .lock-button {
        width: 110px;
        height: 110px;
        border-width: 7px;
        margin-bottom: .75rem;
    }

    .lock-content .lock-button i {
        font-size: 3rem;
    }

    .locked-video-wrapper h3 {
        font-size: calc(1rem + 0.4vw);
    }

    .text-muted {
        line-height: 1;
    }

    .button-section-content {
        display: flex;
        flex-direction: column;
    }

    .button-section .btn {
		min-width: 230px;
		font-size: 1.5rem;
		padding: 4px 23px;
        margin-right: 0;
    }

    .image-text-section .text-content {
		margin-top: 0;
	}

    .countdown-timer {
        gap: .5rem;
    }

    .countdown-item {
        min-width: 68px;
        padding: 0.5rem;
    }

    .social-icons a {
        width: 30px;
        height: 30px;
        padding: 3px;
    }

    .social-icons a i {
        font-size: 1.5rem;
    }

    .social-icons a.facebook i {
        bottom: -2px;
    }

    .social-icons a.youtube i {
        bottom: -3px;
		font-size: 1.25rem;
    }
    
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 480px;
    }
}


/* Animation utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}