/* Vassal Corporate Website Styles
   Brand Colors:
   - Primary Green: #7AC143 (RGB 122, 193, 67)
   - Cool Grey: #807F83 (RGB 128, 127, 131)
   - Font: Trade Gothic LT Std (with Arial fallback)
*/

/* Font Faces */
@font-face {
    font-family: 'Trade Gothic LT Std';
    src: url('../fonts/TradeGothicLTStd.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Trade Gothic LT Std';
    src: url('../fonts/TradeGothicLTStd-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Trade Gothic LT Std';
    src: url('../fonts/TradeGothicLTStd-BoldExt.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Trade Gothic LT Std';
    src: url('../fonts/TradeGothicLTStd-Extended.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Trade Gothic LT Std';
    src: url('../fonts/TradeGothicLTStd-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

/* CSS Variables */
:root {
    --vassal-green: #7AC143;
    --vassal-green-dark: #5EA030;
    --vassal-grey: #807F83;
    --vassal-grey-light: #E8E8E8;
    --vassal-grey-dark: #4A4A4A;
    --white: #FFFFFF;
    --font-primary: 'Trade Gothic LT Std', Arial, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: normal;
    line-height: 1.6;
    color: var(--vassal-grey-dark);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: bold;
    line-height: 1.2;
    color: var(--vassal-grey-dark);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--vassal-green); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--vassal-grey);
}

a {
    color: var(--vassal-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--vassal-green-dark);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--vassal-grey-light);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--vassal-grey);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--vassal-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vassal-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--vassal-grey);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--vassal-grey-light) 0%, var(--white) 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: url('../images/Vassal-icon-green.png') no-repeat center;
    background-size: contain;
    opacity: 0.1;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--vassal-green);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.strapline {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--vassal-grey);
}

.strapline span {
    color: var(--vassal-green);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--vassal-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--vassal-green-dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--vassal-green);
    border: 2px solid var(--vassal-green);
}

.btn-outline:hover {
    background: var(--vassal-green);
    color: var(--white);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--vassal-green);
    transition: height 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card:hover::before {
    height: 100%;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--vassal-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--vassal-grey-light);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--vassal-grey);
}

.team-member h4 {
    color: var(--vassal-grey-dark);
    margin-bottom: 0.25rem;
}

.team-member .role {
    color: var(--vassal-green);
    font-weight: 500;
}

/* Sectors */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.sector-item {
    padding: 2rem;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--vassal-grey-light);
    transition: all 0.3s ease;
}

.sector-item:hover {
    border-color: var(--vassal-green);
    box-shadow: 0 4px 20px rgba(122, 193, 67, 0.2);
}

.sector-item h4 {
    color: var(--vassal-grey-dark);
    margin-top: 1rem;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.news-image {
    height: 200px;
    background: var(--vassal-grey-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.875rem;
    color: var(--vassal-green);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--vassal-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    border: 1px solid var(--vassal-grey-light);
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--vassal-green);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--vassal-grey-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 35px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--vassal-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0;
        display: none;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--vassal-grey-light);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero::before {
        width: 300px;
        height: 300px;
        opacity: 0.05;
    }

    .section {
        padding: 3rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--vassal-grey-dark) 0%, var(--vassal-grey) 100%);
    padding: 8rem 0 4rem;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-green { color: var(--vassal-green); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
