:root {
    --primary-color: #FFA726; /* Adjusted orange to match logo */
    --secondary-color: #000000;
    --background-color: #ffffff;
    --text-color: #333333;
}

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

body {
    font-family: 'Chakra Petch', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

.circuit-bg-left,
.circuit-bg-right {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

.circuit-bg-left {
    left: 0;
    background-image: url('images/circuit-bg-left.jpg');
    background-position: left center;
}

.circuit-bg-right {
    right: 0;
    background-image: url('images/circuit-bg-right.jpg');
    background-position: right center;
}

header {
    background-color: rgba(255, 255, 255, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    cursor: pointer;
}

.logo a {
    display: block;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

#hero {
    min-height: 100vh;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: black;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

#hero::before {
    display: none;
}

#hero > * {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.3;
    position: relative;
    z-index: 3;
    padding: 0 2rem;
    font-weight: 700;
}

.highlight {
    color: var(--primary-color);
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    position: relative;
    z-index: 3;
    padding: 0 2rem;
}

.cta-button {
    position: relative;
    z-index: 3;
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Chakra Petch', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Services Section */
#services {
    padding: 100px 5% 50px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#services h2, #about h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-family: 'Chakra Petch', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* About Section */
#about {
    padding: 100px 5% 100px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments for services and about sections */
@media screen and (max-width: 768px) {
    #services, #about {
        padding: 80px 5% 40px;
    }

    #services h2, #about h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding: 2rem;
    }
}

/* Contact Section */
#contact {
    padding: 100px 5% 150px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#contact h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.contact-info {
    padding-right: 2rem;
}

.contact-info h3 {
    font-family: 'Chakra Petch', sans-serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    background: transparent;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    padding: 0 0.5rem;
    color: #666;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group textarea + label {
    top: 1rem;
    transform: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%) scale(0.9);
    background: white;
    color: var(--primary-color);
}

.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
}

.form-group select {
    cursor: pointer;
    color: #666;
}

.form-group select:not(:invalid) {
    color: var(--text-color);
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.status-message {
    display: none;
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.status-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.status-message.error {
    background-color: #fbe9e7;
    color: #c62828;
    border: 1px solid #ffab91;
}

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

/* Responsive adjustments for contact section */
@media screen and (max-width: 768px) {
    #contact {
        padding: 80px 5% 120px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }
}

footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 300;
    z-index: 1000;
}

/* Add padding to main content to prevent footer overlap */
main {
    padding-bottom: 60px;
}

/* Circuit lines decoration */
.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

/* Adjust responsive behavior for circuit backgrounds */
@media screen and (max-width: 1200px) {
    .circuit-bg-left,
    .circuit-bg-right {
        width: 150px;
    }
    
    #hero {
        padding: 0 2rem;
    }
}

@media screen and (max-width: 768px) {
    .circuit-bg-left,
    .circuit-bg-right {
        width: 100px;
    }
    
    #hero {
        padding: 0 3rem;
    }
    
    #hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }
    
    #hero p {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    nav ul {
        display: none;
    }
} 