/* Business.css - External Stylesheet for Urban Style Clothing */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0 auto;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Header Section */
#header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

#header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

#header p {
    font-size: 1.2em;
    margin-bottom: 20px;
    font-style: italic;
}

/* Navigation Links */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Content Section */
#content {
    padding: 40px 20px;
    background: #f9f9f9;
}

#content h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 2em;
    text-align: center;
}

#content p {
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Products Section - Floated Layout */
#products {
    padding: 40px 20px;
    overflow: hidden;
}

#products h2 {
    color: #764ba2;
    margin-bottom: 30px;
    font-size: 2em;
    text-align: center;
}

.product-column {
    float: left;
    width: 48%;
    margin: 1%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-column h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.product-column img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Footer Section */
#footer {
    background: #333;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

#footer h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.contact-info div {
    text-align: center;
}

.contact-info strong {
    color: #667eea;
    display: block;
    margin-bottom: 5px;
}

/* Media Query for Mobile Devices */
@media screen and (max-width: 768px) {
    /* 1. Adjust navigation layout */
    .nav-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    /* 2. Modify header text size */
    #header h1 {
        font-size: 1.8em;
    }

    /* 3. Change product columns to stack vertically */
    .product-column {
        float: none;
        width: 90%;
        margin: 10px auto;
        display: block;
    }

    /* 4. Adjust contact info layout */
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    /* 5. Reduce padding on all sections */
    #header, #content, #products, #footer {
        padding: 20px 15px;
    }

    /* 6. Adjust body margins for mobile */
    body {
        margin-left: 10px;
        margin-right: 10px;
    }
}