/*
Theme Name: Yash Computer Theme
Theme URI: https://yashcomputer.co.in
Author: Yash Computer
Description: Custom, responsive business WordPress theme for Yash Computer - The Complete Hardware & Networking Solution.
Version: 1.7.0
License: GNU General Public License v2 or later
Text Domain: yash-computer
*/

:root {
    --primary: #f26522;
    --primary-dark: #d44e10;
    --secondary: #3b1816;
    --dark: #1e1e24;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-muted: #555555;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark);
    background-color: #fff;
    line-height: 1.6;
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary);
    color: #fff;
    font-size: 0.9rem;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar a {
    color: #fbd38d;
    text-decoration: none;
    font-weight: 600;
}
.top-bar a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header.site-header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.brand-logo-img {
    height: 65px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    display: block;
}

nav.main-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}
nav.main-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}
nav.main-nav a:hover {
    color: var(--primary);
}
.btn-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(242, 101, 34, 0.3);
}
.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #2b110f 0%, #4a1c1a 100%);
    color: white;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}
.hero h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}
.hero h2 span {
    color: #ff8533;
}
.hero p {
    font-size: 1.2rem;
    max-width: 850px;
    margin: 0 auto 30px auto;
    color: #e2e8f0;
}
.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.badge-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
}

/* Quick Bar */
.quick-info-bar {
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}
.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.quick-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}
.quick-icon {
    font-size: 1.8rem;
    color: var(--primary);
}
.quick-text h4 {
    font-size: 0.95rem;
    margin-bottom: 3px;
    color: var(--secondary);
}
.quick-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Section styling */
section.section {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 45px;
}
.section-title h3 {
    font-size: 2rem;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 10px;
}
.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Sales & Products Feature Section */
.sales-section {
    background: #fff;
    padding: 60px 0;
}
.sales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.sales-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.sales-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.sales-badge {
    align-self: flex-start;
    background: #fff3ed;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(242, 101, 34, 0.2);
}
.sales-card h4 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sales-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}
.sales-features {
    list-style: none;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}
.sales-features li {
    font-size: 0.88rem;
    color: #444;
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
}
.sales-features li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 4px;
    font-size: 1.2rem;
    line-height: 1;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 24px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.service-icon {
    width: 65px;
    height: 65px;
    background: #fff3ed;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px auto;
}
.service-card h4 {
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 12px;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* About Section */
.about-section {
    background: var(--light-bg);
}
.about-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-content h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 15px;
}
.about-content p {
    margin-bottom: 15px;
    color: #444;
}
.highlight-list {
    list-style: none;
    margin-top: 15px;
}
.highlight-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-weight: 600;
}
.highlight-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}
.contact-highlight-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #200d0c 100%);
    color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}
.contact-highlight-card h4 {
    color: #ff8533;
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.contact-highlight-card p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

/* Call to Action */
.cta-banner {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 45px 20px;
    border-radius: 12px;
    margin-top: 40px;
}
.cta-banner h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.btn-white {
    background: white;
    color: var(--secondary) !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}
.btn-white:hover {
    background: #f1f1f1;
    transform: scale(1.03);
}

/* Footer */
footer.site-footer {
    background: #190a09;
    color: #ccc;
    padding: 50px 0 20px 0;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}
.footer-col p {
    line-height: 1.7;
    margin-bottom: 10px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
}
.footer-col ul li a:hover {
    color: var(--primary);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

@media (max-width: 768px) {
    .about-box {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero h2 {
        font-size: 2rem;
    }
    nav.main-nav {
        display: none;
    }
}
