/* ============================================
   QUISH — Home & Repair | Custom Styles
   Deep Navy + Warm Gold | Vibrant Modern
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background-color: #0A1628;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ---------- SECTION LAYOUT ---------- */
.section-padding {
    padding: 100px 0;
}

@media (max-width: 767px) {
    .section-padding {
        padding: 70px 0;
    }
}

/* ---------- SECTION HEADER ---------- */
.section-header {
    margin-bottom: 60px;
}

@media (max-width: 767px) {
    .section-header {
        margin-bottom: 40px;
    }
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D4943A;
    margin-bottom: 16px;
}

.section-label-dark {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0A1628;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 20px;
}

.section-title-dark {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #0A1628;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    line-height: 1.7;
}

.section-desc-dark {
    font-size: 1.125rem;
    color: rgba(10, 22, 40, 0.7);
    max-width: 560px;
    line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #D4943A;
    color: #0A1628;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    padding: 16px 32px;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    background: #e6a84d;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 148, 58, 0.35);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-primary--lg {
    padding: 20px 40px;
    font-size: 1rem;
}

.btn-arrow {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 16px 32px;
    border-radius: 60px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    border-color: #D4943A;
    color: #D4943A;
    transform: translateY(-2px);
}

.btn-secondary--lg {
    padding: 20px 40px;
    font-size: 1rem;
}

/* ---------- NAVIGATION ---------- */
#navbar {
    background: transparent;
    backdrop-filter: none;
}

#navbar.scrolled {
    background: rgba(6, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4943A;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #D4943A !important;
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
    background: #D4943A;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    color: #0A1628;
    background: rgba(10, 22, 40, 0.1);
    border-radius: 50%;
    transition: background 0.3s;
}

.menu-close:hover {
    background: rgba(10, 22, 40, 0.2);
}

.menu-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .menu-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .menu-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .menu-link:nth-child(6) { transition-delay: 0.35s; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
}

/* Hero Background Shapes */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 148, 58, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -150px;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 148, 58, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
}

.shape-rect-1 {
    width: 200px;
    height: 200px;
    background: rgba(212, 148, 58, 0.06);
    border-radius: 24px;
    top: 25%;
    right: 5%;
    transform: rotate(15deg);
}

.shape-line-1 {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(212, 148, 58, 0.4), transparent);
    top: 40%;
    left: 5%;
}

.shape-line-2 {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    bottom: 30%;
    right: 15%;
}

.shape-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(212, 148, 58, 0.3) 1px, transparent 1px);
    background-size: 12px 12px;
    top: 60%;
    left: 15%;
    opacity: 0.6;
}

/* Hero Image Grid */
.hero-image-grid {
    position: relative;
    height: 520px;
    margin-top: 20px;
}

.img-block {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-block--main {
    width: 300px;
    height: 400px;
    top: 0;
    right: 0;
    z-index: 2;
}

.img-block--accent {
    width: 220px;
    height: 160px;
    bottom: 60px;
    left: 0;
    z-index: 3;
    border: 4px solid rgba(212, 148, 58, 0.4);
}

.img-block--small {
    width: 180px;
    height: 130px;
    bottom: 0;
    right: 30px;
    z-index: 1;
}

.img-block-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.2) 0%, transparent 60%);
    border-radius: inherit;
}

/* Hero Badge */
.hero-badge {
    z-index: 10;
}

/* Scroll Indicator */
.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(212, 148, 58, 0.8), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ---------- SERVICE CARDS ---------- */
.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 36px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4943A, #f0c060);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 148, 58, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(212, 148, 58, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(212, 148, 58, 0.2) 0%, rgba(212, 148, 58, 0.05) 100%);
    border: 1px solid rgba(212, 148, 58, 0.25);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4943A;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.service-card:hover .service-card-icon {
    background: #D4943A;
    color: #0A1628;
    transform: scale(1.05);
}

.service-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.service-card-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 148, 58, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s;
}

.service-card:hover .service-card-accent {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 148, 58, 0.15) 0%, transparent 70%);
}

/* ---------- ABOUT SECTION ---------- */
.about-image-wrapper {
    position: relative;
    height: 550px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.about-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 120px;
    height: 120px;
    background: #D4943A;
    border-radius: 20px;
    z-index: 1;
    opacity: 0.3;
}

.about-image-pattern {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(212, 148, 58, 0.5) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    z-index: 1;
}

.about-stat {
    padding: 16px 0;
    border-left: 2px solid rgba(212, 148, 58, 0.3);
    padding-left: 20px;
}

/* ---------- WHY US SECTION ---------- */
.why-pattern {
    background-image: radial-gradient(circle, rgba(10, 22, 40, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
}

.why-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 36px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    transition: border-color 0.3s;
}

.why-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.why-card:hover::after {
    border-color: rgba(10, 22, 40, 0.3);
}

.why-card-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(10, 22, 40, 0.2);
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.3s;
}

.why-card:hover .why-card-number {
    color: rgba(10, 22, 40, 0.35);
}

.why-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #0A1628;
    margin-bottom: 12px;
    line-height: 1.3;
}

.why-card-desc {
    font-size: 0.9375rem;
    color: rgba(10, 22, 40, 0.7);
    line-height: 1.7;
}

/* ---------- PROCESS SECTION ---------- */
.process-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 0;
    position: relative;
}

.process-step-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 900;
    color: #D4943A;
    line-height: 1;
    min-width: 60px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.process-step:hover .process-step-number {
    opacity: 1;
}

.process-step-content {
    flex: 1;
    padding-top: 8px;
}

.process-step-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.process-step-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(212, 148, 58, 0.4);
    padding: 8px 0;
}

@media (min-width: 1024px) {
    .process-grid {
        flex-direction: row;
        gap: 0;
    }

    .process-step {
        flex: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 24px;
    }

    .process-step-content {
        padding-top: 0;
    }

    .process-connector {
        padding: 16px 0;
    }
}

/* ---------- CTA SECTION ---------- */
.cta-shape-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 148, 58, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    left: -100px;
}

.cta-shape-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 148, 58, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    right: -50px;
}

/* ---------- CONTACT SECTION ---------- */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: rgba(212, 148, 58, 0.1);
    border: 1px solid rgba(212, 148, 58, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4943A;
}

.contact-info-item p:first-child {
    margin-bottom: 4px;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 599px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    color: #ffffff;
    transition: all 0.3s;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
    border-color: #D4943A;
    background: rgba(212, 148, 58, 0.06);
    box-shadow: 0 0 0 3px rgba(212, 148, 58, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.form-select option {
    background: #0A1628;
    color: #ffffff;
}

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

.form-submit {
    margin-top: 8px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    background: rgba(212, 148, 58, 0.1);
    border: 2px solid rgba(212, 148, 58, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.form-success-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* ---------- FOOTER ---------- */
footer a {
    transition: color 0.3s;
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: ensure content is visible even without JS */
@media not all and (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */
@media (max-width: 1023px) {
    .hero-image-grid {
        height: 420px;
        max-width: 400px;
        margin-top: 40px;
    }

    .img-block--main {
        width: 240px;
        height: 320px;
    }

    .img-block--accent {
        width: 180px;
        height: 130px;
    }

    .img-block--small {
        width: 150px;
        height: 110px;
    }
}

@media (max-width: 767px) {
    .hero-image-grid {
        height: 360px;
    }

    .img-block--main {
        width: 200px;
        height: 270px;
    }

    .img-block--accent {
        width: 150px;
        height: 110px;
    }

    .img-block--small {
        width: 130px;
        height: 95px;
    }

    .hero-badge {
        display: none !important;
    }

    .about-image-wrapper {
        height: 400px;
    }

    .contact-form {
        padding: 28px 24px;
    }
}

@media (max-width: 479px) {
    .hero-image-grid {
        height: 300px;
    }

    .img-block--main {
        width: 160px;
        height: 220px;
    }

    .img-block--accent {
        width: 130px;
        height: 95px;
    }

    .img-block--small {
        width: 110px;
        height: 80px;
    }
}
