/* 
 * IRES ZOOM LIMITED - Main Stylesheet
 * Theme: IT, Wealth, Speed, Bold, Secure, Invention
 * Colors: Dark Navy Blue, Gold, White accents
 */

:root {
    --primary-dark: #0a0e27;
    --primary-navy: #1a237e;
    --primary-blue: #283593;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;
    --accent-gold-dark: #b8860b;
    --text-white: #ffffff;
    --text-light: #e8eaf6;
    --text-gray: #9fa8da;
    --success-green: #4caf50;
    --danger-red: #f44336;
    --warning-orange: #ff9800;
    --bg-dark: #050817;
    --bg-card: #0f1535;
    --border-color: #1a237e;
    --gradient-primary: linear-gradient(135deg, #0a0e27 0%, #1a237e 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #b8860b 100%);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    --shadow-blue: 0 0 30px rgba(26, 35, 126, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 120px;
    height: 120px;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-text {
    margin-top: 20px;
    font-size: 1.5rem;
    font-style: italic;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-card);
    border-radius: 2px;
    margin-top: 30px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-gold);
    width: 0%;
    animation: loading 2s ease-in-out forwards;
}

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

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Navigation */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 8, 23, 0.98);
    box-shadow: var(--shadow-blue);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-brand span {
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Buttons */
.btn {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    border: none;
    color: var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    color: var(--primary-dark);
}

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

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-dark {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-white);
}

.btn-dark:hover {
    background: var(--primary-navy);
    border-color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.9) 0%, rgba(26, 35, 126, 0.8) 100%),
                url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-blue);
    border-color: var(--accent-gold);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1rem;
    font-size: 2rem;
    color: var(--primary-dark);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-gray);
    text-align: center;
    padding: 0 1.5rem 2rem;
}

/* Feature Box */
.feature-box {
    padding: 2rem;
    background: rgba(15, 21, 53, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: var(--bg-card);
    border-color: var(--accent-gold);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 350px;
    background-size: cover;
    background-position: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 14, 39, 0.95) 0%, rgba(10, 14, 39, 0.3) 100%);
    transition: all 0.3s ease;
}

.service-card:hover::before {
    background: linear-gradient(to top, rgba(10, 14, 39, 0.98) 0%, rgba(10, 14, 39, 0.5) 100%);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.service-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Tables */
.table {
    color: var(--text-light);
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background: var(--gradient-primary);
}

.table th {
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 1rem;
    border: none;
}

.table td {
    padding: 1rem;
    border-color: var(--border-color);
    vertical-align: middle;
}

.table tbody tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

/* Forms */
.form-control {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 12px 15px;
    border-radius: 5px;
}

.form-control:focus {
    background: var(--bg-card);
    border-color: var(--accent-gold);
    color: var(--text-white);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-label {
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Wallet Styles */
.wallet-card {
    background: linear-gradient(135deg, #1a237e 0%, #0a0e27 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.wallet-balance {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.wallet-label {
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Product Cards */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-blue);
    border-color: var(--accent-gold);
}

.product-image {
    height: 200px;
    background: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent-gold);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.product-price .currency {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Tracking Styles */
.tracking-timeline {
    position: relative;
    padding-left: 30px;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.tracking-item {
    position: relative;
    padding-bottom: 2rem;
}

.tracking-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent-gold);
}

.tracking-item.completed::before {
    background: var(--accent-gold);
}

.tracking-item.active::before {
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
    animation: pulse 2s infinite;
}

.tracking-date {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.tracking-status {
    font-weight: 600;
    color: var(--text-white);
}

.tracking-location {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

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

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

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

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-gray);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .wallet-balance {
        font-size: 2rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-navy);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Utility Classes */
.text-gold {
    color: var(--accent-gold) !important;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.border-gold {
    border-color: var(--accent-gold) !important;
}

.glow-gold {
    box-shadow: var(--shadow-gold);
}

/* Stakeholder Categories */
.stakeholder-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.stakeholder-category h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-gold);
}

.stakeholder-item {
    padding: 1rem;
    background: rgba(15, 21, 53, 0.5);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.stakeholder-item h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.stakeholder-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Badge Styles */
.badge-gold {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Alert Styles */
.alert-custom {
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    color: var(--text-white);
    border-radius: 10px;
}

/* Modal Styles */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-white);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

/* Progress Bar */
.progress {
    background: var(--bg-dark);
    height: 10px;
    border-radius: 5px;
}

.progress-bar {
    background: var(--gradient-gold);
    border-radius: 5px;
}

/* Tabs */
.nav-tabs {
    border-bottom: 1px solid var(--border-color);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-gray);
    padding: 1rem 1.5rem !important;
}

.nav-tabs .nav-link.active {
    background: transparent;
    color: var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
}

.tab-content {
    padding: 2rem 0;
}

/* Accordion */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-card);
    color: var(--text-white);
    padding: 1.5rem;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--accent-gold);
}

.accordion-body {
    color: var(--text-gray);
    padding: 1.5rem;
}
