/*
Theme Name: Astra Child - PeachyAppStudio
Theme URI: https://peachyappstudio.com
Description: Cinematic Customizations for PeachyAppStudio
Author: Pui Ho
Author URI: https://peachyappstudio.com
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* --- THE PEACHY EXECUTIVE UI (HEAVENLY LIGHT MODE) --- */

/* 1. Header Background (Clean White Glass) */
html body .main-header-bar {
    background-color: #ffffff !important; 
    border-bottom: 1px solid #f0f0f0 !important;
    backdrop-filter: blur(10px);
}

/* 2. Main Menu Refinement (Dark text for white bg) */
html body #site-navigation .main-navigation a {
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 15px !important;
    color: #1a1a1a !important; /* Serious Dark Gray/Black */
    position: relative;
    transition: color 0.3s ease;
}

/* 3. The Artistic Hover Underline (Keep the Peachy flair) */
html body #site-navigation .main-navigation a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #FF8C61; 
    transition: width .3s;
    position: absolute;
    bottom: 5px;
    left: 15px;
}

html body #site-navigation .main-navigation a:hover::after {
    width: calc(100% - 30px);
}

html body #site-navigation .main-navigation a:hover {
    color: #FF8C61 !important;
}

/* 4. Global Site Background (The Heavenly Refresh) */
html body, 
html body .site-content, 
html body #content {
    background-color: #ffffff !important;
    color: #333333 !important; /* Easy-to-read dark text */
}

/* --- PEACHY PRO HERO LAYOUT --- */

.peachy-hero {
    padding: 100px 0;
    background: #ffffff;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 0 40px;
}

/* Left Column Styling */
.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-title {
    font-size: 4.2rem !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    color: #1a1a1a !important;
    margin-bottom: 25px !important;
}

.hero-title .accent {
    color: #FF8C61;
}

.hero-subtitle {
    font-size: 1.3rem !important;
    color: #666 !important;
    margin-bottom: 45px !important;
}

/* Action Buttons */
.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-main {
    background: #FF8C61;
    color: #fff !important;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(255, 140, 97, 0.2);
    transition: 0.3s;
}

.btn-sub {
    background: #f5f5f7;
    color: #1a1a1a !important;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-main:hover, .btn-sub:hover {
    transform: translateY(-3px);
}

/* Right Column Visuals */
.hero-visual {
    flex: 1;
    position: relative;
}

.app-mockup img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12); /* The Pro Shadow */
}

/* Responsive Fix */
@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-title { font-size: 3rem !important; }
}

/* --- PEACHY CUSTOM FOOTER UI --- */

.peachy-custom-footer {
    background-color: #f9f9fb; /* Very subtle heavenly gray */
    padding: 80px 0 40px;
    border-top: 1px solid #eeeeee;
    color: #333;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-branding {
    max-width: 300px;
}

.footer-logo {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
    margin-bottom: 15px !important;
    color: #1a1a1a !important;
}

.footer-branding p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.footer-column a {
    display: block;
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #FF8C61; /* Peachy accent */
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eeeeee;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #aaa;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-container { flex-direction: column; text-align: center; }
    .footer-branding { margin: 0 auto; }
    .footer-links { justify-content: center; gap: 40px; }
}

/* --- PEACHY GAP REDUCTION --- */

/* 1. Remove top padding from the main content container */
.site-content {
    padding-top: 0 !important;
}

/* 2. Target the specific container for your custom landing page */
.page-template-template-landing #content .ast-container {
    padding-top: 5px !important; /* Adjust this to your liking */
    margin-top: 0 !important;
}

/* 3. If there is still a gap, Astra's entry-header might be the culprit */
.home .entry-header {
    display: none !important;
}

/* 4. Remove margin from the primary div */
#primary {
    margin-top: 0 !important;
}

/* THE NUCLEAR GAP CRUSHER */
.site-header {
    margin-bottom: 0 !important;
}

#content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.ast-container {
    padding-top: 0 !important;
}

.peachy-hero {
    padding-top: 40px !important; /* This controls the gap precisely */
}