/*
Theme Name: Pipolink Coming Soon
Author: Pipolink
Author URI: https://pipolink.com
Description: A simple coming soon page theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pipolink-coming-soon
*/

/* Reset & Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

:root {
	--primary: #ff4d6d;
	--primary-dark: #d90429;
	--dark: #2b2d42;
	--light: #f8f9fa;
	--gray: #adb5bd;
	--transition: all 0.3s ease;
}

body {
	background-color: var(--dark);
	color: var(--light);
	overflow-x: hidden;
	line-height: 1.6;
}

/* Typography */
h1 {
	font-size: clamp(3rem, 8vw, 6rem);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 1.5rem;
	background: linear-gradient(45deg, var(--primary), #ff8fab);
	-webkit-background-clip: text;
	/*background-clip: text;*/
	color: transparent;
}

h2 {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	font-weight: 600;
	margin-bottom: 1.5rem;
}

p {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	max-width: 600px;
}

.highlight {
	color: var(--primary);
	font-weight: 600;
}

/* Layout */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

section {
	padding: 6rem 0;
	position: relative;
}

/* Hero Section */
.hero {
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	position: relative;
	overflow: hidden;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
}

.cta-button {
	display: inline-block;
	background-color: var(--primary);
	color: white;
	padding: 1rem 2.5rem;
	border-radius: 50px;
	font-weight: 600;
	text-decoration: none;
	margin-top: 2rem;
	transition: var(--transition);
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
}

.cta-button:hover {
	background-color: var(--primary-dark);
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Slideshow */
.slideshow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0.15;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
}

.slide.active {
	opacity: 1;
}

/* Features Section */
.features {
	background-color: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.feature-card {
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 16px;
	padding: 2rem;
	transition: var(--transition);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
	transform: translateY(-10px);
	background-color: rgba(255, 255, 255, 0.1);
	border-color: var(--primary);
}

.feature-icon {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	color: var(--primary);
}

.feature-title {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: white;
}

/* Analog Countdown */
.countdown-analog {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-top: 3rem;
	flex-wrap: wrap;
}

.countdown-digit {
	position: relative;
	width: 100px;
	height: 150px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.digit-display {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 4rem;
	font-weight: 700;
	color: var(--primary);
	z-index: 2;
}

.digit-fill {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 0%;
	background: linear-gradient(to top, var(--primary), var(--primary-dark));
	transition: height 0.5s ease-out;
}

.countdown-label {
	position: absolute;
	bottom: -25px;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--gray);
}

/* Newsletter */
.newsletter {
	margin-top: 3rem;
}

.newsletter-form {
	display: flex;
	max-width: 500px;
	margin-top: 1rem;
}

.newsletter-input {
	flex: 1;
	padding: 1rem;
	border: none;
	border-radius: 50px 0 0 50px;
	font-size: 1rem;
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
}

.newsletter-input::placeholder {
	color: var(--gray);
}

.newsletter-button {
	padding: 0 2rem;
	border-radius: 0 50px 50px 0;
	border: none;
	background-color: var(--primary);
	color: white;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
}

.newsletter-button:hover {
	background-color: var(--primary-dark);
}

/* Footer */
footer {
	text-align: center;
	padding: 3rem 0;
	background-color: rgba(0, 0, 0, 0.3);
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 2rem;
}

.social-link {
	color: var(--gray);
	font-size: 1.5rem;
	transition: var(--transition);
}

.social-link:hover {
	color: var(--primary);
}

/* Mobile Styles */
@media (max-width: 768px) {
	section {
		padding: 4rem 0;
	}

	.hero-content {
		text-align: center;
		align-items: center;
	}

	.newsletter-form {
		flex-direction: column;
	}

	.newsletter-input {
		border-radius: 50px;
		margin-bottom: 1rem;
	}

	.newsletter-button {
		border-radius: 50px;
		padding: 1rem;
	}

	.countdown-analog {
		gap: 1rem;
	}

	.countdown-digit {
		width: 70px;
		height: 100px;
	}

	.digit-display {
		font-size: 2.5rem;
	}
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in {
	animation: fadeIn 1s ease-out forwards;
}

.delay-1 {
	animation-delay: 0.2s;
}

.delay-2 {
	animation-delay: 0.4s;
}

.delay-3 {
	animation-delay: 0.6s;
}

.delay-4 {
	animation-delay: 0.8s;
}


.featured-image-container {
    max-width: 100%;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 12px;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

/* contact form 7 */

/* Contact Form 7 Newsletter Styles */
.newsletter-form .wpcf7 {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .wpcf7-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form .wpcf7-form-control-wrap {
    width: 100%;
}

.newsletter-form .wpcf7-email {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-bottom: 1rem;
}

.newsletter-form .wpcf7-email::placeholder {
    color: #adb5bd;
}

.newsletter-form .wpcf7-submit.newsletter-button {
    background-color: #ff4d6d;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: auto;
    margin: 0 auto;
}

.newsletter-form .wpcf7-submit.newsletter-button:hover {
    background-color: #d90429;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-form .wpcf7-response-output {
    color: white;
    margin: 1rem 0 0 !important;
    padding: 1rem !important;
    border-radius: 8px;
    border: none !important;
    background: rgba(255,255,255,0.1);
}

.newsletter-form .wpcf7-not-valid-tip {
    color: #ff4d6d;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .newsletter-form .wpcf7-form {
        flex-direction: column;
    }
    
    .newsletter-form .wpcf7-email {
        border-radius: 50px;
        margin-bottom: 1rem;
    }
    
    .newsletter-form .wpcf7-submit.newsletter-button {
        border-radius: 50px;
        padding: 1rem;
        width: 100%;
    }
}
