/* ==========================================
   COLOR PALETTE: Monochrome Blue — Reynholm Australia
   ========================================== */
:root {
    --color-bg-dark: #080d1a;
    --color-bg-card: #101828;
    --color-bg-hover: #1c2840;
    --color-accent-primary: #60a5fa;
    --color-accent-secondary: #3b82f6;
    --color-accent-tertiary: #2563eb;
    --color-accent-dark: #1d4ed8;
    --color-accent-light: #93c5fd;
    --color-text-primary: #f0f8ff;
    --color-text-secondary: #bfdbfe;
    --color-text-muted: #93c5fd;
    --color-border: rgba(96, 165, 250, 0.2);
    --font-primary: 'Rajdhani', sans-serif;
    --font-mono: 'Source Code Pro', monospace;
}

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

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

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(96, 165, 250, 0.15), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(59, 130, 246, 0.15), transparent 50%);
}

.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent-primary), transparent);
    animation: scan 8s linear infinite;
    z-index: 1;
    opacity: 0.3;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* ==========================================
   HEADER & NAV
   ========================================== */
header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(8, 13, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo: REYNHOLM large, AUSTRALIA smaller underneath */
.logo {
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-symbol {
    width: 60px;
    height: 60px;
    display: block;
    flex-shrink: 0;
}

.logo-symbol img {
    width: 100%;
    height: 100%;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 0.45rem;
}

.logo-main {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-text-primary);
}

.logo-sub {
    font-family: var(--font-mono);
    font-size: 1.00rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-accent-primary);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-accent-primary);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    min-width: 175px;
    padding: 0.5rem 0;
    margin-top: 0;
    padding-top: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
    display: none;
}

.dropdown:hover::after {
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-text-secondary);
}

.dropdown-content a:hover {
    background: var(--color-bg-hover);
    color: var(--color-accent-primary);
}

.btn-contact {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: var(--color-bg-dark);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(96, 165, 250, 0.4);
    color: var(--color-bg-dark) !important;
}

/* ==========================================
   PAGE HEADER
   ========================================== */
.page-header {
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-header .highlight {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   CONTENT CARDS
   ========================================== */
.content-section {
    padding: 4rem 0;
}

.content-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
}

.content-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.content-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.content-card p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.content-card ul, .content-card ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-card li {
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.content-card em {
    color: var(--color-accent-primary);
    font-style: normal;
    font-weight: 600;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
    margin-top: 5rem;
}

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

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: var(--color-accent-primary);
    color: var(--color-accent-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.payment-badge {
    padding: 0.4rem 1rem;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

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

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

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

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

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

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

/* ==========================================
   HOMEPAGE — VIDEO SECTION
   ========================================== */
.video-section {
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 2;
}

.video-wrapper {
    position: relative;
    width: 50%;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 28.125%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* ==========================================
   HOMEPAGE — HERO SECTION
   ========================================== */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    color: var(--color-accent-primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero .highlight {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-ceo {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    animation: fadeInUp 0.6s ease 0.8s both;
}

.ceo-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.ceo-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.ceo-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-bg-dark);
}

.ceo-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.ceo-details p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ==========================================
   BUSINESS LINES / PRODUCTS SECTION
   ========================================== */
.business-lines {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: var(--font-mono);
    color: var(--color-accent-primary);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

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

.line-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.line-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.line-card:hover::before {
    transform: scaleX(1);
}

.line-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.line-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(59, 130, 246, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.line-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.line-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.line-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.line-link:hover {
    gap: 1rem;
}

/* ==========================================
   ARTICLE SECTION
   ========================================== */
.article-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, transparent, rgba(96, 165, 250, 0.03), transparent);
}

.article-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 3rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.article-date {
    font-family: var(--font-mono);
    color: var(--color-accent-primary);
    font-size: 0.85rem;
}

.article-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-content {
    color: var(--color-text-secondary);
    line-height: 1.9;
    font-size: 1.1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content em {
    color: var(--color-accent-primary);
    font-style: normal;
    font-weight: 600;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.btn-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: var(--color-bg-dark);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(96, 165, 250, 0.4);
}

.text-accent {
    color: var(--color-accent-primary);
}

.bg-highlight {
    background: rgba(96, 165, 250, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}

.bg-highlight h3 {
    margin-top: 0;
}

/* ==========================================
   TEAM SECTION
   ========================================== */
.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--color-bg-hover), var(--color-bg-card));
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(96, 165, 250, 0.08), transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(59, 130, 246, 0.06), transparent 60%);
    pointer-events: none;
}

.team-photo-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--color-bg-dark);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.25);
}

.team-photo-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.team-info {
    padding: 2rem;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.team-role {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-accent-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================
   CONTACT FORM STYLES
   ========================================== */

.contact-form {
    max-width: 700px;
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

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

.char-counter {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-tertiary);
    font-family: var(--font-mono);
}

.form-actions {
    margin-top: 2rem;
}

.btn-submit {
    padding: 1rem 2.5rem;
    background: var(--color-accent-primary);
    color: var(--color-bg-primary);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-submit:hover:not(:disabled) {
    background: var(--color-accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.form-message.success {
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid var(--color-accent-primary);
    color: var(--color-accent-primary);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.divider {
    height: 1px;
    background: var(--color-border);
    margin: 3rem 0;
}


/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .video-section {
        padding: 2rem 0 1rem;
    }

    .video-wrapper {
        width: 100%;
        padding-bottom: 56.25%;
        border-radius: 8px;
        max-width: 100%;
    }
    
    .lines-grid {
        grid-template-columns: 1fr;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-form {
        max-width: 100%;
    }
    
    .btn-submit {
        width: 100%;
    }
}
}
