/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #fefcf8;
    color: #1e1b1a;
    line-height: 1.5;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, .logo, .nav-links a {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 500;
}

/* ===== COLOR VARIABLES ===== */
:root {
    --primary: #8b5a2b;      /* warm leather/wood */
    --primary-dark: #5e3a1a;
    --secondary: #c49a6c;
    --light-bg: #faf7f2;
    --dark-text: #2c2826;
    --gray-light: #e6e2da;
    --white: #ffffff;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
}

p {
    margin-bottom: 1rem;
    color: #3a3532;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.logo span {
    font-weight: 400;
    font-size: 0.9rem;
    display: block;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.2)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center 30%;
    height: 85vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
}

.portfolio-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: #6b5a4e;
    font-size: 0.9rem;
}

/* ===== SERVICES CARDS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.service-card:hover {
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    font-style: italic;
    box-shadow: var(--shadow);
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: bold;
    color: var(--primary);
}

/* ===== CONTACT FORM ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
}

.contact-info p {
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
footer {
    background: #1e1b1a;
    color: #ccc;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    .nav-links.active {
        display: flex;
    }
    .navbar {
        flex-wrap: wrap;
    }
    h1 {
        font-size: 2rem;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .hero {
        height: 60vh;
    }
}