/*
 Theme Name:   BeTheme Child
 Theme URI:    https://themes.muffingroup.com/be/
 Description:  BeTheme Child Theme for Arboryst.pl
 Author:       Arboryst
 Author URI:   https://arboryst.pl
 Template:     betheme
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  betheme-child
*/

/* Custom styles for Arboryst.pl */

/* Social Media QR Codes in Footer */
.footer-qr-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    padding: 50px 20px;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    margin: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-qr-item {
    text-align: center;
    flex: 1 1 0;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-qr-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.footer-qr-item h4 {
    margin: 0 0 20px 0;
    color: #2d5016;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    min-height: 48px;
    max-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    text-align: center;
    width: 100%;
}

.footer-qr-item img {
    width: 180px !important;
    height: 180px !important;
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.footer-qr-item img:hover {
    opacity: 0.85;
}

/* Certification Badge */
.footer-qr-item.certification-badge img {
    width: 160px !important;
    height: 160px !important;
    max-width: 160px;
    max-height: 160px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-qr-section {
        gap: 20px;
        padding: 40px 20px;
    }

    .footer-qr-item {
        max-width: 240px;
        padding: 25px 15px;
    }

    .footer-qr-item h4 {
        font-size: 12px;
        min-height: 42px;
        max-height: 42px;
    }

    .footer-qr-item img {
        width: 150px !important;
        height: 150px !important;
        max-width: 150px;
        max-height: 150px;
    }

    .footer-qr-item.certification-badge img {
        width: 130px !important;
        height: 130px !important;
        max-width: 130px;
        max-height: 130px;
    }
}

@media (max-width: 768px) {
    .footer-qr-section {
        flex-direction: column;
        gap: 25px;
        padding: 40px 20px;
        align-items: center;
    }

    .footer-qr-item {
        max-width: 320px;
        width: 100%;
        padding: 30px 20px;
    }

    .footer-qr-item h4 {
        font-size: 13px;
        min-height: auto;
        max-height: none;
    }

    .footer-qr-item img {
        width: 160px !important;
        height: 160px !important;
        max-width: 160px;
        max-height: 160px;
    }

    .footer-qr-item.certification-badge img {
        width: 140px !important;
        height: 140px !important;
        max-width: 140px;
        max-height: 140px;
    }
}

@media (max-width: 480px) {
    .footer-qr-section {
        padding: 30px 15px;
        gap: 20px;
    }

    .footer-qr-item {
        padding: 25px 15px;
    }

    .footer-qr-item h4 {
        font-size: 12px;
        letter-spacing: 0.6px;
    }

    .footer-qr-item img {
        width: 140px !important;
        height: 140px !important;
        max-width: 140px;
        max-height: 140px;
    }

    .footer-qr-item.certification-badge img {
        width: 120px !important;
        height: 120px !important;
        max-width: 120px;
        max-height: 120px;
    }
}

/* ===== VISUAL IMPROVEMENTS ===== */

/* Better Button Styles */
.button, a.button, button, input[type="submit"], .btn {
    background: #6ec656 !important;
    color: white !important;
    padding: 14px 28px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(110, 198, 86, 0.3) !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.button:hover, a.button:hover, button:hover, input[type="submit"]:hover, .btn:hover {
    background: #5cb047 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(110, 198, 86, 0.4) !important;
}

/* Sticky Contact Button */
.sticky-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #6ec656;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-contact-btn:hover {
    background: #5cb047;
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(110, 198, 86, 0.5);
}

.sticky-contact-btn i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .sticky-contact-btn {
        bottom: 20px;
        right: 20px;
        padding: 14px 24px;
        font-size: 14px;
    }
}

/* Portfolio/Image Hover Effects */
.trailer_box {
    overflow: hidden;
    position: relative;
}

.trailer_box img {
    transition: transform 0.4s ease !important;
}

.trailer_box:hover img {
    transform: scale(1.08) !important;
}

.trailer_box .desc {
    background: rgba(45, 80, 22, 0.95) !important;
    transition: all 0.3s ease !important;
}

.trailer_box:hover .desc {
    background: rgba(45, 80, 22, 1) !important;
}

/* Better Section Spacing */
.section {
    padding: 80px 0 !important;
}

.section.mcb-section {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

@media (max-width: 768px) {
    .section, .section.mcb-section {
        padding: 50px 0 !important;
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
}

/* Improved Typography */
h1 {
    font-size: 48px !important;
    line-height: 1.2 !important;
    margin-bottom: 24px !important;
    font-weight: 700 !important;
}

h2 {
    font-size: 32px !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
}

h3 {
    font-size: 24px !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
}

@media (max-width: 768px) {
    h1 { font-size: 32px !important; }
    h2 { font-size: 24px !important; }
    h3 { font-size: 20px !important; }
}

/* Better Link Styles */
a:not(.button):not(.btn) {
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:not(.button):not(.btn):hover {
    opacity: 0.8;
}

/* Improved Column Spacing */
.column_attr {
    padding: 20px 0;
}

/* Mobile Touch Targets */
@media (max-width: 768px) {
    .button, a.button, button, .btn {
        min-height: 44px !important;
        min-width: 44px !important;
    }

    a, button, input[type="submit"] {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* Image Quality Improvements */
img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Better Form Styling */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    padding: 12px 16px !important;
    border-radius: 6px !important;
    border: 2px solid #ddd !important;
    transition: border-color 0.3s ease !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #6ec656 !important;
    outline: none !important;
}

/* Card Hover Effects */
.column_trailer_box:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

/* Better Readability */
p {
    line-height: 1.7 !important;
    margin-bottom: 16px !important;
}

/* Social Icons Enhancement */
.social li a {
    transition: all 0.3s ease !important;
}

.social li a:hover {
    transform: scale(1.1) !important;
}
