/* 
   LabelStock Style Sheet
   Theme: Industrial Professional / Source Factory Authority
*/

:root {
    --primary-color: #004a99; /* Professional Blue */
    --secondary-color: #2c3e50; /* Dark Slate Gray */
    --accent-color: #27ae60; /* Sustainability Green */
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Banner Section */
.hero {
    height: 70vh;
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-align: center;
}

.hero h1 {
    color: var(--secondary-color);
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 45px;
    font-weight: 800;
    letter-spacing: -0.5px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: var(--transition);
    margin: 10px;
}

.btn:hover {
    background-color: #003366;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Section Common Styles */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Alternate Layout Sections */
.flex-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.flex-row:nth-child(even) {
    flex-direction: row-reverse;
}

.col-half {
    flex: 1;
}

.content-box {
    padding: 20px 40px;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
    padding: 0 4px;
    background: rgba(0, 74, 153, 0.05);
    border-radius: 2px;
}

.tech-specs {
    list-style: none;
    margin-top: 20px;
}

.tech-specs li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.tech-specs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Product Matrix Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.product-card h3 {
    margin-bottom: 15px;
}

/* Trust Section */
.trust-bg {
    background-color: var(--light-bg);
}

#products {
    background-color: #f4f4f4;
    padding-bottom: 0; /* Adjust for full-width image */
}

.product-intro {
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
}

.product-intro .tech-specs {
    display: inline-block;
    text-align: left;
    margin-top: 30px;
}

.full-width-img {
    width: 95%;
    max-width: 1200px;
    max-height: 450px;
    object-fit: contain;
    display: block;
    margin: 60px auto; /* Compact spacing to match product introduction */
}

.product-grid-container {
    padding-bottom: 100px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
    color: var(--white);
    text-decoration: none;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links p, .footer-links address {
    font-style: normal;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

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

.social-links a {
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    opacity: 0.8;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.social-links a:hover {
    opacity: 1;
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.social-links svg {
    fill: currentColor;
    width: 18px;
    height: 18px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Inquiry Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 74, 153, 0.1);
}

.form-group textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-container {
        padding: 20px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .flex-row, .flex-row:nth-child(even) {
        flex-direction: column;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    section {
        padding: 50px 0;
    }
    .hero {
        height: 70vh;
    }
    .full-width-img {
        margin: 60px auto;
        width: 98%;
    }
}
