/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

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

/* Header */
header {
    background: #222;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header .logo h1 {
    font-size: 2rem;
    color: #fff;
}

header .logo span {
    color: #27b21f;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    align-items: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #27b21f;
}

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

/* Hero Section */
.hero {
    background: url('../img/hero.jpg') center/cover no-repeat;
    color: #fff;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.btn {
    background: #27b21f;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
}

.btn:hover {
    background: #d35400;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: #fff;
    text-align: center;
}

.services h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.service-card {
    background: #f4f4f4;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2rem;
    color: #27b21f;
    margin-bottom: 1rem;
}

/* Warranty Section */
.warranty {
    padding: 4rem 0;
    background: #f1f1f1;
}

.warranty h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.warranty-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.warranty-details {
    flex: 1 1 50%;
}

.warranty-details h3 {
    margin-bottom: 1rem;
}

.warranty-details ul {
    list-style: none;
    margin-top: 1rem;
}

.warranty-details ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.warranty-details ul li i {
    color: #2ecc71;
    margin-right: 0.5rem;
}

.warranty-image {
    flex: 1 1 40%;
}

.warranty-image img {
    width: 100%;
    border-radius: 10px;
}

/* Quote Section */
.quote-form {
    padding: 4rem 0;
    background: #fff;
}

.quote-form h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.quote-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

/* Confirmation message */
.confirmation-message {
    text-align: center;
    background: #e8f5e9;
    border: 1px solid #2ecc71;
    color: #2ecc71;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 8px;
}

.confirmation-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 3rem 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.footer-column {
    flex: 1 1 30%;
}

.footer-column h3 {
    margin-bottom: 1rem;
    color: #27b21f;
}

.footer-column p, .footer-column form {
    font-size: 0.9rem;
}

.subscribe-form .form-group {
    margin-bottom: 1rem;
}

footer input[type="text"],
footer input[type="email"],
footer input[type="date"] {
    width: 100%;
    padding: 0.5rem;
    border-radius: 5px;
    border: none;
    font-size: 0.95rem;
}

footer .btn {
    background: #27b21f;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    margin-top: 0.5rem;
}

footer .btn:hover {
    background: #d35400;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    margin-top: 2rem;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #27b21f;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        background: #333;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        display: none;
    }

    nav ul.show {
        display: flex;
    }

    header .container {
        flex-direction: column;
    }

    .warranty-content {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
    }
}
