/*
Theme Name: All IN Lawns
Theme URI: https://allinlawns.com
Author: All IN Property Maintenance
Description: Custom WordPress theme for All IN Property Maintenance
Version: 2.0
*/

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #1a3c34;
    color: white;
}

/* HEADER */
header {
    background: linear-gradient(to bottom, #1a3c34, #2a5c54);
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #FFD700;
}
header img.logo { height: 80px; width: auto; }
header .tagline { font-size: 0.9em; color: #FFD700; margin-top: 5px; }

nav { display: flex; align-items: center; flex-wrap: wrap; }
nav a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95em;
}
nav a:hover { color: #FFD700; }
.nav-contact { color: #FFD700 !important; font-size: 0.9em; }
.nav-contact a { color: white; text-decoration: none; }
.nav-contact a:hover { color: #FFD700; }

/* HAMBURGER */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid #FFD700;
    color: #FFD700;
    font-size: 1.5em;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
}

/* HERO */
.hero {
    position: relative;
    text-align: center;
    padding: 120px 20px;
    background: url('images/heroimage.jpg') no-repeat center/cover;
    border-bottom: 5px solid #FFD700;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(26, 60, 52, 0.55);
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3em;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}
.hero p { font-size: 1.2em; margin-bottom: 25px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* BUTTONS */
.btn {
    background-color: #FFD700;
    color: #1a3c34;
    padding: 12px 24px;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    border-radius: 5px;
    margin: 8px;
    display: inline-block;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.4);
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1em;
}
.btn:hover { background-color: #e6c200; transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* SERVICES SECTION */
.services {
    padding: 60px 20px;
    text-align: center;
    background-color: #1a3c34;
}
.services h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #FFD700;
}
.services .subtitle { color: #ccc; margin-bottom: 40px; font-size: 1.05em; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.service-card {
    background: #2a5c54;
    border-radius: 8px;
    padding: 30px 20px;
    border-top: 4px solid #FFD700;
    transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-5px); }
.service-card .icon { font-size: 2.5em; margin-bottom: 15px; }
.service-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.2em; margin-bottom: 10px; color: #FFD700; }
.service-card p { font-size: 0.95em; color: #ccc; line-height: 1.6; margin-bottom: 15px; }
.service-card a { color: #FFD700; text-decoration: none; font-weight: 600; font-size: 0.9em; }
.service-card a:hover { text-decoration: underline; }

/* GALLERY */
.gallery {
    padding: 60px 20px;
    text-align: center;
    background-color: #152e27;
}
.gallery h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #FFD700;
}
.gallery .subtitle { color: #ccc; margin-bottom: 40px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}
.gallery-grid div { overflow: hidden; border-radius: 6px; }
.gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}
.gallery-grid img:hover { transform: scale(1.05); }

/* SERVICE AREA */
.service-area {
    padding: 60px 20px;
    text-align: center;
    background-color: #1a3c34;
}
.service-area h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #FFD700;
}
.service-area .subtitle { color: #ccc; margin-bottom: 30px; }
.area-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 800px; margin: 0 auto; }
.area-tag {
    background: #2a5c54;
    border: 1px solid #FFD700;
    color: #FFD700;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 600;
}

/* CONTACT */
.contact {
    padding: 60px 20px;
    text-align: center;
    background-color: #152e27;
}
.contact h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #FFD700;
}
.contact .subtitle { color: #ccc; margin-bottom: 30px; }
.contact-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background: #1a3c34;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #2a5c54;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* CUSTOM CONTACT FORM */
.allin-contact-form { text-align: left; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    color: #ccc;
    font-size: 0.88em;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group .required { color: #FFD700; }
.form-group .optional { color: #888; font-weight: 400; text-transform: none; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #2a5c54;
    border-radius: 6px;
    background: #2a5c54;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.97em;
    transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #7a9e96; }
.form-group input:focus,
.form-group textarea:focus {
    border-color: #FFD700;
    outline: none;
    background: #2f6659;
}
.form-group textarea { height: 130px; resize: vertical; }
.form-submit { text-align: center; margin-top: 8px; }
.form-submit .btn { font-size: 1.05em; padding: 14px 36px; }
.form-success {
    background: #1e5c3a;
    border: 1px solid #FFD700;
    color: #FFD700;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.05em;
    line-height: 1.6;
}
.form-error {
    background: #5c1e1e;
    border: 1px solid #ea4335;
    color: #ffaaaa;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 16px;
    font-size: 0.95em;
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* INNER PAGE HERO */
.page-hero {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    border-bottom: 5px solid #FFD700;
    min-height: 350px;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(26, 60, 52, 0.6);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8em;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}
.page-hero p {
    font-size: 1.15em;
    max-width: 750px;
    margin: 0 auto 25px;
    line-height: 1.7;
    color: #eee;
}

/* FOOTER */
footer {
    background: linear-gradient(to top, #1a3c34, #2a5c54);
    padding: 30px 20px;
    text-align: center;
    border-top: 2px solid #FFD700;
}
footer p { margin: 6px 0; font-size: 0.95em; }
footer a { color: white; text-decoration: none; }
footer a:hover { color: #FFD700; }
.social-links { margin-top: 12px; }
.social-links a { color: #FFD700; margin: 0 12px; text-decoration: none; font-weight: 600; }
.social-links a:hover { color: #e6c200; }

/* MOBILE */
@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    header { flex-direction: column; text-align: center; padding: 15px; }
    header img.logo { height: 60px; }
    .menu-toggle { display: block; margin-top: 10px; }
    nav { flex-direction: column; width: 100%; display: none; margin-top: 10px; }
    nav.open { display: flex; }
    nav a { margin: 8px 0; }
    .hero h1 { font-size: 2em; }
    .hero p { font-size: 1em; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { padding: 25px 15px; }
    .page-hero h1 { font-size: 2em; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .hero { padding: 80px 15px; }
    .hero h1 { font-size: 1.7em; }
}
