/* 
  AMW Resources FZC - Layout Styles
  Header, Hero, Section Layouts, Grids
*/

/* ================================
   HEADER LAYOUT
================================ */
.main-header {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 80px;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    z-index: 1005;
}

.logo {
    height: 69px;
    width: auto;
    display: block;
}

/* Brand Logo Scroll Hide Animation */
.brand-logo {
    transition: opacity 0.4s ease, transform 0.4s ease;
    /* Smooth fade + upward motion */
}

.brand-logo.hide-on-scroll {
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    /* Prevent interaction when hidden */
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-icons {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    color: var(--text-dark);
    flex: 0 0 auto;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 20px;
    margin-left: 20px;
}

/* ================================
   HERO SECTION LAYOUT
================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    width: 100%;
    padding: 0;
    color: var(--white);
    background: transparent;
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: #000;
}

.hero-content-layer {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 120px 60px 60px;
    pointer-events: none;
}

.hero-content-layer>* {
    pointer-events: auto;
}

.hero-ui-container {
    display: flex;
    gap: 40px;
    width: 100%;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Vertical Side Indicator */
.vertical-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20px;
    height: 100%;
    padding: 20px 0;
}

.v-line-top,
.v-line-bottom {
    width: 1px;
    background: rgba(255, 255, 255, 0.4);
    flex: 1;
}

.vertical-indicator .number {
    margin: 20px 0;
    font-weight: 600;
    color: var(--white);
    font-size: 16px;
}

/* Grid Content */
.hero-grid-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    height: 100%;
    align-items: stretch;
}

.hero-col-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.hero-brand-box {
    margin-top: 15vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.amw-large {
    font-size: 190px;
    font-weight: 700;
    line-height: 0.85;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    display: block;
    margin-left: -10px;
}

.resources-subtitle {
    position: static;
    margin-top: -12px;
    font-size: 48px;
    font-weight: 700;
    color: #000;
    line-height: 1.1;
    z-index: 20;
    text-transform: none;
    letter-spacing: 0em;
    padding-left: 140px;
    padding-top: 15px;
}

.hero-right {
    max-width: 1000px;
    justify-self: end;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 60px;
}

.hero-headline-box {
    margin-bottom: 0;
    transform: translateX(-50px);
}

.hero-headline {
    font-size: 61px;
    font-weight: 800;
    line-height: 1.05;
    text-align: right;
    white-space: nowrap;
    color: var(--white);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
}

.hero-headline span {
    color: #b7e34b;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-headline i {
    font-style: italic;
    color: #b7e34b;
}

/* ================================
   SECTION LAYOUTS
================================ */
.section-title {
    margin-bottom: 60px;
}

.subtitle {
    display: block;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

/* About Section */
.about-section {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-grid {
    display: flex;
    gap: 80px;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services Section */
.services-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 24px 0;
    scrollbar-width: none;
}

.services-slider::-webkit-scrollbar {
    display: none;
}

/* Products Section */
.products-section {
    background-color: var(--white);
}

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

/* Global Operations Map */
.global-section {
    background-color: #111;
    color: var(--white);
    text-align: center;
}

.global-operations-section {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    padding: 100px 0;
}

.map-wrapper {
    position: relative;
    padding: 40px;
    min-height: 400px;
}

/* Testimonials */
.testimonials-section {
    background-color: #fcfcfc;
    padding: 100px 80px;
}

.testimonials-section .section-header {
    margin-bottom: 60px;
    text-align: left;
}

.testimonials-section h2 {
    font-size: 80px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.testimonials-section .subtitle {
    font-size: 24px;
    color: var(--text-gray);
    font-weight: 400;
}

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

/* ================================
   FOOTER LAYOUT
================================ */
.main-footer {
    background-color: #000;
    color: #fff;
    padding: 80px 0 0;
    font-family: var(--font-inter);
}

.main-footer {
    background-color: #1a1a1a;
    padding-top: 100px;
}

.footer-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    padding-bottom: 80px;
}

.footer-info-section {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-brand-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 400px;
    margin-top: 10px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-col-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col-links li {
    margin-bottom: 12px;
}

.footer-col-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col-links a:hover {
    color: #fff;
}

.footer-contact-section {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 20px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact {
    text-align: left;
}

.contact-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -0.04em;
}

.contact-form-footer .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 16px;
    text-align: left;
}

.contact-form-footer .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form-footer label {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.contact-form-footer input,
.contact-form-footer textarea {
    background-color: #D9D9D9;
    border: none;
    border-radius: 20px;
    padding: 15px 24px;
    font-size: 16px;
    color: #000;
    width: 100%;
}

.contact-form-footer textarea {
    height: 160px;
    resize: none;
}

.btn-send {
    width: 100%;
    background-color: #B8D344;
    color: #000;
    font-size: 24px;
    font-weight: 800;
    padding: 16px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.contact-form-footer .form-group.full-width {
    width: 100%;
    margin-bottom: 30px;
    text-align: left;
}

.footer-bottom {
    background-color: #1a1a1a;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}