/* Modern Navbar Styles from Index */
.header-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.navbar-modern {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-modern.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Logo */
.nav-logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: #bf8c4c;
    background: rgba(191, 140, 76, 0.1);
}

.nav-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(191, 140, 76, 0.2);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    list-style: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: block;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
    color: #bf8c4c;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: rgba(191, 140, 76, 0.15);
    color: #bf8c4c;
    padding-left: 24px;
}

.dropdown-menu li a i {
    width: 20px;
    color: #bf8c4c;
}

/* Right Side Actions */
.nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Social Buttons */
.nav-btn-social {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-btn-social.messenger:hover {
    background: #0084FF;
    border-color: #0084FF;
    box-shadow: 0 0 15px rgba(0, 132, 255, 0.4);
}

.nav-btn-social.phone:hover {
    background: #22c55e;
    border-color: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

/* CTA Button */
.nav-btn-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(180, 28, 27, 0.85);
    color: #fff !important;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-left: 6px;
    outline: none;
}

.nav-btn-cta:hover {
    background: #b41c1b;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(180, 28, 27, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    padding: 90px 20px 30px;
    overflow: hidden;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
}

.mobile-nav-links li {
    margin: 1vh 0;
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-menu.active .mobile-nav-links li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links a {
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(18px, 4vh, 24px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    display: block;
}

.mobile-nav-links a:hover {
    background: linear-gradient(to right, #bf8c4c, #fbf5b7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-dropdown-menu {
    list-style: none;
    padding: 0;
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 5px auto 0;
    width: 90%;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-dropdown-menu a {
    font-size: 14px;
    font-weight: 500;
    padding: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: none;
}

.mobile-dropdown-toggle i {
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s;
    position: relative;
    z-index: 10;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
    transform: rotate(180deg);
    color: #bf8c4c !important;
    opacity: 1 !important;
}

.mobile-cta-container {
    margin: 2vh 0 1vh;
}

.mobile-cta {
    display: inline-block;
    background: transparent;
    border: 2px solid #b41c1b;
    color: #fff !important;
    padding: 8px 30px !important;
    border-radius: 50px;
    font-size: 14px !important;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.mobile-cta:hover {
    background: #b41c1b;
    box-shadow: 0 5px 15px rgba(180, 28, 27, 0.3);
}

.mobile-menu-footer {
    flex-shrink: 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    width: 100%;
}

.mobile-contact-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin: 0 10px 10px;
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

.mobile-contact-item i {
    color: #bf8c4c;
    margin-right: 6px;
}

.mobile-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
}

.mobile-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
}

.mobile-social-btn:hover {
    background: #bf8c4c;
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
        margin-left: 15px;
    }

    .nav-actions {
        gap: 15px;
    }

    .nav-btn-cta span {
        display: none;
    }

    .nav-btn-cta {
        width: 38px;
        height: 38px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        background: rgba(180, 28, 27, 0.9);
        margin-left: 5px;
    }

    .nav-btn-cta i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 12px 16px;
    }

    .nav-logo img {
        height: 36px;
    }

    .nav-btn-social,
    .nav-btn-cta {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .nav-actions {
        gap: 12px;
    }
}

/* Hero Section - Reverted to Original Premium Dark Style */
.blog-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bg/main_bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.blog-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.blog-hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
}

/* Category Filter Section - Integrated with Dark Style */
.category-filter-section {
    background-color: #000;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.filter-label {
    color: #bf8c4c;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-pill:hover {
    border-color: #bf8c4c;
    background: rgba(191, 140, 76, 0.05);
}

.filter-pill.active {
    background: #bf8c4c;
    border-color: #bf8c4c;
    color: #000;
    font-weight: 600;
}

/* Blog Grid & Cards - Restored Original Styles */
.blog-section {
    padding: 80px 0;
    background-color: #000;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #bf8c4c;
}

.blog-img-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-container img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #bf8c4c;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: #bf8c4c;
}

.blog-excerpt {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.read-more-btn {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.read-more-btn:hover {
    color: #bf8c4c !important;
}

.read-more-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

.header-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.navbar-modern {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-premium {
    background: linear-gradient(180deg, #111 0%, #000 100%);
    border-top: 1px solid rgba(191, 140, 76, 0.2);
    font-size: 0.95rem;
}

.footer-premium-title {
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1rem;
}

.footer-link-list li {
    margin-bottom: 12px;
}

.footer-link-list a {
    color: #b0b0b0;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link-list a:hover {
    color: #bf8c4c;
    transform: translateX(5px);
}

.contact-icon-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon-box i {
    color: #bf8c4c;
    margin-top: 5px;
    margin-right: 15px;
    font-size: 1.1rem;
}

.city-list-columns {
    columns: 2;
    column-gap: 15px;
}

.city-list-columns li {
    margin-bottom: 2px;
    font-size: 0.8rem;
    color: #888;
    line-height: 1.3;
}

.city-list-columns li:before {
    content: '•';
    color: #bf8c4c;
    margin-right: 5px;
}

.footer-bottom-premium {
    background-color: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
}

.social-icon-premium a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    margin: 0 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.social-icon-premium a:hover {
    background: #bf8c4c;
    transform: translateY(-3px);
}

/* Mobile Optimization */
@media (max-width: 991px) {
    .footer-premium {
        text-align: center;
    }

    .footer-premium-title {
        margin-bottom: 20px;
        margin-top: 10px;
        display: inline-block;
        border-bottom: 2px solid rgba(191, 140, 76, 0.3);
        padding-bottom: 5px;
    }

    .d-flex.flex-column.align-items-start {
        align-items: center !important;
    }

    .contact-icon-box {
        justify-content: center;
        text-align: left;
        display: inline-flex;
        width: 100%;
        max-width: 300px;
    }

    .city-list-columns {
        text-align: center;
        display: inline-block;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .col-12 {
        margin-bottom: 40px;
    }

    .col-12:last-child {
        margin-bottom: 0;
    }
}

/* Specific Mobile Optimizations (< 768px) */
@media (max-width: 768px) {

    /* Hero Section */
    .blog-hero {
        padding: 120px 0 60px;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
        /* Reduced from 4rem */
        letter-spacing: 1px;
    }

    .blog-hero .mobile-block-span {
        display: block;
        margin-top: 5px;
    }

    .blog-hero p {
        font-size: 1rem;
        /* Reduced from 1.2rem */
        padding: 0 15px;
    }

    /* Filter Section */
    .category-filter-section {
        padding: 20px 0;
    }

    .filter-pills {
        gap: 8px;
    }

    .filter-pill {
        padding: 6px 16px;
        font-size: 0.8rem;
    }

    /* Blog Grid */
    .blog-section {
        padding: 40px 0;
    }

    .blog-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        /* Reduced from 40px */
        padding: 0 15px;
        /* Ensure side padding */
    }

    /* Blog Cards */
    .blog-card {
        margin-bottom: 0;
        /* Flex handles gap */
    }

    .blog-img-container {
        height: 200px;
        /* Slightly reduced height */
    }

    .blog-content {
        padding: 20px;
        /* Reduced from 30px */
    }

    .blog-title {
        font-size: 1.35rem;
        /* Reduced from 1.5rem */
    }

    .blog-excerpt {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* CTA Box Optimization (Articles) */
    .cta-box {
        padding: 40px 20px !important;
        margin-top: 50px !important;
    }

    .cta-box h3 {
        font-size: 1.5rem !important;
    }

    .cta-btn-glass {
        padding: 12px 30px !important;
        font-size: 0.9rem !important;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .cta-phone-glass {
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
        width: 100%;
        justify-content: center;
    }
}