:root {
    --logo-charcoal: #3a3a3a;
    --logo-teal: #78c9c8;
    --logo-orange: #f39237;
    --logo-lime: #b5d334;
    --platinum-gold: #D4AF37;
    --off-white: #fcfcfc;
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: var(--off-white); 
    color: var(--logo-charcoal); 
    line-height: 1.8; 
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* Navigation */
nav {
    position: fixed; width: 100%; padding: 10px 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255, 255, 255, 0.98); z-index: 1000;
    border-bottom: 3px solid var(--logo-teal);
    transition: 0.3s ease;
}
.logo-img { height: 50px; width: auto; }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 25px; }
nav ul li a { 
    color: var(--logo-charcoal); font-size: 0.7rem; letter-spacing: 1px; 
    text-transform: uppercase; font-weight: 600; text-decoration: none; 
}
nav ul li a:hover { color: var(--logo-teal); }

/* Hero */
.hero {
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('images/hero-painting.png') center/cover no-repeat fixed;
    background-color: #333; 
    display: flex; align-items: center; justify-content: center; color: white; text-align: center; padding: 0 20px;
}
.hero-content h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); margin-bottom: 15px; }
.hero-content p { font-size: clamp(0.8rem, 3vw, 1.1rem); letter-spacing: 4px; text-transform: uppercase; }

/* Section Layouts */
section { padding: 80px 8%; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.section-header p { text-transform: uppercase; letter-spacing: 2px; color: var(--logo-teal); font-weight: 600; font-size: 0.8rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: flex-start; }

/* 20 Year Experience Badge */
.experience-badge { 
    background: white; 
    border: 1px solid var(--logo-teal); 
    padding: 40px; 
    text-align: center; 
}
.experience-badge h3 { 
    font-size: clamp(3rem, 10vw, 4rem); 
    color: var(--logo-teal); 
}

/* Service Tags */
.service-tag {
    border: 1px solid var(--logo-orange);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: white;
    background: rgba(243, 146, 55, 0.1);
}

/* Transformation Images */
.transformation-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 4px solid white;
}

/* Tables */
.table-wrapper { overflow-x: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-radius: 8px; }
.luxury-table { width: 100%; border-collapse: collapse; background: white; min-width: 500px; }
.luxury-table th { background: var(--logo-charcoal); color: white; padding: 20px; text-transform: uppercase; font-size: 0.75rem; text-align: left; }
.luxury-table td { padding: 20px; border-bottom: 1px solid #eee; font-size: 0.9rem; }
.spec-focus { color: var(--logo-orange); font-weight: 600; }

/* Contact & Forms */
.contact-card { background: white; padding: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; transition: opacity 0.5s ease; }
.contact-label { font-weight: 600; font-size: 0.8rem; text-transform: uppercase; }
.contact-link { color: var(--logo-teal); text-decoration: none; font-weight: 600; }

/* FORM FIX: display: block rigidly forces fields to stack */
input, textarea { 
    display: block !important; 
    width: 100%; 
    padding: 15px; 
    margin-bottom: 15px; 
    border: 1px solid #ddd; 
    font-family: inherit; 
    font-size: 1rem;
    background: #fdfdfd;
    border-radius: 4px;
    -webkit-appearance: none;
}
textarea { height: 120px; resize: vertical; }

.btn-platinum {
    background: var(--logo-orange); color: white; padding: 18px 35px; 
    text-transform: uppercase; font-weight: 600; border: none; cursor: pointer; transition: 0.3s;
    width: 100%;
    border-radius: 4px;
    font-size: 1rem;
    display: block;
}
.btn-platinum:hover { background: var(--logo-teal); transform: translateY(-2px); }

/* Success Overlay */
.success-message {
    display: none; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: white; padding: 60px; text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    width: 90%; max-width: 600px; z-index: 20; border-top: 5px solid var(--logo-orange);
}
#contact { position: relative; min-height: 600px; display: flex; align-items: center; justify-content: center; }
#form-container { transition: opacity 0.5s ease; }

/* Footer */
footer { background: var(--logo-charcoal); color: #888; padding: 40px 5%; text-align: center; font-size: 0.8rem; }
.footer-logo-wrapper { margin-bottom: 20px; }
.footer-logo { 
    height: 60px; 
    width: auto; 
    background: white; /* Makes the white box look like a deliberate frame */
    padding: 10px 20px; 
    border-radius: 4px;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 850px) {
    nav { flex-direction: column; padding-bottom: 15px; }
    nav ul { display: flex; justify-content: center; flex-wrap: wrap; width: 100%; margin-top: 15px; padding: 0; }
    nav ul li { margin: 5px 10px; }
    nav ul li a { font-size: 0.65rem; }

    .grid-2, .contact-card { grid-template-columns: 1fr; }
    section { padding: 60px 5%; }
    
    .hero { background-attachment: scroll; }
    .hero-content h1 { font-size: 2.5rem; line-height: 1.2; }
    
    .btn-platinum {
        font-size: 0.85rem;
        padding: 15px 20px;
        line-height: 1.4;
        white-space: normal;
        height: auto;
    }
    
    .contact-card { padding: 25px; }
}