/*
   OpLab Custom Styling
   Professional Upholstery Website
   
   Color Palette:
   - Vienna Velvet: #1c3b49 (deep teal/navy)
   - Ivoor Salie: #e2ecdd (soft ivory/sage)
   - Tulip: #dd665f (coral/salmon)
   - Gold Accent: #c4a05a (metallic gold)
*/

/* === Base Colors Override === */
html, body {
    background: #1c3b49 !important;
}

body, input, select, textarea {
    color: #e2ecdd !important;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    color: #e2ecdd !important;
}

h1 {
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: 0.05em;
    color: #c4a05a !important;
}

strong, b {
    color: #e2ecdd !important;
}

/* === Links === */
a {
    color: #dd665f !important;
    border-bottom-color: rgba(221, 102, 95, 0.3);
}

a:hover {
    color: #c4a05a !important;
    border-bottom-color: transparent !important;
}

/* === Headers & Sections === */
header.major:after {
    background: #c4a05a !important;
}

header p {
    color: #e2ecdd !important;
}

/* === Buttons === */
.button {
    color: #e2ecdd !important;
    border-color: rgba(226, 236, 221, 0.3);
}

.button:hover {
    border-color: #c4a05a !important;
    color: #c4a05a !important;
}

.button:active {
    box-shadow: inset 0 0 0 1px #dd665f !important;
    color: #dd665f !important;
}

.button.primary {
    background-color: #dd665f !important;
    box-shadow: none;
    color: #ffffff !important;
    border: none;
}

.button.primary:hover {
    background-color: #c55750 !important;
}

.button.primary:active {
    background-color: #b84842 !important;
}

/* === Spotlight Sections === */
.spotlight.style1 .content {
    border-color: #dd665f !important;
}

.spotlight.style2 .content {
    border-color: #c4a05a !important;
}

.spotlight.style3 .content {
    border-color: #e2ecdd !important;
}

.spotlight .content {
    background-color: rgba(28, 59, 73, 0.9) !important;
}

/* === Wrapper Styles === */
.wrapper.style1 {
    background: #e2ecdd !important;
    color: #1c3b49 !important;
}

.wrapper.style1 h1, 
.wrapper.style1 h2, 
.wrapper.style1 h3, 
.wrapper.style1 h4 {
    color: #1c3b49 !important;
}

.wrapper.style1 p {
    color: #1c3b49 !important;
}

.wrapper.style1 .icon.major {
    background: #1c3b49 !important;
    color: #c4a05a !important;
}

.wrapper.style2 {
    background: #dd665f !important;
}

.wrapper.style2 .button.primary {
    background-color: #ffffff !important;
    color: #dd665f !important;
}

.wrapper.style2 .button.primary:hover {
    background-color: #e2ecdd !important;
}

/* === Forms === */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
    background: rgba(226, 236, 221, 0.05);
    border-color: rgba(226, 236, 221, 0.3);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: #dd665f !important;
}

label {
    color: #e2ecdd !important;
}

/* === Icon Styles === */
.icon.major {
    background: #dd665f !important;
    color: #ffffff !important;
}

.icon.major.alt:before {
    color: #dd665f !important;
}

.icon.alt:before {
    color: #1c3b49 !important;
}

/* === Header === */
#header {
    background: #1c3b49 !important;
}

#header #logo {
    color: #c4a05a !important;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 300;
    letter-spacing: 0.05em;
}

#header nav ul li a {
    color: #e2ecdd !important;
}

#header nav ul li.active > a,
#header nav ul li.active > span {
    color: #dd665f !important;
}

#header nav ul li:hover > a {
    color: #c4a05a !important;
}

/* === Banner === */
#banner {
    background-color: #1c3b49 !important;
    background-image: url("../../Content/verzameling stoelen.png") !important;
    background-size: cover;
    background-position: center;
}

#banner:before {
    background: rgba(28, 59, 73, 0.85) !important;
}

#banner h2 {
    color: #c4a05a !important;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 300;
    letter-spacing: 0.05em;
}

#banner p {
    color: #e2ecdd !important;
}

/* === Footer === */
#footer {
    background: #1c3b49 !important;
    border-top: 3px solid #c4a05a;
}

#footer .icons .icon.alt:before {
    color: #1c3b49 !important;
}

#footer .copyright {
    color: rgba(226, 236, 221, 0.6) !important;
}

/* === Dropotron (Dropdown menu) === */
.dropotron {
    background: #1c3b49 !important;
    border-color: #c4a05a !important;
}

.dropotron > li.active > a,
.dropotron > li.active > span {
    color: #dd665f !important;
}

.dropotron > li > a:hover,
.dropotron > li > span:hover {
    background: rgba(196, 160, 90, 0.1) !important;
    color: #c4a05a !important;
}

.dropotron.level-0:before {
    background: #1c3b49 !important;
    border-bottom-color: #1c3b49 !important;
}

/* === Mobile Menu === */
#titleBar {
    background: #1c3b49 !important;
}

#titleBar .title {
    color: #e2ecdd !important;
}

#titleBar .toggle:before {
    background: #dd665f !important;
    color: #ffffff !important;
}

#navPanel {
    background: #152d39 !important;
}

#navPanel .link.depth-0 {
    color: #e2ecdd !important;
}

/* === Table Styles === */
table th {
    color: #e2ecdd !important;
}

table tbody tr {
    border-color: rgba(226, 236, 221, 0.3) !important;
}

/* === Loader Colors === */
@keyframes spinner-hide {
    0% {
        color: rgba(226, 236, 221, 0.15);
    }
    99% {
        color: #1c3b49;
    }
    100% {
        color: #1c3b49;
    }
}

body:after {
    background: #1c3b49 !important;
}

/* === Select Options === */
select option {
    color: #1c3b49 !important;
    background: #e2ecdd !important;
}

/* === Professional Polish === */
.container {
    position: relative;
}

/* Add subtle texture overlay */
.spotlight:after,
.wrapper:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v6h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.3;
}

/* Enhance logo/branding area */
#logo {
    text-transform: uppercase;
    font-size: 1.2em !important;
}

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

button, .button, a {
    transition: all 0.3s ease;
}

/* === Mobile & Tablet Image Scaling Fixes === */
@media screen and (max-width: 980px) {
    .spotlight {
        height: auto !important;
        background: #1c3b49 !important;
    }
    
    .spotlight .image.main {
        display: block !important;
        height: 45vh !important;
        max-height: 45vh !important;
        width: 100% !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .spotlight .image.main img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .spotlight .content {
        padding: 3rem 1.5rem !important;
        text-align: center !important;
    }
}

/* === Interactive Quote Request Form (Offerteaanvraag) === */
.quote-form-container {
    background: rgba(28, 59, 73, 0.6);
    border: 2px solid rgba(196, 160, 90, 0.2);
    border-radius: 12px;
    padding: 3rem;
    margin-top: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.quote-form-container:hover {
    border-color: rgba(196, 160, 90, 0.5);
    box-shadow: 0 12px 40px 0 rgba(196, 160, 90, 0.15);
}

.form-title {
    font-family: Georgia, 'Times New Roman', serif;
    color: #c4a05a !important;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8em;
    letter-spacing: 0.05em;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #e2ecdd;
    font-size: 0.95em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(226, 236, 221, 0.05) !important;
    border: 1px solid rgba(226, 236, 221, 0.2) !important;
    border-radius: 6px !important;
    color: #e2ecdd !important;
    font-family: inherit;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #c4a05a !important;
    background: rgba(226, 236, 221, 0.1) !important;
    box-shadow: 0 0 8px rgba(196, 160, 90, 0.3);
}

/* Custom File Upload Styling */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    border: 2px dashed rgba(196, 160, 90, 0.4);
    border-radius: 8px;
    background: rgba(196, 160, 90, 0.03);
    color: #e2ecdd;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload-trigger i {
    font-size: 2em;
    color: #c4a05a;
    margin-bottom: 0.5rem;
}

.file-upload-wrapper:hover .file-upload-trigger {
    border-color: #dd665f;
    background: rgba(221, 102, 95, 0.05);
}

.file-upload-filename {
    margin-top: 0.5rem;
    font-size: 0.85em;
    color: #c4a05a;
    font-weight: 300;
}

/* Success Modal & Message */
.form-success-message {
    display: none;
    text-align: center;
    padding: 3rem 1.5rem;
    animation: fadeIn 0.5s ease-out forwards;
}

.form-success-message i {
    font-size: 4em;
    color: #c4a05a;
    margin-bottom: 1.5rem;
}

.form-success-message h3 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #e2ecdd !important;
    font-size: 2em;
    margin-bottom: 1rem;
}

.form-success-message p {
    color: #e2ecdd;
    font-size: 1.1em;
    max-width: 500px;
    margin: 0 auto;
}

.form-error-message {
    display: none;
    text-align: center;
    padding: 1.25rem;
    background: rgba(221, 102, 95, 0.1) !important;
    border: 1px solid #dd665f !important;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    color: #e2ecdd !important;
    font-size: 0.95em;
    line-height: 1.5;
    animation: fadeIn 0.5s ease-out forwards;
}

.form-error-message a {
    color: #ffffff !important;
    text-decoration: underline;
    border-bottom: none !important;
}

.form-error-message a:hover {
    color: #c4a05a !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

