/* ==========================================================================
   Simon Steed - Coral Theme
   IT Consultancy Website Styles
   ========================================================================== */

:root {
    /* Colors - Coral & Dark Grey Theme */
    --primary-color: #E8654A;
    --primary-dark: #D05540;
    --primary-light: #F07860;
    --secondary-color: #2C3E50;
    --secondary-dark: #1A252F;
    --accent-color: #FDF5F3;
}

/* ==========================================================================
   Scroll Progress Line - Brand Element
   ========================================================================== */

.scroll-progress-line {
    position: fixed;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 50vh;
    z-index: 100;
    pointer-events: none;
}

.progress-track {
    width: 3px;
    height: 100%;
    background: #e0e0e0;
    border-radius: 3px;
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, #5DADE2, #E74C3C, #2ECC71, #5DADE2, #F1C40F, #EC407A);
    border-radius: 3px;
    height: 0%;
    transition: height 0.15s ease-out;
}

.progress-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--dot-color);
    left: 50%;
    transform: translateX(-50%) scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.progress-dot.visible {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Position dots evenly along the track */
.progress-dot:nth-child(2) { top: 0%; }
.progress-dot:nth-child(3) { top: 20%; }
.progress-dot:nth-child(4) { top: 40%; }
.progress-dot:nth-child(5) { top: 60%; }
.progress-dot:nth-child(6) { top: 80%; }
.progress-dot:nth-child(7) { top: 100%; }

/* Hide on mobile */
@media (max-width: 1200px) {
    .scroll-progress-line {
        display: none;
    }
}

/* ==========================================================================
   Hide Dog Training Specific Elements
   ========================================================================== */

.hero-paws,
.paw,
.paw-trail,
.paw-pattern,
.product-showcase,
.product-showcase-left,
.product-showcase-right,
.featured-gear,
.gear-placeholder,
.affiliate-disclosure {
    display: none !important;
}

/* ==========================================================================
   Single Header Styles
   ========================================================================== */

.site-header-full {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--bg-color) 0%, var(--bg-color) 100%);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 4px 20px rgba(0,0,0,0.03);
    padding: 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.site-header-full .container {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Logo - Left side */
.site-header-full .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity var(--transition);
    flex-shrink: 0;
}

.site-header-full .logo:hover {
    opacity: 0.85;
}

.site-header-full .logo-image {
    max-height: 52px;
    width: auto;
}

.site-header-full .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

/* Navigation Styles */
.header-nav {
    display: flex;
    align-items: center;
    margin-left: 4rem;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    font-family: Georgia, 'Times New Roman', serif;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Right side - Social, Contact, CTA */
.header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
}

/* Divider between sections */
.header-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 1.25rem;
    border-right: 1px solid rgba(0,0,0,0.08);
}

.header-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: transparent;
}

.header-social .social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
}

.header-social .social-icon svg {
    width: 18px;
    height: 18px;
}

/* Social icon brand colors */
.header-social .social-icon[title="LinkedIn"] {
    color: #0A66C2;
}

.header-social .social-icon[title="Twitter"],
.header-social .social-icon[title="X"] {
    color: #14171A;
}

.header-social .social-icon[title="GitHub"] {
    color: #24292e;
}

.header-social .social-icon[title="Facebook"] {
    color: #1877F2;
}

.header-social .social-icon[title="Instagram"] {
    color: #E4405F;
}

.header-social .social-icon[title="TikTok"] {
    color: #000000;
}

.header-social .social-icon[title="YouTube"] {
    color: #FF0000;
}

.header-social .social-icon[title="Dribbble"] {
    color: #EA4C89;
}

.header-social .social-icon[title="Stack Overflow"] {
    color: #F48024;
}

.header-social .social-icon[title="WhatsApp"] {
    color: #25D366;
}

.header-social .social-icon[title="Threads"] {
    color: #000000;
}

/* Contact links */
.header-contact {
    display: flex;
    align-items: center;
    gap: 0;
    padding-right: 1.25rem;
    border-right: 1px solid rgba(0,0,0,0.08);
}

.header-contact .contact-link {
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    padding: 0.4rem 0.3rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.header-contact .contact-link:hover {
    color: var(--primary-color);
    background-color: var(--accent-color);
}

.header-contact .contact-link .icon {
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 0.9;
}

/* CTA Button */
.site-header-full .btn-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(232, 101, 74, 0.25);
}

.site-header-full .btn-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #c04a35 100%);
    box-shadow: 0 4px 12px rgba(232, 101, 74, 0.35);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle .hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    position: relative;
    transition: background-color var(--transition);
}

.mobile-menu-toggle .hamburger::before,
.mobile-menu-toggle .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    left: 0;
    transition: transform var(--transition);
}

.mobile-menu-toggle .hamburger::before {
    top: -7px;
}

.mobile-menu-toggle .hamburger::after {
    top: 7px;
}

/* Mobile menu open state */
.mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Hero Section Adjustments
   ========================================================================== */

.site-simonsteed .hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.site-simonsteed .hero.has-slideshow {
    background: transparent;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(44, 62, 80, 0.7) 50%, rgba(232, 101, 74, 0.4) 100%);
    z-index: 1;
}

/* Slideshow Dots */
.hero-slideshow-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slideshow-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slideshow-dot.active {
    background: white;
}

.hero.has-slideshow .container {
    position: relative;
    z-index: 2;
}

.hero.has-slideshow .hero-content h1,
.hero.has-slideshow .hero-content .hero-subtitle {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero.has-slideshow .hero-content h1 {
    color: white;
}

.hero.has-slideshow .hero-social .social-icon {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero.has-slideshow .hero-social .social-icon:hover {
    opacity: 0.85;
}

.site-simonsteed .hero-content {
    max-width: 600px;
}

.site-simonsteed .hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.site-simonsteed .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */

.cta-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-banner p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
}

.cta-banner .btn {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta-banner .btn:hover {
    background-color: transparent;
    color: white;
}

/* ==========================================================================
   Footer Adjustments
   ========================================================================== */

/* ==========================================================================
   About Section (Consultant)
   ========================================================================== */

.about-section {
    padding: 5rem 0;
    background-color: var(--bg-alt);
}

.about-layout {
    overflow: hidden;
}

.about-layout.no-image .about-image {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.about-layout.no-image .about-content .section-title {
    text-align: center;
}

.about-image {
    position: relative;
    float: left;
    width: 380px;
    margin-right: 3rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.profile-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.experience-badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(232, 101, 74, 0.4);
    text-align: center;
    line-height: 1.3;
}

.about-layout.no-image .experience-badge {
    position: relative;
    bottom: auto;
    right: auto;
    display: inline-block;
}

.about-content {
    padding-top: 1rem;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Services Section (Consultant)
   ========================================================================== */

.services-section {
    padding: 5rem 0;
}

.services-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.services-section .section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-icon svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--heading-color);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Testimonials Section (Consultant)
   ========================================================================== */

.testimonials-section {
    padding: 5rem 0;
    background-color: var(--bg-alt);
}

.testimonials-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* ==========================================================================
   Footer Adjustments
   ========================================================================== */

.site-simonsteed .footer {
    background-color: var(--secondary-color);
}

.site-simonsteed .footer-cta {
    background-color: var(--primary-color);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {
    /* Header Responsive */
    .site-header-full .container {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .header-nav {
        display: none;
    }

    .header-contact {
        display: none;
    }

    .header-social {
        display: none;
    }

    .site-header-full .btn-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .site-header-full .logo-image {
        max-height: 44px;
    }

    .site-simonsteed .hero h1 {
        font-size: 2rem;
    }

    .site-simonsteed .hero {
        min-height: 500px;
    }

    .hero-slide {
        background-position: center top;
    }

    /* About Section Responsive */
    .about-image {
        float: none;
        width: 250px;
        max-width: 100%;
        margin: 0 auto 2rem;
    }

    .experience-badge {
        right: 0;
        bottom: -0.5rem;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    /* Services Responsive */
    .services-section {
        padding: 3rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Testimonials Responsive */
    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .header-content {
        gap: 1.5rem;
    }

    .header-contact .contact-text {
        display: none;
    }

    .header-contact .contact-link {
        padding: 0.5rem;
    }

    .header-contact .contact-link .icon {
        font-size: 1.1rem;
    }

    .header-contact {
        gap: 0.5rem;
        padding-right: 1rem;
    }

    .header-social {
        padding-right: 1rem;
    }

    .nav-link {
        padding: 0.5rem 1rem;
    }

    .site-header-full .btn-cta {
        padding: 0.6rem 1.25rem;
    }
}

@media (max-width: 920px) {
    .header-contact {
        display: none;
    }

    .header-social {
        border-right: none;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .top-bar-contact .btn-cta {
        display: none;
    }
}

/* ==========================================================================
   Timeline Styles
   ========================================================================== */

.timeline-section {
    padding: 4rem 0;
    background-color: var(--bg-alt);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Vertical line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem 2.5rem;
    box-sizing: border-box;
}

.timeline-item.timeline-left {
    left: 0;
    text-align: right;
    padding-right: 3rem;
}

.timeline-item.timeline-right {
    left: 50%;
    text-align: left;
    padding-left: 3rem;
}

/* Timeline marker (dot or icon) */
.timeline-marker {
    position: absolute;
    top: 1.5rem;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(232, 101, 74, 0.3);
}

.timeline-left .timeline-marker {
    right: -20px;
}

.timeline-right .timeline-marker {
    left: -20px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
}

.timeline-icon {
    color: white;
    font-size: 1rem;
}

.timeline-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Date display */
.timeline-date {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

.timeline-left .timeline-date {
    justify-content: flex-end;
}

.timeline-date .year {
    font-size: 1.25rem;
}

.timeline-date .month {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Timeline card */
.timeline-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 15px var(--shadow-color);
    text-align: left;
    transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.timeline-title {
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
    color: var(--heading-color);
}

.timeline-subtitle {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0 0 0.75rem;
}

.timeline-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Timeline responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 60px !important;
        padding-right: 1rem !important;
    }

    .timeline-marker {
        left: 0 !important;
        right: auto !important;
    }

    .timeline-date {
        justify-content: flex-start !important;
    }
}
