/* ===================================
   RESET & GLOBAL STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Navy/Charcoal with Gold/Cream accents */
    --primary-navy: #1a2332;
    --secondary-charcoal: #2c3e50;
    --accent-gold: #c9a961;
    --accent-cream: #f5f1e8;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;

    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;

    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-charcoal) 100%);
    /* Background image */
    background-image:
        linear-gradient(rgba(26, 35, 50, 0.7), rgba(44, 62, 80, 0.7)),
        url('bg_image.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 50, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    animation: fadeInUp 1.2s ease-out;
}

.hero-logo-icon {
    width: 120px;
    height: auto;
    margin-bottom: 0px;
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.company-logo {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.company-suffix {
    font-size: 0.3em;
    letter-spacing: 1px;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: clamp(0.89rem, 1.79vw, 1.16rem);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 2rem;
    z-index: 2;
    animation: bounce 2s infinite;
    cursor: pointer;
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    opacity: 1;
    color: var(--accent-gold);
}

/* ===================================
   SECTION HEADERS
   =================================== */

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

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* ===================================
   PROJECTS SECTION
   =================================== */

.projects-section {
    position: relative;
    padding: var(--section-padding);
    background: var(--accent-cream);
    z-index: 10;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border-top: 3px solid transparent;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-top-color: var(--accent-gold);
}

.project-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-charcoal));
    color: var(--accent-gold);
    font-size: 1.5rem;
    border-radius: 50%;
    margin-bottom: 25px;
}

.project-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.project-category {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 500;
}

.project-card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
    position: relative;
    padding: var(--section-padding);
    background: white;
    z-index: 10;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    margin-top: 50px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.required {
    color: var(--accent-gold);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a2332' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    display: block;
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc2626;
}

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-charcoal));
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(26, 35, 50, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    transition: var(--transition-smooth);
}

.submit-btn:hover i {
    transform: translateX(3px);
}

.form-success {
    text-align: center;
    padding: 30px;
    background: #ecfdf5;
    border-radius: 8px;
    margin-top: 20px;
    animation: fadeInUp 0.5s ease-out;
}

.form-success i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 15px;
}

.form-success p {
    color: #065f46;
    font-size: 1.1rem;
}

.form-error {
    text-align: center;
    padding: 30px;
    background: #fef2f2;
    border-radius: 8px;
    margin-top: 20px;
    animation: fadeInUp 0.5s ease-out;
}

.form-error i {
    font-size: 3rem;
    color: #dc2626;
    margin-bottom: 15px;
}

.form-error p {
    color: #991b1b;
    font-size: 1.1rem;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    position: relative;
    background: var(--primary-navy);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
    z-index: 10;
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer .abn {
    margin-top: 5px;
    font-size: 0.85rem;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-section {
        background-attachment: scroll;
    }

    .hero-logo-icon {
        width: 90px;
        margin-bottom: 0px;
    }

    .company-logo {
        font-size: 2.5rem;
    }

    .company-suffix {
        letter-spacing: 0.8px;
    }

    .hero-tagline {
        font-size: 0.803rem;
        letter-spacing: 2px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        padding: 30px 25px;
    }

    .scroll-indicator {
        bottom: 30px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-logo-icon {
        width: 75px;
        margin-bottom: 0px;
    }

    .company-logo {
        font-size: 2rem;
    }

    .company-suffix {
        letter-spacing: 0.6px;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

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

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
