/**
 * Washington Home Improvements - About Page Styles
 * Creative animations, timeline, stats counters, signature drawing
 */

/* ========================================
   ABOUT HERO SECTION - MATCHES HOMEPAGE
   ======================================== */

.hero-about {
    background: linear-gradient(135deg, #1a2332 0%, #2a3e50 50%, #3d5a6e 100%);
    padding: var(--space-3xl) 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Blueprint pattern overlay */
.hero-about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(135, 206, 235, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(135, 206, 235, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 1;
}

.hero-about-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* Badge */
.hero-badge-about {
    display: inline-block;
    background: linear-gradient(135deg, #ff9100 0%, #ff7c00 100%);
    color: white;
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-xl);
    box-shadow: 0 4px 15px rgba(255, 145, 0, 0.3);
}

/* Heading */
.hero-about-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    letter-spacing: -1px;
}

/* Subtitle */
.hero-about-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    font-weight: 400;
}

/* CTA Buttons */
.hero-about-cta {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* ========================================
   OWNER INTRO SECTION
   ======================================== */

.owner-intro-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

/* Large Faded Star Background */
.section-bg-star {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    animation: slowRotate 60s linear infinite;
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.owner-intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
}

.owner-photo-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 20px;
    z-index: 1;
}

/* Decorative Quotation Marks */
.quote-mark {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.quote-left {
    top: -40px;
    left: -20px;
    animation: quoteFloat1 6s ease-in-out infinite;
}

.quote-right {
    bottom: -40px;
    right: -60px;
    animation: quoteFloat2 6s ease-in-out infinite;
}

@keyframes quoteFloat1 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes quoteFloat2 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Decorative Gradient Shapes */
.bg-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.shape-1 {
    top: -50px;
    right: -80px;
    width: 350px;
    height: 350px;
    animation: shapeFloat1 8s ease-in-out infinite;
}

.shape-2 {
    bottom: -60px;
    left: -80px;
    width: 300px;
    height: 300px;
    animation: shapeFloat2 10s ease-in-out infinite;
}

@keyframes shapeFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-20px, 20px) scale(1.05);
    }
}

@keyframes shapeFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(15px, -15px) scale(1.08);
    }
}

.photo-frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    display: flex;
    justify-content: center;
}

.owner-photo {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2));
}

.photo-frame:hover .owner-photo {
    transform: scale(1.01);
}

.owner-message-container {
    padding: var(--space-xl);
}

.owner-message-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #1a2332;
    margin-bottom: var(--space-lg);
}

.founder-message {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: var(--space-lg);
}

.owner-signature {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ff9100;
    font-style: italic;
    margin-top: var(--space-xl);
}

/* ========================================
   STATS SECTION - ANIMATED COUNTERS
   ======================================== */

.stats-section {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    padding: calc(var(--space-3xl) * 1.5) 0;
    position: relative;
    overflow: hidden;
}

/* Faded Ribbon Background for Stats */
.section-bg-ribbon {
    position: absolute;
    bottom: -50px;
    left: -80px;
    width: 500px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-30deg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
}

.stat-card {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 145, 0, 0.1);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 145, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #ff9100;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #ff9100;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #87CEEB;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   MILESTONES SECTION - MODERN CARDS
   ======================================== */

.milestones-section {
    padding: calc(var(--space-3xl) * 1.5) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.milestones-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff9100, transparent);
}

.milestones-section .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #1a2332;
    margin-bottom: var(--space-md);
}

.milestones-section .section-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: var(--space-3xl);
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.milestone-card {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 145, 0, 0.3);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.milestone-card:hover {
    border-color: #ff9100;
    box-shadow: 0 12px 32px rgba(255, 145, 0, 0.4);
    transform: translateY(-8px);
}

.milestone-icon {
    margin-bottom: var(--space-md);
    display: inline-block;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.milestone-icon::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(20px);
}

.milestone-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.milestone-card:hover .milestone-icon img {
    transform: scale(1.15);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.milestone-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ff9100;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.milestone-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #87CEEB;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.milestone-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* ========================================
   STORY SECTION
   ======================================== */

.story-section {
    padding: calc(var(--space-3xl) * 1.5) 0;
    background: #f8f9fa;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.story-section .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #1a2332;
    margin-bottom: var(--space-lg);
}

.story-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4a5568;
}

.story-text p {
    margin-bottom: var(--space-lg);
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-image .image-placeholder {
    background: #f8f9fa;
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cbd5e0;
    color: #a0aec0;
    font-weight: 600;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 968px) {
    .hero-about {
        min-height: 500px;
        padding: var(--space-2xl) var(--space-lg);
    }

    .hero-about-content {
        padding: 0 var(--space-md);
    }

    .hero-about-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-about-cta .btn-home {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }

    .owner-intro-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        max-width: 95%;
    }

    .owner-photo-container {
        max-width: 100%;
        padding: 20px 10px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .milestones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .milestone-icon img {
        width: 75px;
        height: 75px;
    }

    .why-choose-icon::before {
        width: 100px;
        height: 100px;
    }

    .why-choose-icon img {
        width: 80px;
        height: 80px;
    }

    .service-card-image {
        height: 160px;
    }

    .service-card-image::before {
        width: 140px;
        height: 140px;
    }

    .service-card-image img {
        width: 140px;
        height: 140px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 640px) {
    .hero-about {
        min-height: 450px;
        padding: var(--space-xl) var(--space-md);
    }

    .hero-badge-about {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-md);
    }

    .hero-about-title {
        font-size: 2rem;
    }

    .hero-about-subtitle {
        font-size: 0.9375rem;
    }

    .owner-intro-section {
        padding: var(--space-2xl) var(--space-md);
    }

    .owner-photo-container {
        max-width: 100%;
        padding: 20px 10px;
    }

    .owner-message-container {
        padding: 0;
    }

    .owner-message-title {
        text-align: center;
    }

    .founder-message {
        font-size: 1rem;
    }

    .section-bg-star {
        width: 400px;
        height: 400px;
        top: -50px;
        right: -50px;
    }

    .decorative-ribbon {
        width: 200px;
        top: -20px;
        left: -40px;
    }

    .quote-mark {
        width: 120px;
        height: 120px;
        opacity: 0.3;
    }

    .quote-left {
        top: -20px;
        left: -10px;
    }

    .quote-right {
        bottom: -20px;
        right: -30px;
    }

    .bg-shape {
        opacity: 0.2;
    }

    .shape-1 {
        width: 250px;
        height: 250px;
        top: -30px;
        right: -50px;
    }

    .shape-2 {
        width: 220px;
        height: 220px;
        bottom: -40px;
        left: -50px;
    }

    .section-bg-ribbon {
        width: 300px;
    }

    .section-bg-star-values {
        width: 450px;
        height: 450px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .milestones-grid {
        grid-template-columns: 1fr;
    }

    .milestone-icon {
        height: 90px;
    }

    .milestone-icon::before {
        width: 100px;
        height: 100px;
    }

    .milestone-icon img {
        width: 70px;
        height: 70px;
    }

    .why-choose-icon::before {
        width: 90px;
        height: 90px;
    }

    .why-choose-icon img {
        width: 70px;
        height: 70px;
    }

    .service-card-image {
        height: 140px;
    }

    .service-card-image::before {
        width: 120px;
        height: 120px;
    }

    .service-card-image img {
        width: 120px;
        height: 120px;
    }
}

/* ========================================
   WHY CHOOSE / VALUES SECTION
   ======================================== */

.why-choose-section {
    position: relative;
    overflow: hidden;
}

/* Faded Star Background for Values */
.section-bg-star-values {
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 700px;
    height: 700px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
    animation: slowRotate 80s linear infinite reverse;
}

.why-choose-icon {
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    position: relative;
}

.why-choose-icon::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(15px);
}

.why-choose-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.why-choose-card:hover .why-choose-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

/* ========================================
   SERVICE DETAIL SECTION ICONS
   ======================================== */

.service-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    height: 180px;
    position: relative;
}

.service-card-image::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(15px);
}

.service-card-image img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.service-detail-card:hover .service-card-image img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}
