/* --- CSS Variables & Design Tokens --- */
:root {
    --primary-black: #000000;
    --primary-dark: #1a1a1a;
    --grey-bg: #d9d9d9;
    --grey-light: #f5f5f5;
    --white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-black);
}

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

ul {
    list-style: none;
}

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

/* --- Top Bar --- */
.top-bar {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.top-bar-content {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.top-bar-content div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar i {
    width: 14px;
    height: 14px;
}

.top-bar a:hover {
    color: var(--primary-black);
}

/* --- Header --- */
.main-header {
    background-color: transparent;
    position: absolute;
    top: 40px;
    /* Below top bar */
    left: 0;
    width: 100%;
    z-index: 99;
}

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

.logo img {
    height: 60px;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Helps if logo has white background */
}

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    height: 100vh;
    min-height: 700px;
    position: relative;
    padding-top: 100px;
    /* Offset for absolute header */
}

.hero-left {
    flex: 0 0 35%;
    background-color: var(--grey-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 400px;
    margin-top: 5rem;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 4rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-black);
    color: var(--white);
    transition: var(--transition);
}

.btn-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-right {
    flex: 1;
    background-image: url('imgs/Portfolio1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.google-reviews {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    color: var(--white);
    text-align: right;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.google-reviews .stars {
    color: #fbbc05;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.google-reviews .review-text {
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.google-logo {
    font-weight: 600;
}

/* --- About Bar --- */
.about-bar {
    background-color: var(--primary-black);
    color: var(--white);
    text-align: center;
    padding: 1.5rem 0;
}

.about-bar h2 {
    color: var(--white);
    font-size: 2rem;
}

/* --- Section Titles --- */
.section-title-dark {
    background-color: var(--primary-black);
    color: var(--white);
    text-align: center;
    padding: 1.5rem 0;
}

.section-title-dark h2 {
    color: var(--white);
    font-size: 2rem;
}

/* --- Services Section --- */
.services-section {
    padding-bottom: 5rem;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0 2rem;
}

.services-header h3 {
    font-size: 1.8rem;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.view-all:hover {
    gap: 0.8rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--grey-light);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 4px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    width: 60px;
    height: 60px;
    stroke-width: 1;
    color: var(--text-muted);
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.btn-dark {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-black);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-dark:hover {
    background-color: #333;
    transform: scale(1.02);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.learn-more {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.learn-more:hover {
    color: var(--text-muted);
}

/* --- Portfolio Section --- */
.portfolio-section {
    padding-bottom: 5rem;
}

.portfolio-container {
    padding-top: 3rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-block {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 4px;
    background-color: var(--white);
    transition: var(--transition);
}

.portfolio-block:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.image-collage {
    display: grid;
    gap: 0.5rem;
    height: 400px;
    margin-bottom: 1.5rem;
}

.collage-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.collage-3 {
    grid-template-columns: 1fr 1fr;
    /* First image takes full column, second takes half */
}

.collage-3 .img-wrapper:first-child {
    grid-row: span 2;
}

.img-wrapper {
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    transition: var(--transition);
}

.img-wrapper:hover {
    transform: scale(1.02);
    z-index: 10;
}

.portfolio-info {
    text-align: center;
    padding: 1rem 0;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.btn-outline {
    display: inline-block;
    padding: 0.6rem 2.5rem;
    border: 1px solid var(--primary-black);
    color: var(--primary-black);
    font-weight: 500;
    transition: var(--transition);
    border-radius: 2px;
}

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

/* --- Footer --- */
.main-footer {
    background-color: var(--grey-light);
    padding: 4rem 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    mix-blend-mode: multiply;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-col ul li i {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
    }

    .hero-left {
        flex: none;
        padding: 4rem 2rem;
    }

    .hero-right {
        min-height: 400px;
    }

    .hero-content {
        margin-top: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Add JS for mobile menu later if needed */
    }

    .mobile-menu-btn {
        display: block;
    }

    .services-grid,
    .portfolio-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}