/* Service Page Styles */
/* Extends the main styles.css design system */

/* ================================================
   MOBILE NAVIGATION OVERLAY
   ================================================ */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: hsl(var(--background));
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
        display: flex;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

/* ================================================
   SERVICE HERO SECTION
   ================================================ */
.service-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        hsl(240 10% 3.9% / 0.4) 0%,
        hsl(240 10% 3.9% / 0.6) 100%
    );
    z-index: 1;
}

.service-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.service-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    padding-top: 80px; /* Account for fixed navbar */
}

.service-hero h1 {
    color: hsl(0 0% 100%);
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.6s ease;
}

.service-hero h1 .accent-text {
    color: #BB9C64;
    font-family: 'BlackerDisplay', sans-serif;
    display: block;
}

.hero-subheadline {
    color: hsl(0 0% 100% / 0.9);
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    animation: fadeIn 0.6s ease 0.15s both;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 0.6s ease 0.3s both;
}

.cta-button.primary {
    background: hsl(0 0% 100%);
    color: hsl(240 10% 3.9%);
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 0;
}

.cta-button.primary:hover {
    background: hsl(0 0% 100% / 0.9);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: hsl(0 0% 100%);
    border: 1px solid hsl(0 0% 100%);
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 0;
}

.cta-button.secondary:hover {
    background: hsl(0 0% 100%);
    color: hsl(240 10% 3.9%);
}

/* ================================================
   IMAGE PLACEHOLDERS
   ================================================ */
.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, 
        hsl(240 4.8% 95.9%) 0%,
        hsl(240 5.9% 90%) 50%,
        hsl(240 4.8% 95.9%) 100%
    );
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-placeholder::after {
    content: 'Image Placeholder';
    position: absolute;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
}

.image-placeholder.landscape {
    min-height: 500px;
}

.image-placeholder.portrait {
    min-height: 600px;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.full-width-image {
    width: 100%;
    overflow: hidden;
}

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

.full-width-image .image-placeholder {
    min-height: 60vh;
}

/* ================================================
   INTRO SECTION
   ================================================ */
.service-intro {
    padding: 8rem 0;
    background: hsl(var(--background));
}

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

.intro-content h2 {
    font-size: 2.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 2rem;
    font-weight: 600;
}

.intro-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

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

/* ================================================
   WHAT'S INCLUDED SECTION
   ================================================ */
.service-inclusions {
    padding: 8rem 0;
    background: hsl(var(--muted));
}

.service-inclusions h2 {
    font-size: 2.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: hsl(var(--muted-foreground));
    max-width: 700px;
    margin: 0 auto 1rem;
    text-align: center;
}

.section-lead {
    font-size: 1rem;
    color: hsl(var(--foreground));
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.inclusions-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.inclusions-list li {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    transition: all 0.2s ease;
}

.inclusions-list li:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.inclusion-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--muted));
    color: hsl(var(--foreground));
}

.inclusion-icon i {
    font-size: 1.125rem;
}

.inclusions-list li span:last-child {
    font-size: 1rem;
    color: hsl(var(--foreground));
    line-height: 1.5;
}

/* ================================================
   DIFFERENTIATOR SECTION
   ================================================ */
.service-differentiator {
    padding: 8rem 0;
    background: hsl(var(--background));
}

.service-differentiator .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.differentiator-content h2 {
    font-size: 2.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 2rem;
}

.differentiator-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

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

.differentiator-image .image-placeholder {
    min-height: 500px;
}

/* ================================================
   PROCESS SECTION
   ================================================ */
.service-process {
    padding: 8rem 0;
    background: hsl(var(--muted));
}

.process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.process-header h2 {
    font-size: 2.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
}

.process-header p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: hsl(var(--muted-foreground));
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 0;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid hsl(var(--border));
    position: relative;
}

.process-step:first-child {
    padding-top: 0;
}

.process-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-number {
    font-size: 3rem;
    font-weight: 300;
    color: #BB9C64;
    line-height: 1;
    font-family: 'BlackerDisplay', sans-serif;
    min-width: 80px;
}

.step-content h3 {
    font-size: 1.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
}

/* ================================================
   PERFECT FOR SECTION
   ================================================ */
.service-ideal-clients {
    padding: 8rem 0;
    background: hsl(var(--background));
}

.service-ideal-clients h2 {
    font-size: 2.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
    text-align: center;
}

.ideal-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.ideal-list li {
    padding: 1.25rem 1.5rem;
    background: hsl(var(--muted));
    font-size: 1rem;
    color: hsl(var(--foreground));
    line-height: 1.6;
    position: relative;
    padding-left: 3.5rem;
}

.ideal-list li::before {
    content: '—';
    position: absolute;
    left: 1.5rem;
    color: #BB9C64;
    font-weight: 600;
}

/* ================================================
   RESULTS SECTION
   ================================================ */
.service-results {
    padding: 8rem 0;
    background: hsl(var(--muted));
}

.service-results h2 {
    font-size: 2.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
    text-align: center;
}

.results-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.results-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
}

.result-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #BB9C64;
    color: hsl(0 0% 100%);
    border-radius: 50%;
}

.result-icon i {
    font-size: 0.75rem;
}

.results-list li span:last-child {
    font-size: 1rem;
    color: hsl(var(--foreground));
    line-height: 1.5;
}

/* ================================================
   PORTFOLIO CTA SECTION
   ================================================ */
.portfolio-cta {
    padding: 8rem 0;
    background: hsl(var(--background));
    text-align: center;
}

.portfolio-cta h2 {
    font-size: 2.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
}

.portfolio-cta p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.portfolio-cta .cta-button.primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    display: inline-flex;
}

.portfolio-cta .cta-button.primary:hover {
    background: hsl(var(--primary) / 0.9);
}

/* ================================================
   FAQ SECTION
   ================================================ */
.service-faq {
    padding: 8rem 0;
    background: hsl(var(--muted));
}

.service-faq h2 {
    font-size: 2.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 3rem;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid hsl(var(--border));
}

.faq-item:first-child {
    border-top: 1px solid hsl(var(--border));
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: color 0.2s ease;
}

.faq-question span {
    font-size: 1.125rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    padding-right: 2rem;
}

.faq-question i {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    transition: transform 0.3s ease;
}

.faq-question:hover span {
    color: #BB9C64;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
}

/* ================================================
   RELATED SERVICES SECTION
   ================================================ */
.related-services {
    padding: 8rem 0;
    background: hsl(var(--background));
}

.related-services h2 {
    font-size: 2rem;
    color: hsl(var(--foreground));
    margin-bottom: 3rem;
    text-align: center;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.related-service-card {
    padding: 2.5rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-service-card:hover {
    border-color: hsl(var(--foreground) / 0.2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.related-service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--muted));
    margin-bottom: 1.5rem;
}

.related-service-icon i {
    font-size: 1.25rem;
    color: hsl(var(--foreground));
}

.related-service-card h3 {
    font-size: 1.25rem;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.related-service-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.learn-more {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.related-service-card:hover .learn-more {
    gap: 0.75rem;
    color: #BB9C64;
}

/* ================================================
   CONTACT FORM SECTION
   ================================================ */
.service-contact {
    padding: 8rem 0;
    background: hsl(var(--muted));
}

.contact-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
}

.contact-header p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: hsl(var(--muted-foreground));
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: hsl(var(--card));
    padding: 3rem;
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 1.25rem;
    color: hsl(var(--foreground));
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.inquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.inquiry-form .form-group {
    margin-bottom: 0;
}

.inquiry-form .form-group.full-width {
    margin-bottom: 1.5rem;
}

.inquiry-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.inquiry-form label .required {
    color: hsl(var(--destructive));
}

.inquiry-form label .optional {
    color: hsl(var(--muted-foreground));
    font-weight: 400;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid hsl(var(--input));
    background: hsl(var(--background));
    font-size: 0.875rem;
    font-family: inherit;
    color: hsl(var(--foreground));
    transition: all 0.2s ease;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: hsl(var(--muted-foreground));
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 3px hsl(var(--ring) / 0.1);
}

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

.inquiry-form .submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.inquiry-form .submit-btn:hover {
    background: hsl(var(--primary) / 0.9);
}

.form-note {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
    margin-top: 1.5rem;
    line-height: 1.5;
}

/* Form Validation Errors */
.form-group.error input,
.form-group.error textarea {
    border-color: hsl(var(--destructive));
}

.form-group.error input:focus,
.form-group.error textarea:focus {
    box-shadow: 0 0 0 3px hsl(var(--destructive) / 0.1);
}

.error-message {
    display: block;
    font-size: 0.8125rem;
    color: hsl(var(--destructive));
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: 3rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #BB9C64;
    border-radius: 50%;
}

.success-icon i {
    font-size: 2.5rem;
    color: hsl(0 0% 100%);
}

.form-success h3 {
    font-size: 1.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.form-success p {
    font-size: 1rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.form-success .cta-button.secondary {
    background: transparent;
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
    display: inline-flex;
}

.form-success .cta-button.secondary:hover {
    background: hsl(var(--muted));
    border-color: hsl(var(--foreground) / 0.2);
}

/* ================================================
   RESPONSIVE STYLES
   ================================================ */
@media (max-width: 1024px) {
    .service-differentiator .container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .differentiator-image {
        order: -1;
    }

    .related-services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1.125rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .cta-button.primary,
    .cta-button.secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .service-intro,
    .service-inclusions,
    .service-differentiator,
    .service-process,
    .service-ideal-clients,
    .service-results,
    .portfolio-cta,
    .service-faq,
    .related-services,
    .service-contact {
        padding: 5rem 0;
    }

    .intro-content h2,
    .service-inclusions h2,
    .differentiator-content h2,
    .process-header h2,
    .service-ideal-clients h2,
    .service-results h2,
    .portfolio-cta h2,
    .service-faq h2,
    .contact-header h2 {
        font-size: 2rem;
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step-number {
        font-size: 2rem;
    }

    .inquiry-form .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .full-width-image .image-placeholder {
        min-height: 40vh;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 2rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .service-hero-content {
        padding: 0 1.5rem;
    }

    .intro-content h2,
    .service-inclusions h2,
    .differentiator-content h2,
    .process-header h2,
    .service-ideal-clients h2,
    .service-results h2,
    .portfolio-cta h2,
    .service-faq h2,
    .contact-header h2 {
        font-size: 1.75rem;
    }

    .section-intro,
    .intro-content p,
    .differentiator-content p,
    .process-header p,
    .contact-header p,
    .portfolio-cta p {
        font-size: 1rem;
    }

    .inclusions-list li,
    .results-list li {
        padding: 1rem;
    }

    .inclusion-icon,
    .result-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .faq-question span {
        font-size: 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-title {
        font-size: 1.125rem;
    }
}
