/* Custom CSS for T-ARE Trading & Consultancy */

/* Root Variables */
:root {
    --primary-gold: #D4AF37;
    --primary-black: #1a1a1a;
    --secondary-gold: #F4E4BC;
    --accent-gray: #2c2c2c;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-black);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #B8941F;
    border-color: #B8941F;
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.bg-primary {
    background-color: var(--primary-black) !important;
}

.text-primary {
    color: var(--primary-gold) !important;
}

/* Navigation */
.navbar {
    background-color: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: var(--primary-black) !important;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold) !important;
    text-decoration: none;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-black) !important;
    background-color: var(--primary-gold);
}

/* Enhanced Contact Form Styles */
.contact-form {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.enhanced-input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.enhanced-input-group .form-control {
    padding-left: 45px;
}

.enhanced-input-group .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-gold);
    z-index: 10;
}

/* Enterprise Integration Styles */
.integration-status-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 2rem;
    color: white;
    margin-bottom: 2rem;
}

.integration-metric {
    text-align: center;
    padding: 1rem;
}

.integration-metric h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.integration-metric p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.connection-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.connection-status.connected {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.connection-status.disconnected {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
}

.connection-status.pending {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

/* AI Intelligence Dashboard Styles */
.ai-metric-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    text-align: center;
    transition: transform 0.3s ease;
}

.ai-metric-card:hover {
    transform: translateY(-5px);
}

.ai-metric-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ai-metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.prediction-chart {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.recommendation-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-gold);
}

.recommendation-score {
    display: inline-flex;
    align-items: center;
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .integration-status-card {
        padding: 1.5rem;
    }
    
    .integration-metric h3 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--accent-gray) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23D4AF37" fill-opacity="0.1" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-gold);
    margin-bottom: 2rem;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
}

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

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    color: var(--secondary-gold);
    margin: 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* About Section */
.about-visual {
    text-align: center;
    padding: 60px 0;
}

.about-visual i {
    font-size: 8rem;
    color: var(--primary-gold);
    opacity: 0.8;
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.mission-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-gold);
    position: absolute;
    left: 0;
    top: 8px;
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), #B8941F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-black);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Sector Cards */
.sector-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border-left: 4px solid var(--primary-gold);
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.sector-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.sector-icon i {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.sector-card h5 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary-black);
}

.sector-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Advantages Section */
.advantage-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.advantage-icon i {
    font-size: 1.8rem;
    color: var(--primary-black);
}

.advantage-content h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--white);
}

.advantage-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

.advantage-stat {
    text-align: center;
    padding: 20px;
}

.advantage-stat i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.advantage-stat h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--white);
}

.advantage-stat p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.feature-item {
    color: var(--white);
    font-size: 1.1rem;
    padding: 8px 0;
}

.feature-item i {
    color: var(--primary-gold);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.form-label {
    font-weight: 500;
    color: var(--primary-black);
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.office-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    border-left: 5px solid var(--primary-gold);
}

.office-card h4 {
    color: var(--primary-black);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.office-address {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.office-contact {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

.office-contact i {
    color: var(--primary-gold);
    width: 20px;
}

/* Footer */
footer {
    background-color: var(--primary-black) !important;
    border-top: 3px solid var(--primary-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .advantage-icon {
        margin: 0 auto 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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