/* =====================================================
   PROJECT PAGE - KARBALA INDUSTRIAL COMPLEX
   A Premium Landing Page Design - Exact Match to Image
   ===================================================== */

/* CSS Variables - Extending the main style */
:root {
    --project-primary: #731214;
    --project-secondary: #8B1A1C;
    --project-gold: #d4a853;
    --project-dark-blue: #1a2744;
    --project-navy: #2c3e5c;
    --project-cream: #f5f0e6;
    --project-beige: #e8dcc8;
    --frame-border-width: 20px;
}




/* Frame Border Design - Dark Navy Blue Frame */
.frame-border {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(180deg, #ded1aa 0%, #eae6da 30%, #ffffff 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Pattern Side Decorations - Vertical Ornamental Borders */
.pattern-side-right {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: stretch;
    pointer-events: none;
}

.pattern-side-right img {
    height: 100%;
    width: 100%;
    object-fit: fill;
}



.pattern-side-left img {
    height: 100%;
    width: 100%;
    object-fit: fill;
}

/* Main Content Area */
.project-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    /* padding: 0 60px; */
}

/* Cloud Background - Subtle Sky Effect */
.cloud-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.cloud-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

/* Project Hero Section */
.project-hero {
    flex: 1;
    position: relative;
    z-index: 5;
    padding-top: 30px;
}

.project-hero .row {
    min-height: 400px;
}

/* Building Section - Left Side in Image */
.building-section {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
}

.building-wrapper {
    position: relative;
    width: 100%;
}

.building-img {
    width: 100%;
    max-width: 550px;
    height: 300px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
    position: relative;
    z-index: 2;
}

/* Text Content Section - Right Side in Image */
.text-content-section {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    padding: 40px 20px 40px 40px;
}

.hero-text-content {
    width: 100%;
}

/* Main Title Styling - Matching the Red Color */
.main-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--project-primary);
    line-height: 1.4;
    margin-bottom: 5px;
    text-align: right;
}

.main-title::after {
    display: none;
}

.sub-title {
    
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--project-primary);
    line-height: 1.4;
    margin-bottom: 25px;
    text-align: right;
}

/* Description Content */
.description-content {
    text-align: right;
}

.description-text {
    
    font-size: 1rem;
    color: #4a3f35;
    line-height: 1.8;
    margin-bottom: 5px;
    text-align: right;
}

.description-text.lead-text {
    font-weight: 600;
    color: #3a3530;
    margin-bottom: 10px;
}

.description-text.highlight-text {
    color: var(--project-primary);
    font-weight: 500;
    margin-top: 10px;
}

.description-text.tagline {
    color: #4a3f35;
    font-weight: 400;
}

/* Street Section - Cars and Road */
.street-section {
    position: relative;
    z-index: 4;
    width: 100%;
    margin-top: -86px;
    overflow: hidden;
    justify-content: end;
}

.street-img {
    max-width: 100%;
    height: 580px;
    display: flex;
}

/* Bottom Section with CTA - Cream Background */
.bottom-section {
    background: linear-gradient(180deg, rgba(240, 232, 216, 0) 0%, #e5d9c3 100%);
    padding: 20px 0 30px;
    position: relative;
    z-index: 6;
}

.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 80px;
    flex-wrap: wrap;
    gap: 20px;
}

/* Logo Wrapper - Right Side */
.logo-wrapper {
    order: 2;
}

.karbala-logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Contact Buttons - Left Side */
.contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 99;
    right: 25px;
    bottom: 25px;
}

.contact-label {
    
    font-size: 0.85rem;
    color: #6a5a4a;
    margin-bottom: 3px;
    text-align: center;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    min-width: 220px;
}

.btn-whatsapp {
    background:linear-gradient(135deg, #2b3481, #2b3481);
    color: #fff;
    box-shadow: 0 4px 15px rgba(115, 18, 20, 0.25);
    border: 2px solid transparent;
}

.btn-whatsapp:hover {
    background: transparent;
     color:  #2b3481;
    border: 2px solid #2b3481;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(115, 18, 20, 0.35);
}

.btn-map {
    background: transparent;
    color:  #2b3481;
    border: 2px solid #2b3481;
    padding: 8px 28px;
}

.btn-map:hover {
    background: #2b3481;
    color: #fff;
    transform: translateY(-2px);
}

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

@media (max-width: 1400px) {
    .main-title {
        font-size: 2.6rem;
    }
    
    .sub-title {
        font-size: 1.9rem;
    }
    
    .project-content {
        padding: 0 50px;
    }
    
    .cta-wrapper {
        padding: 0 60px;
    }
}

@media (max-width: 1200px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .sub-title {
        font-size: 1.6rem;
    }
    
    .description-text {
        font-size: 0.95rem;
    }
    
    .pattern-side-right,
    .pattern-side-left {
        width: 35px;
    }
    
    .project-content {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    :root {
        --frame-border-width: 12px;
    }
    
    .project-hero {
        padding-top: 20px;
    }
    
    .text-content-section {
        padding: 30px 15px;
        text-align: center;
    }
    
    .hero-text-content {
        text-align: center;
    }
    
    .main-title,
    .sub-title,
    .description-text {
        text-align: center;
    }
    
    .building-section {
        justify-content: center;
        padding-top: 20px;
    }
    
    .building-img {
        max-width: 380px;
        margin: 0 auto;
        display: block;
    }
    
    .main-title {
        font-size: 1.9rem;
    }
    
    .sub-title {
        font-size: 1.4rem;
    }
    
    .street-section {
        margin-top: -40px;
    }
    
    .pattern-side-right,
    .pattern-side-left {
        display: none;
    }
    
    .project-content {
        padding: 0 15px;
    }
    
    .cta-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }
    
    .logo-wrapper,
    .contact-buttons {
        order: unset;
    }
    
    .logo-wrapper {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    :root {
        --frame-border-width: 8px;
    }
    
    .main-title {
        font-size: 1.6rem;
    }
    
    .sub-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .description-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .btn-contact {
        min-width: 200px;
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    
    .karbala-logo {
        max-width: 140px;
    }
    
    .building-img {
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    :root {
        --frame-border-width: 6px;
    }
    
    .main-title {
        font-size: 1.4rem;
    }
    
    .sub-title {
        font-size: 1.1rem;
    }
    
    .description-text {
        font-size: 0.85rem;
    }
    
    .btn-contact {
        min-width: 180px;
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .bottom-section {
        padding: 15px 0 25px;
    }
    
    .building-img {
        max-width: 220px;
    }
}

/* =====================================================
   ANIMATIONS & ENHANCEMENTS
   ===================================================== */

/* Smooth entrance animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.main-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.sub-title {
    animation: fadeInUp 0.8s ease-out 0.35s both;
}

.description-text {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.building-wrapper {
    animation: fadeInLeft 1s ease-out 0.3s both;
}

/* Subtle building hover effect */
.building-wrapper:hover .building-img {
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
    transform: translateY(-5px);
    transition: all 0.4s ease;
}

.building-img {
    transition: all 0.4s ease;
}

/* Button animations */
.btn-contact {
    animation: fadeInUp 0.8s ease-out 1s both;
}

/* Premium shadow for frame */
.frame-border {
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.03);
}

/* Cloud subtle animation */
.cloud-img {
    animation: cloudDrift 5s ease-in-out infinite alternate;
}

@keyframes cloudDrift {
    0% {
        transform: translateX(-100px) scale(1);
    }
    100% {
        transform: translateX(100px) scale(1.02);
    }
}
.button-akd{background: #a97071 !important;}
.border-akd{border-color: #a97071 !important;color: #a97071 !important;}