/* Custom Properties / Tokens */
:root {
    --color-bg: #0B0F19; /* Deep midnight blue */
    --color-bg-alt: #131A2A;
    --color-text: #E2E8F0;
    --color-text-muted: #94A3B8;
    --color-primary: #D4AF37; /* Metallic Gold */
    --color-primary-hover: #F3E5AB;
    --color-accent: #3B82F6;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-gradient-1 {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, rgba(11,15,25,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.bg-gradient-2 {
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, rgba(11,15,25,0) 70%);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.divider {
    height: 2px;
    width: 60px;
    background: var(--color-primary);
    margin: 0 auto;
}

.section-subtitle {
    margin-top: 1rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

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

.btn-secondary:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition);
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.logo-initial {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-body {
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.visual-card {
    position: relative;
    overflow: hidden;
    transform: translateX(0);
    transition: var(--transition);
}

.visual-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
}

.visual-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-text-muted);
}

.visual-accent.gold {
    background: var(--color-primary);
}

.visual-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.visual-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.float-delayed {
    margin-left: 3rem;
}

.profile-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.profile-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    display: block;
}

.overlay-card {
    position: absolute;
    bottom: -30px;
    right: -40px;
    width: 280px;
    z-index: 10;
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 12px;
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.panel-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
}

.panel-icon.gold {
    color: var(--color-primary);
    background: rgba(212, 175, 55, 0.1);
}

.glass-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

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

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
}

.feature-list li::before {
    content: "•";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* Specialisms Section */
.specialisms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.specialism-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    group: relative;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 15, 25, 0.2), rgba(11, 15, 25, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><rect width="100" height="100" fill="none" stroke="%23fff" stroke-width="1"/></svg>') var(--color-bg-alt);
    background-size: cover;
    transition: transform 0.7s ease;
    z-index: 1;
}

.card-bg.alt {
    background: linear-gradient(rgba(11, 15, 25, 0.3), rgba(11, 15, 25, 0.95)), var(--color-bg-alt);
}

.specialism-card:hover .card-bg {
    transform: scale(1.05);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    width: 100%;
    background: linear-gradient(to top, rgba(11,15,25,1) 0%, rgba(11,15,25,0) 100%);
}

.card-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

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

.detail-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--color-text-muted);
}

.detail-list li:last-child {
    border-bottom: none;
}

/* Experience Section */
.experience-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.column-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: #fff;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 2px solid var(--color-bg);
}

.timeline-item h4 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.timeline-item p {
    color: var(--color-text-muted);
}

.other-contributions h4 {
    color: #fff;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.other-contributions p {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.qualifications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.qual-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.qual-item:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(212, 175, 55, 0.2);
}

.qual-icon {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,175,55,0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.qual-text {
    font-size: 1.1rem;
    color: #fff;
}

.mt-4 {
    margin-top: 2rem;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #080b13;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem;
    border-radius: 12px;
}

.footer-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-info p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    color: #fff;
}

.contact-link svg {
    color: var(--color-primary);
}

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

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .approach-grid, .specialisms-grid, .experience-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-visual {
        flex-direction: row;
        margin-top: 3rem;
    }
    
    .float-delayed {
        margin-left: 0;
        margin-top: 2rem;
    }
    
    .overlay-card {
        right: -10px;
        bottom: -20px;
        width: 250px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: 3rem 2rem;
    }
    
    .contact-details {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 15, 25, 0.95);
        padding: 2rem 0;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-visual {
        flex-direction: column;
    }
    
    .float-delayed {
        margin-top: 0;
    }
    
    .overlay-card {
        position: relative;
        right: 0;
        bottom: 0;
        width: 100%;
        margin-top: -20px;
    }
}
