/* css/style.css */
:root {
    --primary-color: #2c2c2c; /* Deep Charcoal */
    --accent-color: #8b6e4e; /* Warm Wood/Beige */
    --bg-light: #fdfdfc; /* Off white */
    --text-dark: #333333;
    --text-light: #666666;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding { padding: 80px 0; }

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-block;
}
.btn-primary:hover { background-color: var(--accent-color); }

.btn-secondary {
    border: 1px solid var(--primary-color);
    padding: 12px 24px;
    display: inline-block;
    transition: all 0.3s ease;
}
.btn-secondary:hover { background-color: var(--primary-color); color: #fff; }

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; }
.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a.active { color: var(--accent-color); font-weight: 700; }
.nav-links a:hover { color: var(--accent-color); }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background: var(--primary-color); }

/* Hero */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}
.hero-content { max-width: 800px; }
.hero h1 { font-size: 4rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }

/* Intro Grid */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.intro-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.intro-text p { color: var(--text-light); margin-bottom: 30px; font-size: 1.1rem; }

/* Page Header */
.page-header { background: var(--primary-color); color: #fff; padding: 60px 0; text-align: center; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.strengths-list { margin-top: 20px; list-style: none; }
.strengths-list li { margin-bottom: 15px; padding-left: 20px; position: relative; }
.strengths-list li::before { content: "•"; color: var(--accent-color); position: absolute; left: 0; font-size: 1.5rem; top: -5px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.service-card { background: #fff; padding: 20px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-10px); }
.service-card img { width: 100%; height: 200px; object-fit: cover; margin-bottom: 20px; }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.portfolio-item { position: relative; overflow: hidden; }
.portfolio-item img { transition: transform 0.5s ease; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; padding: 20px; }

/* Contact Form */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; background: #fff; font-family: var(--font-body); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-color); }
.alert { padding: 15px; margin-bottom: 20px; }
.alert.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Footer */
.footer { background: var(--primary-color); color: #fff; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: var(--accent-color); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--accent-color); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; color: #aaa; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; width: 100%; background: #fff; padding: 20px 0; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .intro-grid, .about-grid, .contact-wrapper { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
}
/* Updated Hero section handling video layers safely */
.hero-video-container {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* Gives elegant contrast to text over your video */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3; /* Keeps text layered clearly on top of the video and dim overlay */
    max-width: 800px;
}

.hero h1 { 
    font-size: 4rem; 
    margin-bottom: 20px; 
}