/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Description: Child theme for Hello Elementor - Luxury Edition
Version: 1.0
*/

/* ============================================
   WORLD-CLASS LUXURY BLOG DESIGN
   AI Construction Company Ltd
============================================ */

/* Reset and Base */
.single-post .site-main {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

/* ============================================
   HERO SECTION - Frosted Glass Luxury
============================================ */

.post-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 650px;
    max-height: 900px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: flex-end;
}

.post-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.post-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.post-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 50px 80px;
}

.post-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 60px 70px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.post-hero-inner:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Category Badge - Premium */
.post-category-badge {
    display: inline-block;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.post-category-badge span {
    display: inline-block;
    padding: 11px 26px;
    background: linear-gradient(135deg, #e67e22 0%, #d67019 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

/* Hero Title - Crystal Clear */
.post-hero-title {
    font-size: 4rem;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 800;
    margin: 0 0 32px 0;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Meta - Elegant & Readable */
.post-hero-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 500;
    padding-top: 28px;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-item svg {
    opacity: 0.85;
}

.meta-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.25);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE - Hero Section
============================================ */

@media (max-width: 1200px) {
    .post-hero-inner {
        padding: 55px 60px;
    }
    
    .post-hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 1024px) {
    .post-hero {
        height: 70vh;
        min-height: 550px;
    }
    
    .post-hero-content {
        padding: 0 40px 70px;
    }
    
    .post-hero-inner {
        padding: 50px 50px;
    }
    
    .post-hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .post-hero {
        height: 65vh;
        min-height: 500px;
    }
    
    .post-hero-content {
        padding: 0 25px 50px;
    }
    
    .post-hero-inner {
        padding: 40px 35px;
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
    }
    
    .post-hero-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }
    
    .post-hero-meta {
        padding-top: 22px;
    }
}

@media (max-width: 480px) {
    .post-hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .post-hero-content {
        padding: 0 20px 40px;
    }
    
    .post-hero-inner {
        padding: 35px 28px;
        border-radius: 8px;
        backdrop-filter: blur(18px) saturate(180%);
        -webkit-backdrop-filter: blur(18px) saturate(180%);
        background: rgba(0, 0, 0, 0.8);
    }
    
    .post-hero-title {
        font-size: 1.75rem;
        letter-spacing: -0.5px;
    }
    
    .post-category-badge {
        margin-bottom: 22px;
    }
    
    .post-category-badge span {
        padding: 9px 20px;
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
    
    .post-hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-top: 20px;
        font-size: 0.9rem;
    }
    
    .meta-divider {
        display: none;
    }
}

/* Support for older browsers without backdrop-filter */
@supports not (backdrop-filter: blur(25px)) {
    .post-hero-inner {
        background: rgba(0, 0, 0, 0.92);
    }
}

/* ============================================
   CONTENT SECTION - Premium Typography
============================================ */

.post-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px 100px;
}

.entry-content {
    font-size: 1.175rem;
    line-height: 1.9;
    color: #2a2a2a;
    font-weight: 400;
}

/* First Paragraph - Lead Style */
.entry-content > p:first-of-type {
    font-size: 1.4rem;
    line-height: 1.75;
    color: #1a1a1a;
    font-weight: 500;
    margin-bottom: 2.5em;
    padding-bottom: 2.5em;
    border-bottom: 1px solid #e5e5e5;
}

.entry-content p {
    margin-bottom: 1.8em;
}

/* Headings - Corporate Luxury */
.entry-content h2 {
    font-size: 2.5rem;
    margin-top: 3.5em;
    margin-bottom: 1.2em;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    line-height: 1.25;
    position: relative;
    padding-top: 0.5em;
}

.entry-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #e67e22 0%, #d67019 100%);
    border-radius: 3px;
}

.entry-content h3 {
    font-size: 1.8rem;
    margin-top: 2.5em;
    margin-bottom: 1em;
    font-weight: 700;
    color: #2a2a2a;
    line-height: 1.4;
}

/* Lists - Sophisticated */
.entry-content ul {
    margin: 2.5em 0;
    padding-left: 0;
    list-style: none;
}

.entry-content li {
    margin-bottom: 1.2em;
    padding-left: 40px;
    position: relative;
    line-height: 1.8;
}

.entry-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: #e67e22;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}

/* Links - Premium Interaction */
.entry-content a {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.entry-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e67e22;
    transition: width 0.3s ease;
}

.entry-content a:hover::after {
    width: 100%;
}

/* Blockquotes - Luxury Styling */
.entry-content blockquote {
    margin: 3em 0;
    padding: 40px 50px 40px 70px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-left: 5px solid #e67e22;
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.7;
    color: #2a2a2a;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.entry-content blockquote::before {
    content: '"';
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 4rem;
    color: rgba(230, 126, 34, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Images - Gallery Style */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    margin: 3em 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.entry-content img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

/* Strong/Bold Text */
.entry-content strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* ============================================
   FOOTER META - Tags & Categories
============================================ */

.post-footer-meta {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 2px solid #f0f0f0;
}

.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.tags-label {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag-item {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f8f8;
    color: #666;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-item:hover {
    background: #e67e22;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================
   COMMENTS - Executive Style
============================================ */

.comments-area {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 3px solid #f0f0f0;
}

.comments-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.comment-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2a2a2a;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e5e5e5;
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #e67e22;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(230, 126, 34, 0.1);
}

.comment-form input[type="submit"] {
    background: linear-gradient(135deg, #e67e22 0%, #d67019 100%);
    color: #ffffff;
    border: none;
    padding: 18px 50px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.3);
}

.comment-form input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.4);
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

@media (max-width: 1024px) {
    .post-hero {
        height: 65vh;
        min-height: 500px;
    }
    
    .post-hero-content {
        padding: 0 40px 60px;
    }
    
    .post-hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .post-hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .post-hero-content {
        padding: 0 25px 50px;
    }
    
    .post-hero-title {
        font-size: 2.2rem;
    }
    
    .post-content-wrapper {
        padding: 60px 25px 80px;
    }
    
    .entry-content {
        font-size: 1.1rem;
    }
    
    .entry-content > p:first-of-type {
        font-size: 1.25rem;
    }
    
    .entry-content h2 {
        font-size: 2rem;
    }
    
    .entry-content h3 {
        font-size: 1.5rem;
    }
    
    .entry-content blockquote {
        padding: 30px 30px 30px 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .post-hero-title {
        font-size: 1.8rem;
    }
    
    .post-hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .meta-divider {
        display: none;
    }
    
    .post-content-wrapper {
        padding: 50px 20px 60px;
    }
    
    .entry-content h2::before {
        width: 60px;
        height: 4px;
    }
}