/* ============================================
   SAC Facades - Pure CSS Styling
   Brutalist Architectural Grid Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Syne:wght@400..800&display=swap');

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Mono', monospace;
    background-color: #f9f9fb;
    color: #0d0d0d;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   GRID BACKGROUND
   ============================================ */

.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            90deg,
            #d4d4d4 0px,
            #d4d4d4 1px,
            transparent 1px,
            transparent calc(100% / 12)
        );
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   PAGE CONTAINER
   ============================================ */

.page-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */

.main-container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    border-bottom: 1px solid #d4d4d4;
}

/* ============================================
   LEFT COLUMN: BRANDING
   ============================================ */

.left-column {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid #1a1a1a;
    position: relative;
    overflow: hidden;
}

.left-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.08;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* ============================================
   METADATA
   ============================================ */

.metadata-top,
.metadata-bottom {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: #999999;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.metadata-bottom {
    border-top: 1px solid #333333;
    padding-top: 2rem;
    margin-top: 2rem;
}

.metadata-label {
    color: #ffffff;
    font-weight: 700;
}

.metadata-right {
    text-align: right;
}

/* ============================================
   BRANDING SECTION
   ============================================ */

.branding-section {
    margin: 4rem auto;
    position: relative;
    z-index: 2;
}

/* Logo Container */
.logo-container {
    margin-bottom: 2rem;
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.logo-sac {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.logo-facades {
    font-family: 'Syne', sans-serif;
    font-weight: 300;
    font-size: 3rem;
    letter-spacing: -0.02em;
    color: #999999;
}

.logo-line {
    height: 2px;
    background-color: #ffffff;
    width: 100%;
    margin: 0.5rem 0;
    position: relative;
}

.arrow-head {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #ffffff;
}

.logo-subtitle {
    font-size: 9px;
    letter-spacing: 0.3em;
    color: #666666;
    display: block;
    margin-top: 0.5rem;
}

/* Main Heading */
.main-heading {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.heading-light {
    color: #999999;
    font-weight: 300;
}

/* Main Description */
.main-description {
    color: #999999;
    font-size: 13px;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 2rem;
}

/* Sister Company Badge */
.sister-company-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #333333;
    color: #999999;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.sister-company-badge:hover {
    border-color: #ffffff;
    color: #ffffff;
}

.external-icon {
    transition: transform 0.3s ease;
}

.sister-company-badge:hover .external-icon {
    transform: translate(2px, -2px);
}

/* ============================================
   RIGHT COLUMN: CONTENT
   ============================================ */

.right-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

/* ============================================
   HEADER PANEL
   ============================================ */

.header-panel {
    border-bottom: 1px solid #d4d4d4;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #000000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-text {
    color: #0d0d0d;
}

.header-right {
    font-size: 12px;
    color: #999999;
    text-transform: uppercase;
    display: none;
}

@media (min-width: 640px) {
    .header-right {
        display: block;
    }
}

/* ============================================
   MIDDLE PANELS
   ============================================ */

.middle-panels {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid #d4d4d4;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .middle-panels {
        grid-template-columns: 1fr 1fr;
    }
}

/* Image Panel */
.image-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    min-height: 300px;
    border-bottom: 1px solid #d4d4d4;
}

@media (min-width: 768px) {
    .image-panel {
        border-bottom: none;
        border-right: 1px solid #d4d4d4;
    }
}

.facade-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.25);
    transition: transform 0.7s ease;
}

.image-panel:hover .facade-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.5s ease;
}

.image-panel:hover .image-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Technical Overlay */
.technical-overlay {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 9px;
    letter-spacing: 0.1em;
}

.tech-label {
    padding: 0.5rem;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Image Text */
.image-text {
    position: relative;
    z-index: 10;
    color: #ffffff;
    margin-top: auto;
}

.image-heading {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.image-description {
    font-size: 12px;
    color: #d4d4d4;
    line-height: 1.6;
}

/* ============================================
   FORM PANEL
   ============================================ */

.form-panel {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999999;
}

.compass-icon {
    color: #999999;
}

.form-label {
    color: #999999;
}

.form-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    color: #0d0d0d;
}

/* ============================================
   INQUIRY FORM
   ============================================ */

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-group label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999999;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    background-color: #f9f9fb;
    border: 1px solid #d4d4d4;
    padding: 0.75rem;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: #0d0d0d;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.error-message {
    background-color: #fee;
    border: 1px solid #fcc;
    color: #c00;
    padding: 0.75rem;
    font-size: 12px;
    margin-bottom: 1rem;
}

/* Submit Button */
.submit-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 1.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    background-color: #333333;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.submit-button:hover .arrow-icon {
    transform: translateX(4px);
}

.submit-button:active {
    transform: scale(0.98);
}

/* Success Message */
.success-message {
    border: 1px solid #000000;
    padding: 2rem;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    color: #000000;
    margin-bottom: 1rem;
}

.success-message h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #0d0d0d;
}

.success-message p {
    font-size: 12px;
    color: #666666;
    max-width: 400px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.reset-button {
    background-color: transparent;
    border: 1px solid #000000;
    color: #000000;
    padding: 0.75rem 1.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-button:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Form Footer */
.form-footer {
    border-top: 1px solid #d4d4d4;
    padding-top: 1rem;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #999999;
    letter-spacing: 0.1em;
}

/* ============================================
   INFO GRID
   ============================================ */

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    background-color: #ffffff;
    border-bottom: 1px solid #d4d4d4;
}

@media (min-width: 640px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info-panel {
    padding: 1.5rem;
    border-bottom: 1px solid #d4d4d4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

@media (min-width: 640px) {
    .info-panel {
        border-bottom: none;
    }
    
    .info-panel:not(:last-child) {
        border-right: 1px solid #d4d4d4;
    }
}

.info-panel:hover {
    background-color: #f5f5f5;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0d0d0d;
}

.info-icon {
    color: #999999;
}

.info-text {
    font-size: 11px;
    color: #999999;
    line-height: 1.6;
}

/* ============================================
   FOOTER CONTACT
   ============================================ */

.footer-contact {
    padding: 2rem;
    background-color: #f5f5f5;
    border-top: 1px solid #d4d4d4;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-contact {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    color: #999999;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999999;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 12px;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #000000;
    text-decoration: underline;
}

/* ============================================
   LEGAL BAR
   ============================================ */

.legal-bar {
    background-color: #000000;
    color: #999999;
    font-size: 9px;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    border-top: 1px solid #333333;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .legal-bar {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
}

.legal-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.legal-links a {
    color: #999999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #ffffff;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
    }

    .left-column {
        width: 100%;
        border-bottom: 1px solid #1a1a1a;
        border-right: none;
        padding: 2rem;
    }

    .right-column {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .logo-sac,
    .logo-facades {
        font-size: 2rem;
    }

    .main-heading {
        font-size: 2rem;
    }

    .left-column {
        padding: 1.5rem;
    }

    .form-panel,
    .footer-contact {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .metadata-top,
    .metadata-bottom {
        font-size: 9px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .grid-background,
    .header-panel,
    .form-panel {
        display: none;
    }
}
