/*
Theme Name: KCMATECH
Theme URI: https://kcmatech.com
Author: KCMATECH
Author URI: https://kcmatech.com
Description: Custom theme for KCMATECH Digital and IT Consulting
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kcmatech
Tags: responsive, modern, business, consulting
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #cc3333;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #cc3333;
    color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #0066cc;
    color: #0066cc;
}

.btn-secondary:hover {
    background-color: #0066cc;
    color: #ffffff;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo {
    max-width: 180px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
}

.main-navigation li {
    margin-left: 30px;
}

.main-navigation a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: #333333;
}

.main-navigation a:hover {
    color: #0066cc;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #333333;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #0066cc 0%, #cc3333 100%);
    color: #ffffff;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #0066cc;
    margin: 20px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0066cc;
    color: #ffffff;
    font-size: 36px;
}

.service-content {
    padding: 30px;
}

.service-title {
    font-size: 20px;
    margin-bottom: 15px;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.about-content {
    flex: 1;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.project-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    margin: 0 5px;
    background-color: transparent;
    border: 1px solid #0066cc;
    border-radius: 30px;
    color: #0066cc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: #0066cc;
    color: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.project-content {
    padding: 20px;
}

.project-category {
    font-size: 12px;
    color: #0066cc;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.project-title {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.member-name {
    font-size: 18px;
    margin-bottom: 5px;
}

.member-position {
    color: #0066cc;
    font-size: 14px;
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-link {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #0066cc;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #cc3333;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background-color: #0066cc;
    color: #ffffff;
    padding: 40px;
    border-radius: 8px;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* Footer */
.site-footer {
    background-color: #333333;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-title:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #0066cc;
    margin-top: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
}

.footer-links a:hover {
    color: #0066cc;
}

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

.contact-icon {
    margin-right: 10px;
    color: #0066cc;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1023px) {
    .services-grid, .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation li {
        margin: 10px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .services-grid, .projects-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}
