/*
Theme Name: CrossByte IT
Theme URI: https://crossbyteit.com
Author: CrossByte IT
Author URI: https://crossbyteit.com
Description: A professional IT services theme for CrossByte IT, featuring Cyber Security, IT & Cloud, and AI & Automation services.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crossbyte
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: #f5f5f5;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-links a {
    margin-left: 20px;
    color: #666;
}

.top-bar-links a:hover {
    color: #ff6600;
}

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.site-logo span {
    color: #ff6600;
}

.site-tagline {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: #ff6600;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6600;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: url('images/hero-background.jpg') center center/cover no-repeat;
    position: relative;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 40px;
    line-height: 1.2;
}

/* Service Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(68, 68, 68, 0.9);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(0) saturate(100%) invert(52%) sepia(89%) saturate(2476%) hue-rotate(1deg) brightness(103%) contrast(104%);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    color: #ddd;
    margin-bottom: 20px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff6600;
    color: #fff;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #e55a00;
    transform: scale(1.05);
}

/* Partnership Section */
.partnership-section {
    background-color: #f0f0f0;
    padding: 80px 0;
    text-align: center;
}

.partnership-section h2 {
    color: #ff6600;
    font-size: 36px;
    margin-bottom: 30px;
    line-height: 1.4;
}

.partnership-section p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

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

.team-section h2 {
    color: #ff6600;
    font-size: 36px;
    margin-bottom: 20px;
}

.team-section > p {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #ff6600;
}

.team-member h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.team-member p {
    color: #666;
    font-size: 14px;
}

/* Statistics Section */
.stats-section {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.stats-section h2 {
    color: #ff6600;
    font-size: 36px;
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item h3 {
    font-size: 48px;
    color: #ff6600;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    color: #ddd;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.testimonials-section h2 {
    color: #ff6600;
    font-size: 36px;
    margin-bottom: 20px;
}

.testimonials-section > p {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.client-logo {
    padding: 20px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* News Section */
.news-section {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.news-section h2 {
    color: #ff6600;
    font-size: 36px;
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 20px;
    text-align: left;
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.news-card p {
    color: #aaa;
    font-size: 14px;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ff6600;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff6600;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    padding: 12px 25px;
    background-color: #ff6600;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
}

.newsletter-form button:hover {
    background-color: #e55a00;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #aaa;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-main .container {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
