/*
====================================
PageYaRona - Home Page Specific Styles
====================================
Author: PageYaRona
Description: Modular stylesheet specifically for the home page components
Version: 1.0.0
====================================
*/

/* ===== HERO SECTION ===== */
.hero-section { 
    padding: 120px 0; 
    transition: background-color 0.4s ease-in-out;
}

/* Light mode specific hero styles */
body.light-mode .hero-section {
    background: linear-gradient(-45deg, #f4f4f4, #ffffff, #eef7f6);
    background-size: 400% 400%;
    animation: animatedGradient 15s ease infinite;
}

/* Dark mode specific hero styles */
body.dark-mode .hero-section {
    background: linear-gradient(-45deg, #1e434a, #121212, #2a5a64);
    background-size: 400% 400%;
    animation: animatedGradient 20s ease infinite;
}

.hero-section h1 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: transparent;
    background: linear-gradient(-45deg, var(--c-accent), var(--c-headline), var(--c-accent), var(--c-headline));
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: animatedTextGradient 8s ease infinite;
}

body.dark-mode .hero-section h1 {
    background: linear-gradient(-45deg, var(--c-accent), var(--c-bg-white), var(--c-accent));
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: animatedTextGradient 6s ease infinite;
}

.hero-section .subheadline { 
    font-size: 1.25rem; 
    color: var(--text-color); 
    max-width: 500px; 
}

.hero-buttons .btn { 
    margin-right: 10px; 
    margin-top: 15px; 
}

.hero-image-placeholder {
    max-width: 100%;
    min-height: 400px; 
    background: url('../images/logo-transparent.png') center center / cover no-repeat;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.hero-image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Media Query for tablets and desktops */
@media (min-width: 768px) {
    .hero-image-placeholder {
        min-height: 600px; 
    }
}

/* ===== HOME VALUE CARDS ===== */
.home-value-section .value-card {
    background: var(--card-bg); 
    border: 1px solid var(--border-color); 
    padding: 30px; 
    border-radius: 12px; 
    text-align: center; 
    transition: all 0.4s ease-in-out; 
    height: 100%;
    transform: perspective(1000px);
}

.home-value-section .value-card:hover { 
    transform: perspective(1000px) translateY(-10px) rotateX(5deg) scale(1.02); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}

.home-value-section .value-card i { 
    font-size: 3rem; 
    color: var(--c-accent); 
    margin-bottom: 1rem; 
}

/* ===== PERSONA CARDS ===== */
.persona-section .persona-card {
    background: var(--card-bg); 
    border: 1px solid var(--border-color); 
    padding: 30px; 
    border-radius: 12px; 
    text-align: center; 
    transition: all 0.4s ease-in-out; 
    height: 100%;
    transform: perspective(1000px);
}

.persona-section .persona-card:hover {
    transform: perspective(1000px) translateY(-10px) rotateX(5deg) scale(1.02); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section .value-card {
    position: relative;
}

.how-it-works-section .value-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15%;
    width: 30%;
    height: 2px;
    background-color: var(--c-border);
    display: none;
}

.how-it-works-section .col-md-3:not(:last-child) .value-card::after {
    display: block;
}

@media (max-width: 767px) {
    .how-it-works-section .col-md-3:not(:last-child) .value-card::after {
        display: none;
    }
}

/* ===== FEATURED PROJECTS SECTION ===== */
.project-card {
    background: var(--card-bg); 
    border: 1px solid var(--border-color); 
    padding: 30px; 
    border-radius: 12px; 
    text-align: center; 
    transition: all 0.4s ease-in-out; 
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}

.project-image-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background-color: var(--subtle-bg);
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease-in-out;
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.05);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonial-card { 
    background-color: var(--subtle-bg); 
    padding: 30px; 
    border-left: 5px solid var(--c-accent); 
    border-radius: 5px; 
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testimonial-card blockquote { 
    font-size: 1.1rem; 
    font-style: italic; 
    margin-bottom: 1rem; 
    color: var(--text-color);
}

.testimonial-card .author { 
    font-weight: 700; 
    color: var(--heading-color); 
}

/* ===== PRICING CTA SECTION ===== */
.pricing-cta-section {
    background-color: var(--subtle-bg);
    transition: background-color 0.4s ease-in-out;
}

/* ===== DARK CTA SECTION ===== */
.dark-cta-section {
    background-color: #121212;
    color: var(--c-bg-white);
}

.dark-cta-section h2 {
    color: var(--c-bg-white);
}

/* ===== ANIMATIONS FOR HERO SECTION ===== */
@keyframes animatedGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes animatedTextGradient {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}