/* ====================================
   BEONE CONNECTION - Responsive Styles
   ==================================== */

/* Tablet Devices */
@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 140px 0 100px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-detail-card {
        flex-direction: column;
        text-align: center;
    }
    
    .service-detail-icon {
        margin: 0 auto;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Improve mobile performance */
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Make all interactive elements easier to tap */
    .btn,
    .nav-menu a,
    .service-card,
    .value-item,
    .feature-item {
        min-height: 44px;
    }
    
    /* Improve button sizes for mobile */
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
        width: auto;
    }
    
    /* Facebook Feed */
    .facebook-feed-container {
        padding: 10px;
    }
    
    .facebook-feed-container .fb-page {
        width: 100% !important;
    }
    
    /* Featured Product */
    .featured-product {
        padding: 20px;
    }
    
    .featured-product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .featured-product-image {
        position: relative;
        top: 0;
    }
    
    .product-placeholder {
        height: 300px;
    }
    
    .product-placeholder i {
        font-size: 5rem;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .product-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .stock-badge {
        text-align: center;
    }
    
    /* Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 18px 20px;
        font-size: 1.1rem;
        text-align: left;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-menu a:active {
        background-color: var(--primary-color);
        color: var(--white);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 16px 30px;
        font-size: 1.1rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 100px 0 50px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Grids */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* About Image */
    .about-image-placeholder {
        height: 300px;
    }
    
    .about-image-placeholder i {
        font-size: 4rem;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .logo img {
        height: 60px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        padding: 0 10px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 50px;
    }
    
    /* Ensure touch targets are big enough */
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        min-height: 50px;
    }
    
    /* Improve spacing for mobile */
    .section {
        padding: 50px 0;
    }
    
    .service-card,
    .value-item,
    .feature-item {
        padding: 20px;
    }
    
    .service-icon,
    .mv-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i,
    .mv-icon i {
        font-size: 1.5rem;
    }
    
    .value-icon,
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon i,
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .nav-toggle,
    .hero-buttons,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

