/* ===================================
   WELLINGTON PEEL LLC - STYLES
   The Architecture of Modern Enterprise
   =================================== */

/* ===================================
   CSS VARIABLES & ROOT STYLES
   =================================== */
:root {
    /* Color Palette - Sophisticated Dark Theme */
    --primary-dark: #0A0E1A;
    --secondary-dark: #151B2D;
    --accent-dark: #1E2742;
    --gold-accent: #C9A962;
    --gold-light: #E4D4A8;
    --text-primary: #FFFFFF;
    --text-secondary: #B8BFD1;
    --text-muted: #7A8299;
    --border-color: #2A3347;
    --overlay: rgba(10, 14, 26, 0.85);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-family: var(--font-display);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-display);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-accent);
    margin-bottom: 1rem;
    position: relative;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gold-accent);
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

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

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.logo-subtitle {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--gold-accent);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link:hover {
    color: var(--text-primary);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--accent-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(201, 169, 98, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 169, 98, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--primary-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 1000px;
}

.hero-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-accent);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom, var(--text-primary) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold-accent) 0%, transparent 100%);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.2s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.4s backwards;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

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

/* ===================================
   OVERVIEW SECTION
   =================================== */
.overview-section {
    background: var(--secondary-dark);
}

.overview-main {
    margin-bottom: 4rem;
}

.quote-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 3rem 2rem;
}

.quote-mark {
    font-size: 6rem;
    font-family: var(--font-display);
    color: var(--gold-accent);
    opacity: 0.2;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
}

.quote-mark-end {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    transform: rotate(180deg);
}

.quote-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-family: var(--font-display);
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.overview-card {
    background: var(--accent-dark);
    padding: 3rem 2rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.overview-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--gold-accent);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.overview-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.overview-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ===================================
   PHILOSOPHY SECTION
   =================================== */
.philosophy-section {
    background: var(--primary-dark);
}

.philosophy-intro {
    max-width: 900px;
    margin: 0 auto 5rem;
    text-align: center;
}

.philosophy-intro p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.philosophy-intro strong {
    color: var(--gold-accent);
    font-weight: 600;
}

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

.framework-card {
    background: var(--secondary-dark);
    padding: 3rem 2rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.framework-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-accent) 0%, var(--gold-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.framework-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.framework-number {
    font-size: 3rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gold-accent);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.framework-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.framework-divider {
    width: 50px;
    height: 2px;
    background: var(--gold-accent);
    margin-bottom: 1.5rem;
}

.framework-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ===================================
   VISION SECTION
   =================================== */
.vision-section {
    background: var(--accent-dark);
    position: relative;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(201, 169, 98, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 169, 98, 0.02) 1px, transparent 1px);
    background-size: 100px 100px;
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vision-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-family: var(--font-display);
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: center;
}

.vision-text p {
    font-size: 1.125rem;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.vision-highlight {
    font-size: 1.375rem;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--gold-light);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    background: var(--secondary-dark);
}

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

.contact-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-display);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--accent-dark);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.contact-item:hover {
    border-color: var(--gold-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 30px;
    height: 30px;
    color: var(--gold-accent);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-link {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-link:hover {
    color: var(--gold-accent);
}

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

.footer-content {
    text-align: center;
}

.footer-brand {
    margin-bottom: 3rem;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.875rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-confidential {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--secondary-dark);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .overview-grid,
    .framework-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .quote-block {
        padding: 2rem 1rem;
    }
    
    .quote-mark {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .overview-card,
    .framework-card {
        padding: 2rem 1.5rem;
    }
}
