:root {
    --primary-dark: #0f172a; /* Slate 900 */
    --primary-light: #1e293b; /* Slate 800 */
    --accent: #fbbf24; /* Amber 400 - Electricity Yellow */
    --accent-hover: #d97706; /* Amber 600 */
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    --text-dark: #1e293b;
    --bg-light: #f1f5f9;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--text-white);
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a:hover {
    color: var(--accent);
}

.btn-quote {
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-quote:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    color: var(--text-white);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?q=80&w=2069&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    padding: 0 1rem;
    margin-top: 60px; /* Header height offset */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-main {
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-main:hover {
    background-color: var(--accent-hover);
    color: var(--text-white);
}

/* Services */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto;
}

.services {
    padding: 5rem 5%;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom-color: var(--accent);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* About */
.about {
    padding: 5rem 5%;
    background-color: var(--primary-light);
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.about-img {
    flex: 1;
    min-width: 300px;
}

/* Video Wrapper for Responsive YouTube Embed */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 4px solid var(--accent);
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.video-wrapper iframe, 
.video-wrapper .video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    text-align: center;
    cursor: default;
}

.video-placeholder i {
    font-size: 5rem;
    color: #ff0000;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
    transition: transform 0.3s;
}

.video-placeholder:hover i {
    transform: scale(1.1);
}

.video-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    border: 4px solid var(--accent);
    display: none; /* Hide original image if present */
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* Team */
.team {
    padding: 5rem 5%;
    background-color: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-img {
    height: 300px;
    overflow: hidden;
}

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

.team-member:hover .member-img img {
    transform: scale(1.1);
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.member-info span {
    display: block;
    color: var(--accent-hover); /* Darker amber for better readability on white */
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Contact / Quote */
.contact {
    padding: 5rem 5%;
    background-color: #fff;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form {
    flex: 1.5;
    min-width: 300px;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--text-gray);
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .about {
        flex-direction: column;
    }
}
