/* ===============================================
   BLOGS PAGE STYLES - INNER ARCH
   =============================================== */

/* Root Variables */
:root {
    --primary-brown: #8B4513;
    --secondary-brown: #A0522D;
    --dark-brown: #654321;
    --light-brown: #D2B48C;
    --cream: #F5F5DC;
    --white: #FFFFFF;
    --text-dark: #2c2c2c;
    --text-gray: #666;
    --overlay-dark: rgba(44, 44, 44, 0.7);
    --overlay-light: rgba(255, 255, 255, 0.9);
}

/* Blog Hero Section *//*
.blog-hero {
    
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.85), rgba(160, 82, 45, 0.75)),
                url('../images/blog-hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/blueprint-pattern.png') center/cover;
    opacity: 0.05;
    z-index: 0;
}*/
/*
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 69, 19, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.95;
    letter-spacing: 1px;
}*/

/* Main Blog Section */
.blog-main-section {
    background: linear-gradient(to bottom, #f8f6f4 0%, #fff 100%);
    padding: 30px 0;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Featured Section */
.featured-section {
    margin-bottom: 60px;
}

.section-label {
    height: 1px;          /* adjust as needed */
  display: flex;
  align-items: center;    /* vertical center */
  justify-content: center;
    
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
   
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.15);
    height: 450px;
}

.featured-image {
    overflow: hidden;
    height: 100%;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--white);
}

.featured-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 50px;
    line-height: 1.3;
}

.btn-read-story2{
    background: var(--white);
    color: #32302D;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;

}

.btn-read-story3{
     background: var(--white);
    color: var(#09637E);
    padding: 5px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;


}
.btn-read-story {
    background: var(--white);
    color: var(--primary-brown);
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-read-story:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

/* Blog Card Base Styles */
.blog-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
}

/* Card Sizes */
.card-large {
    grid-column: span 2;
    min-height: 400px;
}

.card-medium {
    grid-column: span 1;
    min-height: 400px;
}

/* Blog Card Image */
.blog-card-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

/* Blog Card Overlay */
.blog-card-overlay {
    margin-left: 30%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 40px 30px;
    display: flex;
    align-items: flex-end;
    min-height: 150px;
}

.blog-card-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    margin: 0;
}

/* Dark Overlay Variation */
.dark-overlay {
    background: linear-gradient(to top, rgba(20, 50, 80, 0.9) 0%, rgba(20, 50, 80, 0.4) 100%);
}

/* Bordered Overlay 
.bordered {
    border: 3px solid var(--white);
    margin: 15px;
    padding: 30px 25px;
    border-radius: 8px;
}*/

/* Solid Background Cards */
.blog-card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 40px;
}

.solid-bg {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.9), rgba(160, 82, 45, 0.85));
    color: var(--white);
}

.solid-bg h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.solid-bg p {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.95;
}

/* Quote Card */
.quote-card {
    background: linear-gradient(135deg, #2c5364, #203a43);
    color: var(--white);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
}

.quote-card blockquote {
    margin: 0;
    position: relative;
}

.quote-card blockquote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.quote-card blockquote::before {
    content: '"';
    font-size: 6rem;
    font-family: 'Playfair Display', serif;
    position: absolute;
    top: -40px;
    left: -10px;
    opacity: 0.3;
    line-height: 1;
}

/* Featured Highlight */
.featured-highlight {
    position: relative;
}

/* Load More Section */
.load-more-section {
    
    display: flex;
    justify-content: flex-end;

    padding: 40px 0;
    text-align: center;
    
    
}

.btn-load-more {
    background: transparent;
    border: 2px solid var(--primary-brown);
    color: var(--primary-brown);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-load-more:hover {
    background: var(--primary-brown);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.3);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.newsletter-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 1.2 rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

.newsletter-form .btn-primary {
    padding: 16px 35px;
    background: var(--white);
    color: var(--primary-brown);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-form .btn-primary:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

/* Side Social Bar */
.side-social-bar {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 100;
    background: rgba(139, 69, 19, 0.1);
    padding: 20px 12px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #2F80ED;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary-brown);
    transform: scale(1.1);
}

.social-label {
    writing-mode: vertical-rl;
    font-size: 0.75rem;
    font-weight: 600;
    color:#2F80ED;
    letter-spacing: 2px;
    margin: 10px 0;
}

.settings-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #2F80ED;
    color: var(--primary-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.settings-icon:hover {
    background: var(--primary-brown);
    color: var(--white);
    transform: rotate(90deg);
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-column h4 {
    
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light-brown);
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--light-brown);
}

.footer-column ul li i {
    margin-right: 10px;
    color: var(--light-brown);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-brown);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}


/* WhatsApp Floating Button */
.whatsapp-mobile-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-mobile-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-large {
        grid-column: span 2;
    }
    
    .card-medium {
        grid-column: span 1;
    }
    
    .side-social-bar {
        left: 15px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .featured-image {
        height: 350px;
    }
    
    .featured-content {
        padding: 40px;
    }
    
    .featured-content h2 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .side-social-bar {
        display: none;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-large,
    .card-medium {
        grid-column: span 1;
        min-height: 350px;
    }
    
    .section-label {
        font-size: 1.8rem;
    }
    
    .featured-content h2 {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-content h2 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .blog-card-overlay h3 {
        font-size: 1.4rem;
    }
    
    .solid-bg h3 {
        font-size: 1.5rem;
    }
    
    .quote-card blockquote p {
        font-size: 1.2rem;
    }
    
    .blog-card-content {
        padding: 35px 25px;
    }
    
    .whatsapp-mobile-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

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

.blog-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }
.blog-card:nth-child(7) { animation-delay: 0.7s; }
.blog-card:nth-child(8) { animation-delay: 0.8s; }
.blog-card:nth-child(9) { animation-delay: 0.9s; }
