/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header and Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 2200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #fff5e6;
    padding: 5px;
    object-fit: cover;
}

.logo span {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c3e50;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e67e22;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-image: url('../images/construction-silhouette.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
    margin-top: 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero h1,
.hero p {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #e67e22;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    background-color: #d35400;
}

/* Services Section */
.services {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Portfolio Page Styles */
.portfolio-hero {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 8rem 1rem 4rem;
    margin-bottom: 2rem;
}

.portfolio-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.portfolio-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.portfolio-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.portfolio-filter {
    padding: 0.5rem 1.5rem;
    border: 2px solid #2c3e50;
    background: none;
    color: #2c3e50;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.portfolio-filter:hover,
.portfolio-filter.active {
    background-color: #2c3e50;
    color: #fff;
}

/* Portfolio Section */
.portfolio {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f8f9fa;
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.portfolio-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Reviews Section */
.reviews {
    padding: 4rem 5%;
    background-color: #fff;
    position: relative;
}

.reviews h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.reviews .section-description {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviews-wrapper {
    overflow: hidden;
    position: relative;
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.review-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e67e22;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    flex-grow: 1;
}

.stars {
    color: #e67e22;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    color: #2c3e50;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.reviewer-name {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.reviewer-title {
    color: #666;
    font-size: 0.9rem;
}

.review-nav {
    background: none;
    border: none;
    font-size: 2rem;
    color: #2c3e50;
    cursor: pointer;
    padding: 1rem;
    transition: color 0.3s ease;
}

.review-nav:hover {
    color: #e67e22;
}

.review-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #e67e22;
}

/* Responsive adjustments for reviews */
@media (max-width: 768px) {
    .review-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .review-image {
        width: 100px;
        height: 100px;
    }

    .reviews-container {
        padding: 0 1rem;
    }
}

/* Responsive adjustments for portfolio */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio {
        padding: 3rem 3%;
    }
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1rem;
    color: #2c3e50;
}

.service-card p {
    padding: 0 1rem 1rem;
    color: #666;
}

/* About Page */
.about-hero {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 8rem 1rem 4rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.team-section {
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-hero {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 8rem 1rem 4rem;
}

.contact-blurb {
    text-align: center;
    padding: 2rem 5%;
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
    color: #2c3e50;
}

.contact-blurb p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

/* Blurb card styles */
.blurb-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 2.25rem;
    box-shadow: 0 10px 30px rgba(36,59,85,0.06);
    border: 1px solid rgba(44,62,80,0.06);
    max-width: 980px;
    margin: 0 auto;
}

.blurb-title {
    margin: 0 0 0.35rem 0;
    color: #102030;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.blurb-sub {
    margin: 0 0 0.85rem 0;
    color: #e67e22;
    font-weight: 700;
    font-size: 1rem;
}

.blurb-text {
    color: #4b5b66;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

@media (max-width: 600px) {
    .blurb-card { padding: 1rem; }
    .blurb-title { font-size: 1.25rem; }
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: #e67e22;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #d35400;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .nav-links a {
        margin: 0.5rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Social links styling (used in About and Contact) */
.social-icons { display: inline-flex; gap: 12px; align-items: center; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width:40px; height:40px; border-radius:8px; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,0.08); transition:transform 0.15s ease, box-shadow 0.15s ease; }
.social-link:hover { transform: translateY(-3px); box-shadow:0 6px 18px rgba(0,0,0,0.12); }
.social-link.youtube svg { filter: none; }
.social-link.instagram svg { filter: none; }

/* Login Page Styles */
.login-hero {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 6rem 1rem 2rem;
}

.login-section {
    display: flex;
    justify-content: center;
    padding: 3rem 5%;
}

.login-form {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.login-form .form-group {
    margin-bottom: 1rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.login-form input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.login-message {
    margin-top: 1rem;
    min-height: 1.2rem;
}

@media (max-width: 480px) {
    .login-form {
        padding: 1rem;
    }
}
