:root {
    --steel-gray: #6b7280;
    --dark-gray: #1f2937;
    --wood-brown: #92400e;
    --orange-accent: #f97316;
    --light-bg: #f9fafb;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--dark-gray);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: 60px;
    width: auto;
    transition: opacity 0.3s;
}

.logo a:hover img {
    opacity: 0.8;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

nav a:hover,
nav a.active {
    color: var(--orange-accent);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    animation: heroBackgroundChange 20s ease-in-out infinite;
}

@keyframes heroBackgroundChange {
    0% {
        background-image: 
            linear-gradient(135deg, rgba(31, 41, 55, 0.85) 0%, rgba(107, 114, 128, 0.85) 100%),
            url('https://images.unsplash.com/photo-1504148455328-c376907d081c?w=1600&q=80');
    }
    25% {
        background-image: 
            linear-gradient(135deg, rgba(31, 41, 55, 0.85) 0%, rgba(107, 114, 128, 0.85) 100%),
            url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?w=1600&q=80');
    }
    50% {
        background-image: 
            linear-gradient(135deg, rgba(31, 41, 55, 0.85) 0%, rgba(107, 114, 128, 0.85) 100%),
            url('https://images.unsplash.com/photo-1530124566582-a618bc2615dc?w=1600&q=80');
    }
    75% {
        background-image: 
            linear-gradient(135deg, rgba(31, 41, 55, 0.85) 0%, rgba(107, 114, 128, 0.85) 100%),
            url('https://images.unsplash.com/photo-1573804633927-bfcbcd909acd?w=1600&q=80');
    }
    100% {
        background-image: 
            linear-gradient(135deg, rgba(31, 41, 55, 0.85) 0%, rgba(107, 114, 128, 0.85) 100%),
            url('https://images.unsplash.com/photo-1504148455328-c376907d081c?w=1600&q=80');
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(31, 41, 55, 0.3) 100%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--orange-accent);
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--orange-accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #ea580c;
}

/* Grid Sections */
.content-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-gray);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.card h3 {
    color: var(--wood-brown);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--steel-gray);
    line-height: 1.8;
}

.card .icon {
    font-size: 3rem;
    color: var(--orange-accent);
    margin-bottom: 1rem;
}

/* Project/Review Cards */
.item-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.item-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 250px;
    background-size: cover !important;
    background-position: center !important;
    transition: transform 0.3s;
}

.item-card:hover .project-image {
    transform: scale(1.05);
}

.item-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.item-card-content {
    padding: 1.5rem;
}

.item-card h3 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.item-card p {
    color: var(--steel-gray);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer .social a {
    color: var(--orange-accent);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

footer .social a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    footer .container {
        flex-direction: column;
    }
}
