/* cities.css - Complete CSS for City Pages */
/* Designed for Monsoon Blinds City Pages */

/* ========================================= */
/*          Full Width Hero Only            */
/* ======================================== */

.city-hero-full {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.city-hero-full-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.city-hero-overlay-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(45, 27, 78, 0.95) 0%, rgba(106, 76, 147, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.city-hero-content-full {
    text-align: center;
    color: #fff;
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.city-hero-title-full {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: #ffffff !important;
}

.city-hero-subtitle-full {
    font-size: 1.4rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    padding: 0 2rem;
    color: #ffffff !important;
}

.city-hero-content-full .nir-btn {
    font-size: 1.1rem;
    padding: 16px 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.city-hero-content-full .nir-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.city-hero-content-full::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #967bb6, transparent);
    border-radius: 2px;
}

.city-hero-content-full::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #967bb6, transparent);
    border-radius: 2px;
}

/* ========================================= */
/*          Container for All Sections      */
/* ========================================= */

.city-page .container {
    max-width: 1200px !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 auto !important;
}

.city-page .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.city-page .col-lg-12,
.city-page .col-lg-6,
.city-page .col-lg-4,
.city-page .col-lg-8,
.city-page .col-md-12,
.city-page .col-md-6,
.city-page .col-md-4,
.city-page .col-sm-12,
.city-page .col-sm-6 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* ========================================= */
/*          Typography for City Pages       */
/* ========================================= */

.city-page h1,
.city-page h2,
.city-page h3,
.city-page h4,
.city-page h5,
.city-page h6 {
    color: #2d1b4e;
    line-height: 1.3;
}

.city-page h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.city-page h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: #967bb6;
    border-radius: 2px;
}

.city-page h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f1f1;
}

.city-page h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #6a4c93;
}

.city-page h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: #967bb6;
}

.city-page p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

/* ========================================= */
/*          Content Sections in Container   */
/* ========================================= */

.city-content-section {
    padding: 4rem 0;
    background: #fff;
}

.city-content-section:nth-child(even) {
    background: #fbfbfb;
}

.city-benefits-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #6a4c93 0%, #967bb6 100%);
    color: #fff;
    text-align: center;
}

.city-benefits-section h2,
.city-benefits-section h3,
.city-benefits-section h4 {
    color: #fff;
}

.city-benefits-section h2 {
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

/* ========================================= */
/*          Improved CTA Section            */
/* ========================================= */

.city-cta-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)), 
                url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: #fff;
    text-align: center;
    margin: 4rem 0;
    overflow: hidden;
}

.city-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.92) 0%, rgba(106, 76, 147, 0.88) 100%);
    z-index: 1;
}

.city-cta-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.city-cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
    color: #ffffff !important;
}

.city-cta-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #967bb6;
    border-radius: 2px;
}

.city-cta-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    color: #ffffff !important;
}

/* CTA Benefit Cards */
.cta-benefit-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.cta-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.cta-benefit-card:hover::before {
    left: 100%;
}

.cta-benefit-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.cta-benefit-card:hover .cta-benefit-icon {
    transform: scale(1.1);
}

.cta-benefit-card h4 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-benefit-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* CTA Buttons */
.city-cta-content .nir-btn {
    font-size: 1.1rem;
    padding: 18px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.city-cta-content .nir-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.city-cta-content .nir-btn:hover::before {
    left: 100%;
}

.city-cta-content .nir-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.city-cta-content .nir-btn.bg-theme2:hover {
    background: #5d3a87 !important;
}

/* CTA Section Decorative Elements */
.city-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #967bb6, #6a4c93, #967bb6);
    z-index: 2;
}

.city-cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #967bb6, #6a4c93, #967bb6);
    z-index: 2;
}

/* ========================================= */
/*          Image Grids in Container        */
/* ========================================= */

.city-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.city-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.city-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.city-gallery-item:hover .city-gallery-img {
    transform: scale(1.1);
}

/* ========================================= */
/*          Content with Image Layout       */
/* ========================================= */

.city-content-with-image {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 3rem 0;
}

.city-content-with-image .city-content-text {
    flex: 1;
}

.city-content-with-image .city-content-image {
    flex: 1;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.city-content-with-image.flex-row-reverse {
    flex-direction: row-reverse;
}

/* ========================================= */
/*          Lists & Features                */
/* ========================================= */

.city-feature-list {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.city-feature-list li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px dashed #f1f1f1;
}

.city-feature-list li:last-child {
    border-bottom: none;
}

.city-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #967bb6;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ========================================= */
/*          Benefits Cards                  */
/* ========================================= */

.city-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.city-benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.city-benefit-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.city-benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

/* ========================================= */
/*          Recent Articles Section         */
/* ========================================= */

.city-articles-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

/* ========================================= */
/*          SEO Keywords                    */
/* ========================================= */

.city-keywords {
    background: #f0f0f8;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    font-size: 1rem;
}

.city-keywords strong {
    color: #2d1b4e;
    margin-right: 0.5rem;
}

/* ========================================= */
/*          Animation Classes               */
/* ========================================= */

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

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

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

.city-animate-fade {
    animation: cityFadeIn 0.8s ease forwards;
}

.city-animate-left {
    animation: citySlideInLeft 0.8s ease forwards;
}

.city-animate-right {
    animation: citySlideInRight 0.8s ease forwards;
}

/* Staggered animations */
.city-animate-fade.delay-1 { animation-delay: 0.2s; }
.city-animate-fade.delay-2 { animation-delay: 0.4s; }
.city-animate-fade.delay-3 { animation-delay: 0.6s; }
.city-animate-left.delay-1 { animation-delay: 0.3s; }
.city-animate-right.delay-1 { animation-delay: 0.3s; }

/* ========================================= */
/*          Responsive Design               */
/* ========================================= */

@media (max-width: 1200px) {
    .city-hero-title-full {
        font-size: 3.2rem;
    }
    
    .city-page h1 {
        font-size: 2.5rem;
    }
    
    .city-page h2 {
        font-size: 2rem;
    }
    
    .city-hero-content-full {
        max-width: 800px;
    }
    
    .city-cta-title {
        font-size: 2.5rem;
    }
    
    .city-page .container {
        max-width: 1140px !important;
    }
}

@media (max-width: 992px) {
    .city-hero-full {
        height: 450px;
    }
    
    .city-hero-title-full {
        font-size: 2.8rem;
    }
    
    .city-hero-subtitle-full {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .city-content-with-image {
        flex-direction: column;
        gap: 2rem;
    }
    
    .city-content-with-image .city-content-image {
        height: 300px;
        width: 100%;
    }
    
    .city-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .city-cta-title {
        font-size: 2.2rem;
    }
    
    .city-cta-subtitle {
        font-size: 1.1rem;
        padding: 0;
    }
    
    .cta-benefit-card {
        padding: 2rem 1rem;
    }
    
    .cta-benefit-icon {
        font-size: 2.5rem;
    }
    
    .city-page .container {
        max-width: 960px !important;
    }
}

@media (max-width: 768px) {
    .city-hero-full {
        height: 400px;
    }
    
    .city-hero-title-full {
        font-size: 2.4rem;
    }
    
    .city-hero-subtitle-full {
        font-size: 1.1rem;
    }
    
    .city-hero-content-full .nir-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .city-content-section {
        padding: 3rem 0;
    }
    
    .city-page h1 {
        font-size: 2.2rem;
    }
    
    .city-page h2 {
        font-size: 1.8rem;
    }
    
    .city-page h3 {
        font-size: 1.5rem;
    }
    
    .city-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .city-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .city-cta-section {
        padding: 4rem 0;
        background-attachment: scroll;
    }
    
    .city-cta-title {
        font-size: 2rem;
    }
    
    .city-cta-subtitle {
        font-size: 1rem;
    }
    
    .city-cta-content .nir-btn {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 15px !important;
    }
    
    .city-cta-content .row {
        margin-bottom: 2rem;
    }
    
    .city-page .container {
        max-width: 720px !important;
    }
}

@media (max-width: 576px) {
    .city-hero-full {
        height: 350px;
    }
    
    .city-hero-title-full {
        font-size: 2rem;
    }
    
    .city-hero-subtitle-full {
        font-size: 1rem;
        padding: 0;
    }
    
    .city-hero-content-full {
        padding: 2rem 1rem;
    }
    
    .city-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .city-gallery-item {
        height: 200px;
    }
    
    .city-page h1 {
        font-size: 1.8rem;
    }
    
    .city-page h2 {
        font-size: 1.5rem;
    }
    
    .city-cta-title {
        font-size: 1.8rem;
    }
    
    .city-cta-subtitle {
        font-size: 0.95rem;
    }
    
    .cta-benefit-card {
        margin-bottom: 1.5rem;
    }
    
    .city-cta-content .nir-btn {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .city-page .container {
        max-width: 540px !important;
    }
}

/* ========================================= */
/*          Fix for Blog Content           */
/* ========================================= */

.city-page .blog-content {
    padding: 0;
}

.city-page .blog-single {
    max-width: 100%;
}

.city-page .blog-wrapper {
    padding: 0;
}