/*
Theme Name: Plain Canvas
Theme URI: https://darwenkitchens.co.uk
Author: Andtonic Studios
Description: Custom theme for Darwen Kitchens
Version: 1.0.0
Text Domain: plaincanvas
*/

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animate on scroll - only hide when JS is ready */
.js-ready .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-ready .animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grid items - only when JS is ready */
.js-ready .animate-stagger .step-item,
.js-ready .animate-stagger .kitchen-card,
.js-ready .animate-stagger .highlight-item,
.js-ready .animate-stagger .contact-detail-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-ready .animate-stagger.animated .step-item,
.js-ready .animate-stagger.animated .kitchen-card,
.js-ready .animate-stagger.animated .highlight-item,
.js-ready .animate-stagger.animated .contact-detail-card {
    opacity: 1;
    transform: translateY(0);
}

.js-ready .animate-stagger.animated .step-item:nth-child(1),
.js-ready .animate-stagger.animated .kitchen-card:nth-child(1),
.js-ready .animate-stagger.animated .highlight-item:nth-child(1),
.js-ready .animate-stagger.animated .contact-detail-card:nth-child(1) { transition-delay: 0.1s; }

.js-ready .animate-stagger.animated .step-item:nth-child(2),
.js-ready .animate-stagger.animated .kitchen-card:nth-child(2),
.js-ready .animate-stagger.animated .highlight-item:nth-child(2),
.js-ready .animate-stagger.animated .contact-detail-card:nth-child(2) { transition-delay: 0.2s; }

.js-ready .animate-stagger.animated .step-item:nth-child(3),
.js-ready .animate-stagger.animated .kitchen-card:nth-child(3),
.js-ready .animate-stagger.animated .highlight-item:nth-child(3),
.js-ready .animate-stagger.animated .contact-detail-card:nth-child(3) { transition-delay: 0.3s; }

.js-ready .animate-stagger.animated .step-item:nth-child(4),
.js-ready .animate-stagger.animated .kitchen-card:nth-child(4) { transition-delay: 0.4s; }

/* Hero animation */
.hero-content {
    animation: fadeInUp 1s ease 0.3s both;
}

/* Subtle hover lift effect */
.step-item,
.testimonial-card,
.highlight-item,
.contact-detail-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover,
.testimonial-card:hover,
.highlight-item:hover,
.contact-detail-card:hover {
    transform: translateY(-5px);
}

.testimonial-card:hover,
.contact-detail-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Button hover enhancement */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Icon hover rotation */
.highlight-icon,
.contact-detail-icon {
    transition: transform 0.3s ease, background 0.3s ease;
}

.highlight-item:hover .highlight-icon,
.contact-detail-card:hover .contact-detail-icon {
    transform: scale(1.1);
    background: var(--primary-dark);
}

/* Section divider animation */
.section-divider {
    transition: width 0.5s ease;
}

.animate-on-scroll.animated .section-divider {
    animation: expandWidth 0.8s ease 0.3s both;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 180px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .animate-stagger .step-item,
    .animate-stagger .kitchen-card,
    .animate-stagger .highlight-item,
    .animate-stagger .contact-detail-card {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }

    .hero-content {
        animation: none;
    }
}

/* ========================================
   CSS RESET & BASE
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* ========================================
   VARIABLES
======================================== */
:root {
    --primary: #3CBEB4;
    --primary-dark: #2FA69D;
    --primary-light: #E8F7F6;
    --dark: #1a1a1a;
    --grey-dark: #4a4a4a;
    --grey: #6b7280;
    --grey-light: #f3f4f6;
    --white: #ffffff;
    --gold: #F5A623;
    --container: 1280px;
    --container-padding: 20px;
}

/* ========================================
   UTILITIES
======================================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 42px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-title--dark {
    color: var(--dark);
}

.section-divider {
    width: 180px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 25px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--grey);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(60, 190, 180, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   HEADER
======================================== */
.site-header {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
}

/* Adjust logo and menu spacing on non-home pages */
body:not(.home) .site-logo {
    margin-top: 30px;
}

body:not(.home) .main-nav {
    margin-top: 20px;
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.site-logo {
    margin-bottom: 20px;
}

.site-logo img {
    height: 150px;
    width: auto;
}

.site-logo-text {
    text-align: center;
    color: var(--white);
}

.site-logo-text h1 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.site-logo-text span {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.main-nav {
    margin-top: -45px;
}

.main-nav ul {
    display: flex;
    gap: 40px;
}

.main-nav a {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-background img,
.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Mobile: Show fallback image instead of video for performance */
@media (max-width: 768px) {
    .hero-background video {
        display: none;
    }
    
    .hero-background .hero-fallback-image {
        display: block;
    }
}

@media (min-width: 769px) {
    .hero-background .hero-fallback-image {
        display: none;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 120px 20px 0;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero .btn {
    padding: 16px 40px;
    font-size: 17px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25); /* 0.45 = 45% opacity overlay */
    z-index: 0;
}

/* make sure the hero section is positioned */
.hero {
    position: relative;
}

/* Page hero variant - shorter than home page */
.hero--page {
    height: 60vh;
    min-height: 400px;
}

.hero--page .hero-content {
    padding-top: 160px;
}

@media (max-width: 768px) {
    .hero--page {
        height: 50vh;
        min-height: 350px;
    }
}

/* Hide featured image in page content (already shown as hero) */
.page-content .wp-post-image,
.page-content > .wp-block-post-featured-image,
.page-content > figure.wp-block-post-featured-image {
    display: none;
}


/* ========================================
   WHAT WE DO SECTION
======================================== */
.what-we-do {
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.step-item {
    text-align: left;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1;
}

.step-text {
    font-size: 15px;
    color: var(--grey);
    line-height: 1.7;
}

.what-we-do {
    padding: 60px 0;
}

/* ========================================
   FEATURED KITCHENS
======================================== */
.featured-kitchens {
    background: var(--grey-light);
}

.kitchens-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.kitchen-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.kitchen-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kitchen-card:hover img {
    transform: scale(1.08);
}

.kitchen-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kitchen-card:hover::after {
    opacity: 1;
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.testimonials {
    background: var(--white);
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.testimonials-intro {
    padding-right: 40px;
}

.quote-icon {
    font-size: 80px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}

.testimonials-intro h2 {
    font-size: 38px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 25px;
}

.testimonials-intro .divider {
    width: 120px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 25px;
}

.testimonials-intro p {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.7;
}

.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    fill: var(--gold);
}

.testimonial-text {
    font-size: 15px;
    color: var(--grey-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

.testimonial-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
}

/* ========================================
   ABOUT/CTA SECTION
======================================== */
.about-cta {
    background: var(--grey-light);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
}

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

.about-content h2 {
    font-size: 38px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-content .divider {
    width: 120px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 25px;
}

.about-content p {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-image {
    border-radius: 10px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group label .required {
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(60, 190, 180, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

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

/* Kitchen Designer CTA Section */
.kitchen-designer-cta {
    background: var(--primary);
    text-align: center;
}

.designer-cta-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.designer-cta-wrapper h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.designer-cta-wrapper p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 30px;
}

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

.btn--white:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .designer-cta-wrapper h2 {
        font-size: 28px;
    }

    .designer-cta-wrapper p {
        font-size: 16px;
    }
}

/* ========================================
   CONTACT PAGE
======================================== */
.contact-details-section {
    background: var(--white);
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-detail-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--grey-light);
    border-radius: 10px;
}

.contact-detail-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.contact-detail-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.contact-detail-card p {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.8;
}

.contact-detail-card a {
    color: var(--primary);
    font-weight: 500;
}

.contact-detail-card a:hover {
    color: var(--primary-dark);
}

.contact-detail-sub {
    font-size: 14px;
    margin-top: 10px;
    color: var(--grey);
}

.contact-form-section {
    background: var(--grey-light);
}

.contact-form-container {
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .contact-details-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

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

    .contact-detail-card {
        padding: 30px 25px;
    }
}

/* Sister Site CTA Section */
.sister-site-cta {
    background: var(--grey-light);
    text-align: center;
}

.sister-site-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.sister-site-wrapper h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.sister-site-wrapper p {
    font-size: 18px;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 30px;
}

.sister-site-cta .btn--primary {
    background: var(--primary);
    color: var(--white);
}

.sister-site-cta .btn--primary:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .sister-site-wrapper h2 {
        font-size: 28px;
    }

    .sister-site-wrapper p {
        font-size: 16px;
    }
}

/* HubSpot Form Section - Let HubSpot styles take over */
.contact-section--hubspot {
    background: var(--white);
}

.contact-section--hubspot .container {
    max-width: 1000px;
}

/* Ensure HubSpot form displays properly */
.contact-section--hubspot .hs-form-frame {
    width: 100%;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column p,
.footer-column a {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.8;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 25px;
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .steps-grid,
    .kitchens-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-wrapper,
    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonials-intro {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 0;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        padding: 20px;
    }
    
    .main-nav.active ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .steps-grid,
    .kitchens-grid {
        grid-template-columns: 1fr;
    }
    
    .kitchens-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-intro h2,
    .about-content h2 {
        font-size: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

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

    .main-nav ul {
        gap: 30px;
    }
}

/* ========================================
   ABOUT PAGE
======================================== */
.about-intro {
    background: var(--white);
}

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

.about-intro-content h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-divider--left {
    width: 120px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 30px;
}

.about-intro-text {
    font-size: 17px;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-intro-text:last-child {
    margin-bottom: 0;
}

/* Highlights/Key Points */
.about-highlights {
    background: var(--grey-light);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.highlight-item {
    text-align: center;
    padding: 30px 20px;
}

.highlight-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.highlight-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.highlight-item p {
    font-size: 15px;
    color: var(--grey);
    line-height: 1.7;
}

/* About CTA Section */
.about-cta-section {
    background: var(--primary);
    text-align: center;
}

.about-cta-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.about-cta-wrapper h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.about-cta-wrapper p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.about-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-cta-section .btn--primary {
    background: var(--white);
    color: var(--primary);
}

.about-cta-section .btn--primary:hover {
    background: var(--dark);
    color: var(--white);
}

.about-cta-section .btn--outline {
    border-color: var(--white);
    color: var(--white);
}

.about-cta-section .btn--outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* About Page Responsive */
@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .about-intro-content h2 {
        font-size: 28px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .highlight-item {
        padding: 25px 20px;
    }

    .about-cta-wrapper h2 {
        font-size: 28px;
    }

    .about-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ========================================
   PORTFOLIO / PROJECTS
======================================== */

/* Portfolio Grid - 4 columns */
.portfolio-section {
    background: var(--grey-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Project Card */
.project-card {
    display: block;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.project-card__image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.08);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__view {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid var(--white);
    border-radius: 50px;
    transition: background 0.3s ease, color 0.3s ease;
}

.project-card:hover .project-card__view {
    background: var(--white);
    color: var(--dark);
}

.project-card__content {
    padding: 20px;
}

.project-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.project-card__excerpt {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.6;
    margin: 0;
}

/* No Projects Message */
.no-projects {
    text-align: center;
    padding: 60px 20px;
    color: var(--grey);
    font-size: 18px;
}

/* ========================================
   SINGLE PROJECT
======================================== */

/* Project Description */
.project-description {
    background: var(--white);
}

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

.project-description__content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--grey-dark);
    margin-bottom: 20px;
}

.project-description__content p:last-child {
    margin-bottom: 0;
}

/* Before/After Section */
.before-after-section {
    background: var(--grey-light);
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.before-after__item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.before-after__item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.before-after__label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--dark);
    color: var(--white);
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Project Gallery */
.project-gallery-section {
    background: var(--white);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.project-gallery__item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.project-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-gallery__item:hover img {
    transform: scale(1.1);
}

.project-gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(60, 190, 180, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-gallery__item:hover .project-gallery__overlay {
    opacity: 1;
}

.project-gallery__overlay svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

/* Project Navigation */
.project-navigation {
    background: var(--grey-light);
    padding: 40px 0;
}

.project-navigation__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.project-navigation__link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--white);
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
    flex: 1;
    max-width: 300px;
}

.project-navigation__link:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.project-navigation__link--prev {
    text-align: left;
}

.project-navigation__link--next {
    text-align: right;
    flex-direction: row-reverse;
}

.project-navigation__link--disabled {
    visibility: hidden;
}

.project-navigation__arrow {
    font-size: 24px;
    color: var(--primary);
    font-weight: 300;
}

.project-navigation__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-navigation__label {
    font-size: 12px;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-navigation__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

.project-navigation__all {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.project-navigation__all:hover {
    background: var(--primary-dark);
}

.project-navigation__all svg {
    width: 16px;
    height: 16px;
}

/* Portfolio Responsive */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .project-card__content {
        padding: 15px;
    }

    .project-card__title {
        font-size: 16px;
    }

    .before-after {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .before-after__item img {
        height: 300px;
    }

    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-navigation__inner {
        flex-direction: column;
    }

    .project-navigation__link {
        max-width: 100%;
        width: 100%;
    }

    .project-navigation__link--disabled {
        display: none;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }
}

/* Stagger animation for project cards */
.js-ready .animate-stagger .project-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-ready .animate-stagger.animated .project-card {
    opacity: 1;
    transform: translateY(0);
}

.js-ready .animate-stagger.animated .project-card:nth-child(1) { transition-delay: 0.1s; }
.js-ready .animate-stagger.animated .project-card:nth-child(2) { transition-delay: 0.2s; }
.js-ready .animate-stagger.animated .project-card:nth-child(3) { transition-delay: 0.3s; }
.js-ready .animate-stagger.animated .project-card:nth-child(4) { transition-delay: 0.4s; }

/* Gallery item stagger */
.js-ready .animate-stagger .project-gallery__item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-ready .animate-stagger.animated .project-gallery__item {
    opacity: 1;
    transform: translateY(0);
}

.js-ready .animate-stagger.animated .project-gallery__item:nth-child(1) { transition-delay: 0.05s; }
.js-ready .animate-stagger.animated .project-gallery__item:nth-child(2) { transition-delay: 0.1s; }
.js-ready .animate-stagger.animated .project-gallery__item:nth-child(3) { transition-delay: 0.15s; }
.js-ready .animate-stagger.animated .project-gallery__item:nth-child(4) { transition-delay: 0.2s; }
.js-ready .animate-stagger.animated .project-gallery__item:nth-child(5) { transition-delay: 0.25s; }
.js-ready .animate-stagger.animated .project-gallery__item:nth-child(6) { transition-delay: 0.3s; }
.js-ready .animate-stagger.animated .project-gallery__item:nth-child(7) { transition-delay: 0.35s; }
.js-ready .animate-stagger.animated .project-gallery__item:nth-child(8) { transition-delay: 0.4s; }
