/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-wrap: pretty;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-wrap: pretty;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

p {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #555;
    text-wrap: pretty;
}

/* Hero Section */
.hero {
    padding: 0;
    background: #2c3e50;
    width: 100%;
}
/* Match hero typography colors to contact section */
.hero h1,
.hero h2,
.hero p { 
    color: #fff; 
}

.hero a { 
    color: #fff; 
}

.hero {
    position: relative;
    height: 600px;
}

.hero-text-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    background: #2c3e50; /* blue background behind text */
}

/*
 * Keep hero text left-aligned with the main 1280px container while the hero
 * section itself spans the full viewport for the image.
 *
 * On wide screens (>1280px):
 *   (100vw - 1280px) / 2  → left gutter of the centered container
 *   + 20px                 → container's internal left padding
 * On small screens: fallback to a 20px gutter using max().
 */
/* Keep hero text aligned with doubled container padding */
.hero-text-container .container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding-right: 40px;
    padding-left: max(40px, calc((100vw - 1280px) / 2 + 40px));
}

shaun.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background-image: url('images/shaun-martin-mascot-designer.jpg');
    background-size: contain;
    background-position: right top;
    background-repeat: no-repeat;
}

.hero-image img {
    display: none;
}

.hero-image img:hover {
    transform: none;
}


/* Sections */
.section {
    padding: 80px 0;
}

/* Implement Section (renamed from Benefits) */
.implement-content {
    display: grid;
    grid-template-columns: 2fr 1fr; /* wider copy, narrower links */
    gap: 60px;
    align-items: start;
}

.implement-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.implement-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: #e6eff9; /* subtle darker blue tint behind links column */
    padding: 15px;
    border-radius: 12px;
}

/* Remove inner card look inside the blue links column */
.implement-links .featured-link {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.implement-links .featured-link:hover {
    background: transparent;
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.featured-link {
    display: block;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.featured-link:hover {
    background: #e9ecef;
    border-color: #4A90E2;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
}

/* When featured-link is a div (not clickable), remove hover effects */
.featured-link:not(a):hover {
    background: #f8f9fa;
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.featured-link h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.featured-link h3:not(:first-child) {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #2c3e50;
}

.featured-link h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

.featured-link p {
    color: #555;
    font-size: 1rem;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.link-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4A90E2;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link-item:hover {
    color: #2c3e50;
}

.link-icon {
    font-size: 0.8rem;
    opacity: 0.8;
}

.section:nth-child(even) {
    background-color: #f8f9fa;
}

/* Price Indicator Section */
.price-section-intro {
    text-align: center;
    margin-bottom: 40px;
}

.price-indicator {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.price-display {
    margin-bottom: 40px;
}

.image-container {
    width: 100%;
    height: 0;
    padding-bottom: 60%; /* 5:3 ratio (3/5 = 0.6 = 60%) */
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}


.price-info {
    text-align: center;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.price-amount sup {
    font-size: 0.6em;
    vertical-align: super;
    font-weight: normal;
}

.price-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.price-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    white-space: pre-line;
}

.slider-section {
    margin-bottom: 30px;
    padding-bottom: 50px;
}

.slider-container {
    position: relative;
    height: 20px;
    margin-bottom: 20px;
}

.price-slider {
    width: 100%;
    height: 20px;
    background: transparent;
    outline: none;
    border: none;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 15px;
    position: relative;
}

/* Create a visual track line */
.slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

/* Add individual dots */
.slider-dots {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 20px;
    pointer-events: none;
    transform: translateY(-50%);
}

.slider-dots .slider-dot-clickable {
    pointer-events: auto;
}

.slider-dot {
    position: absolute;
    top: 50%;
    width: 26px;
    height: 26px;
    background: #e9ecef;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: background 0.3s ease;
    z-index: 2;
}

.slider-dot.hover {
    background: #d1d5db;
}

.slider-dot.active {
    background: #e9ecef;
}

.slider-dot:nth-child(1) { left: 13px; }
.slider-dot:nth-child(2) { left: calc(25% + 7px); }
.slider-dot:nth-child(3) { left: 50%; }
.slider-dot:nth-child(4) { left: calc(75% - 7px); }
.slider-dot:nth-child(5) { left: calc(100% - 13px); }

.slider-dot-clickable {
    position: absolute;
    top: 50%;
    width: 78px;
    height: 78px;
    transform: translate(-50%, -50%);
    cursor: pointer !important;
    z-index: 100;
    background: transparent;
    pointer-events: auto;
}

.slider-dot-clickable:nth-child(6) { left: 13px; }
.slider-dot-clickable:nth-child(7) { left: calc(25% + 7px); }
.slider-dot-clickable:nth-child(8) { left: 50%; }
.slider-dot-clickable:nth-child(9) { left: calc(75% - 7px); }
.slider-dot-clickable:nth-child(10) { left: calc(100% - 13px); }

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #4A90E2;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(74, 144, 226, 0.3);
    transition: none;
    position: relative;
    z-index: 2;
}

.price-slider::-webkit-slider-thumb:hover {
    background: #2c3e50;
    transform: scale(1.1);
}

.price-slider:focus {
    outline: none;
    box-shadow: none;
}

.price-slider::-webkit-slider-track {
    background: transparent;
    border: none;
    outline: none;
    height: 8px;
}

.price-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #4A90E2;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(74, 144, 226, 0.3);
    transition: none;
    position: relative;
    z-index: 2;
}

.price-slider::-moz-range-thumb:hover {
    background: #2c3e50;
    transform: scale(1.1);
}

.price-slider::-moz-range-track {
    background: transparent;
    border: none;
    outline: none;
    height: 8px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 600;
    margin-top: 5px;
    position: relative;
}

.slider-labels span {
    position: absolute;
    transform: translateX(-50%);
    text-align: center;
    white-space: pre-line;
    line-height: 1.2;
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-labels span:nth-child(1) { left: 13px; }
.slider-labels span:nth-child(2) { left: calc(25% + 7px); }
.slider-labels span:nth-child(3) { left: 50%; }
.slider-labels span:nth-child(4) { left: calc(75% - 7px); }
.slider-labels span:nth-child(5) { left: calc(100% - 13px); }

.price-disclaimer {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    margin-top: 10px;
    text-align: center;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0;
    justify-content: center;
}

.filter-btn {
    background: #fff;
    border: 2px solid #e9ecef;
    color: #555;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    border-color: #4A90E2;
    color: #4A90E2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
}

.filter-btn.active {
    background: #4A90E2;
    border-color: #4A90E2;
    color: #fff;
}

.filter-btn:focus {
    outline: none;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.image-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.image-item.loaded {
    opacity: 1;
    transform: translateY(0);
}

.image-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

.image-item.hidden {
    display: none;
}

/* Contact Section */
.contact-section {
    background: #2c3e50;
    padding: 80px 0;
}

.contact-content {
    padding: 60px 0;
}

.contact-section h2,
.contact-section h3 {
    color: #fff;
}

.contact-section p {
    color: #fff;
    margin-bottom: 2rem;
}

.contact-section .form-group label {
    color: #fff;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.recaptcha-disclosure {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 10px;
}

.recaptcha-disclosure a {
    color: #aaa;
    text-decoration: underline;
}

/* Sticky Contact Trigger */
.contact-trigger {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-trigger.hidden {
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.contact-trigger-btn {
    display: inline-block;
    background: #4A90E2;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 12px 12px 0 0;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.contact-trigger-btn:hover {
    background: #357ABD;
    color: #fff;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15);
}


/* Contact Form */
.contact-form {
    margin-top: 20px;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
}

.submit-btn {
    background: #4A90E2;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 0;
    }
    
    /* Stack hero text and image on mobile */
    .hero {
        height: auto;
        display: flex;
        flex-direction: column-reverse; /* show image first, then text */
    }

    .hero-text-container {
        position: relative;
        width: 100%;
        height: auto;
        padding: 40px 0;
    }

    .hero-text-container .container {
        padding: 0 25px;
    }

    .hero-image {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 50vh;
        min-height: 360px;
        background-size: cover;
        background-position: center top;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .filter-buttons {
        justify-content: center;
        overflow-x: auto;
        padding-top: 20px;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .contact-content {
        padding: 40px 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-trigger-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
    
    .implement-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .implement-links {
        gap: 20px;
    }
    
    .featured-link {
        padding: 25px;
    }
    
    .featured-link h3 {
        font-size: 1.3rem;
    }
    
    .placeholder-text {
        font-size: 12px;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .price-title {
        font-size: 1.1rem;
    }
    
    .price-description {
        font-size: 0.9rem;
    }
    
    .slider-labels {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Section animations removed */

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 2001;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.modal-nav {
    position: absolute;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2001;
    opacity: 0.8;
}

.modal-nav::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
}

.modal-prev::before {
    border-width: 6px 8px 6px 0;
    border-color: transparent #fff transparent transparent;
    margin-left: -2px;
}

.modal-next::before {
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #fff;
    margin-right: -2px;
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    opacity: 1;
    transform: scale(1.1);
}

.modal-prev {
    left: 10px;
}

.modal-next {
    right: 10px;
}

.modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.modal-nav:disabled:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: none;
}

/* Print styles */
@media print {
    .contact-trigger,
    .image-modal {
        display: none;
    }
}

/* Hide reCAPTCHA v3 badge while keeping attribution present elsewhere */
.grecaptcha-badge { 
    visibility: hidden;
}

/* Footer */
.site-footer {
    background: #243647; /* slightly darker dark blue than hero */
    color: #cfd8e3;
    padding: 40px 0 50px 0;
}

.site-footer a {
    color: #cfd8e3;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

#footer .colgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

#footer .jobTitle {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 8px;
}

#footer .footerText {
    color: #cfd8e3;
    margin-bottom: 0;
}

#footer .smallPrint {
    margin-top: 30px;
    text-align: center;
    color: #9fb3c8;
    font-size: 0.9rem;
}

/* Ensure whiteLink class remains readable on dark bg */
#whiteLink { color: #cfd8e3; }

@media (max-width: 768px) {
    #footer .colgrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
