body {
    margin: 0;
    padding: 0;
    background-color: #050505; /* Deep, near-black */
    font-family: 'Cinzel', serif;
    color: #ffc978; /* Amber/copper color */
    overflow-x: hidden;
    overflow-y: auto;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('noise-texture.png');
    background-repeat: repeat;
    opacity: 0.08;
    z-index: 2;
    pointer-events: none;
}

main {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    text-align: center;
}

h1 {
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.5em;
    margin: 0;
    padding-left: 0.5em; /* to compensate for letter-spacing on the last letter */
    color: #d4a373; /* Softer copper */
    text-shadow: 0 0 8px rgba(255, 196, 120, 0.2), 
                 0 0 20px rgba(212, 163, 115, 0.1);
    animation: flicker 5s infinite alternate;
}

@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow: 0 0 8px rgba(255, 196, 120, 0.4), 
                     0 0 20px rgba(212, 163, 115, 0.3),
                     0 0 40px rgba(255, 159, 64, 0.2);
    }
    20%, 24%, 55% {
        text-shadow: 0 0 8px rgba(255, 196, 120, 0.2), 
                     0 0 20px rgba(212, 163, 115, 0.1);
    }
}

.description {
    margin-top: 1rem;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: normal;
    letter-spacing: 0.2em;
    padding-left: 0.2em;
    color: #d4a373;
    text-shadow: 0 0 5px rgba(212, 163, 115, 0.2);
    opacity: 0.8;
}

/* Who We Are Section */
#who-we-are {
    position: relative;
    z-index: 3;
    padding: 5rem 2rem;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(212, 163, 115, 0.1);
}

#who-we-are h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    padding-left: 0.3em;
    color: #d4a373;
    text-shadow: 0 0 8px rgba(255, 196, 120, 0.2), 
                 0 0 20px rgba(212, 163, 115, 0.1);
    text-align: center;
    margin-bottom: 3rem;
}

.who-we-are-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.who-we-are-content p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #d4a37399;
}

/* Portfolio Section */
#portfolio {
    position: relative;
    z-index: 3;
    padding: 5rem 2rem;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(212, 163, 115, 0.1);
}

#portfolio h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    padding-left: 0.3em; /* to compensate for letter-spacing */
    color: #d4a373;
    text-shadow: 0 0 8px rgba(255, 196, 120, 0.2), 
                 0 0 20px rgba(212, 163, 115, 0.1);
    text-align: center;
    margin-bottom: 4rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.portfolio-item {
    border: 1px solid rgba(212, 163, 115, 0.15);
    box-shadow: 0 0 20px rgba(212, 163, 115, 0.05), inset 0 0 10px rgba(0,0,0,0.5);
    background: rgba(10, 10, 10, 0.3);
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    border-color: rgba(212, 163, 115, 0.4);
    box-shadow: 0 0 30px rgba(212, 163, 115, 0.15), inset 0 0 10px rgba(0,0,0,0.5);
}

/* Services Section */
#services {
    position: relative;
    z-index: 3;
    padding: 5rem 2rem;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(212, 163, 115, 0.1);
}

#services h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    padding-left: 0.3em;
    color: #d4a373;
    text-shadow: 0 0 8px rgba(255, 196, 120, 0.2), 
                 0 0 20px rgba(212, 163, 115, 0.1);
    text-align: center;
    margin-bottom: 3rem;
}

#services h3 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    letter-spacing: 0.2em;
    color: #d4a373;
    border-bottom: 1px solid rgba(212, 163, 115, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.services-content {
    max-width: 1200px;
    margin: 0 auto;
}

.services-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
    color: #d4a37399;
}

.services-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.pricing-column, .features-column {
    flex: 1;
    min-width: 300px;
}

.pricing-list, .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(212, 163, 115, 0.1);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    gap: 1rem;
}

.pricing-list li span:first-child {
    color: #d4a373;
}
.pricing-list li span:last-child {
    color: #ffc978;
    white-space: nowrap;
}

.services-note {
    font-size: 0.8rem;
    color: #d4a37380;
    margin-top: 1.5rem;
    line-height: 1.5;
}

.features-list li {
    color: #d4a373;
    margin-bottom: 1.2rem;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.4;
}

.features-list li span {
    display: block;
    color: #d4a37399;
    padding-left: 1.5em;
    font-size: 0.9em;
}

/* Contact Section */
#contact {
    position: relative;
    z-index: 3;
    padding: 5rem 2rem;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(212, 163, 115, 0.1);
}

#contact h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    padding-left: 0.3em;
    color: #d4a373;
    text-shadow: 0 0 8px rgba(255, 196, 120, 0.2), 
                 0 0 20px rgba(212, 163, 115, 0.1);
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(10, 10, 10, 0.3);
    border: 1px solid rgba(212, 163, 115, 0.15);
    color: #d4a373;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    padding: 12px;
    border-radius: 4px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(212, 163, 115, 0.4);
    box-shadow: 0 0 10px rgba(212, 163, 115, 0.1);
}

.contact-form label {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #d4a37380;
    pointer-events: none;
    transition: all 0.2s ease;
}

.contact-form input:focus + label,
.contact-form input:valid + label,
.contact-form textarea:focus + label,
.contact-form textarea:valid + label {
    top: -10px;
    left: 8px;
    font-size: 0.75rem;
    background: #050505;
    padding: 0 5px;
    color: #d4a373;
}

.contact-form button {
    background-color: transparent;
    border: 1px solid #d4a373;
    color: #d4a373;
    padding: 12px 24px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 1rem;
}

.contact-form button:hover {
    background-color: rgba(212, 163, 115, 0.1);
    box-shadow: 0 0 15px rgba(212, 163, 115, 0.2);
}

footer {
    position: relative;
    z-index: 3;
    padding: 4rem 2rem 2rem;
    box-sizing: border-box;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    letter-spacing: 0.1em;
}

.contact-info a {
    color: #d4a373;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease, text-shadow 0.3s ease;
}

.contact-info a:hover {
    opacity: 1;
    text-shadow: 0 0 5px rgba(255, 196, 120, 0.4);
}

.contact-info .separator {
    color: #d4a373;
    opacity: 0.4;
}