/* ===================================
   BLACK SHEEP TATTOO STUDIOS
   Custom Styles
===================================== */

/* --- CSS Custom Properties --- */
:root {
    --color-charcoal: #2C2C2C;
    --color-charcoal-light: #3D3D3D;
    --color-charcoal-dark: #1A1A1A;
    --color-coral: #E8735B;
    --color-coral-light: #F4978A;
    --color-coral-pale: #FDEAE6;
    --color-cream: #FAFAF8;
    --color-warm-white: #F5F3F0;
    --color-sage: #E8EDE9;
    --color-text: #2C2C2C;
    --color-text-light: #6B6B6B;
    --color-text-muted: #9A9A9A;
    --color-border: #E8E6E3;
    --color-white: #FFFFFF;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(44, 44, 44, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 44, 44, 0.08);
    --shadow-lg: 0 8px 40px rgba(44, 44, 44, 0.12);
    --shadow-coral: 0 4px 20px rgba(232, 115, 91, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-charcoal);
}

.text-coral {
    color: var(--color-coral);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-coral);
    color: var(--color-white);
    border-color: var(--color-coral);
}

.btn-primary:hover {
    background: var(--color-coral-light);
    border-color: var(--color-coral-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-coral);
}

.btn-ghost {
    background: transparent;
    color: var(--color-charcoal);
    border-color: var(--color-charcoal);
}

.btn-ghost:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Eyebrow / Section Labels --- */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-eyebrow.justify-center {
    justify-content: center;
}

.eyebrow-line {
    width: 32px;
    height: 1.5px;
    background: var(--color-coral);
    flex-shrink: 0;
}

.eyebrow-line:last-child {
    margin-left: auto;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* --- Section Titles --- */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    max-width: 560px;
    margin: 0 auto;
}

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

/* ===================================
   NAVIGATION
===================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-charcoal);
    letter-spacing: -0.02em;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--color-coral);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-coral);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--color-charcoal);
    cursor: pointer;
    line-height: 1;
}

.mobile-menu-overlay ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-charcoal);
}

.mobile-link:hover {
    color: var(--color-coral);
}

.mobile-cta {
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--color-coral);
    color: var(--color-white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
}

/* ===================================
   HERO SECTION
===================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-warm-white) 50%, var(--color-coral-pale) 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-charcoal);
}

.hero-title em {
    font-style: italic;
    color: var(--color-charcoal-light);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-charcoal);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Hero Images */
.hero-image-container {
    position: relative;
    height: 600px;
}

.hero-image-main {
    width: 75%;
    height: 80%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

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

.hero-image-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-cream);
    z-index: 3;
}

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

.hero-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--color-white);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 4;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-charcoal);
}

.hero-badge svg {
    color: var(--color-coral);
}

/* Hero Decorations */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 115, 91, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.hero-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 115, 91, 0.06) 0%, transparent 70%);
    bottom: 5%;
    left: -50px;
}

/* ===================================
   ABOUT SECTION
===================================== */
.about {
    padding: 7rem 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-image-float {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--color-coral);
    color: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-coral);
}

.about-image-float .float-number {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.85;
}

.about-image-float .float-year {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.about-content {
    max-width: 480px;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--color-coral-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-coral);
}

.feature-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-charcoal);
}

.feature-item p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===================================
   SERVICES SECTION
===================================== */
.services {
    padding: 7rem 0;
    background: var(--color-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-coral-light);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-coral-pale) 0%, rgba(232, 115, 91, 0.15) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-coral);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-coral);
    color: var(--color-white);
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.1875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-charcoal);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===================================
   PORTFOLIO SECTION
===================================== */
.portfolio {
    padding: 7rem 0;
    background: var(--color-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: auto;
    cursor: pointer;
}

.portfolio-item:nth-child(1) { aspect-ratio: 4/5; }
.portfolio-item:nth-child(2) { aspect-ratio: 1; }
.portfolio-item:nth-child(3) { aspect-ratio: 4/5; }
.portfolio-item:nth-child(4) { aspect-ratio: 1; }
.portfolio-item:nth-child(5) { aspect-ratio: 4/5; }
.portfolio-item:nth-child(6) { aspect-ratio: 1; }

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 44, 44, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-overlay span {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    transform: translateY(10px);
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-overlay span {
    transform: translateY(0);
}

/* ===================================
   TESTIMONIALS SECTION
===================================== */
.testimonials {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-charcoal-light) 100%);
}

.testimonials .section-title,
.testimonials .section-eyebrow span {
    color: var(--color-white);
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.testimonials .eyebrow-line {
    background: var(--color-coral);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-coral);
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--color-coral);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--color-white);
    font-size: 0.9375rem;
}

.author-location {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.125rem;
}

/* ===================================
   CTA SECTION
===================================== */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-coral-pale) 0%, var(--color-cream) 100%);
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.25rem;
}

.cta-text {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   CONTACT SECTION
===================================== */
.contact {
    padding: 7rem 0 4rem;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    max-width: 480px;
}

.contact-info .section-title {
    margin-bottom: 1rem;
}

.contact-text {
    color: var(--color-text-light);
    font-size: 1.0625rem;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--color-coral-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-coral);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: var(--color-charcoal);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--color-coral);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-charcoal);
    background: var(--color-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-coral);
    box-shadow: 0 0 0 3px rgba(232, 115, 91, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

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

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--color-coral-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-coral);
}

.form-success h3 {
    margin-bottom: 0.75rem;
}

.form-success p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

/* ===================================
   FOOTER
===================================== */
.footer {
    background: var(--color-charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer .logo-text {
    color: var(--color-white);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--color-coral);
}

.footer-contact p {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--color-coral);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
    color: var(--color-coral);
}

/* ===================================
   SCROLL REVEAL ANIMATIONS
===================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Start below fold elements slightly hidden for JS enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
===================================== */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 3rem;
    }
    
    .hero-image-container {
        height: 480px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 7rem 0 3rem;
        min-height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-container {
        height: 400px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .about-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about-image-float {
        right: 1rem;
        bottom: -1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-item:nth-child(n) {
        aspect-ratio: 1;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-image-container {
        height: 320px;
    }
    
    .hero-image-main {
        width: 80%;
        height: 85%;
    }
    
    .hero-image-accent {
        width: 55%;
        height: 55%;
    }
    
    .hero-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 1.75rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
