/* ============================================
   Leasehold Property Buyers Liverpool - Styles
   ============================================ */

/* Minimal CSS - Let home page theme handle header styling */
/* Only add spacing adjustments for hero section after fixed header */
@media (min-width: 992px) {
    #hero-section.leasehold-hero {
        padding-top: 140px; /* Extra padding to account for fixed header */
    }
}

/* ============================================
   Hero Section Styles - Centered
   ============================================ */
#hero-section.leasehold-hero {
    background: linear-gradient(135deg, rgba(23, 35, 92, 0.9) 0%, rgba(42, 61, 122, 0.9) 100%),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&h=1080&fit=crop') center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 35, 92, 0.7);
    z-index: 1;
}

@media (min-width: 992px) {
    #hero-section.leasehold-hero {
        padding-top: 160px; /* Extra padding to account for fixed header */
        padding-bottom: 100px;
        background-attachment: fixed; /* Parallax effect */
    }
}

#hero-section.leasehold-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(196, 64, 123, 0.15);
    border-radius: 50%;
    z-index: 1;
}

#hero-section.leasehold-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Caveat', cursive;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-cta .btn {
    padding: 16px 35px;
    font-size: 1.15rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: 0;
}

.hero-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Content Image Wrapper
   ============================================ */
.content-image-wrapper {
    position: relative;
}

.content-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.content-image-wrapper:hover img {
    transform: scale(1.05);
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

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

/* Left Side Animations - Content slides in from left */
.scroll-fade-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Right Side Animations - Images slide in from right */
.scroll-fade-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Section Styles
   ============================================ */
.paragraph-section {
    padding: 30px 0;
}

.section-heading {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.paragraph-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* ============================================
   Benefit Boxes
   ============================================ */
.benefit-box {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    border-left: 4px solid #c4407b;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, background 0.3s ease, box-shadow 0.3s ease;
}

.benefit-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-box:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #17235c;
    display: flex;
    align-items: center;
}

.benefit-box p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   Custom List Styles
   ============================================ */
.custom-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.custom-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.custom-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #c4407b;
    font-weight: bold;
    font-size: 1.3rem;
}

/* ============================================
   Area Tags
   ============================================ */
.area-tag {
    background: #e8e8f0;
    padding: 12px 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    color: #17235c;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, background 0.3s ease;
}

.area-tag.visible {
    opacity: 1;
    transform: translateY(0);
}

.area-tag:hover {
    background: #17235c;
    color: #fff;
    transform: translateY(-3px);
}

/* ============================================
   Process Steps
   ============================================ */
.process-step {
    padding: 30px 20px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.process-step.visible {
    opacity: 1;
    transform: scale(1);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #17235c 0%, #c4407b 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(23, 35, 92, 0.3);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #17235c;
    margin-bottom: 15px;
}

.step-description {
    color: #666;
    line-height: 1.7;
}

/* ============================================
   Mid CTA Section
   ============================================ */
#mid-cta.leasehold-cta-mid {
    background: linear-gradient(135deg, #c4407b 0%, #9c3061 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

#mid-cta.leasehold-cta-mid::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-title {
    font-family: 'Caveat', cursive;
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.cta-text {
    font-size: 1.2rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cta-buttons .btn {
    margin: 0;
}

.cta-phone-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
}

.cta-phone-btn:hover {
    background: #fff;
    color: #c4407b;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 991.98px) {
    /* Header adjustments for mobile */
    #header-wrap {
        position: relative !important;
    }
    
    .header-wrap-clone {
        display: none !important;
    }
    
    #hero-section.leasehold-hero {
        margin-top: 0 !important;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    /* Disable horizontal animations on mobile */
    .scroll-fade-in-left,
    .scroll-fade-in-right {
        transform: translateY(30px);
    }
    
    .scroll-fade-in-left.visible,
    .scroll-fade-in-right.visible {
        transform: translateY(0);
    }
    
    /* Mobile menu overlay */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999998;
    }
}

@media (max-width: 767.98px) {
    #hero-section.leasehold-hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .benefit-box {
        margin-bottom: 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .content-image-wrapper {
        margin-bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .paragraph-section {
        padding: 20px 0;
    }
    
    .section-heading {
        font-size: 1.6rem;
    }
}