/* 
   Victory E&C - Style Sheet
   Design Style: Modern Industrial / Minimalism
*/

:root {
    /* Color Palette */
    --primary-color: #FF3B30;
    --bg-dark: #000000;
    --bg-secondary: #0A0A0A;
    --bg-card: #1A1A1A;
    --text-white: #FFFFFF;
    --text-muted: #A0A0A0;
    --border-color: #262626;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --letter-spacing-tight: -0.02em;
    --letter-spacing-wide: 0.05em;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1280px;
    --transition-base: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 1. Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

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

/* 2. Typography System */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: var(--letter-spacing-tight);
    text-transform: uppercase;
    color: var(--text-white);
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 2rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 60ch;
}

.label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

/* 3. Layout Components */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: var(--section-padding) 0;
}

/* 4. Header & Navigation */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
}

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

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 5. Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-image {
    position: relative;
    height: 120%;
    background: #111;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* 6. Buttons */
.btn-group {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    padding: 18px 36px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--text-white);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-5px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-white);
}

.btn-outline:hover {
    border-color: var(--text-white);
    background: rgba(255,255,255,0.1);
}

.btn-submit {
    background: var(--primary-color);
    color: var(--text-white);
    width: 100%;
    margin-top: 20px;
}

/* 7. Marquee (Scrolling Text) */
.marquee {
    background: var(--primary-color);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

.marquee-content span {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-right: 50px;
    -webkit-text-stroke: 1px white;
    color: transparent;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* 8. Capabilities Grid */
.grid-3x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    margin-top: 60px;
}

.cap-card {
    transition: var(--transition-base);
}

.cap-card .icon {
    width: 40px;
    height: 40px;
    margin-bottom: 25px;
    border: 1px solid var(--primary-color);
    padding: 8px;
}

.cap-card:hover {
    transform: translateY(-10px);
}

/* 9. Recent Work (Z-Pattern) */
.work-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.work-item:nth-child(even) .work-image {
    order: 2;
}

.work-image {
    position: relative;
    overflow: hidden;
}

.work-image img {
    transition: transform 0.8s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-category {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.8);
    padding: 8px 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* 10. Testimonial */
.testimonial {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial blockquote {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 30px;
}

.testimonial .quote-icon {
    color: var(--primary-color);
    font-size: 4rem;
    line-height: 1;
}

/* 11. Contact Form & Footer */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    background: var(--bg-secondary);
    padding: 100px 5%;
}

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

input, textarea {
    width: 100%;
    background: var(--bg-card);
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 15px;
    color: white;
    font-family: inherit;
    outline: none;
}

input:focus, textarea:focus {
    border-color: var(--primary-color);
}

footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

/* 12. Utility Classes */
.text-primary { color: var(--primary-color); }
.mt-20 { margin-top: 20px; }
.mb-40 { margin-bottom: 40px; }

/* 13. Responsive Media Queries */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-grid, .work-item, .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        height: 400px;
        clip-path: none;
    }

    .grid-3x2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-item:nth-child(even) .work-image {
        order: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }

    .nav-links {
        display: none; /* Usually replaced by a burger menu */
    }

    .grid-3x2 {
        grid-template-columns: 1fr;
    }

    .marquee-content span {
        font-size: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

/* Animations */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-base);
}

[data-aos="fade-up"].is-visible {
    opacity: 1;
    transform: translateY(0);
}