/* Custom Properties */

:root {
    --primary-color: #2F3C4F;
    /* Soft Slate */
    --secondary-color: #D6BBA5;
    /* Muted Sand/Gold for construction feel */
    --text-dark: #191E29;
    --text-muted: #5B6A82;
    --bg-main: #FAFAFA;
    --bg-light: #F0F2F5;
    --white: #FFFFFF;

    --font-main: 'Outfit', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5vw;
}

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

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}


.contact-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 0rem;
}

.section-header p {
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(47, 60, 79, 0.2);
}

.btn-primary:hover {
    background-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 60, 79, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.hero-content {
    padding-right: 1.5rem;
}

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

.hero-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/5;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(214, 187, 165, 0.15);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Work / Portfolio */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.work-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1/1;
    background-color: #E2E8F0;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0) 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.work-item:hover img {
    transform: scale(1.08);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-overlay span {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 500;
}

/* Contact Minimal Layout */
.contact-minimal {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-left: 10px;
    gap: 10px;
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 1.25rem;
    transition: var(--transition);
}

.contact-container {
    display: flex;
    align-items: center;

}

.contact-item:hover {
    transform: translateY(-4px);
}

.contact-item i {
    font-size: 2.25rem;
    height: 100%;
    color: var(--secondary-color);
}

.contact-text h4 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.contact-text p {
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 300;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: var(--white);
    display: inline-block;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: #94A3B8;
    max-width: 320px;
    font-size: 1rem;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: #94A3B8;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #94A3B8;
}

/* Animations using intersection observer classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    h1 {
        font-size: 2.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-brand p {
        margin: 0 auto 1.5rem;
    }

    .work-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .contact-minimal {
        flex-direction: column;
        align-items: start;
        justify-content: start;
        gap: 2.5rem;
        text-align: left;
    }

    .contact-item {
        width: 100%;
        justify-content: start;
    }

    .contact-container {
        flex-direction: column;
    }

}