/* --- 1. BRAND & DESIGN FOUNDATION --- */
:root {
    --bg-off-white: #F9F9F9;
    --text-charcoal: #2E2E2E;
    --border-slate: #6B7280;
    --accent-gold: #AF8C53;
    --bg-slate-light: #f0f2f5; /* Lighter version of Slate for testimonial bg */

    --font-primary: 'Figtree', sans-serif;
    --font-weight-regular: 400;
    --font-weight-semibold: 600;

    --transition-speed: 0.3s ease;
}

/* --- 2. GLOBAL & RESET STYLES --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%; /* 1rem = 16px */
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    font-size: 1.125rem; /* 18px */
    line-height: 1.6;
    color: var(--text-charcoal);
    background-color: var(--bg-off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--text-charcoal);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
a { color: var(--accent-gold); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- 3. REUSABLE COMPONENTS & UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.small-container {
    max-width: 800px;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition-speed), color var(--transition-speed), transform var(--transition-speed);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-off-white);
    border: 2px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.section-headline {
    text-align: center;
    margin-bottom: 3rem;
}

.accent-headline {
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* --- 4. HEADER --- */
.main-header {
    padding: 1.5rem 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

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

.logo img {
    height: 40px; /* Adjust as needed */
    width: auto;
}

/* --- 5. SECTION STYLES --- */

/* HERO */
/* Replace the old #hero rule with this one */
#hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/images/hero-section.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 5%;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1rem;
    
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ACKNOWLEDGMENT */
#acknowledgment {
    text-align: center;
}

/* WORK (GALLERY) */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 3rem 1.5rem 1.5rem;
    opacity: 1;
    transition: opacity var(--transition-speed);
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.1rem;
}

/* PROCESS */
.process-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.process-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.process-text h3 {
    margin-bottom: 0.5rem;
}

/* TESTIMONIALS */
#testimonials {
    background-color: var(--bg-slate-light);
}

.testimonial-card {
    text-align: center;
}

.pull-quote {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-charcoal);
}

.testimonial-body {
    max-width: 650px;
    margin: 0 auto 1rem;
}

.testimonial-card footer {
    font-weight: var(--font-weight-semibold);
    color: var(--border-slate);
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* CONTACT */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-info ul li i {
    color: var(--accent-gold);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--accent-gold);
    border-color: var(--accent-gold);
}

/* --- 6. FOOTER --- */
.main-footer-bottom {
    background-color: var(--text-charcoal);
    color: #ccc;
    padding: 2rem 0;
    text-align: center;
}

.main-footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 30px;
    opacity: 0.8;
}

.main-footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
}

.social-links a {
    color: #ccc;
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: color var(--transition-speed);
}

.social-links a:hover {
    color: var(--accent-gold);
}

/* --- 7. ANIMATIONS --- */
.fade-in {
    animation: fadeIn 1s ease-in-out forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 8. RESPONSIVE DESIGN (MEDIA QUERIES) --- */

/* Tablet and larger */
@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Asymmetrical grid layout */
    .gallery-item:nth-child(1) { grid-column: 1 / 3; }
    .gallery-item:nth-child(4) { grid-column: 1 / 3; }

    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Desktop and larger */
@media (min-width: 1024px) {
    .logo img { height: 50px; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Reset for a different desktop layout if desired, or keep as is */
    }
    
    .main-footer-bottom .container {
        flex-direction: row;
        justify-content: space-between;
    }
}