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

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Top Bar */
.top-bar {
    background-color: #000;
    border-bottom: 1px solid #333;
    padding: 5px 0;
    font-size: 16px;
}

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

.top-links a,
.lang-switch a {
    color: #ccc;
    transition: color 0.3s;
}

.top-links a:hover,
.lang-switch a:hover {
    color: #fff;
}

.top-links span,
.lang-switch span {
    color: #666;
    margin: 0 5px;
}

/* Header */
.header {
    background-color: #000;
    padding: 15px 0;
}

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

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

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

.logo-text h1 {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 18px;
    color: #ccc;
}

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

.phone-icon {
    width: 40px;
    height: 40px;
    background-color: #ff6600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.phone-info {
    display: flex;
    flex-direction: column;
}

.tel-label {
    font-size: 16px;
    color: #ccc;
}

.tel-number {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
}

/* Navigation */
.main-nav {
    background-color: #333;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    flex: 1;
    text-align: center;
}

.nav-list li a {
    display: block;
    padding: 16px 20px;
    color: #fff;
    font-size: 18px;
    transition: background-color 0.3s;
}

.nav-list li a:hover,
.nav-list li.active a {
    background-color: #cc0000;
}

/* Main Content */
.main-content {
    background-color: #000;
    padding: 20px 0;
}

/* Banner Section */
.banner-section {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.banner-slider {
    flex: 1;
    max-width: 60%;
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-image.active {
    opacity: 1;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dots .dot.active {
    background-color: #cc0000;
}

.slider-dots .dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.about-box {
    flex: 0 0 38%;
    background-color: #1a1a1a;
    padding: 15px;
    border: 1px solid #333;
}

.about-box h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #cc0000;
}

.about-box p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    white-space: pre-line;
}

.hotline {
    margin-top: 15px;
}

.hotline span {
    color: #ff6600;
    font-size: 18px;
    font-weight: bold;
}

/* Two Column Layout */
.two-column {
    display: flex;
    gap: 20px;
}

.left-column {
    flex: 1;
    max-width: 60%;
}

.right-column {
    flex: 0 0 38%;
}

/* Section Title */
.section-title {
    background-color: #cc0000;
    color: #fff;
    padding: 8px 15px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Technics Section */
.technics-section {
    background-color: #1a1a1a;
    border: 1px solid #333;
    margin-bottom: 20px;
}

.technics-links {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.technics-links a {
    color: #fff;
    font-size: 17px;
    padding: 5px 10px;
    background-color: #333;
    transition: background-color 0.3s;
}

.technics-links a:hover {
    background-color: #cc0000;
}

/* Equipment Section */
.equipments-section {
    background-color: #1a1a1a;
    border: 1px solid #333;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 15px;
}

.equipment-scroll-container {
    overflow: hidden;
    padding: 15px;
    background-color: #1a1a1a;
}

.equipment-scroll {
    display: flex;
    gap: 10px;
    animation: scrollLeft 20s linear infinite;
    width: fit-content;
}

.equipment-scroll:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.equipment-item {
    background-color: #333;
    overflow: hidden;
    flex-shrink: 0;
    width: calc((100% - 30px) / 4);
     width: 150px;
}

.equipment-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Product Section */
.product-section {
    background-color: #1a1a1a;
    border: 1px solid #333;
    margin-bottom: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
}

.product-btn {
    background-color: #cc0000;
    color: #fff;
    padding: 16px 10px;
    text-align: center;
    font-size: 16px;
    transition: background-color 0.3s;
    border: 1px solid #990000;
}

.product-btn:hover {
    background-color: #990000;
}

/* Wax Section */
.wax-section {
    background-color: #1a1a1a;
    border: 1px solid #333;
}

.wax-slider {
    position: relative;
    overflow: hidden;
    padding: 15px;
}

.wax-slider-container {
    position: relative;
    width: 100%;
    height: 150px;
}

.wax-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.wax-image.active {
    opacity: 1;
}

.wax-slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.wax-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #666;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wax-dot.active {
    background-color: #cc0000;
}

.wax-dot:hover {
    background-color: #999;
}

.wax-gallery {
    padding: 15px;
}

.wax-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

/* Footer */
.footer {
    background-color: #000;
    border-top: 2px solid #cc0000;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    color: #666;
    font-size: 16px;
    margin-bottom: 5px;
}

.login-link {
    color: #666;
    font-size: 16px;
    text-decoration: underline;
}

.login-link:hover {
    color: #999;
}
