/* 
 * FUSANQING CO., LTD Website Styles
 * Author: [Your Name]
 * Version: 1.0
 */

/* ======= GLOBAL STYLES ======= */
:root {
    --primary-color: #0d4c92;
    --secondary-color: #59c1bd;
    --accent-color: #f0a500;
    --dark-color: #333333;
    --light-color: #f5f5f5;
    --text-color: #333333;
    --light-text: #ffffff;
    --gray-color: #777777;
    --light-gray: #eeeeee;
    --border-color: #dddddd;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: var(--light-gray);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

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

/* ======= HEADER STYLES ======= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-text);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    margin-right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo p {
    color: var(--secondary-color);
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

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

nav ul li.active a::after,
nav ul li a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* ======= HERO SECTION ======= */
.hero {
    height: 50vh;
    background-color: var(--dark-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 4rem;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 800px;
    padding: 2rem;
    color: var(--light-text);
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev, .next {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--light-text);
    margin: 0 1rem;
    transition: var(--transition);
}

.prev:hover, .next:hover {
    color: var(--secondary-color);
}

.dots {
    display: flex;
    margin: 0 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background-color: var(--light-text);
}

/* ======= INTRO SECTION ======= */
.intro {
    text-align: center;
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.intro h2 span {
    color: var(--primary-color);
}

.intro p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ======= SERVICES SECTION ======= */
.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--light-text);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.service-card .icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .icon i {
    font-size: 2rem;
    color: var(--light-text);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-color);
}

/* ======= CTA SECTION ======= */
.cta {
    background: linear-gradient(rgba(13, 76, 146, 0.9), rgba(13, 76, 146, 0.9));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-text);
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta .btn {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.cta .btn:hover {
    background-color: transparent;
    color: var(--light-text);
}

/* ======= FOOTER STYLES ======= */
footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 5rem 0 1rem;
}

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

.footer-about h3,
.footer-contact h3,
.footer-links h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-about p,
.footer-contact p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.footer-contact p i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--light-gray);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--light-gray);
}

/* ======= PAGE BANNER ======= */
.page-banner {
    background: linear-gradient(rgba(13, 76, 146, 0.9), rgba(13, 76, 146, 0.9)), url('../images/page-banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0 5rem;
    text-align: center;
    color: var(--light-text);
    margin-top: 4rem;
}

.page-banner h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ======= ABOUT PAGE STYLES ======= */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

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

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    text-align: center;
}

.mission, .vision {
    background-color: var(--light-text);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission .icon, .vision .icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission .icon i, .vision .icon i {
    font-size: 1.8rem;
    color: var(--light-text);
}

.mission h3, .vision h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.values h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--light-text);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.value-card .icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card .icon i {
    font-size: 1.8rem;
    color: var(--light-text);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--light-text);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

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

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.team-member h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
}

.team-member .position {
    padding: 0 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member p {
    padding: 0 1.5rem 1.5rem;
}

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

.global-presence h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.global-presence p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* ======= PRODUCTS & SERVICES PAGE STYLES ======= */
.product-intro {
    text-align: center;
}

.product-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.product-intro p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.product-category {
    padding: 5rem 0;
}

.category-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.category-content.reversed {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.category-content.reversed > * {
    direction: ltr;
}

.category-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.category-details h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.category-details p {
    margin-bottom: 1.5rem;
}

.category-details h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.category-details ul {
    margin-bottom: 2rem;
}

.category-details ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.category-details ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

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

.trade-services h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.trade-services > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-box {
    background-color: var(--light-text);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-box .icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-box .icon i {
    font-size: 1.8rem;
    color: var(--light-text);
}

.service-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.quality-assurance h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.quality-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.quality-text p {
    margin-bottom: 1.5rem;
}

.quality-text h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.quality-text ul {
    margin-bottom: 1.5rem;
}

.quality-text ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.quality-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* ======= CONTACT PAGE STYLES ======= */
.contact-info h2 {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background-color: var(--light-text);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.contact-card .icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card .icon i {
    font-size: 1.8rem;
    color: var(--light-text);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.map-container {
    width: 100%;
    margin-bottom: 2rem;
}

.form-container {
    width: 100%;
}

.form-container h2,
.map-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.map {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.business-hours h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.hours-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.hours-card {
    background-color: var(--light-text);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.hours-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hours-card ul li {
    margin-bottom: 1rem;
}

.hours-card ul li span {
    font-weight: 600;
    margin-right: 0.5rem;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-text);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.toggle-icon {
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* ======= RESPONSIVE STYLES ======= */
@media screen and (max-width: 1024px) {
    .slide-content h2 {
        font-size: 3rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 1rem 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo p {
        font-size: 0.8rem;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100%;
        background-color: var(--light-text);
        z-index: 1001;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .about-content,
    .mission-vision,
    .category-content,
    .quality-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .category-content.reversed {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .page-banner {
        padding: 7rem 0 4rem;
    }
    
    .page-banner h2 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .intro h2,
    .services h2,
    .cta h2,
    .about-text h2,
    .values h2,
    .team h2,
    .product-intro h2,
    .trade-services h2,
    .quality-assurance h2,
    .business-hours h2,
    .faq h2 {
        font-size: 2rem;
    }
    
    .page-banner h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
} 