/* =========================================
   1. RESET & VARIABLES
   ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root { 
    --cream: #f3efe4; 
    --dark: #222222; 
    --gold: #a89461; 
    --form-btn: #8c764a; 
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #ffffff; 
    color: var(--dark); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
header { background-color: var(--cream); position: relative; z-index: 100; width: 100%; }

.top-bar {
    background-color: var(--gold) !important;
    height: 35px; width: 100%; display: flex; align-items: center; justify-content: flex-end; padding: 0 20px;
}

.top-bar-text { color: #ffffff; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.navbar { 
    display: flex; justify-content: center; align-items: center; max-width: 1200px; 
    margin: 0 auto; gap: 80px; padding: 15px 5px; min-height: 80px;
}

.nav-left, .nav-right { display: flex; gap: 40px; }

.nav-left a, .nav-right a { 
    color: var(--dark); text-decoration: none; text-transform: uppercase; font-weight: 800; font-size: 1rem; 
    display: inline-block; transform: scaleY(1.4); transform-origin: center; line-height: 1; transition: all 0.3s ease; 
}

.nav-left a:hover, .nav-right a:hover { transform: scaleY(1.4) scale(1.1); color: var(--gold); }

.logo-wrap { position: relative; width: 160px; height: 50px; flex-shrink: 0; }
.main-logo { position: absolute; top: -55px; left: 50%; transform: translateX(-50%); height: 190px; z-index: 110; display: block; }

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero { 
    height: 75vh;
    max-height: 750px;
    min-height: 600px; /* Prevents the whole section from collapsing too small */ 
    background: url('images/hangars.jpg') no-repeat center center/cover; 
    display: flex; 
    align-items: flex-start; /* Aligns content to the TOP */
    justify-content: center; 
    text-align: center; 
    position: relative; 
    color: white; 
}

.hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); }

.hero-overlay { 
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    
    /* THE LOCK: This sets the fixed distance from the top of the section */
    padding-top: 120px; 
    margin-top: 0;
}

.hero h1 { 
    font-size: clamp(2.2rem, 10vw, 4.5rem); line-height: 1.1; margin-bottom: 20px; color: #e7e2ce; 
    font-weight: 500; text-transform: uppercase; transform: scaleY(1.2); transform-origin: center;
}

.hero p { font-weight: 700; transform: scaleY(1.8); transform-origin: center; letter-spacing: 1px; margin-bottom: 30px; color: #e7e2ce; }

.btn { 
    background: var(--gold); color: var(--dark); padding: 15px 35px; text-decoration: none; font-weight: 900; 
    text-transform: uppercase; display: inline-block; transition: all 0.3s ease; font-size: 1.1rem; 
    letter-spacing: 2px; transform: scaleY(1.3); transform-origin: center;
}

.btn:hover { background-color: #c0ae7d; transform: scaleY(1.3) translateY(-3px); }

/* =========================================
   4. OUR CRAFT (RESTORED TO ORIGINAL GRID)
   ========================================= */
.our-craft { background-color: #e6e1cd; padding: 60px 20px; text-align: center; }
.our-craft h2 { font-size: 2.8rem; font-weight: 300; transform: scaleY(1.6); transform-origin: center; letter-spacing: 5px; margin-bottom: 20px; display: inline-block; text-transform: uppercase; }

.craft-grid { 
    display: grid; grid-template-columns: max-content max-content; justify-content: center; 
    max-width: 100%; margin: 10px auto 0; gap: 50px; 
}

.craft-item img { width: 100%; max-width: 220px; height: auto; margin-bottom: 20px; }
.craft-item h3 { font-weight: 900; text-transform: uppercase; margin-top: 30px; margin-bottom: 15px; letter-spacing: 1px; transform: scaleY(1.2); transform-origin: center; }
.craft-item p { font-size: 1.1rem; line-height: 1.8; max-width: 350px; margin: 0 auto; font-weight: 500; }

/* =========================================
   5. ARCHIVE (RESTORED TO ORIGINAL GRID)
   ========================================= */
.archive { padding: 100px 20px; background-color: var(--cream); text-align: center; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 40px auto 0; }
.archive-item { overflow: hidden; }
.archive-item img { width: 100%; transition: transform 0.4s ease; margin-bottom: 15px; display: block; }
.archive-item:hover img { transform: scale(1.08); }

.archive .section-header h2 { font-size: 3.0rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; display: inline-block; transform: scaleY(1.8); transform-origin: center; margin-bottom: 40px; }
.archive .section-header p { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; transform: scaleY(1.2); transform-origin: center; color: var(--dark); }

/* =========================================
   6. OUR STORY & CONTACT
   ========================================= */
.our-story { background-color: var(--dark); color: white; padding: 100px 20px; }
.story-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.story-image img { width: 100%; display: block; }

.contact-section { background-color: var(--cream); padding: 80px 20px; color: var(--dark); }
.contact-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
.contact-section form { display: flex; flex-direction: column; gap: 20px; max-width: 500px; }
.form-group { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.form-group label { font-weight: 800; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 5px; color: var(--gold); }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; background: transparent; font-family: inherit; font-size: 1rem; box-sizing: border-box; }

.submit-btn { background-color: var(--gold); color: var(--cream); border: none; padding: 15px 40px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; width: fit-content; transition: 0.3s; }
.submit-btn:hover { background-color: var(--dark); }

/* =========================================
   7. FOOTER (RESTORED TO ORIGINAL GRID)
   ========================================= */
.site-footer { background-color: var(--dark); padding: 80px 0 0; color: var(--cream); }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 0.8fr; gap: 40px; padding: 0 20px 60px; }
.footer-logo { height: 100px !important; width: auto; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--cream) !important; text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold) !important; }

.social-icons { display: flex; gap: 15px; }
.social-icons a { color: var(--cream) !important; font-size: 1.5rem; text-decoration: none; }
.social-icons a:hover { color: var(--gold) !important; }

.footer-bottom { background-color: var(--gold) !important; padding: 15px; text-align: center; width: 100%; }
.footer-bottom p { color: var(--dark); font-size: 0.75rem; font-weight: 800; margin: 0; text-transform: uppercase; }

/* =========================================
   8. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 10px; padding: 20px; }
    .logo-wrap { order: -1; width: auto; height: auto; margin-bottom: 10px; }
    .main-logo { position: static; transform: none; height: 120px; margin: 0 auto; }
    .nav-left, .nav-right { gap: 20px; width: 100%; justify-content: center; }
    .craft-grid, .archive-grid, .story-container, .contact-grid, .footer-grid { grid-template-columns: 1fr !important; text-align: center; gap: 40px; }
    /* CENTER SOCIAL ICONS */
    .social-icons {
        justify-content: center; /* Horizontally centers the flex items */
        width: 100%;
        margin-top: 15px;
    }
    /* CENTER FOOTER CONTENT */
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers the logo, links, and text vertically */
    }

    .footer-logo {
        margin: 0 auto 20px; /* Ensures the logo stays centered in its column */
    }
    .submit-btn { width: 100%; margin: 0 auto; }
}