/* ============================================
   Coolhome HVAC LLC - Professional B2B HVAC Distributor
   Modern Industrial Design
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #0066CC;
    --primary-dark: #004d99;
    --primary-light: #3399ff;
    --secondary-color: #1a1a2e;
    --accent-color: #00b4d8;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #f0f2f5;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

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

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

/* ============================================
   Header & Navigation
   ============================================ */
header {
    background: var(--bg-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--secondary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

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

.top-bar a {
    color: #fff;
}

.top-bar a:hover {
    color: var(--accent-color);
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav {
    padding: 15px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s;
}

.logo a:hover {
    opacity: 0.8;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    color: var(--secondary-color);
}

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

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,102,204,0.85) 0%, rgba(26,26,46,0.9) 100%);
    z-index: -1;
}

.hero-content {
    color: #fff;
    max-width: 700px;
    padding: 60px 0;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    gap: 8px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: #fff;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

/* ============================================
   Sections
   ============================================ */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ============================================
   Why Choose Us
   ============================================ */
.why-choose {
    background: var(--bg-light);
}

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

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 32px;
    color: #fff;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Products Section
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.product-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Product Detail Cards */
.product-detail-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-detail-card:hover {
    box-shadow: var(--shadow-md);
}

.product-detail-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 20px;
}

.product-detail-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.product-detail-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   Coverage Map Section
   ============================================ */
.coverage-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2d2d4a 100%);
    color: #fff;
}

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

.coverage-text h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 20px;
}

.coverage-text p {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 25px;
}

.coverage-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.coverage-list span {
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.coverage-image {
    text-align: center;
}

.coverage-image img {
    max-width: 100%;
    border-radius: var(--border-radius-lg);
}

/* ============================================
   About Page
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h1 {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.about-content p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Video Banner */
.video-banner {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.video-banner iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.video-banner .hero-overlay {
    background: rgba(0,0,0,0.6);
}

.video-banner-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.video-banner-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.video-banner-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.value-card:hover {
    background: var(--primary-color);
    color: #fff;
}

.value-card:hover .value-icon {
    background: #fff;
    color: var(--primary-color);
}

.value-card:hover h3,
.value-card:hover p {
    color: #fff;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    transition: var(--transition);
}

.value-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
    transition: var(--transition);
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

/* ============================================
   Services Page
   ============================================ */
.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-item {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 25px;
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 28px;
    color: #fff;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.service-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Service Philosophy */
.service-philosophy {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    margin-top: 50px;
    text-align: center;
}

.service-philosophy h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-philosophy p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   Warranty Page
   ============================================ */
.warranty-intro {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    margin-bottom: 50px;
}

.warranty-intro h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.warranty-intro p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

.warranty-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.warranty-step {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.warranty-step h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.warranty-step p {
    font-size: 15px;
    color: var(--text-light);
}

/* Warranty Form */
.warranty-form-section {
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    color: #fff;
}

.warranty-form-section h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.warranty-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    background: rgba(255,255,255,0.95);
    color: var(--text-color);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,180,216,0.3);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* Headquarters */
.headquarters {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 50px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 50px;
}

.headquarters h2 {
    font-size: 28px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.headquarters-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.hq-info p {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hq-info i {
    width: 24px;
    text-align: center;
}

.hq-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
}

.hq-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Store Locations */
.stores-section h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

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

.store-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.store-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.store-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.store-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.store-card i {
    color: var(--primary-color);
    margin-top: 3px;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--bg-light);
    padding: 60px 0;
    margin-top: 50px;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-info h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-form-info p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-info-item span {
    font-size: 16px;
    color: var(--text-color);
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

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

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
}

/* ============================================
   Page Headers
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2d2d4a 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: #fff;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--accent-color);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .features-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid,
    .warranty-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .features-grid,
    .products-grid,
    .services-list,
    .warranty-steps,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-intro,
    .coverage-content,
    .headquarters-content,
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stores-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .headquarters {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .feature-card,
    .value-card {
        padding: 30px 20px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

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

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

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

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

/* Product Categories */
.product-category {
    margin-bottom: 60px;
}

.product-category h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.product-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .product-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-items-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Products Grid 4 Columns (Home Page)
   ============================================ */
.products-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card-sm {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card-sm:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card-sm .product-image {
    height: 180px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-card-sm .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card-sm:hover .product-image img {
    transform: scale(1.05);
}

.product-card-sm .product-content {
    padding: 15px;
    text-align: center;
}

.product-card-sm .product-content h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .products-grid-4col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card-sm .product-image {
        height: 150px;
    }

    .product-card-sm .product-content h3 {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .products-grid-4col {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-card-sm .product-image {
        height: 120px;
        padding: 10px;
    }

    .product-card-sm .product-content {
        padding: 12px;
    }

    .product-card-sm .product-content h3 {
        font-size: 12px;
    }
}
