/* Modern CSS Reset & Typography */
:root {
    /* Color Palette - Premium Minimalist Dark Theme 
       (Less pitch black, more sophisticated deep slate/navy) */
    --bg-darker: #0d1117;
    --bg-main: #13171f;
    --bg-surface: #1c212b;
    --bg-surface-elevated: #252b36;

    --text-primary: #f0f3f6;
    --text-secondary: #9da5b4;
    --text-muted: #6e7681;

    --accent-electric: #ff5e3a;
    /* A refined, energetic orange */
    --accent-electric-glow: rgba(255, 94, 58, 0.12);

    --border-subtle: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(19, 23, 31, 0.85);

    /* Typography */
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Outfit', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1400px;
    /* Slightly wider for a more premium editorial feel */
    margin: 0 auto;
    padding: 0 6%;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation - Redesigned to match premium feel */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.25rem 0;
    transition: padding 0.3s ease;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Use the user's actual logo image */
.logo {
    display: flex;
    align-items: center;
    height: 45px;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transform: scale(3.2);
    transform-origin: left center;
    position: relative;
    z-index: 10;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
    /* Increased spacing for minimal luxury feel */
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-electric);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-main);
    padding: 0.8rem 1.8rem;
    border-radius: 2px;
    /* Sharper corners for architectural feel */
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background-color: var(--accent-electric);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-electric-glow);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section - Redesigned with Background Image */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Use a high-quality live Unsplash image for immediate impact */
    background-image: url('https://images.unsplash.com/photo-1541888040003-49aa2bf47864?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Sophisticated gradient to make text readable over image */
    background: linear-gradient(to right,
            rgba(13, 17, 23, 0.95) 0%,
            rgba(13, 17, 23, 0.7) 50%,
            rgba(13, 17, 23, 0.4) 100%);
    z-index: -2;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 850px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.text-gradient {
    /* Using a very subtle white-to-gray gradient to look like brushed metal, not a cheesy color gradient */
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.btn-secondary {
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: width 0.3s ease;
}

.btn-secondary:hover::after {
    width: 100%;
}

/* Sections Common */
section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    color: var(--accent-electric);
    font-weight: 600;
    display: block;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Services / Expertise Section - Redesigned with Images and Layout */
.services-section {
    background-color: var(--bg-main);
}

.services-grid {
    display: grid;
    /* 3 columns instead of 4 for a more premium, spacious magazine layout */
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* The Service Link Wrap */
.service-card-link {
    display: block;
    height: 100%;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    overflow: hidden;
}

.service-image-container {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-surface) 0%, transparent 100%);
    z-index: 1;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-link:hover .service-card {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card-link:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-electric);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-action i {
    transition: transform 0.3s ease;
}

.service-card-link:hover .service-action i {
    transform: translateX(5px);
}

/* About Section - Minimalist redesign */
.about-section {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
    gap: 4rem;
    align-items: center;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.about-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.about-list i {
    color: var(--accent-electric);
    width: 20px;
    margin-top: 2px;
}



/* Footer Section */
.footer {
    padding: 6rem 0 2rem;
    background-color: var(--bg-main);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-brand .logo {
    margin-bottom: 2rem;
    height: 35px;
}

.footer-desc {
    color: var(--text-secondary);
    max-width: 350px;
    line-height: 1.8;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-link,
.location-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-link:hover {
    color: var(--text-primary);
}

.contact-link i,
.location-text i {
    color: var(--text-muted);
    width: 20px;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .about-list {
        grid-template-columns: 1fr;
    }
}