/* style.css - Global styles for BnW Biz Studio */

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fff;
    color: #222;
}

/* Ensure padding/border are included in element width to avoid mobile overflow */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Prevent accidental horizontal scroll on small devices */
html, body {
    overflow-x: hidden;
}

header, footer {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo sizing (override inline heights removed) */
.header-container img {
    height: 36px;
    max-height: 36px;
    width: auto;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    position: relative;
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-menu span {
    position: absolute;
    left: 0;
    width: 28px;
    height: 3px;
    background: #222;
    border-radius: 2px;
    transition: top 0.25s ease, transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

.hamburger-menu span:nth-child(1) { top: 0; }
.hamburger-menu span:nth-child(2) { top: 9px; }
.hamburger-menu span:nth-child(3) { top: 18px; }

.hamburger-menu.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

nav a:hover {
    background: #e3e9f6;
    color: #0078d7;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
}

main {
    padding-top: 0;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(227, 233, 246, 0.7)), url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 18px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn {
    background: #0078d7;
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #005fa3;
}

footer {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.95rem;
    color: #888;
    margin-top: 3rem;
}

.why-choose-us-wrapper {
    margin-bottom: 2rem;
    margin-top: 3rem;
}
.why-choose-us-title {
    text-align: center;
    color: #0078d7;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.2rem auto;
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 950px;
}
.why-choose-us {
    background: #e3e9f6;
    border-radius: 18px;
    padding: 2rem 1rem;
    min-height: 180px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 1.2rem;
    width: 100%;
    max-width: 1000px;
    box-sizing: border-box;
    box-shadow: 0 2px 16px rgba(0,120,215,0.06);
    border: 1.5px solid #e3e9f6;
}
.why-point {
    width: 210px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 1rem 0.7rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.97rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.why-point:hover {
    box-shadow: 0 8px 32px rgba(0,120,215,0.13);
    transform: translateY(-6px) scale(1.03);
}
.why-point img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.3rem;
}
.why-point h4 {
    font-size: 1.08rem;
    margin-top: 0.2rem;
    margin-bottom: 0.3rem;
}
.why-point p {
    font-size: 0.98rem;
}

.translate-widget-fixed {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 200;
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 8px 12px 4px 12px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}
.service-card {
    background: #f7f9fb;
    border: 1.5px solid #e3e9f6;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 1.5rem 1.2rem 2rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
    box-shadow: 0 6px 24px rgba(0,120,215,0.10);
    transform: translateY(-4px) scale(1.025);
    border-color: #b3c6e6;
}
.service-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.service-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
    color: #0078d7;
    text-align: center;
}
.service-card p {
    color: #2a2a2a;
    font-size: 1.05rem;
    text-align: center;
    line-height: 1.6;
}

/* Contact Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 500px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    display: inline-block !important;
    margin: 0 !important;
    width: fit-content !important;
    min-width: 200px !important;
    text-align: center !important;
}

/* Ensure the form itself centers its content */
.contact-form {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
}

/* Button wrapper to center the button */
.button-wrapper {
    width: 100% !important;
    text-align: center !important;
    margin-top: 1rem !important;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.whatsapp-float img {
    height: 56px;
    width: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding-top: 80px;
        height: 100vh;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        margin: 0.5rem 0;
        font-size: 1.1rem;
        border-radius: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu a:hover {
        background: #e3e9f6;
        color: #0078d7;
    }
    
    .header-container {
        padding: 0.6rem;
    }
    .header-container img {
        height: 32px;
        max-height: 32px;
    }
    
    .hero {
        min-height: 45vh;
        padding: 0.5rem 1rem 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .why-choose-us {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        padding: 1.5rem 1rem;
        left: 0;
        transform: none;
        width: 100%;
        gap: 1rem;
    }
    
    .why-point {
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .service-card {
        padding: 1.2rem 1rem 1.5rem 1rem;
    }
    
    .service-card img {
        width: 150px;
        height: 150px;
    }
    
    .translate-widget-fixed {
        left: 16px;
        bottom: 16px;
        padding: 6px 8px 2px 8px;
    }
    
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }
    
    .whatsapp-float img {
        height: 48px;
        width: 48px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .why-choose-us-title {
        font-size: 1.3rem;
    }
    
    .why-point {
        padding: 0.8rem 0.5rem;
    }
    
    .why-point h4 {
        font-size: 1rem;
    }
    
    .why-point p {
        font-size: 0.9rem;
    }
    
    .service-card h2 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
} 
