/*
Theme Name: Piety
Theme URI: https://google.com/
Description: A premium commercial construction and architecture theme, built natively for Elementor.
Author: Antigravity
Author URI: https://google.com
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: piety
*/

/* 
  Design System 
  Primary Color: #FFC727 (Yellow)
  Secondary Color: #111111 (Black/Dark)
  Accent Color: #F4F4F4 (Light Gray)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --wp--preset--color--primary: #FFC727;
    --wp--preset--color--secondary: #111111;
    --wp--preset--color--light: #F4F4F4;
    --wp--preset--font-family--heading: 'Outfit', sans-serif;
    --wp--preset--font-family--body: 'Outfit', sans-serif;
}

body {
    font-family: var(--wp--preset--font-family--body);
    background-color: #fff;
    color: var(--wp--preset--color--secondary);
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--wp--preset--color--primary);
}
::-webkit-scrollbar-thumb:hover {
    background: #e5b222;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
[data-aos] {
    transition-duration: 800ms !important;
}

/* Hazard Stripe Utilities */
.hazard-stripe {
    background: repeating-linear-gradient(
        -45deg,
        #FFC727,
        #FFC727 10px,
        #111111 10px,
        #111111 20px
    );
    height: 12px;
    width: 100%;
}

.is-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Premium Button Styles */
.wp-block-button__link {
    background-color: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--secondary) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    padding: 15px 35px !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
}

.wp-block-button__link:hover {
    background-color: var(--wp--preset--color--secondary) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Outlined Text Branding */
.footer-outline-text {
    font-size: 15rem;
    font-weight: 900;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.05);
    color: transparent;
    text-align: center;
    line-height: 1;
    margin-top: -100px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 80px 0;
}

.service-card {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--wp--preset--color--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--wp--preset--color--primary);
    transition: width 0.4s ease;
}

.service-card:hover::after {
    width: 100%;
}

.service-icon {
    font-size: 3rem;
    color: var(--wp--preset--color--primary);
    margin-bottom: 25px;
    display: inline-block;
}

.service-card h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-learn-more {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--wp--preset--color--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 0px; /* Demo often uses tight spacing for projects */
    padding: 0;
}

.project-item {
    position: relative;
    overflow: hidden;
    height: 450px;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.8);
    opacity: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.5s cubic-bezier(0.44, 1.1, 0.53, 0.99);
    transform: translateY(20px);
}

.project-item:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-item:hover {
    transform: scale(1.02);
    z-index: 2;
}

.project-category {
    color: var(--wp--preset--color--primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.project-title {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.project-item .btn-circle {
    width: 50px;
    height: 50px;
    border: 2px solid var(--wp--preset--color--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Marquee Banner */
.marquee-container {
    background: var(--wp--preset--color--primary);
    overflow: hidden;
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--wp--preset--color--secondary);
}

.marquee-content span {
    padding-right: 50px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
