/**
 * Adeline Petroleum - Main Stylesheet
 * 
 * This file contains all the core styles for the petroleum distribution website
 * including navigation, hero sections, services, features, and footer.
 * 
 * Color Scheme:
 * - Primary: Deep petroleum blues (#0A1628, #1E3A5F, #2E5C8A)
 * - Secondary: Gold accents (#D4A574)
 * - Neutrals: Grays for text and backgrounds
 * 
 * Typography:
 * - Headings: DM Serif Display (elegant, professional)
 * - Body: Outfit (modern, clean)
 */

:root {
    /* Primary Colors - Deep petroleum blues and industrial grays */
    --primary-dark: #0A1628;
    --primary-blue: #1E3A5F;
    --primary-accent: #2E5C8A;
    --secondary-gold: #D4A574;
    --secondary-orange: #E67E22;
    
    /* Neutrals */
    --neutral-100: #F8F9FA;
    --neutral-200: #E9ECEF;
    --neutral-300: #CED4DA;
    --neutral-700: #495057;
    --neutral-900: #212529;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0A1628 0%, #1E3A5F 50%, #2E5C8A 100%);
    --gradient-accent: linear-gradient(90deg, #2E5C8A 0%, #D4A574 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.12);
    --shadow-lg: 0 8px 32px rgba(10, 22, 40, 0.16);
    
    /* Typography */
    --font-display: 'DM Serif Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--neutral-900);
    background: var(--neutral-100);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #fff;
    font-weight: 400;
    letter-spacing: 1px;
}

.logo span {
    color: var(--secondary-gold);
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--neutral-200);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-accent);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(46, 92, 138, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 92, 138, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46, 92, 138, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(212, 165, 116, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 165, 116, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.3s both;
}

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

.hero-label {
    display: inline-block;
    color: var(--secondary-gold);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.hero h1 span {
    color: var(--secondary-gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--neutral-200);
    max-width: 700px;
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--secondary-gold);
    color: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    background: #E0B584;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(212, 165, 116, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-gold);
    color: var(--secondary-gold);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
    animation: fadeInUp 1s ease-out 1.3s both;
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--secondary-gold);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--neutral-200);
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    background: white;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-gold), transparent);
}

.section-header {
    max-width: 1400px;
    margin: 0 auto 5rem;
    text-align: center;
}

.section-label {
    color: var(--primary-accent);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--neutral-700);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--neutral-100);
    padding: 3rem;
    border-radius: 8px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-accent);
    transition: height 0.4s ease;
}

.service-card:hover {
    background: white;
    border-color: var(--neutral-300);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 400;
}

.service-card p {
    color: var(--neutral-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    color: var(--neutral-700);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-gold);
    font-weight: 600;
}

.service-link {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--secondary-gold);
    gap: 0.8rem;
}

/* Why Choose Section */
.why-choose {
    padding: 8rem 2rem;
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(212, 165, 116, 0.05) 0%, transparent 70%);
}

.why-choose .section-label {
    color: var(--secondary-gold);
}

.why-choose .section-title {
    color: white;
}

.why-choose .section-subtitle {
    color: var(--neutral-200);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(212, 165, 116, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
    font-weight: 400;
}

.feature h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature p {
    color: var(--neutral-200);
    line-height: 1.7;
    font-weight: 300;
}

/* Markets Section */
.markets {
    padding: 8rem 2rem;
    background: var(--neutral-100);
}

.markets-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.markets-image {
    background: var(--gradient-hero);
    border-radius: 8px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.markets-image::before {
    content: '🌍';
    font-size: 8rem;
    opacity: 0.2;
}

.markets-list {
    list-style: none;
}

.market-item {
    padding: 2rem;
    background: white;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.market-item:hover {
    border-left-color: var(--secondary-gold);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.market-item h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.market-item p {
    color: var(--neutral-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Global Reach */
.global-reach {
    padding: 8rem 2rem;
    background: white;
}

.reach-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.region {
    padding: 2rem 1.5rem;
    background: var(--neutral-100);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.region:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.region h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.region:hover h4 {
    color: var(--secondary-gold);
}

.region-countries {
    color: var(--neutral-700);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.region:hover .region-countries {
    color: var(--neutral-200);
}

/* CTA Section */
.cta-section {
    padding: 8rem 2rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--neutral-200);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Footer */
footer {
    background: var(--primary-dark);
    padding: 4rem 2rem 2rem;
    color: var(--neutral-200);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-section p {
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 300;
}

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

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

.footer-links a {
    color: var(--neutral-200);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--neutral-200);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        /* Don't hide - JavaScript will handle mobile menu */
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.mobile-active {
        right: 0;
    }
    
    .markets-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
