/* Surface Studio - Styles */

/* =========================================
   1. Design System & Variables
   ========================================= */
:root {
    /* Colors */
    --surface-beige: #F5F0EB;
    --warm-stone: #D8C8B8;
    --deep-bronze: #8A6A4B;
    --industrial-charcoal: #2C2C2C;
    --terracotta: #C77D63;
    --white: #FFFFFF;
    --light-border: #E0E0E0;

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-unit: 8px;
    --container-width: 1120px;
    --section-padding: 40px;
    /* Reduced by 20% from 80px */
    --card-radius: 20px;

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* =========================================
   2. Reset & Global Styles
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-image: url(content/writing.jpg);
    background-color: rgb(41, 41, 41);
    overflow: initial;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--industrial-charcoal);
    -webkit-font-smoothing: antialiased;
    /* Sticky footer setup */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--industrial-charcoal);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* =========================================
   3. Utilities & Layout
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-card {
    background-color: rgba(0, 0, 0, 0.85);
    /* Slight transparency */
    border-radius: var(--card-radius);
    padding: var(--section-padding) 20px;
    margin-bottom: 20px;
    color: var(--white);
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

.box-card {
    background-color: rgba(0, 0, 0, 0.85);
    /* Slight transparency */
    border-radius: var(--card-radius);
}

.section-title {
    font-size: 1.5rem;
    /* Reduced by 30% from 2.5rem */
    text-align: center;
    margin-bottom: 2rem;
    /* Reduced spacing */
    color: var(--white);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* =========================================
   4. Header
   ========================================= */
.site-header {
    background-color: var(--industrial-charcoal);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

main {
    margin-top: 20px;
    /* Pushes footer down */
    flex: 1;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-contact {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* =========================================
   5. Hero Section
   ========================================= */
.hero {
    /* Removed padding/bg, handled by section-card */
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-image-placeholder {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text h1 {
    font-size: 1.5rem;
    /* Reduced by 30% from 3rem */
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-subhead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #CCC;
    /* Lighter for dark bg */
    max-width: 500px;
}

/* Form Styles */
.lead-form {
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.lead-form input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-border);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.lead-form input:focus {
    outline: none;
    border-color: var(--deep-bronze);
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: var(--terracotta);
    color: var(--white);
    border: none;
    border-radius: 2px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #B56D54;
    /* Darker terracotta */
}

/* =========================================
   6. Problem Section
   ========================================= */


.problem-section .section-title {
    color: var(--white);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.problem-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.problem-list li::before {
    content: "•";
    color: var(--terracotta);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* =========================================
   7. Product Grid
   ========================================= */
/* .product-section styles are now handled by utility classes */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Update text colors inside product card for dark bg */
.card-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    color: var(--white);
}

.product-card .info {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--white);
    /* Pop color on dark bg */
    font-weight: 500;
}

/* =========================================
   8. Footer
   ========================================= */
.site-footer {
    background-color: var(--surface-beige);
    padding: 60px 0;
    border-top: 1px solid var(--warm-stone);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--industrial-charcoal);
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    margin: 0 15px;
    color: var(--deep-bronze);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--industrial-charcoal);
}

.copyright {
    color: #999;
    font-size: 0.875rem;
}

/* =========================================
   6.1. What We Do Section
   ========================================= */
.what-we-do-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.what-we-do-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.what-we-do-text h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--terracotta);
}

.section-subhead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #CCC;
    line-height: 1.6;
}

.what-we-do-image img {
    width: 100%;
    height: auto;
    border-radius: var(--card-radius);
    object-fit: cover;
}

/* =========================================
   6.2. FAQ Section
   ========================================= */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =========================================
   9. Responsive
   ========================================= */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-container,
    .problem-grid,
    .product-grid,
    .what-we-do-container,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-container {
        gap: 30px;
    }

    .hero-image-placeholder {
        height: 300px;
        /* Smaller on mobile */
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }
}