/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Teko:wght@500;700&display=swap');

/* === CSS Variables === */
:root {
    --primary-color: #0a2d4d; /* Deep Blue */
    --secondary-color: #f2f2f2; /* Light Gray */
    --accent-color: #fca311; /* Bright Orange */
    --text-color: #333;
    --light-text-color: #ffffff;
    --background-color: #ffffff;
    --heading-font: 'Teko', sans-serif;
    --body-font: 'Roboto', sans-serif;
}

/* === Basic Reset & Setup === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

h1 { font-size: 3rem; color: var(--light-text-color); text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
h2 { font-size: 2.5rem; color: var(--primary-color); text-align: center; margin-bottom: 40px; }
h3 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 10px; }

section {
    padding: 60px 0;
}

/* === Header & Navigation === */
.navbar {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-text-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: none; /* Hidden on mobile */
    flex-direction: column;
    background-color: var(--primary-color);
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    padding: 20px 0;
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    text-align: center;
    margin: 10px 0;
}

.nav-links a {
    color: var(--light-text-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    background: var(--light-text-color);
    border-radius: 2px;
    height: 3px;
    width: 25px;
    margin: 2px 0;
    transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* === Hero Section === */
.hero {
    background: linear-gradient(rgba(10, 45, 77, 0.7), rgba(10, 45, 77, 0.7)), url('https://placehold.co/1920x1080/cccccc/666?text=Drywall+Texture') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
    padding-top: 65px; /* Navbar height */
}

.hero-content {
    max-width: 800px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #ffb74d; /* Lighter accent */
    color: var(--primary-color);
}

/* === Services Section === */
.services {
    background-color: var(--secondary-color);
}
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.service-card {
    background-color: var(--background-color);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.service-card img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* === About Section === */
.about .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.about img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about-text {
    text-align: center;
}

/* === Contact Section === */
.contact {
    background-color: var(--secondary-color);
}
#contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

#contact-form button {
    align-self: center;
}
.contact p {
    text-align: center;
    margin-bottom: 30px;
}

/* === Footer === */
footer {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 20px 0;
}

/* === Media Queries for Responsiveness === */

/* Tablets */
@media (min-width: 768px) {
    h1 { font-size: 4rem; }
    h2 { font-size: 3rem; }

    .hamburger { display: none; }
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        width: auto;
        padding: 0;
    }
    .nav-links li {
        margin: 0 15px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about .container {
        flex-direction: row;
        text-align: left;
    }

    .about img {
        max-width: 40%;
    }

    .about-text {
        text-align: left;
    }
}

/* Desktops */
@media (min-width: 1024px) {
    h1 { font-size: 5rem; }
    
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
} 