/* Zerivon Industries - Ireland-Based Energy Company */

:root {
    --primary-gold: #D4AF37;
    --primary-navy: #0A1628;
    --secondary-navy: #1a2942;
    --light-gold: #E8C870;
    --dark-gold: #B8941F;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

/* Floating Badges - Fixed Position */
.floating-badges {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 5 Years Contract Badge */
.contract-badge {
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    color: var(--primary-navy);
    padding: 20px 15px;
    border-radius: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 0.9em;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    animation: pulse-contract 2s ease-in-out infinite;
    max-width: 150px;
    border: 3px solid var(--primary-navy);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.contract-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.8);
}

.contract-badge .years {
    font-size: 2em;
    display: block;
    color: var(--primary-navy);
}

.contract-badge .text {
    font-size: 0.85em;
    display: block;
    margin-top: 5px;
    line-height: 1.3;
}

/* $1 Billion Badge - Round */
.billion-badge {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(10, 22, 40, 0.6);
    animation: blink-billion 1.5s ease-in-out infinite;
    border: 4px solid var(--primary-gold);
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.billion-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(10, 22, 40, 0.8);
}

.billion-badge .dollar {
    font-size: 2.5em;
    line-height: 1;
}

.billion-badge .amount {
    font-size: 1.8em;
    line-height: 1;
}

.billion-badge .subtext {
    font-size: 0.7em;
    margin-top: 5px;
    opacity: 0.9;
}

/* Pulsing ring effect */
.billion-badge::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
    animation: ring-pulse 2s ease-in-out infinite;
}

@keyframes pulse-contract {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(212, 175, 55, 0.8);
    }
}

@keyframes blink-billion {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.08);
    }
}

@keyframes ring-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* Responsive - Hide badges on mobile */
@media (max-width: 768px) {
    .floating-badges {
        right: 10px;
        top: auto;
        bottom: 20px;
        transform: none;
        flex-direction: row;
        gap: 10px;
    }
    
    .contract-badge {
        padding: 12px 10px;
        font-size: 0.7em;
        max-width: 110px;
    }
    
    .contract-badge .years {
        font-size: 1.5em;
    }
    
    .billion-badge {
        width: 100px;
        height: 100px;
    }
    
    .billion-badge .dollar {
        font-size: 1.8em;
    }
    
    .billion-badge .amount {
        font-size: 1.3em;
    }
}

/* Header Styles */
header {
    background-color: var(--primary-navy);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.top-bar {
    background-color: var(--secondary-navy);
    padding: 10px 0;
    font-size: 0.9em;
}

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

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--primary-gold);
}

.social-links a {
    color: var(--text-light);
    margin-left: 15px;
    font-size: 1.1em;
    transition: color 0.3s;
    text-decoration: none;
}

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

/* Navigation */
.main-nav {
    padding: 15px 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 70px;
    width: auto;
    margin-right: 15px;
    object-fit: contain;
}

.company-name {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-gold);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 18px;
    display: block;
    transition: all 0.3s;
    font-weight: 500;
}

nav ul li a:hover {
    background-color: var(--primary-gold);
    color: var(--primary-navy);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-navy);
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
}

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

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-menu li a:hover {
    background-color: var(--primary-gold);
    color: var(--primary-navy);
    padding-left: 25px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wide-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-background.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--primary-gold);
    color: var(--primary-navy);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid var(--primary-gold);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-navy);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5em;
    color: var(--primary-navy);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-gold);
}

.section-title p {
    font-size: 1.1em;
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
}

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

.feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-gold);
}

.feature-icon {
    font-size: 3em;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5em;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3em;
    color: var(--primary-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.stat-item p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Board & Leadership Grid */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.board-member {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.board-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-gold);
}

.member-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 4em;
    font-weight: bold;
}

.member-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(10, 22, 40, 0.8));
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    font-size: 1.4em;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.member-position {
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.member-info p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95em;
}

/* Operations Cards */
.operations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.operation-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.operation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.operation-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 3em;
}

.operation-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(10, 22, 40, 0.7));
}

.operation-content {
    padding: 30px;
}

.operation-content h3 {
    font-size: 1.6em;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.operation-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-text h3 {
    font-size: 2em;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Contact Form */
.contact-section {
    background-color: var(--background-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info-box h3 {
    color: var(--primary-navy);
    font-size: 1.8em;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: start;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 1.5em;
    color: var(--primary-gold);
    margin-right: 15px;
    margin-top: 3px;
}

.info-item h4 {
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
}

.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-navy);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
}

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

/* Footer */
footer {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.footer-section p,
.footer-section ul {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Careers Page */
.job-listings {
    margin-top: 50px;
}

.job-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.job-card:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.job-header h3 {
    color: var(--primary-navy);
    font-size: 1.5em;
}

.job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.job-meta span {
    color: #666;
    font-size: 0.95em;
}

.job-meta span strong {
    color: var(--primary-gold);
}

/* Sustainability Page */
.sustainability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.sustainability-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sustainability-card h3 {
    color: var(--primary-navy);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.sustainability-card p {
    color: #666;
    line-height: 1.8;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: var(--primary-gold);
    color: var(--primary-navy);
    border: none;
    padding: 12px 20px;
    font-size: 1.5em;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    background: var(--light-gold);
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 968px) {
    /* Show hamburger button */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 1001;
    }
    
    /* Hide navigation by default on mobile */
    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary-navy);
        z-index: 1000;
        overflow-y: auto;
        padding-top: 80px;
    }
    
    /* Show navigation when active */
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 20px;
    }
    
    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    nav ul li a {
        padding: 15px 20px;
        font-size: 1.2em;
        display: block;
        width: 100%;
    }
    
    /* Dropdown menu on mobile */
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background-color: var(--secondary-navy);
        margin-left: 20px;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown > a::after {
        content: ' ▼';
        font-size: 0.8em;
    }
    
    .dropdown.active > a::after {
        content: ' ▲';
    }
    
    .nav-container {
        position: relative;
    }
    
    .logo-container {
        margin: 0;
    }
    
    .company-name {
        font-size: 1.2em;
    }
    
    .logo {
        height: 50px;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .board-grid,
    .operations-grid {
        grid-template-columns: 1fr;
    }
    
    .job-header {
        flex-direction: column;
    }
    
    /* Floating badges adjustment for mobile */
    .floating-badges {
        right: 5px;
        gap: 10px;
    }
    
    .contract-badge {
        max-width: 110px;
        padding: 12px 8px;
        font-size: 0.7em;
    }
    
    .contract-badge .years {
        font-size: 1.5em;
    }
    
    .contract-badge .text {
        font-size: 0.75em;
    }
    
    .billion-badge {
        width: 100px;
        height: 100px;
    }
    
    .billion-badge .dollar {
        font-size: 2em;
    }
    
    .billion-badge .amount {
        font-size: 1.5em;
    }
    
    .billion-badge .subtext {
        font-size: 0.6em;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 1.8em;
    }
    
    .hero p {
        font-size: 0.95em;
        line-height: 1.5;
    }
    
    .section-title h2 {
        font-size: 1.8em;
    }
    
    .top-bar {
        display: none;
    }
    
    .contact-info a {
        display: block;
        margin: 5px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 2em;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95em;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
        display: block;
    }
}

/* Hide initials when background image is present */
.member-image[style*="background-image"] {
    color: transparent !important;
    font-size: 0 !important;
}
