﻿
:root {
    --primary-red: #A30000; /* From the logo */
    --dark-charcoal: #333333;
    --light-grey: #f4f4f4;
    --white: #ffffff;
}

.clearFix{
    clear: both;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: var(--dark-charcoal);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: var(--white);
    padding: 0;
    border-bottom: 1px solid var(--light-grey);
    text-align: center;
    width: 100%; 
    text-align: center;
}

 header .wrapper{
     display: inline-block; 
     vertical-align: middle;
 }

    header .container {
        float: left; 
        margin-left:100px;
    }

    header img {
        max-width: 250px;
        height: auto;
    }

.main-nav {
  background-color: var(--light-grey, #f5f5f5);
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3em;
}

.main-nav .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  color: var(--primary-red); /* #A30000 from your root */
  font-weight: 700;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #7a0000; /* Slightly darker red for hover */
}

.hero {
    background-color: var(--dark-charcoal);
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}

    .hero h1 {
        font-family: 'Montserrat', sans-serif;
        font-size: 3em;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.2em;
        margin-bottom: 40px;
    }

.btn {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .btn:hover {
        background-color: #7a0000; /* Darker red */
    }

section {
    padding: 80px 20px;
    text-align: center;
}

    section:nth-of-type(even) {
        background-color: var(--light-grey);
    }

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--dark-charcoal);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    font-size: 1.2em;
}

    .service-item:hover {
        transform: translateY(-5px);
    }

    .service-item strong {
        display: block;
        font-size: 1.3em;
        margin-bottom: 15px;
        color: var(--primary-red);
    }

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.2em;
}

.service-area-content p {
    margin: 10px 0;
    font-size: 1.2em;
}

.contact-info {
    float: left; 
    height: 300px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    text-align:left;
}

.contact-info-bottom {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.contact-info p, .contact-info-bottom p {
    margin: 10px 0;
    font-size: 1.2em;
}

.contact-info p a, .contact-info-bottom p a {
    color: var(--dark-charcoal);
    text-decoration: none;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: left;
}

    .contact-form label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 12px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 1em;
        box-sizing: border-box; /* Ensures padding doesn't expand width */
    }

    .contact-form textarea {
        resize: vertical;
        min-height: 120px;
    }

    .contact-form button {
        background-color: var(--primary-red);
        color: var(--white);
        padding: 15px 30px;
        border: none;
        border-radius: 5px;
        font-size: 1.1em;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s ease;
        width: 100%;
    }

        .contact-form button:hover {
            background-color: #7a0000;
        }

footer {
    background-color: var(--dark-charcoal);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9em;
}

#gallery {
  background-color: var(--dark-charcoal);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

#gallery h2 {
  color: var(--white);
}

.gallery-grid img {
  border: 4px solid var(--white); /* Optional: adds polish against dark bg */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    h2 {
        font-size: 2em;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
  header > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }
}

  header .container {
    float: none;
    margin: 0 auto;
  }

  header .contact-info {
    float: none;
    height: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  header img {
    max-width: 200px;
  }
}
