/* General Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.6; color: #333; background: #fff; }
.container { width: 90%; max-width: 1200px; margin: auto; }

/* Navigation */
nav { background: #0b1520; color: white; padding: 1.2rem 0; position: fixed; width: 100%; top: 0; z-index: 1000; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo { font-size: 1.4rem; font-weight: 800; letter-spacing: 1px; }
.logo span { color: #f39c12; }

/* Desktop Navigation Links */
.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 20px; }
.nav-links a { color: white; text-decoration: none; font-size: 0.85rem; text-transform: uppercase; font-weight: bold; }
.btn-nav { background: #f39c12; padding: 8px 15px; border-radius: 3px; }

/* Mobile Menu Toggle */
.menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: white; }

/* Hero Section */
.hero { 
    height: 80vh; 
    background: url('roofing.jpeg') no-repeat center center/cover;
    margin-top: 60px;
}
.hero-overlay { background: rgba(0, 0, 0, 0.45); height: 100%; display: flex; align-items: center; }
.hero-content { color: white; max-width: 800px; padding: 0 20px; }
.hero-content h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 900; }
.hero-content span { color: #f39c12; }
.hero-btns { margin-top: 30px; }
.btn-main { background: #f39c12; color: white; padding: 15px 35px; text-decoration: none; border-radius: 4px; font-weight: bold; display: inline-block; margin-right: 15px; }
.btn-alt { border: 2px solid white; color: white; padding: 13px 35px; text-decoration: none; border-radius: 4px; font-weight: bold; display: inline-block; }

/* Information Section */
.info-section { padding: 80px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image img { width: 100%; border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.check-list { list-style: none; margin-top: 20px; }
.check-list li { margin-bottom: 10px; font-weight: bold; display: flex; align-items: center; }
.check-list i { color: #f39c12; margin-right: 12px; font-size: 1.2rem; }

/* Lead Form Section */
.cta-section { padding: 80px 0; background: #f4f7f9; }
.form-wrapper { display: flex; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.form-info { background: #0b1520; color: white; padding: 50px; flex: 1; }
.form-info h2 { color: #f39c12; margin-bottom: 15px; }
.main-form { flex: 2; padding: 50px; }
.form-row { display: flex; gap: 20px; }
.form-group { flex: 1; margin-bottom: 20px; }
.form-group label { display: block; font-weight: bold; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 8px; color: #444; }
.main-form input, .main-form textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; outline: none; }
.btn-submit { background: #f39c12; color: white; width: 100%; padding: 20px; border: none; font-size: 1.1rem; font-weight: bold; cursor: pointer; border-radius: 4px; transition: 0.3s; }
.btn-submit:hover { background: #e67e22; }

/* Success Message Appearance */
.success-message { text-align: center; padding: 40px 20px; animation: fadeIn 0.5s ease-out; }
.success-message i { font-size: 4rem; color: #27ae60; margin-bottom: 20px; }
.success-message h2 { font-size: 2rem; margin-bottom: 15px; color: #0b1520; }
.success-message p { font-size: 1.1rem; color: #666; margin-bottom: 10px; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

footer { background: #0b1520; color: #777; padding: 30px 0; text-align: center; }

/* Mobile Adjustments (Under 768px) */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #0b1520;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 15px 0; }
    .grid-2, .form-wrapper, .form-row { flex-direction: column; display: block; }
    .hero-content h1 { font-size: 2.4rem; }
    .form-info, .main-form { padding: 30px; }
    .btn-main, .btn-alt { width: 100%; text-align: center; margin-bottom: 10px; }
}
