/* ===================================
   Culture2 Tech - Premium Food Distribution
   Corporate Website Stylesheet
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --accent-color: #D4A574;
    --accent-dark: #B8956A;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-cream: #faf8f5;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: all 0.2s ease;
    --transition-medium: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}


/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.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%;
    transform-origin: center;
    left: 0;
    right: 0;
    margin: auto;
}


.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e9 100%);
    background-image: url('../images/hero_banner_1768877758186.png');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 60px 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
}


.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-cta {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-cta:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 24px;
}

.section-title.text-center {
    text-align: center;
}

.text-center {
    text-align: center;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-content p {
    color: var(--text-medium);
    margin-bottom: 16px;
}

.section-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-medium);
}

.section-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}


/* Who We Are */
.who-we-are {
    background: var(--bg-white);
}

/* What Makes Us Different */
.different-section {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 48px;
    margin-bottom: 48px;
}

.feature-card {
    background: var(--bg-white);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background: white;
}


.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.tagline {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-color);
    margin-top: 24px;
}

/* Commitment Section */
.commitment-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Background Texture */
.commitment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

.commitment-section .section-title {
    color: white;
    position: relative;
    z-index: 2;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.commitment-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.commitment-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-watermark {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--font-heading);
    line-height: 1;
    pointer-events: none;
    transition: var(--transition-medium);
}

.commitment-card:hover .card-watermark {
    transform: translate(-10px, 10px) scale(1.1);
    color: rgba(255, 255, 255, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.commitment-card h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 16px;
    position: relative;
}

.commitment-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative;
}


/* Services Preview */
.services-preview {
    background: var(--bg-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
    margin-bottom: 32px;
}

.service-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover img {
    transform: scale(1.05);
}


.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-medium);
}


.service-card-content {
    padding: 20px;
    background: white;
}

.service-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.section-note {
    color: var(--text-light);
    font-style: italic;
}

/* CTA Section */
.cta-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    color: var(--accent-color);
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Floating Contact Button */
.floating-contact-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition-medium);
    animation: float 3s ease-in-out infinite;
}

.floating-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
    animation: none;
}

.floating-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
}

.floating-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-menu h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1rem;
}

.qr-code-box {
    background: #f0f0f0;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.qr-code-box img {
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
    display: block;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    color: var(--text-dark);
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.contact-link:hover {
    background: var(--primary-color);
    color: white;
}

.contact-link span {
    font-size: 1.2rem;
}


/* ===================================
   About Page
   =================================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 160px 0 80px;
    text-align: center;
}

.page-hero h1 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.about-intro {
    background: var(--bg-white);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.vision-section {
    background: var(--bg-light);
}

.vision-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.vision-box h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.vision-box p {
    font-size: 1.125rem;
    color: var(--text-medium);
}

.values-section {
    background: var(--bg-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    padding: 32px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.value-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-medium);
}

/* ===================================
   Services Page
   =================================== */
.service-section {
    padding: 80px 0;
}

.service-section:nth-child(even) {
    background: var(--bg-light);
}

.service-header {
    text-align: center;
    margin-bottom: 48px;
}

.service-header h2 {
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.service-header p {
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse>* {
    direction: ltr;
}

.service-text h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.service-text ul {
    margin-bottom: 20px;
}

.service-text li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-medium);
}

.service-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* ===================================
   Contact Page
   =================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info h3 {
    margin-bottom: 32px;
    color: var(--primary-dark);
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.info-text p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.info-text a {
    color: var(--primary-color);
}

.info-text a:hover {
    text-decoration: underline;
}

.wechat-qr {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.wechat-qr h4 {
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: white;
    border: 2px dashed var(--border-color);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {

    .section-grid,
    .contact-content,
    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-content.reverse {
        direction: ltr;
    }

    .section-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        height: 70px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {

    .features-grid,
    .services-grid,
    .commitment-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}