/* ===================================
   GLOBAL STYLES
   =================================== */

/* Reset default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base body styles */
body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Container for consistent width across sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section spacing */
.section {
    padding: 60px 0;
}

/* Alternate background color for sections */
.alt-bg {
    background-color: #fff;
}

/* Heading styles */
h1, h2, h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

/* Paragraph spacing */
p {
    margin-bottom: 15px;
}

/* Image responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   NAVIGATION BAR
   =================================== */

.navbar {
    background-color: #2c3e50;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3498db;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background-image: url("images/building.jpg");
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.hero h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 10px;
}

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

.hero-image {
    margin: 30px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ===================================
   CONTENT GRID (About Section)
   =================================== */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.text-content {
    font-size: 1.1rem;
}

.section-image {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===================================
   SERVICES GRID
   =================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card img {
    margin: 0 auto 20px;
    border-radius: 8px;
}

.service-card h3 {
    color: #667eea;
    margin-bottom: 15px;
}

/* ===================================
   CONTACT FORM
   =================================== */

.form-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 60px;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Form group spacing */
.form-group {
    margin-bottom: 25px;
}

/* Label styles */
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
}

/* Input and textarea styles */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Textarea specific */
textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit button */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Contact information box */
.contact-info {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-info h3 {
    color: #667eea;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

.footer p {
    margin-bottom: 5px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet screens */
@media (max-width: 768px) {
    /* Navigation stacks vertically */
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        flex-direction: row;
        gap: 15px;
        text-align: center;
    }

    /* Hero text sizing */
    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    /* Content grid becomes single column */
    .content-grid {
        grid-template-columns: 1fr;
    }

    /* Services grid becomes 2 columns */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile screens */
@media (max-width: 480px) {
    /* Smaller heading sizes */
    h2 {
        font-size: 1.8rem;
    }

    /* Services grid becomes single column */
    .services-grid {
        grid-template-columns: 2fr;
    }

    /* Reduce form padding on mobile */
    .contact-form {
        padding: 25px;
    }
}

/*EXTRA*/
.redtext {
    color: mediumvioletred;
}

.smalltext {
    font-size: .8rem;
}