/* 
   Theme: Future-Forward Professional
   Colors: Deep Navy/Teal, Gold/Bronze, White/Grey
   Fonts: Inter (Body), Playfair Display (Headings)
*/

:root {
    --bg-dark: #0a192f;
    /* Deep Navy */
    --bg-card: #112240;
    /* Lighter Navy for cards */
    --primary: #64ffda;
    /* Teal/Cyan accent (Tech feel) */
    --secondary: #e6f1ff;
    /* Off-white text */
    --gold: #ffd700;
    /* Gold for emphasis */
    --text-muted: #8892b0;
    /* Muted text */
    --white: #ffffff;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gold {
    color: var(--gold);
}

.text-primary {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: rgba(100, 255, 218, 0.1);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--secondary);
    border-color: var(--text-muted);
    margin-left: 1rem;
}

.btn-secondary:hover {
    border-color: var(--secondary);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    /* Increased from 1.5rem */
    color: var(--gold);
    /* Changed to Gold for prominence */
    font-weight: 800;
    /* Increased from 700 */
    letter-spacing: 0.5px;
    /* Reduced spacing slightly since not caps */
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list a:not(.btn) {
    font-size: 0.95rem;
    color: var(--secondary);
}

.nav-list a:not(.btn):hover {
    color: var(--primary);
}

/* Main Layout */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.section-header.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    margin-bottom: 4rem;
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 400;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    /* Offset fixed header */
    background: radial-gradient(circle at 50% 50%, #112240 0%, #0a192f 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(100, 255, 218, 0.03) 0%, transparent 50%);
    animation: rotate 60s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    max-width: 1000px;
    /* Increased from 800px to prevent title wrapping */
    z-index: 1;
    position: relative;
    text-align: center;
    /* Centered content */
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    /* Reduced from 2.5rem, 5vw, 4.5rem */
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 3rem;
    color: var(--text-muted);
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-grid {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--secondary);
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
}

.profile-photo {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--primary);
    box-shadow: 20px 20px 0px rgba(100, 255, 218, 0.1);
    transition: var(--transition);
}

.profile-photo:hover {
    transform: translate(-5px, -5px);
    box-shadow: 25px 25px 0px rgba(100, 255, 218, 0.2);
}

/* Services Section */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    flex: 0 1 350px;
    /* Don't grow too wide, shrink if needed, basis 350px */
    width: 100%;
    /* Fallback */
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    /* Changed to pointer to indicate interactivity */
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(2, 12, 27, 0.7);
    border-color: rgba(100, 255, 218, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Contact Section */
.contact {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2.5rem;
    background-color: var(--bg-card);
    border-radius: 8px;
    min-width: 200px;
    border: 1px solid transparent;
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.contact-item .label {
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item .value {
    color: var(--secondary);
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    background-color: var(--bg-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }

    .nav {
        display: none;
        /* simple hide for prototype, would need accessible toggle */
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .contact-links {
        gap: 1.5rem;
    }
}