:root {
    --primary-color: #c9a44c;
    /* Warmer, less "digital" gold */
    --primary-dark: #a6873b;
    --bg-dark: #12161d;
    --bg-light: #fdfcf8;
    /* Creamy off-white for sections */
    --text-main: #f8f9fa;
    --text-muted: rgba(248, 249, 250, 0.7);
    --text-dark: #1c222b;
    --accent: #1e3a5f;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-style: italic;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.85rem;
    margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    border-color: var(--text-main);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(15, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    font-weight: 700;
}

.logo-text {
    letter-spacing: -1px;
}

.logo-accent {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 4px;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-list a:not(.btn) {
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.nav-list a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:not(.btn):hover::after {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* for load animation */
    animation: zoomOut 10s infinite alternate ease-in-out;
}

@keyframes zoomOut {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(18, 22, 29, 0.8) 0%, rgba(18, 22, 29, 0.4) 50%, rgba(18, 22, 29, 0.9) 100%);
}

/* Add a subtle grain effect */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
    opacity: 0.1;
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Section Classes */
.text-center {
    text-align: center;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 3rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* Services */
.services {
    background-color: #151a24;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: #1a2029;
    padding: 1rem;
    border-radius: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 20px 20px 0px var(--primary-color);
}

.service-img {
    height: 300px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow span {
    transition: transform 0.3s ease;
}

.link-arrow:hover span {
    transform: translateX(5px);
}

/* Banner */
.banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--accent) 0%, #1a365d 100%);
    text-align: center;
}

.banner h2 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-image {
    position: relative;
    padding: 20px;
}

.about-image img {
    filter: sepia(0.2) contrast(1.1);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 1px solid var(--primary-color);
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: -1px;
    left: -1px;
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 1.5rem;
    border-top-right-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.experience-badge .label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #0c1017;
    padding-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-muted);
    max-width: 300px;
}

.footer h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--text-main);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.phone-link {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-cta p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade {
    opacity: 0;
    transition: opacity 1s ease;
}

.animate-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.in-view {
    opacity: 1 !important;
    transform: translate(0) !important;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}