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

:root {
    /* 和風の伝統色 */
    --washi: #F5F3E9;  /* 和紙色 - メイン背景 */
    --sumi: #2C2C2C;   /* 墨色 - テキスト */
    --beni: #B73E3E;   /* 紅色 - アクセント */
    --ai: #0B5474;     /* 藍色 - セカンダリカラー */
    --matsu: #316745;  /* 松葉色 - サブカラー */
    --sakura: #FFF0F5; /* 桜色 - 淡いアクセント */
    --enji: #8B4B62;   /* 臙脂色 - 深いアクセント */
    --koke: #838B5B;   /* 苔色 - ナチュラル */
}

body {
    font-family: 'Noto Serif JP', serif;
    background: linear-gradient(180deg, #F5F3E9 0%, #F9F7F1 100%);
    color: var(--sumi);
    line-height: 1.8;
    min-height: 100vh;
    position: relative;
}

/* Japanese Pattern Background - 麻の葉模様風 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 30px,
            rgba(11, 84, 116, 0.03) 30px,
            rgba(11, 84, 116, 0.03) 31px
        ),
        repeating-linear-gradient(
            -60deg,
            transparent,
            transparent 30px,
            rgba(49, 103, 69, 0.03) 30px,
            rgba(49, 103, 69, 0.03) 31px
        );
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--sumi);
}

/* Header */
/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.lang-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(11, 84, 116, 0.2);
    border-radius: 20px;
    text-decoration: none;
    color: var(--ai);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(11, 84, 116, 0.1);
    border-color: var(--ai);
    color: var(--sumi);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: var(--ai);
    color: white;
    border-color: var(--ai);
}

.lang-btn.active:hover {
    background: var(--beni);
    border-color: var(--beni);
}

header {
    padding: 70px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, rgba(245, 243, 233, 0.95) 0%, rgba(249, 247, 241, 0.98) 100%);
    border-bottom: 1px solid rgba(11, 84, 116, 0.2);
    overflow: hidden;
}

/* Decorative Japanese Elements */
header::before {
    content: '一 二 三';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--ai);
    opacity: 0.15;
    font-size: 14px;
    letter-spacing: 20px;
    font-weight: 300;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--beni) 20%,
        transparent 40%,
        transparent 60%,
        var(--ai) 80%,
        transparent
    );
}

.logo {
    margin-bottom: 25px;
    position: relative;
}

.logo img {
    max-width: 200px;
    height: auto;
    filter: sepia(20%) contrast(1.1);
}

.logo .profile-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--ai);
    box-shadow: 0 8px 25px rgba(11, 84, 116, 0.3);
    filter: none;
    transition: all 0.3s ease;
}

.logo .profile-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(183, 62, 62, 0.3);
    border-color: var(--beni);
}

.tagline {
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    font-size: 18px;
    color: var(--ai);
    letter-spacing: 1.5px;
    font-weight: 500;
    position: relative;
    padding: 0 40px;
    margin-top: 20px;
    line-height: 1.6;
    font-feature-settings: "palt" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tagline::before,
.tagline::after {
    content: '〜';
    position: absolute;
    color: var(--beni);
    opacity: 0.5;
    font-size: 0.9em;
}

.tagline::before {
    left: 8px;
}

.tagline::after {
    right: 8px;
}

/* Profile Description in Header */
.profile-description {
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.profile-description p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--sumi);
    margin-bottom: 22px;
    letter-spacing: 0.02em;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.profile-description .profile-intro {
    font-size: 17px;
    font-weight: 600;
    color: var(--ai);
    margin-bottom: 28px;
}

.profile-description .profile-work {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.profile-description .profile-mission {
    background: rgba(255, 240, 245, 0.2);
    padding: 18px;
    border-radius: 4px;
    border: 1px solid rgba(183, 62, 62, 0.1);
    margin-bottom: 28px;
}

.profile-description .profile-mission .highlight {
    color: var(--beni);
    font-weight: 600;
    font-size: 17px;
}

.profile-description .profile-cta {
    background: rgba(11, 84, 116, 0.06);
    padding: 18px;
    border-radius: 4px;
    border: 1px solid rgba(11, 84, 116, 0.1);
    font-weight: 500;
    color: var(--ai);
    margin-bottom: 0;
    font-size: 16px;
}

/* Section Titles */
.section-title {
    font-size: 28px;
    color: var(--ai);
    text-align: center;
    margin: 60px 0 40px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1.3;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--beni), transparent);
}

.section-title::after {
    content: '○';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--beni);
    font-size: 10px;
    font-weight: 300;
}

/* Link Items */
.link-item {
    margin-bottom: 20px;
    position: relative;
}

.link-button {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(11, 84, 116, 0.15);
    border-radius: 3px;
    text-decoration: none;
    color: var(--sumi);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Link Button with Image */
.link-button.with-image {
    flex-direction: row;
    padding: 0;
    align-items: stretch;
    min-height: 140px;
    background: rgba(255, 255, 255, 0.9);
}

.link-image {
    width: 180px;
    min-width: 180px;
    height: 140px;
    overflow: hidden;
    border-radius: 3px 0 0 3px;
    background: rgba(245, 243, 233, 0.5);
    position: relative;
}

/* Masu個人の仕事の画像デザイン */
.personal-services .link-image {
    width: 150px;
    min-width: 150px;
    height: 150px;
    border-radius: 8px;
    border: 2px solid var(--ai);
    background: linear-gradient(135deg, rgba(245, 243, 233, 0.9), rgba(255, 255, 255, 0.7));
    box-shadow: inset 0 2px 5px rgba(11, 84, 116, 0.1);
    margin: -5px 15px -5px 0;
}

.personal-services .link-image img {
    border-radius: 6px;
    transform: scale(0.95);
}

.personal-services .link-button.with-image:hover .link-image {
    border-color: var(--beni);
    box-shadow: inset 0 2px 5px rgba(183, 62, 62, 0.15),
                0 4px 15px rgba(183, 62, 62, 0.2);
}

.personal-services .link-button.with-image:hover .link-image img {
    transform: scale(1);
}

/* FOMUS関連サービスの画像を正方形に */
.fomus-services .link-image {
    width: 140px;
    min-width: 140px;
    height: 140px;
    border-radius: 8px;
    border: 1px solid rgba(11, 84, 116, 0.15);
}

.link-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 60%, rgba(183, 62, 62, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 個人サービスの画像には::afterエフェクトを適用しない */
.personal-services .link-image::after {
    display: none;
}

.link-button.with-image:hover .link-image::after {
    opacity: 1;
}

.link-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: saturate(0.9);
}

.link-button.with-image:hover .link-image img {
    transform: scale(1.08);
    filter: saturate(1);
}

.link-info {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    width: 100%;
    flex: 1;
    background: transparent;
    transition: all 0.3s ease;
}

.link-content.full-width {
    flex: 1;
    text-align: left;
    padding-left: 10px;
}

/* Decorative line for links - 和風の筆のような線 */
.link-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--beni), transparent);
    transition: left 0.5s ease;
    transform: translateY(-50%);
}

.link-button:hover::before {
    left: 0;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 62, 62, 0.15);
    border-color: var(--beni);
    background: rgba(255, 255, 255, 0.95);
}

.link-button.with-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 84, 116, 0.15);
}

.link-button.with-image:hover .link-info {
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.icon {
    font-size: 26px;
    margin-right: 18px;
    min-width: 35px;
    filter: saturate(0.8);
}

.link-button:hover .icon {
    filter: saturate(1.2);
}

.link-content h3 {
    font-size: 19px;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--ai);
    line-height: 1.3;
}

.link-content p {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: var(--sumi);
}

.link-content p strong {
    font-size: 12px;
    display: inline-block;
    margin-top: 5px;
    font-weight: 600;
}

.link-button:hover .link-content h3 {
    color: var(--beni);
}

.link-button:hover .link-content p {
    opacity: 0.9;
}

/* Portfolio Slideshow */
.portfolio {
    margin: 80px 0;
    position: relative;
}

.portfolio::before {
    content: '作品集';
    position: absolute;
    top: -45px;
    right: 20px;
    font-size: 50px;
    color: rgba(11, 84, 116, 0.08);
    font-weight: 500;
    letter-spacing: 0.15em;
    z-index: 0;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: 30px auto 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(11, 84, 116, 0.1);
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95) saturate(0.9);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.slide:hover img {
    transform: scale(1.02);
    filter: brightness(1) saturate(1);
}

/* Navigation Buttons */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 84, 116, 0.8);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-weight: 300;
}

.slide-btn:hover {
    background: var(--beni);
    transform: translateY(-50%) scale(1.1);
}

.slide-btn.prev {
    left: 15px;
    border-radius: 0 3px 3px 0;
}

.slide-btn.next {
    right: 15px;
    border-radius: 3px 0 0 3px;
}

/* Slide Indicators */
.slide-indicators {
    text-align: center;
    padding: 20px;
    background: rgba(245, 243, 233, 0.9);
}

.indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 8px;
    background: rgba(11, 84, 116, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: var(--beni);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--ai);
    transform: scale(1.3);
}

/* Fade animation */
.slide {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Sections */
.personal-services,
.corporate,
.fomus-services {
    margin: 60px 0;
    position: relative;
    padding: 20px 0;
}

/* Japanese divider between sections - 和風の区切り */
.personal-services::after,
.corporate::after {
    content: '＊　＊　＊';
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--matsu);
    opacity: 0.3;
    letter-spacing: 20px;
    font-size: 12px;
}

/* Footer */
footer {
    margin-top: 100px;
    padding: 50px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, rgba(245, 243, 233, 0.95) 0%, rgba(249, 247, 241, 1) 100%);
    border-top: 1px solid rgba(11, 84, 116, 0.2);
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--beni) 30%,
        transparent 50%,
        var(--ai) 70%,
        transparent
    );
}

footer p {
    font-family: 'Noto Serif JP', serif;
    color: var(--ai);
    font-size: 14px;
    letter-spacing: 3px;
    position: relative;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
        max-width: 100%;
    }

    .language-switcher {
        position: relative;
        top: 0;
        right: 0;
        justify-content: center;
        margin: 20px auto 30px;
        gap: 6px;
    }

    .lang-btn {
        padding: 10px 16px;
        font-size: 12px;
        border-radius: 20px;
        min-width: 70px;
        text-align: center;
    }

    header {
        padding: 50px 0 40px;
    }

    header::before {
        font-size: 12px;
        letter-spacing: 8px;
        top: 50px;
    }

    .logo .profile-image {
        width: 200px;
        height: 200px;
        border-width: 4px;
    }

    .tagline {
        font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
        font-size: 15px;
        padding: 0 20px;
        margin-bottom: 15px;
        margin-top: 18px;
        line-height: 1.4;
        letter-spacing: 1.2px;
        font-weight: 500;
        font-feature-settings: "palt" 1;
        -webkit-font-smoothing: antialiased;
    }

    .section-title {
        font-size: 22px;
        margin: 40px 0 25px;
        letter-spacing: 0.1em;
        font-weight: 600;
    }

    .section-title::before {
        width: 60px;
    }

    .link-item {
        margin-bottom: 16px;
    }

    .link-button {
        padding: 0;
        border-radius: 8px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    }

    .link-button.with-image {
        flex-direction: row;
        align-items: center;
        padding: 12px;
        min-height: auto;
        overflow: hidden;
    }

    .link-image {
        width: 100px;
        height: 80px;
        border-radius: 6px;
        min-width: 100px;
        flex-shrink: 0;
        margin-right: 12px;
    }

    .fomus-services .link-image {
        width: 90px;
        height: 90px;
        margin-right: 12px;
    }

    .corporate .link-button.with-image {
        flex-direction: column;
        padding: 0;
    }

    .corporate .link-image {
        width: 100%;
        height: 160px;
        border-radius: 8px 8px 0 0;
        margin-right: 0;
    }

    .personal-services .link-image {
        width: 100px;
        height: 100px;
        margin: 0 16px 0 0;
        border-radius: 6px;
        border-width: 2px;
        flex-shrink: 0;
    }

    .personal-services .link-button.with-image {
        flex-direction: row;
        align-items: center;
        padding: 16px;
        min-height: 120px;
    }

    .link-info {
        padding: 0 12px 0 0;
        width: 100%;
        flex: 1;
    }

    .corporate .link-info {
        padding: 16px 20px 20px;
    }

    .personal-services .link-info {
        padding: 0 16px 0 0;
        flex: 1;
    }

    .fomus-services .link-info {
        padding: 0 12px 0 0;
    }

    .link-content.full-width {
        text-align: left;
        padding-left: 0;
    }

    .corporate .link-content.full-width {
        text-align: center;
    }

    .personal-services .link-content.full-width,
    .personal-services .link-content {
        text-align: left;
        padding-left: 0;
    }

    .icon {
        font-size: 20px;
        margin-right: 12px;
        margin-bottom: 0;
    }

    .personal-services .icon {
        display: none;
    }

    .link-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
        line-height: 1.3;
        font-weight: 600;
    }

    .link-content p {
        font-size: 13px;
        line-height: 1.5;
        opacity: 0.85;
    }

    .fomus-services .link-content h3 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .fomus-services .link-content p {
        font-size: 12px;
        line-height: 1.4;
    }

    .link-content p strong {
        font-size: 12px;
        margin-top: 8px;
    }

    .slideshow-container {
        height: 280px;
        margin: 20px auto 0;
        border-radius: 8px;
    }

    .slide {
        height: 280px;
    }

    .slide-btn {
        padding: 12px 16px;
        font-size: 18px;
        border-radius: 4px;
    }

    .slide-btn.prev {
        left: 12px;
    }

    .slide-btn.next {
        right: 12px;
    }

    .slide-indicators {
        padding: 16px;
    }

    .indicator {
        width: 10px;
        height: 10px;
        margin: 0 6px;
    }

    footer {
        margin-top: 60px;
        padding: 30px 0;
    }

    .portfolio::before {
        font-size: 30px;
        top: -30px;
        right: 16px;
    }

    .profile-description {
        margin-top: 20px;
        padding: 0 8px;
    }

    .profile-description p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .profile-description .profile-intro {
        font-size: 16px;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .profile-description .profile-mission,
    .profile-description .profile-cta {
        padding: 16px;
        margin-bottom: 18px;
        border-radius: 6px;
    }

    .profile-description .profile-mission .highlight {
        font-size: 16px;
    }

    /* セクション間の余白調整 */
    .personal-services,
    .corporate,
    .fomus-services {
        margin: 40px 0;
        padding: 16px 0;
    }

    .personal-services::after,
    .corporate::after {
        bottom: -25px;
        font-size: 10px;
        letter-spacing: 15px;
    }
}

/* iPhone16 Pro Max対応 (430px) */
@media (max-width: 430px) {
    .container {
        padding: 0 14px;
    }

    .language-switcher {
        position: relative;
        top: 0;
        right: 0;
        justify-content: center;
        margin: 16px auto 25px;
        gap: 4px;
    }

    .lang-btn {
        padding: 8px 14px;
        font-size: 11px;
        min-width: 60px;
    }

    .logo .profile-image {
        width: 180px;
        height: 180px;
        border-width: 4px;
    }

    .tagline {
        font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
        font-size: 14px;
        padding: 0 16px;
        margin-top: 16px;
        line-height: 1.3;
        letter-spacing: 1px;
        font-weight: 500;
        font-feature-settings: "palt" 1;
        -webkit-font-smoothing: antialiased;
    }

    .section-title {
        font-size: 20px;
        margin: 35px 0 20px;
        font-weight: 600;
    }

    .personal-services .link-image {
        width: 90px;
        height: 90px;
        margin-right: 14px;
        border-radius: 6px;
    }

    .personal-services .link-button.with-image {
        padding: 14px;
        min-height: 110px;
    }

    .fomus-services .link-image {
        width: 80px;
        height: 80px;
        margin-right: 10px;
    }

    .fomus-services .link-button.with-image {
        padding: 10px;
        min-height: auto;
    }

    .link-content h3 {
        font-size: 15px;
        margin-bottom: 5px;
        font-weight: 600;
    }

    .link-content p {
        font-size: 12px;
        line-height: 1.4;
    }

    .fomus-services .link-content h3 {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .fomus-services .link-content p {
        font-size: 11px;
        line-height: 1.3;
    }

    .link-content p strong {
        font-size: 11px;
    }

    .slideshow-container {
        height: 260px;
        margin: 16px auto 0;
    }

    .slide {
        height: 260px;
    }

    .slide-btn {
        padding: 10px 14px;
        font-size: 16px;
    }

    .profile-description {
        padding: 0 6px;
    }

    .profile-description p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .profile-description .profile-intro {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .profile-description .profile-mission,
    .profile-description .profile-cta {
        padding: 14px;
        margin-bottom: 16px;
    }
}

/* 非常に小さなスマートフォン対応 */
@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }

    .language-switcher {
        position: relative;
        top: 0;
        right: 0;
        justify-content: center;
        margin: 14px auto 20px;
        gap: 3px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 10px;
        min-width: 55px;
    }

    .tagline {
        font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
        font-size: 13px;
        padding: 0 12px;
        margin-top: 14px;
        letter-spacing: 0.8px;
        font-weight: 500;
        font-feature-settings: "palt" 1;
        -webkit-font-smoothing: antialiased;
    }

    .logo .profile-image {
        width: 160px;
        height: 160px;
        border-width: 4px;
    }

    .section-title {
        font-size: 18px;
        margin: 30px 0 18px;
        font-weight: 600;
    }

    .personal-services .link-image {
        width: 80px;
        height: 80px;
        margin-right: 12px;
        border-radius: 5px;
    }

    .personal-services .link-button.with-image {
        padding: 12px;
        min-height: 100px;
    }

    .link-info {
        padding: 0 10px 0 0;
    }

    .corporate .link-info {
        padding: 14px 16px 16px;
    }

    .personal-services .link-info {
        padding: 0 12px 0 0;
    }

    .fomus-services .link-image {
        width: 70px;
        height: 70px;
        margin-right: 8px;
    }

    .fomus-services .link-button.with-image {
        padding: 8px;
    }

    .link-content h3 {
        font-size: 14px;
        margin-bottom: 4px;
        font-weight: 600;
    }

    .link-content p {
        font-size: 11px;
        line-height: 1.3;
    }

    .fomus-services .link-content h3 {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .fomus-services .link-content p {
        font-size: 10px;
        line-height: 1.2;
    }

    .link-content p strong {
        font-size: 10px;
    }

    .slideshow-container {
        height: 240px;
        margin: 14px auto 0;
    }

    .slide {
        height: 240px;
    }

    .slide-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .slide-indicators {
        padding: 12px;
    }

    .indicator {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }

    .profile-description {
        padding: 0 4px;
        margin-top: 16px;
    }

    .profile-description p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .profile-description .profile-intro {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .profile-description .profile-mission,
    .profile-description .profile-cta {
        padding: 12px;
        margin-bottom: 14px;
    }

    .profile-description .profile-mission .highlight {
        font-size: 15px;
    }

    .personal-services,
    .corporate,
    .fomus-services {
        margin: 30px 0;
        padding: 12px 0;
    }

    footer {
        margin-top: 50px;
        padding: 25px 0;
    }

    .portfolio::before {
        font-size: 25px;
        top: -25px;
        right: 12px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes waterRipple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.link-item,
.gallery-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.link-item:nth-child(1) { animation-delay: 0.05s; }
.link-item:nth-child(2) { animation-delay: 0.1s; }
.link-item:nth-child(3) { animation-delay: 0.15s; }
.link-item:nth-child(4) { animation-delay: 0.2s; }
.link-item:nth-child(5) { animation-delay: 0.25s; }
.link-item:nth-child(6) { animation-delay: 0.3s; }
.link-item:nth-child(7) { animation-delay: 0.35s; }
.link-item:nth-child(8) { animation-delay: 0.4s; }
.link-item:nth-child(9) { animation-delay: 0.45s; }
.link-item:nth-child(10) { animation-delay: 0.5s; }
.link-item:nth-child(11) { animation-delay: 0.55s; }
.link-item:nth-child(12) { animation-delay: 0.6s; }
.link-item:nth-child(13) { animation-delay: 0.65s; }

.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.2s; }
.gallery-item:nth-child(5) { animation-delay: 0.25s; }
.gallery-item:nth-child(6) { animation-delay: 0.3s; }

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