/**
 * Home Premium Sections CSS
 * Ultra Premium UI/UX for Featured Projects and CTA
 * Inspired by luxury real estate websites
 */

/* ============================================================
   Featured Projects - Premium Showcase
   ============================================================ */
.home-featured-projects {
    padding: 140px 0;
    background: linear-gradient(180deg, #fdfcfa 0%, #f8f6f1 50%, #fdfcfa 100%);
    position: relative;
    overflow: hidden;
}

.home-featured-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.3), transparent);
}

.home-featured {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header with Luxury Typography */
.home-featured__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 80px;
    position: relative;
}

.home-featured__header-content {
    max-width: 700px;
}

.home-featured__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a227;
    margin-bottom: 20px;
}

.home-featured__eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: #c9a227;
}

.home-featured__title {
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 300;
    line-height: 1.1;
    color: #1a1a1a;
    margin: 0 0 20px;
    letter-spacing: -1px;
}

.home-featured__title strong {
    font-weight: 700;
    color: #c9a227;
}

.home-featured__subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: #666;
    max-width: 500px;
}

.home-featured__view-all {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 36px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.home-featured__view-all i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.home-featured__view-all:hover {
    background: linear-gradient(135deg, #c9a227 0%, #e8d48a 100%);
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(201, 162, 39, 0.3);
}

.home-featured__view-all:hover i {
    transform: translateX(5px);
}

/* Premium Project Grid */
.home-featured__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Individual Project Card - Luxury Style */
.home-featured__card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-featured__card:hover {
    transform: translateY(-16px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

/* Card Media with Overlay */
.home-featured__media {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.home-featured__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-featured__card:hover .home-featured__media img {
    transform: scale(1.1);
}

.home-featured__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.home-featured__card:hover .home-featured__media::after {
    opacity: 1;
}

/* Status Badge */
.home-featured__badge {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.home-featured__badge.status-completed {
    background: rgba(39, 174, 96, 0.95);
    color: #fff;
}

.home-featured__badge.status-ongoing {
    background: rgba(201, 162, 39, 0.95);
    color: #1a1a1a;
}

.home-featured__badge.status-planning {
    background: rgba(52, 152, 219, 0.95);
    color: #fff;
}

/* Quick View Button */
.home-featured__quick-view {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-size: 20px;
    color: #1a1a1a;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 2;
}

.home-featured__card:hover .home-featured__quick-view {
    opacity: 1;
    transform: translateY(0);
}

.home-featured__quick-view:hover {
    background: #c9a227;
    color: #fff;
}

/* Card Content */
.home-featured__content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.home-featured__location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #c9a227;
    letter-spacing: 0.5px;
}

.home-featured__location i {
    font-size: 14px;
}

.home-featured__content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.home-featured__card:hover .home-featured__content h3 {
    color: #c9a227;
}

.home-featured__content p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-featured__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.home-featured__cta i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.home-featured__card:hover .home-featured__cta {
    color: #c9a227;
}

.home-featured__card:hover .home-featured__cta i {
    transform: translate(5px, -5px);
}

/* Featured Projects Stats Bar */
.home-featured__stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.home-featured__stat {
    text-align: center;
}

.home-featured__stat-value {
    font-size: 48px;
    font-weight: 700;
    color: #c9a227;
    line-height: 1;
    margin-bottom: 8px;
}

.home-featured__stat-label {
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1200px) {
    .home-featured__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .home-featured-projects {
        padding: 100px 0;
    }
    
    .home-featured__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .home-featured__stats {
        gap: 40px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .home-featured {
        padding: 0 20px;
    }
    
    .home-featured__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .home-featured__title {
        font-size: 36px;
    }
    
    .home-featured__view-all {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   CTA Section - Premium Full-Width
   ============================================================ */
.home-cta {
    padding: 0;
    position: relative;
}

.home-cta__inner {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.home-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(26, 26, 26, 0.75) 50%, rgba(0, 0, 0, 0.85) 100%);
}

.home-cta__content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.home-cta__text {
    color: #fff;
}

.home-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a227;
    margin-bottom: 24px;
}

.home-cta__eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: #c9a227;
}

.home-cta__title {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 24px;
    color: #fff;
}

.home-cta__title strong {
    font-weight: 700;
    color: #c9a227;
}

.home-cta__description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 500px;
}

/* CTA Right Side - Contact Card */
.home-cta__card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 48px;
}

.home-cta__card-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 32px;
}

.home-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 32px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-cta__button--primary {
    background: linear-gradient(135deg, #c9a227 0%, #e8d48a 100%);
    color: #1a1a1a;
    box-shadow: 0 10px 40px rgba(201, 162, 39, 0.3);
}

.home-cta__button--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(201, 162, 39, 0.4);
}

.home-cta__button--primary i {
    transition: transform 0.3s ease;
}

.home-cta__button--primary:hover i {
    transform: translateX(5px);
}

.home-cta__button--ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.home-cta__button--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.home-cta__button--ghost i {
    color: #c9a227;
}

/* CTA Contact Info */
.home-cta__contact {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-cta__contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.home-cta__contact-item:last-child {
    margin-bottom: 0;
}

.home-cta__contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.2);
    border-radius: 50%;
    color: #c9a227;
    font-size: 16px;
}

/* CTA Decorative Elements */
.home-cta__decoration {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.home-cta__decoration--1 {
    top: -200px;
    right: -200px;
}

.home-cta__decoration--2 {
    bottom: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
}

/* Responsive */
@media (max-width: 992px) {
    .home-cta__content {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 80px 30px;
    }
    
    .home-cta__inner {
        min-height: auto;
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .home-cta__content {
        padding: 60px 20px;
    }
    
    .home-cta__card {
        padding: 32px 24px;
    }
    
    .home-cta__title {
        font-size: 32px;
    }
}

