/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #082C2A;
    text-align: center;
}

/* Header */
header {
    background-color: #0A3A38;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-container {
    text-align: center;
    margin-bottom: 10px;
}

.logo {
    height: 20px;
    object-fit: contain;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 159, 151, 0.8), rgba(0, 159, 151, 0.5)), url('https://via.placeholder.com/1920x1080');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 5px;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-btn {
    background-color: #009F97;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-btn:hover {
    background-color: #007f77;
    transform: scale(1.05);
}

.contact-options {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

/* General Sections */
section {
    padding: 20px 5px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #0A3A38;
    border-radius: 10px;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #009F97;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.card {
    background-color: #123635;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #e0e0e0;
    transition: transform 0.3s;
}

.card:hover { transform: translateY(-5px); }
.card h3 { margin-bottom: 15px; color: #009F97; }

/* Portfolio Section */
#portfolio {
    padding: 20px 5px; /* Updated from 0px 0px to match other sections */
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    box-sizing: border-box;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    background-color: #123635; /* Matches other section cards */
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* How We Work Section */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    align-items: center;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 20px;
    background-color: #123635;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #e0e0e0;
    text-align: center;
    transition: transform 0.3s;
}

.step:hover { transform: translateY(-5px); }

/* Terms & Hours */
.terms-hours {
    margin-top: 40px;
    background-color: #123635;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.terms-hours h3 {
    font-size: 1.5rem;
    color: #009F97;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.terms-hours dl {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto 20px;
}

.terms-hours dt {
    font-weight: 600;
    color: #e0e0e0;
    text-align: left;
    padding: 10px;
    background-color: #1A4947;
    border-radius: 5px 0 0 5px;
}

.terms-hours dd {
    margin: 0;
    padding: 10px;
    background-color: #0A3A38;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s;
}

.terms-hours dd:hover { background-color: #007f77; }

/* Footer */
footer {
    background: #082C2A;
    color: #e0e0e0;
    text-align: center;
    padding: 20px;
    font-size: 0.85em;
}

footer p { margin: 5px 0; }
.footer2 { font-size: 0.8em; opacity: 0.8; }

.footertext {
    color: #ffcf00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footertext:hover { color: #a7d707; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 20px;
    }

    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .cta-btn { padding: 12px 25px; font-size: 1rem; }
    .contact-options { font-size: 1rem; }

    h2 { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; padding: 15px; }
    .gallery-container { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 15px; }
    .process-steps { flex-direction: column; padding: 15px; align-items: center; }
    .terms-hours dl { grid-template-columns: 1fr; }
    .terms-hours dt, .terms-hours dd { border-radius: 5px; text-align: center; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.5rem; }
    .hero-content p { font-size: 0.9rem; }
    .cta-btn { padding: 10px 20px; font-size: 0.9rem; }
    .contact-options { font-size: 0.9rem; }
    h2 { font-size: 1.8rem; }
    .card, .step { padding: 15px; }
    .gallery-item img { width: 100%; height: 100%; }
    .terms-hours h3 { font-size: 1.3rem; }
    footer { padding: 15px; }
}
