/* =========================================================
   SEEPRO
   SAN MATEO ROAD INVENTORY SYSTEM
   PUBLIC WEBSITE STYLES
   ========================================================= */

:root {
    --primary: #2d7a3e;
    --primary-dark: #1e5a2b;
    --primary-light: #4ca55f;
    --dark: #17251a;
    --gray-dark: #4b5563;
    --gray: #6b7280;
    --gray-light: #f3f5f4;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1000;
}

.nav-container {
    width: 92%;
    max-width: 1250px;
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-dark);
}

.brand-subtitle {
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--gray-dark);
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links .login-button {
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 7px;
}

.nav-links .login-button:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 650px;
    width: 100%;
    background-image: url("images/home-background.jpg.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 1;
}

.hero-content {
    width: 92%;
    max-width: 1100px;
    min-height: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 60px 20px;
}

.hero-logo {
    margin-bottom: 20px;
}

.large-logo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(45, 122, 62, 0.95);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.welcome-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.hero h2 {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 720px;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 24px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid transparent;
    transition: 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-white:hover {
    background: #f1f5f2;
    transform: translateY(-1px);
}

/* =========================================================
   GENERAL SECTION
   ========================================================= */

.section-container {
    width: 92%;
    max-width: 1150px;
    margin: 0 auto;
}

.intro-section {
    padding: 80px 0;
    background: var(--white);
}

.section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.section-heading h2,
.purpose-content h2,
.about-main h2,
.objectives h2,
.developers-section h2,
.contact-intro h2,
.form-heading h2 {
    color: var(--dark);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-heading p {
    color: var(--gray);
    font-size: 16px;
}

/* =========================================================
   FEATURES
   ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #eaf5ec;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 25px;
}

.feature-card h3 {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================================
   PURPOSE
   ========================================================= */

.purpose-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.purpose-container {
    width: 92%;
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.purpose-content p {
    color: var(--gray-dark);
    margin-bottom: 18px;
}

.text-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary);
    font-weight: 700;
    margin-top: 8px;
}

.text-button:hover {
    color: var(--primary-dark);
}

.purpose-box {
    background: var(--primary);
    color: var(--white);
    border-radius: 14px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.purpose-box-content {
    position: relative;
    z-index: 2;
}

.purpose-box p {
    font-size: 18px;
    line-height: 1.8;
}

.quote-mark {
    font-size: 70px;
    line-height: 0.5;
    opacity: 0.25;
}

.quote-bottom {
    text-align: right;
    margin-top: 20px;
}

/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 70px 20px;
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 12px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 25px;
    color: rgba(255, 255, 255, 0.88);
}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.page-header {
    background: var(--primary-dark);
    color: var(--white);
    padding: 70px 20px;
}

.page-header-content {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.page-header-content > span {
    display: inline-block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #d8f0dc;
}

.page-header h1 {
    font-size: clamp(35px, 5vw, 55px);
    margin-bottom: 10px;
}

.page-header p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    padding: 80px 0;
}

.about-main {
    max-width: 950px;
    margin: 0 auto;
}

.about-main p {
    color: var(--gray-dark);
    margin-bottom: 18px;
}

.objectives {
    margin-top: 65px;
}

.objectives h2 {
    text-align: center;
}

.objective-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 35px;
}

.objective-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.objective-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 16px;
}

.objective-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.objective-card p {
    color: var(--gray);
    font-size: 14px;
}

/* =========================================================
   DEVELOPERS
   ========================================================= */

.developers-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.developers-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
    color: var(--gray);
}

.developer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.developer-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.developer-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #eaf5ec;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.developer-card h3 {
    margin-bottom: 6px;
}

.developer-card p {
    color: var(--gray);
    font-size: 14px;
}

.university-box {
    margin: 45px auto 0;
    max-width: 800px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.university-box h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.university-box p {
    color: var(--gray);
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    padding: 80px 0;
}

.contact-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.contact-intro p {
    color: var(--gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 45px;
}

.contact-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #eaf5ec;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.contact-card h3 {
    margin-bottom: 7px;
}

.contact-card p {
    color: var(--gray);
    font-size: 14px;
}

.contact-detail {
    margin-top: 10px;
}

.contact-detail strong {
    display: block;
    color: var(--dark);
}

.contact-detail span {
    display: block;
    color: var(--gray);
    font-size: 14px;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 35px;
    background: var(--gray-light);
    border-radius: 14px;
}

.form-heading {
    text-align: center;
    margin-bottom: 30px;
}

.form-heading p {
    color: var(--gray);
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 7px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 122, 62, 0.10);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    border: none;
    background: var(--primary);
    color: var(--white);
    padding: 13px 20px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.submit-button:hover {
    background: var(--primary-dark);
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #132017;
    color: var(--white);
    padding: 55px 0 0;
}

.footer-container {
    width: 92%;
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand {
    max-width: 500px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.footer-brand h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    transition: 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 18px 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* =========================================================
   RESPONSIVE - 900px
   ========================================================= */

@media (max-width: 900px) {

    .nav-container {
        flex-direction: column;
        padding: 18px 0;
        gap: 15px;
    }

    .nav-links {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .feature-grid,
    .objective-grid,
    .developer-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .purpose-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RESPONSIVE - 600px
   ========================================================= */

@media (max-width: 600px) {

    .nav-container {
        width: 94%;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-subtitle {
        font-size: 9px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .hero {
        min-height: 600px;
    }

    .hero-content {
        min-height: 600px;
        padding: 45px 15px;
    }

    .hero-description {
        font-size: 15px;
    }

    .large-logo-placeholder {
        width: 80px;
        height: 80px;
        font-size: 35px;
    }

    .feature-grid,
    .objective-grid,
    .developer-grid,
    .contact-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .intro-section,
    .purpose-section,
    .about-section,
    .developers-section,
    .contact-section {
        padding: 55px 0;
    }

    .purpose-box {
        padding: 28px;
    }

    .contact-form-wrapper {
        padding: 25px 18px;
    }
}
/* =========================================================
   FINAL HOME HERO OVERLAY FIX
   ========================================================= */

html, body {
    overflow-x: hidden;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 650px;
    overflow: hidden;
    isolation: isolate;
    background: transparent;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("images/home-background.jpg.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.01);
}

.hero-background {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    z-index: 0 !important;
}

.hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100%;
    height: 100%;
    background: rgba(18, 55, 28, 0.46) !important;
    z-index: 1 !important;
}

.hero-content {
    position: relative !important;
    z-index: 2 !important;
    width: min(92%, 900px) !important;
    max-width: 900px !important;
    min-height: 650px;
    margin: 0 auto !important;
    padding: 70px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: #fff !important;
}

.hero-logo,
.large-logo-placeholder {
    position: relative;
    z-index: 3;
}

.welcome-text,
.hero h1,
.hero h2,
.hero-description,
.hero-buttons {
    position: relative;
    z-index: 3;
}

.hero h1,
.hero h2,
.hero-description,
.welcome-text {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero h1 {
    margin-top: 0;
}

.hero h2 {
    max-width: 820px;
}

.hero-description {
    max-width: 760px;
}

.hero-buttons {
    position: relative;
    z-index: 4;
}

@media (max-width: 900px) {
    .nav-container {
        width: 94%;
        gap: 16px;
    }

    .nav-links {
        gap: 16px;
    }
}

@media (max-width: 700px) {
    .nav-container {
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero,
    .hero-content {
        min-height: 620px;
    }

    .hero-content {
        width: 94% !important;
        padding: 45px 15px !important;
    }
}
