/* ========================================
   Procal Carcare - Complete Website Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-blue: #4DAFEF;
    --primary-blue-hover: #3A9BD5;
    --accent-orange: #FF8C00;
    --accent-orange-hover: #E67E00;
    --dark-bg: #1A2A3A;
    --brand-bg: #2C3E50;
    --text-dark: #222222;
    --text-body: #666666;
    --text-light: #999999;
    --border-color: #E8F4FD;
    --white: #ffffff;
    --section-padding: 80px 0;
    --container-max: 1200px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-orange-hover);
}

.btn-light {
    background: var(--white);
    color: var(--text-dark);
}

.btn-light:hover {
    background: var(--border-color);
}

/* Section Utilities */
.section {
    padding: var(--section-padding);
}

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

.section-tag {
    display: block;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background: var(--dark-bg);
    color: var(--text-light);
    font-size: 12px;
    padding: 8px 0;
}

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

.top-bar-right {
    display: flex;
    gap: 25px;
}

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

/* ========================================
   Header
   ======================================== */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo .logo-img {
    height: 60px;
}

.logo-x {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    font-style: italic;
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 2px;
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 28px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

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

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

.icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.lang-switch {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
}

.lang-switch span {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.lang-switch span:hover {
    color: var(--primary-blue);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: transparent;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.hero::before {
    display: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 0 0 45%;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 15px 0 30px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-content p {
    color: var(--accent-orange);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.hero-content .section-tag {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.hero-image {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
    border-radius: 4px;
}

.hero-image img {
    max-height: 400px;
    object-fit: contain;
}

/* Hero Dots */
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.hero-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dots span.active {
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}

/* ========================================
   Features Bar
   ======================================== */
.features-bar {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

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

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

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    background: #f5f5f5;
    border-radius: 50%;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-text h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
}

.feature-text p {
    font-size: 12px;
    color: var(--text-light);
}

/* ========================================
   Category Section
   ======================================== */
.category-section {
    background: var(--white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 25px;
}

.category-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-item span {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ========================================
   Promo Section
   ======================================== */
.promo-section {
    background: var(--white);
    padding-bottom: var(--section-padding);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.promo-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #555;
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}

.promo-content {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    z-index: 2;
}

.promo-content h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.promo-content p {
    color: var(--white);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ========================================
   Products Section
   ======================================== */
.products-section {
    background: #f9f9f9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    min-width: 0;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #f0f0f0;
    border-radius: 4px;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-category {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    text-transform: capitalize;
    margin-bottom: 8px;
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ========================================
   Brand Section
   ======================================== */
.brand-section {
    background: var(--brand-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.brand-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.diagonal-line {
    position: absolute;
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, transparent 40%, rgba(77,175,239,0.2) 40%, rgba(77,175,239,0.2) 45%, transparent 45%);
    transform: rotate(-25deg);
}

.diagonal-line.line-1 {
    top: -100px;
    left: -50px;
}

.diagonal-line.line-2 {
    top: -150px;
    left: 50px;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.brand-content {
    flex: 0 0 45%;
}

.brand-content h2 {
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    margin: 10px 0 20px;
}

.brand-content p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.brand-video {
    flex: 0 0 50%;
}

.video-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: #333;
}

.video-wrapper img,
.video-wrapper video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
    width: 24px;
    height: 24px;
    margin-left: 4px;
}

.video-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.video-controls {
    display: flex;
    gap: 12px;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    background: var(--white);
}

.faq-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.faq-content {
    flex: 1;
}

.faq-list {
    margin-bottom: 30px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    background: var(--white);
}

.faq-icon {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafafa;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

.faq-answer p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-body);
    padding-top: 5px;
}

.faq-ad {
    flex: 0 0 38%;
}

.ad-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
    border-radius: 4px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.ad-card h3 {
    color: var(--white);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.ad-card img {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    max-height: 280px;
    object-fit: contain;
}

/* ========================================
   News Section
   ======================================== */
.news-section {
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.news-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.news-image {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #e0e0e0;
}

.news-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.news-date {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.news-card h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
}

/* ========================================
   Footer
   ======================================== */
.main-footer {
    background: var(--dark-bg);
    color: rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="%23222" opacity="0.3"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 80px 0 50px;
    position: relative;
    z-index: 1;
}

.footer-column h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-column ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-blue);
}

.footer-about p {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 20px;
}

.more-link {
    color: var(--accent-orange);
    font-weight: 600;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.footer-logo .logo-main,
.footer-logo .logo-sub {
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    position: relative;
    z-index: 1;
}

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

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-orange);
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-orange);
}

/* ========================================
   Icons (Simple CSS/SVG replacements)
   ======================================== */
.icon-phone::before { content: '\260E'; }
.icon-mail::before { content: '\2709'; }
.icon-user::before { content: '\263A'; }
.icon-search::before { content: '\26B2'; }
.icon-location::before { content: '\2726'; }
.icon-volume::before { content: '\266A'; }
.icon-fullscreen::before { content: '\2921'; }
.icon-facebook::before { content: 'f'; font-family: sans-serif; font-weight: bold; }
.icon-twitter::before { content: 't'; font-family: sans-serif; font-weight: bold; }
.icon-instagram::before { content: 'i'; font-family: sans-serif; font-weight: bold; }

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--border-color);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-container {
        flex-direction: column;
    }
    
    .faq-container {
        flex-direction: column;
    }
    
    .faq-content,
    .faq-ad {
        flex: 0 0 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 22px;
    }
