@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap');

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #3498db;
}

.header-nav .emergency-link {
    background: #d32f2f;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
}

.header-nav .emergency-link:hover {
    background: #b71c1c;
    color: white;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 250px;
    flex: 1 1 300px;
}

.logo, .logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    color: white;
}

.logo {
    max-height: 120px;
    width: auto;
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    min-width: 250px;
    flex: 1 1 300px;
    justify-content: flex-end;
}

.header-contact {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.phone {
    font-size: 1.2rem;
    font-weight: bold;
    color: #f39c12;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url('./images/LED_installer.webp');
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    line-height: 1.1;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.6);
    background: linear-gradient(45deg, #e67e22, #d35400);
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: white;
    transition: transform 0.2s ease-in-out;
    text-decoration: none;
}

.badge i {
    font-size: 1.1rem;
    margin-right: 0.5em;
}

.badge:hover {
    transform: scale(1.1);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Service Areas */
.service-areas {
    background: #f8f9fa;
}

.suburbs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.suburb {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #f39c12;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Pricing Calculator */
.calculator {
    background: #2c3e50;
    color: white;
}

.calculator .section-title {
    color: white;
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    color: #333;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.room-entry {
    background: #f8f9fa;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
}

.room-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 150px;
}

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

.form-group input, .form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.remove-room {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.add-room-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    margin: 1rem 0;
}

.pricing-summary {
    background: #34495e;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0;
}

.total-price {
    font-size: 1.5rem;
    font-weight: bold;
    border-top: 2px solid #f39c12;
    padding-top: 1rem;
    margin-top: 1rem;
}

.disclaimer {
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Gallery */
.gallery {
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.gallery-info {
    padding: 1rem;
}

/* Why Choose Us */
.why-choose {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #f39c12;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* Contact */
.contact {
    background: #2c3e50;
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-phone {
    font-size: 1.5rem;
    color: #f39c12;
    margin: 1rem 0;
}

.contact-phone a {
    color: inherit;
    text-decoration: none;
}

.contact-phone a:hover {
    text-decoration: underline;
}

.contact-form {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    padding: 2rem 2rem 1.5rem 2rem;
    background: rgba(255,255,255,0.07);
    border-radius: 12px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.10);
    backdrop-filter: blur(2px);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0;
    border: none;
    border-radius: 5px;
}

.button-row {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-form button {
    background: #f39c12;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #1a252f;
    color: #f8f9fa;
    text-align: center;
    padding: 2.5rem 1rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

footer p {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

footer a {
    color: #f39c12;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Telephone Link Styles */
a[href^="tel:"] {
    color: #ffffff;
    text-decoration: none;
}

a[href^="tel:"]:hover, a[href^="tel:"]:focus {
    color: #f39c12;
    text-decoration: underline;
}

/* Add padding to account for fixed header on mobile */
@media (max-width: 768px) {
    body {
        padding-top: 200px; /* Adjust this value to match your header's height */
    }
}

/* Responsive */
@media (max-width: 900px) {
    .header-content {
        flex-direction: row;
        align-items: stretch;
    }
    .header-brand, .header-actions {
        flex: 1 1 100%;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .header-brand, .header-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
        min-width: 0;
        gap: 0.5rem;
    }
    .header-brand {
        margin-bottom: 0.5rem;
    }
    .header-actions {
        margin-top: 0.5rem;
    }
    .logo {
        display: block;
        margin: 0 auto 0.5rem auto;
        max-width: 80px;
        height: auto;
    }
    .logo-text {
        text-align: center;
        font-size: 1.2rem;
    }
    .phone {
        font-size: 1rem;
    }
    .cta-button {
        display: block;
        margin: 0.5rem auto 0 auto;
        max-width: 280px;
        width: 100%;
        text-align: center;
        padding: 12px 18px;
        font-size: 1rem;
    }
    .header-contact {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
    .contact-form {
        max-width: 98vw;
        padding: 1rem 0.5rem;
        margin: 0 auto;
    }
    .hero-content h1 {
        font-size: 2.4rem;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .room-controls {
        flex-direction: column;
    }
    .suburbs-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 500px) {
    .header-content {
        gap: 0.5rem;
    }
    .logo-text {
        font-size: 1.05rem;
    }
    .cta-button {
        font-size: 0.95rem;
        padding: 10px 10px;
    }
}