/* Deep Green Theme - Refined & Minimalist Design */

/* Import CSS Variables */
@import url('themes/deep-variables.css');

/* Typography */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    color: var(--text-primary);
    background-color: var(--background-light);
    font-weight: 300;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: -0.3px;
    line-height: 1.3;
}

/* Three-Part Header */
.site-header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    padding-left: 0;
    padding-right: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo Section (Left) */
.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: inline-block;
    transition: all 0.2s ease;
}

.header-logo a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.header-logo img {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
    display: block;
}

/* Menu Section (Center) */
.header-menu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.header-menu-collapse {
    display: block;
}

/* Force menu visible on desktop */
@media (min-width: 992px) {
    .header-menu-collapse {
        display: block !important;
    }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-light);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
}

.mobile-menu-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(107, 159, 120, 0.25);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44, 62, 53, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-list li {
    position: relative;
}

.nav-list li > a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    border-radius: var(--border-radius-sm);
}

.nav-list li > a:hover {
    color: var(--primary-green);
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* Dropdown */
.nav-list .dropdown {
    position: relative;
}

.nav-list .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 1000;
    list-style: none;
}

.nav-list .dropdown-menu .dropdown-item {
    color: var(--text-primary);
    padding: 0.6rem 1.5rem;
    font-weight: 300;
    transition: all 0.2s ease;
    font-size: 15px;
    text-decoration: none;
    display: block;
}

.nav-list .dropdown-menu .dropdown-item:hover {
    background-color: var(--subtle-bg);
    color: var(--primary-green);
}

/* Social Section (Right) */
.header-social {
    flex-shrink: 0;
}

.header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 18px;
}

.header-social a:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(107, 159, 120, 0.4);
}

/* Responsive */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block;
    }

    .header-menu {
        position: relative;
    }

    .header-menu-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid var(--border-light);
        border-radius: var(--border-radius-md);
        margin-top: 10px;
        box-shadow: var(--shadow-md);
        padding: 1rem;
        z-index: 1000;
        display: none;
    }

    .header-menu-collapse.show {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-list li > a {
        padding: 0.75rem 1rem;
    }

    .nav-list .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        margin-top: 0;
        padding-left: 1rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 350px;
    overflow: hidden;
    margin: 0 -15px 40px -15px;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) saturate(0.95);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 159, 120, 0.2) 0%, rgba(90, 130, 102, 0.3) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-dark);
    z-index: 10;
    width: 90%;
    max-width: 800px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(255,255,255,0.8);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(255,255,255,0.6);
    opacity: 0.9;
}

.btn-hero {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 12px 32px;
    border-radius: var(--border-radius-sm);
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 15px;
    letter-spacing: 0.3px;
}

.btn-hero:hover {
    background: #fff;
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-decoration: none;
}

/* Content Area */
.body-content {
    background-color: transparent;
    padding: 0;
}

.contentIdx {
    margin-top: 0;
}

/* Sidebar Widgets */
.panel-green {
    background: transparent;
    margin-bottom: 24px;
}

.panel-green .panel-heading {
    background: transparent;
    color: var(--text-dark);
    padding: 17px 0 15px 0;
    margin-bottom: 0;
    border: none;
    border-bottom: 1px solid var(--border-light);
}

.panel-green .panel-title {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.panel-green .panel-body {
    padding: 20px 0;
}

.panel-green .list-unstyled {
    margin: 0;
    padding: 0;
}

.panel-green .list-unstyled li {
    margin-bottom: 12px;
}

.panel-green .list-unstyled li:last-child {
    margin-bottom: 0;
}

/* Links */
a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--dark-green);
    text-decoration: none;
}

/* Gallery - Original Design */
.gallery {
    position: relative;
}

.image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.gallery:hover .image {
    -webkit-filter: grayscale(60%) blur(2px);
    filter: grayscale(60%) blur(2px);
    transition: .2s ease-in-out;
}

.gallery:hover .middle {
    opacity: 1;
}

.gal-inside {
    position: relative;
}

.gal-inside:hover .image {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: .2s ease-in-out;
}

.text {
    color: white;
    font-size: 30px;
    padding: 2px 32px;
    cursor: pointer;
}

.text a {
    color: inherit;
}

.text-gallery {
    color: white;
    font-size: 16px;
    padding: 2px 32px;
    cursor: pointer;
}

.text-gallery a {
    color: inherit;
}

.text-sub {
    color: white;
    font-size: 12px;
    padding: 2px 36px;
    cursor: pointer;
}

.responsive {
    padding: 0 0 2px 2px;
    float: left;
    width: 24.99999%;
}

@media only screen and (max-width: 700px) {
    .responsive {
        width: 49.99999%;
        margin: 6px 0;
    }
}

@media only screen and (max-width: 500px) {
    .responsive {
        width: 100%;
    }
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.gallery-crumb {
    background-color: white;
    margin-bottom: 8px;
    padding-left: 1px;
}

/* Article Entries */
.entry {
    padding-bottom: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--border-light);
}

.entry:last-child {
    border-bottom: none;
}

.entry-title a {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 400;
    text-decoration: none;
    line-height: 1.4;
}

.entry-title a:hover {
    color: var(--primary-green);
}

.entry-date {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 300;
    display: block;
    letter-spacing: 0.3px;
}

.entry-content {
    line-height: 1.8;
    color: var(--text-primary);
}

/* Page Title */
.page-title {
    font-size: 2rem;
    font-weight: 300;
    padding-bottom: 15px;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--primary-green);
    letter-spacing: 0.5px;
    color: var(--text-dark);
}

/* Footer */
footer {
    background: transparent;
    color: var(--text-secondary);
    padding: 40px 0 20px 0;
    margin-top: 80px;
    border-top: 1px solid var(--border-light);
    font-weight: 300;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.footer-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-size: 13px;
}

.footer-right {
    flex-shrink: 0;
}

.footer-social {
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 24px;
}

.footer-social:hover {
    color: var(--dark-green);
    transform: scale(1.1);
}

.footer-info i {
    color: var(--primary-green);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    font-size: 12px;
    opacity: 0.7;
}

.footer-copyright p {
    margin: 0;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-left {
        text-align: center;
        align-items: center;
    }

    .footer-info {
        justify-content: center;
    }
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 12px 0;
    margin-bottom: 25px;
    border: none;
    font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-secondary);
    font-weight: 300;
}

.breadcrumb-item.active {
    color: var(--primary-green);
    font-weight: 400;
}

/* Tables */
table {
    background-color: #fff;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

table thead {
    background: var(--subtle-bg);
    color: var(--text-dark);
}

table th {
    padding: 12px 15px;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.3px;
}

table td {
    padding: 12px 15px;
    font-weight: 300;
}

table tbody tr {
    border-bottom: 1px solid var(--border-subtle);
}

table tbody tr:hover {
    background-color: var(--subtle-bg);
}

/* Buttons */
.btn-primary {
    background: var(--primary-green);
    border: 1px solid var(--primary-green);
    color: #fff;
    font-weight: 400;
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
    font-size: 15px;
}

.btn-primary:hover {
    background: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Forms */
.form-control {
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-light);
    padding: 10px 15px;
    transition: all 0.2s ease;
    font-weight: 300;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(107, 159, 120, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        height: 300px;
    }

    .body-content {
        padding: 30px 15px;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .entry-title a {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
        letter-spacing: 0;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-section {
        height: 280px;
    }

    .btn-hero {
        padding: 10px 24px;
        font-size: 14px;
    }

    .page-title {
        font-size: 1.4rem;
    }

    .entry-title a {
        font-size: 1.3rem;
    }
}
