/* ====================================
   BEONE CONNECTION - Main Stylesheet
   ==================================== */

/* CSS Variables */
:root {
    --primary-color: #0d5f4e;
    --secondary-color: #1a8f6f;
    --accent-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

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

/* Mobile Touch Optimization */
* {
    -webkit-tap-highlight-color: rgba(13, 95, 78, 0.2);
    -webkit-touch-callout: none;
}

/* Ensure buttons are tap-friendly (minimum 44px) */
.btn {
    min-height: 44px;
    min-width: 44px;
}

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

.section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Mobile tap state */
.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

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

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

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a:active,
.nav-menu a:focus,
.nav-menu a.active {
    color: var(--white);
    background-color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: slideUp 0.8s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: slideUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: slideUp 0.8s ease 0.4s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.7;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content-center h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

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

.about-text h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-image {
    position: relative;
}

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

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder i {
    font-size: 6rem;
    color: var(--white);
    opacity: 0.5;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

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

.service-card:hover,
.service-card:active,
.service-card:focus-within {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background-color: var(--primary-color);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:active h3,
.service-card:active p,
.service-card:focus-within h3,
.service-card:focus-within p {
    color: var(--white);
}

.service-card:hover .service-icon,
.service-card:active .service-icon,
.service-card:focus-within .service-icon {
    background: var(--white);
}

.service-card:hover .service-icon i,
.service-card:active .service-icon i,
.service-card:focus-within .service-icon i {
    color: var(--primary-color);
}

/* Mobile-specific: On touch devices, add tap-to-toggle */
@media (hover: none) and (pointer: coarse) {
    .service-card {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(13, 95, 78, 0.2);
    }
}

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

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

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Service Detail Cards */
.services-detail-grid {
    display: grid;
    gap: 30px;
}

.service-detail-card {
    display: flex;
    gap: 30px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-detail-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-detail-content h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-detail-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-detail-content ul {
    list-style: none;
    padding: 0;
}

.service-detail-content ul li {
    padding: 8px 0;
    color: var(--text-light);
}

.service-detail-content ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(13, 95, 78, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-item h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Mission & Vision */
.mission-vision {
    background-color: var(--light-color);
}

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

.mv-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

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

.mv-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mv-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.mv-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

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

.value-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(13, 95, 78, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.value-item h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.value-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-section h2,
.contact-form-section h2 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.contact-details {
    margin: 30px 0;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.3rem;
    color: var(--white);
}

.contact-text h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.contact-text p,
.contact-text a {
    color: var(--text-light);
    margin-bottom: 0;
}

.business-hours {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.business-hours h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.business-hours h4 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.business-hours ul {
    list-style: none;
}

.business-hours ul li {
    padding: 5px 0;
    color: var(--text-light);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 500;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert i {
    font-size: 1.3rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Location Section */
.location-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.info-item p,
.info-item a {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Facebook Feed Styles */
.facebook-feed-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.facebook-feed-container .fb-page {
    display: flex;
    justify-content: center;
}

.facebook-feed-container iframe {
    border-radius: 10px;
}

/* Facebook Callout */
.facebook-callout {
    text-align: center;
    padding: 20px;
}

.fb-icon {
    font-size: 5rem;
    color: #1877f2;
    margin-bottom: 20px;
}

.facebook-callout h3 {
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.facebook-callout p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.fb-highlights {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 500px;
    text-align: left;
}

.fb-highlights li {
    padding: 12px 20px;
    margin-bottom: 10px;
    background-color: var(--light-color);
    border-radius: 5px;
    color: var(--text-dark);
    border-left: 4px solid #1877f2;
}

.fb-highlights li i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.btn-facebook {
    background-color: #1877f2;
    color: var(--white);
    border-color: #1877f2;
    padding: 15px 40px;
    font-size: 1.2rem;
    margin: 20px 0;
}

.btn-facebook:hover {
    background-color: #166fe5;
    border-color: #166fe5;
    color: var(--white);
}

.fb-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
}

.fb-note i {
    color: #1877f2;
    margin-right: 5px;
}

/* Featured Product Styles (kept for services page) */
.featured-product {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.product-content h3 {
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.product-tagline {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.product-features .feature {
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features .feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.product-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stock-badge {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
}

.stock-badge i {
    margin-right: 5px;
}

/* Featured Product Detail Page */
.featured-product-detail {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.featured-product-image {
    position: sticky;
    top: 100px;
}

.product-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder i {
    font-size: 8rem;
    color: var(--white);
    opacity: 0.5;
}

.featured-product-info h2 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.product-slogan {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    padding: 12px 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.use-cases {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.use-case-tag {
    background-color: var(--light-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.use-case-tag i {
    color: var(--primary-color);
    margin-right: 5px;
}

.product-action {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.stock-status {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: inline-block;
    font-size: 1.1rem;
}

.stock-status i {
    margin-right: 8px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--light-color);
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--light-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
    opacity: 1;
    padding-left: 5px;
}

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

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

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links a i {
    color: var(--white);
    font-size: 1.2rem;
}

.contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-info li i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

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

.footer-bottom p {
    color: var(--light-color);
    opacity: 0.7;
    margin-bottom: 0;
}

