

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #0f172a;
    --primary-light: #1e293b;
    --accent-color: #c5a059;
    --accent-hover: #b48e4d;
    --text-main: #334155;
    --text-light: #64748b;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navbar Enhancements */
.navbar {
    background-color: rgba(32, 32, 32, 0.95);
    backdrop-filter: blur(10px);
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px !important; /* Increased height for better visibility */
    width: auto !important; /* Override inline width: 30% */
    max-width: 250px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color:white;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 28px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 4px;
    transition: var(--transition);
}

/* Hero Section - The "Wow" Factor */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    background: #585138;
    color: var(--text-white);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
    color: var(--accent-color);
    font-weight: 500;
}

/* Main Content Area */
.main-content {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
    text-align: left;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
}

/* Premium Blog Card */
.blog-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(197, 160, 89, 0.3);
}

.blog-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.blog-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    background: var(--accent-color);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    letter-spacing: 0.05em;
    z-index: 2;
}

.blog-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover h3 {
    color: var(--accent-color);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7;
}

.blog-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.read-more-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more-link {
    color: var(--accent-color);
}

.blog-card:hover .read-more-link i {
    transform: translateX(5px);
}

/* Footer Facelift */
footer {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: var(--text-white);
    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .navbar {
        height: 70px;
    }

    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .blog-grid {
        gap: 30px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--card-bg);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.85rem;
    }
    
    .blog-img {
        height: 200px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Individual Blog Post Styling
   ========================================================================== */

.blog-post {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 4rem;
    border: 1px solid var(--border-color);
}

.blog-post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.blog-post-header h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.blog-content {
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem;
    line-height: 1.3;
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.75rem;
}

.blog-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Tables */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.blog-content th, .blog-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.blog-content th {
    background-color: var(--primary-color);
    color: var(--text-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.blog-content tr:last-child td {
    border-bottom: none;
}

.blog-content tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.blog-content a {
    color: var(--accent-color);
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

.blog-content a:hover {
    border-bottom-color: var(--accent-color);
}

.back-to-blogs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 3rem;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--text-white) !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.back-to-blogs:hover {
    background: var(--accent-color);
    transform: translateX(-5px);
}

/* Specific to Individual Blog Pages Header */
header {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: var(--text-white);
    text-align: center;
    margin-bottom: -40px; /* Overlap with post card */
    position: relative;
    z-index: 1;
}

header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Mobile Adjustments for Blog Post */
@media (max-width: 768px) {
    .blog-post {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .blog-post-header h1 {
        font-size: 2rem;
    }

    .blog-content {
        font-size: 1rem;
    }

    .blog-content h2 {
        font-size: 1.5rem;
    }
}