/* ========================================
   Coner Theme - Main Stylesheet
   ======================================== */

:root {
    --color-primary: #e67e22;
    --color-primary-dark: #d35400;
    --color-dark: #2c3e50;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg-light: #f5f5f5;
    --color-white: #ffffff;
    --color-border: #e0e0e0;
    --font-primary: 'Open Sans', sans-serif;
    --font-heading: 'Roboto', sans-serif;
}

/* ========================================
   Base Styles
   ======================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark);
    margin-top: 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: var(--color-primary-dark);
    text-decoration: none;
}

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

/* ========================================
   Top Bar
   ======================================== */

.top-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 5px 0;
    font-size: 13px;
}

.top-bar__contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

.top-bar__contacts li {
    display: inline-block;
    margin-left: 20px;
}

.top-bar__contacts a {
    color: var(--color-white);
}

.top-bar__contacts a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.top-bar__contacts i {
    margin-right: 5px;
}

/* ========================================
   Header
   ======================================== */

.site-header {
    background-color: var(--color-white);
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header__logo img {
    max-height: 60px;
    width: auto;
}

.site-header__toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.site-header__toggle .icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Navigation */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 5px;
}

.nav-menu a {
    display: block;
    padding: 8px 15px;
    color: var(--color-dark);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    color: var(--color-primary);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-white);
    z-index: 9999;
    padding: 60px 20px 20px;
    overflow-y: auto;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav__menu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-border);
}

/* ========================================
   Hero Slider
   ======================================== */

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider__slide {
    height: 70vh;
    min-height: 400px;
    max-height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-slider__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 40px 0;
    color: var(--color-white);
}

.hero-slider__caption h2 {
    color: var(--color-white);
    font-size: 32px;
    margin-bottom: 15px;
}

.carousel-indicators {
    bottom: 15px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    border: 2px solid var(--color-white);
    background-color: transparent;
}

.carousel-indicators .active {
    background-color: var(--color-white);
    width: 12px;
    height: 12px;
}

.carousel-control {
    width: 5%;
    background-image: none !important;
    opacity: 0.7;
}

.carousel-control:hover {
    opacity: 1;
}

.carousel-control .glyphicon {
    font-size: 30px;
}

/* ========================================
   Sections
   ======================================== */

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.services-section {
    padding: 60px 0;
    background-color: var(--color-bg-light);
}

.about-section {
    padding: 60px 0;
}

/* ========================================
   Service Cards
   ======================================== */

.service-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    color: var(--color-white);
}

.service-card__image {
    height: 250px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-card__content h2 {
    color: var(--color-white);
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.service-card__arrow {
    font-size: 18px;
}

/* ========================================
   About Section
   ======================================== */

.about-section__image img {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.about-section__text {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ========================================
   Page Header (Breadcrumbs)
   ======================================== */

.page-header {
    background-color: var(--color-bg-light);
    padding: 30px 0;
    margin: 0;
    border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.page-header .breadcrumb a {
    color: var(--color-primary);
}

.page-header .breadcrumb .active {
    color: var(--color-text-light);
}

/* ========================================
   Page Content
   ======================================== */

.page-content {
    padding: 40px 0;
}

/* ========================================
   Project Cards
   ======================================== */

.project-card {
    display: block;
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.project-card__image {
    height: 200px;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card__content {
    padding: 15px;
    background: var(--color-white);
}

.project-card__content h3 {
    font-size: 16px;
    margin: 0;
    color: var(--color-dark);
}

.projects-year__title {
    font-size: 24px;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

/* ========================================
   Project Single
   ======================================== */

.project-single__address,
.project-single__description {
    margin-bottom: 30px;
}

.project-single__address h3,
.project-single__description h3 {
    color: var(--color-primary);
    font-size: 18px;
}

.project-single__gallery {
    margin: 30px 0;
}

.project-single__gallery h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.project-gallery__item {
    display: block;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.project-gallery__item img {
    width: 100%;
    transition: opacity 0.3s ease;
}

.project-gallery__item:hover img {
    opacity: 0.85;
}

/* ========================================
   Service Page
   ======================================== */

.service-page__image {
    margin-bottom: 20px;
}

.service-page__image img {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.service-page__content {
    line-height: 1.8;
    font-size: 15px;
}

/* ========================================
   About Page
   ======================================== */

.about-page__intro {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-page__services {
    margin-bottom: 30px;
}

.about-page__services h3 {
    color: var(--color-primary);
}

.about-page__certificates {
    margin: 30px 0;
}

.certificate-block {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--color-bg-light);
    border-radius: 4px;
}

.certificate-block h3 {
    margin-bottom: 15px;
}

.certificate-block img {
    max-width: 400px;
    margin-bottom: 15px;
}

.about-page__memberships {
    margin: 30px 0;
}

.membership-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.membership-item__logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 15px;
}

/* ========================================
   Contacts Page
   ======================================== */

.contacts-page__info {
    margin-bottom: 30px;
}

.contacts-page__details p {
    margin-bottom: 5px;
}

.contacts-page__hours {
    margin-top: 20px;
}

.contacts-page__map {
    margin-top: 30px;
}

.contacts-page__map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 4px;
}

/* Team Members */
.team-member {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--color-border);
}

.team-member__photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 15px;
}

.team-member__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member__position {
    font-size: 13px;
    color: var(--color-primary);
    margin-bottom: 3px;
    font-weight: 600;
}

.team-member__name {
    font-size: 16px;
    margin-bottom: 5px;
}

.team-member__email a {
    font-size: 13px;
    color: var(--color-text-light);
}

/* ========================================
   Career Page
   ======================================== */

.career-page__intro h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
}

.career-page__positions,
.career-page__benefits {
    margin-bottom: 25px;
}

.career-page__positions ul,
.career-page__benefits ul {
    padding-left: 20px;
}

.career-page__positions li,
.career-page__benefits li {
    margin-bottom: 8px;
}

.career-page__note {
    background: var(--color-bg-light);
    padding: 20px;
    border-radius: 4px;
    border-left: 4px solid var(--color-primary);
    margin-top: 20px;
}

/* ========================================
   News
   ======================================== */

.news-card {
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-3px);
}

.news-card a {
    color: var(--color-text);
}

.news-card__image {
    height: 180px;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__content {
    padding: 15px;
}

.news-card__date {
    font-size: 12px;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 8px;
}

.news-card__content h3 {
    font-size: 15px;
    margin: 0;
    line-height: 1.4;
}

.news-single__date {
    display: block;
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.news-single__image {
    margin-bottom: 25px;
}

.news-single__image img {
    border-radius: 4px;
}

.news-single__content {
    line-height: 1.8;
    font-size: 15px;
}

.news-single__source {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
    font-style: italic;
    color: var(--color-text-light);
}

/* ========================================
   Contact Form
   ======================================== */

.contact-section {
    padding: 50px 0;
    background-color: var(--color-bg-light);
}

.contact-form .form-control {
    border-radius: 0;
    border-color: var(--color-border);
    padding: 10px 15px;
    height: auto;
    font-size: 14px;
}

.contact-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.15);
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-form__submit {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.contact-form__submit:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0 0;
}

.site-footer__contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__contacts li {
    margin-bottom: 10px;
}

.site-footer__contacts a {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer__contacts a:hover {
    color: var(--color-white);
}

.site-footer__contacts i {
    margin-right: 8px;
    color: var(--color-primary);
}

.site-footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__menu li {
    margin-bottom: 8px;
}

.site-footer__menu a {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer__menu a:hover {
    color: var(--color-primary);
}

.site-footer__bottom {
    margin-top: 30px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Buttons
   ======================================== */

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-default {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-default:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ========================================
   Services Grid
   ======================================== */

.services-grid {
    display: flex;
    flex-wrap: wrap;
}

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

@media (max-width: 991px) {
    .nav-menu a {
        padding: 8px 10px;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .site-header__toggle {
        display: block;
    }

    .site-header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 15px;
        z-index: 1000;
    }

    .site-header__nav.in {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu li {
        margin-left: 0;
        width: 100%;
    }

    .nav-menu a {
        padding: 10px 0;
        font-size: 14px;
        border-bottom: 1px solid var(--color-border);
    }

    .hero-slider__slide {
        height: 50vh;
        min-height: 300px;
    }

    .hero-slider__caption h2 {
        font-size: 22px;
    }

    .top-bar__contacts {
        text-align: center;
    }

    .top-bar__contacts li {
        margin: 0 10px;
    }

    .section-title {
        font-size: 22px;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-member__photo {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* ========================================
   Utilities
   ======================================== */

.text-orange {
    color: var(--color-primary);
}

.bg-orange {
    background-color: var(--color-primary);
}

.mb-0 { margin-bottom: 0; }
.mb-15 { margin-bottom: 15px; }
.mb-30 { margin-bottom: 30px; }
.mt-30 { margin-top: 30px; }
.pt-30 { padding-top: 30px; }
.pb-30 { padding-bottom: 30px; }
