/**
 * Main CSS file for Civil Engineer Premium theme
 * Extends the base styles in style.css
 *
 * @package Civil_Engineer_Premium
 */

/* =====================================================
   GENERAL LAYOUT
   ===================================================== */

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.content-area {
    min-width: 0;
}

.sidebar {
    position: sticky;
    top: 100px;
}

/* =====================================================
   HEADER ENHANCEMENTS
   ===================================================== */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: var(--transition);
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.menu-toggle-icon::before {
    top: -8px;
}

.menu-toggle-icon::after {
    bottom: -8px;
}

.menu-toggle.active .menu-toggle-icon {
    background-color: transparent;
}

.menu-toggle.active .menu-toggle-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .menu-toggle-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.search-toggle:hover {
    color: var(--secondary-color);
}

.header-search {
    display: none;
    background-color: var(--light-color);
    padding: 20px 0;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-button:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
}

/* =====================================================
   BREADCRUMBS
   ===================================================== */

.breadcrumbs {
    background-color: var(--light-color);
    padding: 15px 0;
    margin-top: 80px;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

.breadcrumbs .separator {
    margin: 0 10px;
    color: var(--gray-color);
}

.breadcrumbs .separator i {
    font-size: 0.7rem;
}

.breadcrumbs .current {
    color: var(--gray-color);
}

/* =====================================================
   PAGE HEADERS
   ===================================================== */

.page-header {
    text-align: center;
    padding: 60px 0 40px;
}

.page-header .page-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-header .page-description {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.archive-header,
.search-header,
.projects-header,
.services-header {
    margin-bottom: 40px;
}

.archive-description {
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* =====================================================
   SEARCH
   ===================================================== */

.search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.search-field {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-submit {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit:hover {
    background-color: #e55a2b;
}

.search-results-info {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.search-again {
    margin-top: 20px;
}

/* =====================================================
   POSTS & ARTICLES
   ===================================================== */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

article.post,
article.page {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.entry-header {
    padding: 25px 25px 0;
}

.entry-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.3;
}

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

.entry-title a:hover {
    color: var(--secondary-color);
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.entry-meta i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.entry-meta a {
    color: inherit;
    text-decoration: none;
}

.entry-meta a:hover {
    color: var(--secondary-color);
}

.post-thumbnail {
    display: block;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

.entry-content {
    padding: 25px;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--primary-color);
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.5em 2em;
}

.entry-content blockquote {
    background-color: var(--light-color);
    border-left: 4px solid var(--secondary-color);
    padding: 20px 25px;
    margin: 1.5em 0;
    font-style: italic;
}

.entry-footer {
    padding: 0 25px 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--gray-color);
    font-size: 0.9rem;
    border-top: 1px solid var(--light-color);
    padding-top: 20px;
}

.entry-footer i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.entry-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.entry-footer a:hover {
    color: var(--secondary-color);
}

/* Archive Cards */
.archive-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.archive-card .post-thumbnail img {
    height: 200px;
    object-fit: cover;
}

.archive-card .card-content {
    padding: 20px;
}

.archive-card .entry-title {
    font-size: 1.3rem;
}

.archive-card .entry-excerpt {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color);
}

.read-more i {
    transition: var(--transition);
}

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

/* Search Results */
.search-result-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.search-result-item .result-content {
    display: flex;
    gap: 20px;
}

.search-result-item .result-thumbnail {
    flex-shrink: 0;
}

.search-result-item .result-thumbnail img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.search-result-item .post-type-label {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Single Post */
.single-article {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.single-article .entry-header {
    padding: 40px 40px 20px;
}

.single-article .entry-title {
    font-size: 2.2rem;
}

.single-article .entry-content {
    padding: 20px 40px 40px;
}

.single-article .entry-footer {
    padding: 20px 40px 40px;
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 25px;
    background-color: var(--light-color);
    padding: 30px;
    margin: 30px 40px;
    border-radius: 10px;
}

.author-avatar img {
    border-radius: 50%;
}

.author-name {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.author-description {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.author-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.author-link:hover {
    text-decoration: underline;
}

/* =====================================================
   PAGINATION
   ===================================================== */

.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 40px;
}

.pagination .page-numbers,
.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pagination .page-numbers:hover,
.nav-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.pagination .page-numbers.current {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Post Navigation */
.post-navigation {
    margin-top: 40px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    padding: 25px;
}

.post-navigation .nav-previous {
    border-right: 1px solid var(--light-color);
}

.post-navigation a {
    display: block;
    text-decoration: none;
    box-shadow: none;
    background: none;
    height: auto;
    min-width: auto;
    padding: 0;
}

.post-navigation .nav-subtitle {
    display: block;
    color: var(--gray-color);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.post-navigation .nav-title {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.post-navigation a:hover .nav-title {
    color: var(--secondary-color);
}

/* =====================================================
   SOCIAL SHARE
   ===================================================== */

.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--light-color);
    margin-top: 30px;
}

.share-label {
    color: var(--gray-color);
    font-weight: 600;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-share a:hover {
    transform: translateY(-3px);
}

.share-facebook { background-color: #3b5998; }
.share-twitter { background-color: #1da1f2; }
.share-linkedin { background-color: #0077b5; }
.share-whatsapp { background-color: #25d366; }

/* =====================================================
   COMMENTS
   ===================================================== */

.comments-area {
    background-color: var(--white);
    padding: 40px;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.comments-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

.comment {
    padding: 25px 0;
    border-bottom: 1px solid var(--light-color);
}

.comment:last-child {
    border-bottom: none;
}

.comment-body {
    display: flex;
    gap: 20px;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-meta {
    margin-bottom: 10px;
}

.comment-author .fn {
    font-weight: 600;
    color: var(--primary-color);
}

.comment-metadata {
    color: var(--gray-color);
    font-size: 0.85rem;
}

.comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.comment-content {
    line-height: 1.7;
}

.comment-reply-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-form .form-submit {
    margin-top: 20px;
}

/* =====================================================
   WIDGETS / SIDEBAR
   ===================================================== */

.widget-area .widget {
    background-color: var(--white);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--light-color);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.widget ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* =====================================================
   404 PAGE
   ===================================================== */

.error-404 {
    padding: 100px 0;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.error-title {
    font-size: 8rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.error-subtitle {
    font-size: 1.5rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.error-actions {
    margin: 40px 0;
}

.error-search {
    margin: 40px 0;
}

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

.error-suggestions {
    margin-top: 40px;
    text-align: left;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.suggestions-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    transition: var(--transition);
}

.suggestions-list li a:hover {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

.suggestions-list li i {
    color: var(--secondary-color);
}

/* =====================================================
   PROJECTS
   ===================================================== */

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.project-filter-button {
    padding: 10px 25px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.project-filter-button:hover,
.project-filter-button.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.project-card .project-image {
    position: relative;
    overflow: hidden;
}

.project-card .project-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--primary-color);
}

.project-link i {
    transition: var(--transition);
}

.project-link:hover i {
    transform: translateX(5px);
}

/* Single Project */
.project-single .project-header {
    padding: 40px 0;
    text-align: center;
}

.project-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.project-category-link {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.project-category-link:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.project-featured-image {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.project-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.project-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.project-sidebar {
    position: sticky;
    top: 100px;
}

.project-info-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.project-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-meta .meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.project-meta .meta-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.project-meta .meta-label {
    display: block;
    color: var(--gray-color);
    font-size: 0.85rem;
}

.project-meta .meta-value {
    display: block;
    color: var(--dark-color);
    font-weight: 600;
}

.project-cta {
    background: linear-gradient(135deg, var(--primary-color), #001a33);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.project-cta h4 {
    margin-bottom: 10px;
}

.project-cta p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.project-cta .cta-button {
    width: 100%;
    justify-content: center;
}

/* Project Gallery */
.project-gallery {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--light-color);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-item {
    display: block;
    border-radius: 5px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Related Projects */
.related-projects {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--light-color);
}

.related-projects .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* No Projects */
.no-projects,
.no-services {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-color);
}

.no-projects i,
.no-services i {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.no-projects h3,
.no-services h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* =====================================================
   SERVICES
   ===================================================== */

.service-card .service-icon {
    font-size: 2.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-color);
}

/* Single Service */
.service-single .service-header {
    text-align: center;
    padding: 40px 0;
}

.service-icon-large {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-featured-image {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-single .entry-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.service-cta {
    background: linear-gradient(135deg, var(--primary-color), #001a33);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.service-cta h3 {
    margin-bottom: 10px;
}

.service-cta p {
    opacity: 0.9;
    margin-bottom: 25px;
}

/* Services CTA Section */
.services-cta {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--primary-color), #001a33);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 10px;
    text-align: center;
}

.services-cta h2 {
    margin-bottom: 15px;
}

.services-cta p {
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Other Services */
.other-services {
    margin-top: 60px;
}

.other-services .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* =====================================================
   BACK TO TOP
   ===================================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* =====================================================
   UTILITIES
   ===================================================== */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.skip-link {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-color);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer Enhancements */
.footer-widget-title {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-branding .site-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-branding .site-title a {
    color: var(--white);
    text-decoration: none;
}

.footer-description {
    color: #cbd5e0;
    line-height: 1.7;
}

.contact-info .contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info .contact-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.contact-info a {
    color: #cbd5e0;
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.developer-credit {
    margin-top: 10px;
    font-size: 0.85rem;
}

.developer-credit a {
    color: var(--secondary-color);
    text-decoration: none;
}

.developer-credit i {
    color: #e74c3c;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */

.contact-page .contact-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    margin-top: 40px;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form-wrapper > p {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .submit-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.contact-info-card .contact-details {
    margin-bottom: 25px;
}

.contact-info-card .contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-info-card .contact-icon {
    width: 45px;
    height: 45px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-info-card .contact-text strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.contact-info-card .contact-text p {
    margin: 0;
    color: var(--gray-color);
}

.contact-info-card .contact-text a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-card .contact-text a:hover {
    color: var(--secondary-color);
}

.contact-social h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-hours {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-hours h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-hours h4 i {
    color: var(--secondary-color);
}

.contact-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-hours li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-color);
}

.contact-hours li:last-child {
    border-bottom: none;
}

.contact-hours li span {
    color: var(--gray-color);
}

.contact-hours li strong {
    color: var(--dark-color);
}

.page-content-additional {
    margin-top: 60px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* =====================================================
   HOMEPAGE SECTIONS
   ===================================================== */

.section-more {
    text-align: center;
    margin-top: 40px;
}

.about-section .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), #001a33);
    height: 400px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 5rem;
    opacity: 0.9;
}

.project-image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), #001a33);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    opacity: 0.8;
}

.page-content-section {
    padding: 60px 0;
    background-color: var(--white);
}

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

/* =====================================================
   FORM STYLES (GENERAL)
   ===================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
    font-family: inherit;
}

button,
input[type="submit"],
input[type="button"] {
    font-family: inherit;
    cursor: pointer;
}

/* =====================================================
   WOOCOMMERCE BASIC SUPPORT
   ===================================================== */

.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.woocommerce .product {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.woocommerce .product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.woocommerce .product .woocommerce-loop-product__title {
    color: var(--primary-color);
    padding: 15px 20px 5px;
}

.woocommerce .product .price {
    color: var(--secondary-color);
    font-weight: 700;
    padding: 0 20px 15px;
}

.woocommerce .product .button {
    margin: 0 20px 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 5px;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.woocommerce .product .button:hover {
    background-color: #e55a2b;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */

:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000066;
        --secondary-color: #cc4400;
    }
    
    .cta-button {
        border: 2px solid currentColor;
    }
}
