/*
Theme Name: Fullishart Theme
Theme URI: 
Author: Elinam QUist
Author URI: 
Description: Custom theme for Fullishart
Version: 2.0
*/

@font-face {
    font-family: 'Recoleta';
    src: url('fonts/Recoleta-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6,
.site-branding .site-title {
    font-family: 'Recoleta', Georgia, serif!important;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Global Link Styles */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* Specific link styles can override the global styles */
.home-link,
.contact-email,
.primary-menu a {
    text-decoration: none;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
}

.site-branding .site-title {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 1.2em;
}

.site-branding .custom-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.site-branding .custom-logo-link img,
.site-branding img.custom-logo {
    display: block;
    max-height: 32px;
    width: auto;
    height: auto;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2000;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Primary Navigation */
.primary-navigation {
    margin: 0;
    padding: 0;
}

.primary-menu,
.primary-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.primary-menu li,
.primary-menu li a {
    padding: 0;
    margin: 0;
    line-height: 1;
    display: block;
}

.primary-menu a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    position: relative;
}

.primary-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #E31E24;
    transition: width 0.3s ease;
}

.primary-menu a:hover:after {
    width: 100%;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    body.menu-is-active {
        overflow: hidden;
    }

    header {
        padding: 15px 20px;
    }

    .primary-navigation {
        display: none;
    }

    .primary-navigation.is-active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        padding: 100px 40px 40px;
        z-index: 1500;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 2000;
    }

    .primary-menu,
    .primary-menu ul {
        flex-direction: column;
        gap: 40px;
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .primary-menu li,
    .primary-menu li a {
        line-height: 1.2;
        padding: 0;
    }

    .primary-menu a {
        font-size: 32px;
        font-weight: 400;
        display: inline-block;
        padding: 0;
    }

    .primary-menu a:after {
        display: none;
    }

    /* Hamburger Animation */
    .menu-toggle.is-active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .menu-toggle.is-active .hamburger-line {
        background-color: #000;
    }

    /* Ensure mobile menu also shows active states */
    .primary-menu li.current-menu-item > a,
    .primary-menu li.current-page-ancestor > a,
    .primary-menu li.current_page_parent > a {
        color: #E31E24;
    }
    
    .primary-menu a:after,
    .primary-menu li.current-menu-item > a:after,
    .primary-menu li.current-page-ancestor > a:after,
    .primary-menu li.current_page_parent > a:after {
        display: none;
    }
}

.hero {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
}

.hero-left,
.hero-right {
    min-height: 0;
    box-sizing: border-box;
}

.hero-left {
    position: relative;
    flex: 0 0 60%;
    max-width: 60%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #DF1F26;
    padding: clamp(24px, 5vw, 64px);
}

.hero-left .hero-text {

    width: 100%;
}

.hero-text h1 {
    font-family: 'Recoleta', 'Montserrat', sans-serif !important;
    color: rgb(255, 255, 255);
    font-weight: bolder;
    font-size: clamp(2rem, 6vw, 5.8em);
    line-height: 1.05;
    max-width: 95%;
    text-transform: capitalize;
    margin: 0 0 1.25rem;
}

.hero-left p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.5;
    color: white;
    margin: 0;
    max-width: 36em;
}

.hero-right {
    flex: 0 0 40%;
    max-width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFDEA7;
    padding: clamp(20px, 4vw, 48px);
}

.hero-right img {
    max-height: min(72vh, 100%);
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.hero-scroll {
    position: absolute;
    right: clamp(20px, 4vw, 48px);
    bottom: clamp(24px, 5vh, 56px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: lowercase;
    text-decoration: none;
    opacity: 0.95;
    transition: opacity 0.25s ease;
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
    opacity: 1;
    outline: none;
}

.hero-scroll__label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    font-weight: 700;
}

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

.hero-scroll__icon {
    display: block;
    line-height: 0;
    color: inherit;
    animation: hero-scroll-bounce 1.35s ease-in-out infinite;
}

.hero-scroll__svg {
    display: block;
    width: 28px;
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll__icon {
        animation: none;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        min-height: auto;
    }

    .hero-right {
        display: none;
    }

    .hero-left {
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
        min-height: min(78vh, 680px);
        min-height: min(78dvh, 680px);
        display: grid;
        grid-template-rows: minmax(56px, 1fr) auto auto minmax(48px, 1fr);
        align-items: center;
        justify-items: stretch;
        padding-left: clamp(20px, 5vw, 28px);
        padding-right: clamp(20px, 5vw, 28px);
        padding-top: max(88px, calc(env(safe-area-inset-top, 0px) + 72px));
        padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
    }

    .hero-left .hero-text {
        grid-row: 2;
        justify-self: start;
        width: 100%;
    }

    .hero-text h1 {
        font-size: clamp(3.15rem, 12.5vw, 4.75rem);
        line-height: 1.06;
        max-width: 100%;
        margin-bottom: clamp(1rem, 4vw, 1.5rem);
    }

    .hero-left p {
        font-size: clamp(1.05rem, 3.8vw, 1.2rem);
        line-height: 1.45;
        max-width: 100%;
    }

    .hero-scroll {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        grid-row: 3;
        justify-self: center;
        margin-top: clamp(36px, 9vw, 64px);
    }

    .hero-scroll__svg {
        width: 32px;
    }
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.client-logos {
    padding: 60px 20px;
    background-color: #fafafa;
    text-align: center;
}

.client-logos {
    padding: 80px 0;
    background: #f8f8f8;
    text-align: center;
}

.client-logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.client-logo img {
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo img:hover {
    filter: none;
}

.things-we-love {
    padding: clamp(64px, 10vw, 100px) 0;
    background: #fff;
}

.things-we-love-content {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: clamp(28px, 4vw, 64px);
    padding: 0 clamp(20px, 4vw, 48px);
    align-items: center;
}

.things-we-love-left {
    min-width: 0;
}

.things-we-love-right {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.things-we-love-right img {
    display: block;
    width: 100%;
    max-width: min(640px, 100%);
    height: auto;
    object-fit: contain;
}

.things-we-love .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #E31E24;
    margin: 0 0 clamp(40px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 600;
}

.things-we-love .highlight {
    position: relative;
    display: inline-block;
}

.things-we-love .highlight::after {
    display: none;
}

.services-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 clamp(20px, 3vw, 40px);
}

.services-col {
    display: flex;
    flex-direction: column;
    gap: clamp(36px, 5vw, 52px);
}

.service-block {
    margin: 0;
}

.service-block h3 {
    font-family: 'Recoleta', Georgia, serif;
    font-size: clamp(0.78rem, 1.05vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #E31E24;
    margin: 0 0 1rem;
    line-height: 1.35;
}

.service-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-block li {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: clamp(0.875rem, 1.15vw, 1rem);
    font-weight: 400;
    line-height: 1.55;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
}

.service-block li:last-child {
    margin-bottom: 0;
}

@media (min-width: 1200px) {
    .things-we-love-content {
        grid-template-columns: minmax(0, 56%) minmax(360px, 44%);
    }

    .things-we-love-right img {
        max-width: min(720px, 100%);
        transform: scale(1.06);
        transform-origin: center center;
    }
}

@media (max-width: 1024px) {
    .things-we-love-content {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .things-we-love-right {
        order: 2;
        justify-content: center;
        width: 100%;
    }

    .things-we-love-right img {
        max-width: min(560px, 92vw);
        transform: none;
    }
}

@media (max-width: 768px) {
    .things-we-love .section-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .services-two-col {
        grid-template-columns: 1fr;
        gap: 2rem 0;
    }

    .services-col {
        gap: 1.75rem;
    }
}

/* Footer Styles */
.site-footer {
    background-color: #E31E24;
    color: white;
    padding: 80px 20px 40px;
}

.inquiry-section {
    text-align: center;
    margin-bottom: 80px;
}

.inquiry-section h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 500;
}

.email-link {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 300;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-left .logo {
    font-weight: 600;
}

.footer-left .copyright {
    font-weight: 300;
}

.location {
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 20px;
}

.footer-social-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.footer-social-menu li {
    margin: 0;
}

.footer-social-menu a {
    color: white;
    text-decoration: none;
    font-weight: 300;
    transition: opacity 0.3s ease;
}

.footer-social-menu a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .inquiry-section {
        margin-bottom: 60px;
    }

    .inquiry-section h1 {
        font-size: clamp(1.2rem, 4.5vw, 1.65rem);
        line-height: 1.35;
        margin-bottom: 14px;
        font-weight: 500;
    }

    .email-link {
        font-size: 1.05rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-social-menu {
        justify-content: center;
    }
}

/* Recent Works Section */
.recent-works {
    padding: 80px 40px;
    max-width: 1512px;
    margin: 0 auto;
}

.recent-works .section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 600;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2i , 1fr);
    gap: 30px;
}

.work-item {
    position: relative;
    transition: transform 0.3s ease;
}

.work-item:hover {
    transform: translateY(-10px);
}

.work-image {
    position: relative;
    width: 100%;
    display: block;
    margin-bottom: 15px;
}

.work-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    aspect-ratio: auto;
    border-radius: 10px;
}

.work-info {
    padding: 15px 0;
}

.work-info h3 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.work-category {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .recent-works .section-title {
        font-size: 2rem;
    }
}

/* Recent Works - Masonry Grid */
.works-masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 40px;
    margin: 0 auto;
}

.masonry-item {
    break-inside: avoid;
    position: relative;
    transition: transform 0.3s ease;
}

.masonry-item a {
    text-decoration: none;
    color: inherit;
}

.masonry-item:hover {
    transform: translateY(-5px);
}

.work-image {
    position: relative;
    width: 100%;
    display: block;
    margin-bottom: 24px;
}

.work-image img {
    width: 100%;
    height: auto;
    display: block;
}

.work-info {
    padding: 0;
}

.work-info h3 {
    font-size: 24px;
    margin: 0 0 8px 0;
    font-weight: 500;
    line-height: 1.2;
}

.work-info .work-category {
    font-size: 16px;
    color: #666;
    margin: 0;
}

@media (max-width: 1200px) {
    .works-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 30px;
    }
}

@media (max-width: 768px) {
    .recent-works {
        padding: 60px 20px;
    }
    
    .works-masonry-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Single Work Template Styles */
.work-single {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.work-container {
    width: 100%;
}

.work-header {
    margin-bottom: 60px;
    text-align: center;
}

.work-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.work-categories {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.work-content {
    margin: 0 auto;
    max-width: 800px;
}

.work-content img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .work-single {
        padding: 40px 20px;
    }

    .work-header h1 {
        font-size: 2rem;
    }
}

/* Work Single Page Styles */
.work-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    margin-top: 80px;
    margin-bottom: 40px;
}

.work-hero .parallax-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 0;
    will-change: transform;
}

.work-hero .parallax-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
}

.work-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Meta Section */
.work-meta-section {
    margin-bottom: 80px;
}

.work-launch {
    margin-bottom: 40px;
}

.work-launch a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    font-size: 1em;
    padding-bottom: 2px;
}

.work-meta-info {
    display: flex;
    gap: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.meta-group {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #000;
    font-size: 0.9em;
}

.meta-label {
    color: #666;
}

.meta-label:after {
    content: ":";
}

/* Content Section */
.work-content {
    max-width: 900px;
}

.work-title {
    font-size: 4em;
    line-height: 1.1;
    margin-bottom: 40px;
    font-weight: 400;
}

.work-description {
    font-size: 1.2em;
    line-height: 1.6;
    color: #333;
}

.work-description p {
    margin-bottom: 1.5em;
}

@media (max-width: 768px) {
    .work-content-wrapper {
        padding: 0 20px;
    }

    .work-meta-info {
        flex-direction: column;
        gap: 20px;
    }

    .work-title {
        font-size: 2.5em;
    }
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Disable parallax on mobile for better performance */
@media (max-width: 768px) {
    .parallax-image {
        position: absolute;
    }
}

/* Hero Image Section */
.hero-image {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    margin-top: -2px; /* Remove any gap between navbar and hero */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Work Details Header */
.work-details-header {
    padding: 60px 20px;
    background: #fff;
    position: relative;
    z-index: 1;
}

.work-details-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
}

.work-meta {
    font-size: 0.9em;
}

.work-launch {
    margin-bottom: 30px;
}

.work-launch a {
    display: inline-block;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.work-launch a:hover {
    color: #E31E24;
    border-color: #E31E24;
}

.work-meta-grid {
    display: grid;
    gap: 20px;
}

.meta-item {
    display: grid;
    gap: 5px;
}

.meta-label {
    color: #666;
    font-size: 0.9em;
}

.meta-value {
    color: #333;
    font-weight: 500;
}

.work-content-header {
    max-width: 800px;
}

.work-content-header h1 {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.work-content-header p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #666;
}

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

    .work-content-header h1 {
        font-size: 2em;
    }
}

/* Works Page Styles */
.works-page {
    padding: 80px 40px;
    max-width: 1512px;
    margin: 0 auto;
}

.works-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.filter-btn:hover {
    color: #000;
    background: #f5f5f5;
}

.filter-btn.active {
    background: #000;
    color: #fff;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 40px;
    margin-bottom: 60px;
}

.work-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

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

.work-item.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.load-more-container {
    text-align: center;
    margin-top: 60px;
}

.load-more-btn {
    background: none;
    border: 2px solid #000;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.load-more-btn:hover {
    background: #000;
    color: #fff;
}

.load-more-btn.loading {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 1200px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 30px;
    }
}

@media (max-width: 768px) {
    .works-page {
        padding: 100px 20px 60px;
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 14px;
    }
}

/* Works Hero Section */
.works-hero {
    position: relative;
    height: 45vh;
    overflow: hidden;
    margin-top: 80px;
}

.parallax-container {
    position: relative;
    z-index: 1;
}

.parallax-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
}

.parallax-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
}

.hero-content {
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Update works page padding */
.works-page {
    padding: 80px 40px;
    max-width: 1512px;
    margin: 0 auto;
}

/* Responsive styles for hero */
@media (max-width: 1024px) {
    .works-hero {
        height: 40vh;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .works-hero {
        height: 35vh;
        margin-top: 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* About Page Styles */
.about-page {
    padding: 120px 0;
    background: #fff;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-header-content {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 2fr;
    gap: 60px;
    margin-bottom: 120px;
    align-items: flex-start;
}

.about-title h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 400;
    margin: 0;
}

.about-description {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.about-description p {
    margin-bottom: 1.5em;
}

.office-details {
    margin-bottom: 120px;
}

.office-info {
    max-width: 600px;
}

.office-location h2 {
    font-size: 24px;
    margin: 0 0 20px;
    font-weight: 500;
}

.office-address {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    white-space: pre-line;
}

.office-phone,
.office-email {
    margin-bottom: 10px;
}

.office-phone a,
.office-email a {
    color: inherit;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
}

.team-section {
    margin-bottom: 80px;
}

.team-section h2 {
    font-size: 32px;
    margin: 0 0 40px;
    font-weight: 500;
}

.team-description {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
}

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

.team-member {
    margin-bottom: 40px;
}

.member-image {
    margin-bottom: 20px;
}

.member-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.team-member:hover .member-image img {
    filter: grayscale(0);
}

.member-info h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 5px;
}

.member-role {
    font-size: 16px;
    color: #666;
    margin: 0;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .about-header-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .about-page {
        padding: 80px 0;
    }

    .about-container {
        padding: 0 20px;
    }

    .about-header-content {
        margin-bottom: 80px;
    }

    .about-title h1 {
        font-size: 40px;
    }

    .about-description {
        font-size: 16px;
    }

    .office-details {
        margin-bottom: 80px;
    }

    .office-location h2 {
        font-size: 20px;
    }

    .office-address,
    .office-phone a,
    .office-email a {
        font-size: 16px;
    }

    .team-section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .team-description {
        font-size: 16px;
    }
}

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

/* 404 Error Page Styles */
.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f8f8f8;
}

.error-container {
    max-width: 600px;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.error-404 h1 {
    font-size: 120px;
    line-height: 1;
    margin: 0 0 20px;
    color: #E31E24;
    font-weight: 700;
}

.error-404 h2 {
    font-size: 32px;
    margin: 0 0 20px;
    color: #333;
}

.error-404 p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 40px;
}

.error-actions {
    margin-top: 30px;
}

.error-404 .home-link {
    display: inline-block;
    padding: 15px 30px;
    background-color: #E31E24;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.error-404 .home-link:hover {
    background-color: #c01920;
}

@media (max-width: 768px) {
    .error-404 h1 {
        font-size: 80px;
    }
    
    .error-404 h2 {
        font-size: 24px;
    }
    
    .error-404 p {
        font-size: 16px;
    }
}

.two-column-section {
    display: flex;
    gap: 60px;
    margin-bottom: 120px;
}

.column-main {
    width: 60%;
}

.column-side {
    width: 40%;
}

.column-main p,
.column-side p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5em;
}

@media (max-width: 992px) {
    .two-column-section {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }

    .column-main,
    .column-side {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .column-main p,
    .column-side p {
        font-size: 16px;
    }
}

.about-logo {
    margin-bottom: 40px;
    text-align: left;
}

.about-logo img {
    max-height: 60px;
    width: auto;
}
  
  