/* FORMA - Boutique Architecture CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --lavender: #9B8AC4;
    --lavender-light: #C4B8E0;
    --lavender-dark: #7B6BA4;
    --blush: #E8C4C4;
    --cream: #FDF8F5;
    --peach: #F5E6E0;
    --white: #FFFFFF;
    --dark: #2D2A33;
    --gray: #7A7580;
    --light-gray: #E5E0E8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--lavender);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease, background 0.3s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--lavender);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    opacity: 0.5;
    transition: transform 0.25s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

/* Gradient Line */
.gradient-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--lavender), var(--blush), var(--lavender-light), var(--lavender));
    background-size: 300% 100%;
    animation: gradient-flow 4s ease infinite;
    z-index: 9999;
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Organic Shapes */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.organic-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--lavender-light), var(--blush));
    top: 10%;
    right: -10%;
    animation: float-organic 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--peach), var(--lavender-light));
    bottom: 20%;
    left: -5%;
    animation: float-organic 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--blush), var(--lavender));
    top: 50%;
    left: 30%;
    animation: float-organic 18s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes float-organic {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(20px, 20px) scale(1.02); }
}

/* Header */
.header {
    position: fixed;
    top: 3px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(253, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(155, 138, 196, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-shape {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--lavender), var(--blush));
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    animation: logo-morph 8s ease-in-out infinite;
}

@keyframes logo-morph {
    0%, 100% { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
    25% { border-radius: 50% 0 50% 50%; transform: rotate(0deg); }
    50% { border-radius: 0 50% 50% 50%; transform: rotate(45deg); }
    75% { border-radius: 50% 50% 0 50%; transform: rotate(90deg); }
}

.logo-text {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--dark);
    letter-spacing: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--lavender), var(--blush));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav a:hover,
.nav a.active {
    color: var(--lavender);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--lavender), var(--lavender-dark)) !important;
    color: var(--white) !important;
    padding: 14px 30px !important;
    border-radius: 30px;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(155, 138, 196, 0.4);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

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

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

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

/* Hero */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: linear-gradient(135deg, var(--peach) 0%, var(--blush) 50%, var(--lavender-light) 100%);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
    animation: hero-bg-pulse 10s ease-in-out infinite;
}

@keyframes hero-bg-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.1) rotate(5deg); opacity: 0.4; }
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 80px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: var(--lavender);
    margin-bottom: 30px;
    width: fit-content;
    box-shadow: 0 4px 20px rgba(155, 138, 196, 0.15);
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.8s ease forwards;
    animation-delay: 0.3s;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--lavender), var(--blush));
    border-radius: 50%;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-size: 68px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 25px;
}

.hero-title .word {
    display: inline-block;
    overflow: hidden;
}

.hero-title .word-inner {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

.hero-title .word-inner.visible {
    animation: word-reveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes word-reveal {
    to { transform: translateY(0); opacity: 1; }
}

.hero-title span {
    background: linear-gradient(135deg, var(--lavender), var(--lavender-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray);
    max-width: 440px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.8s ease forwards;
    animation-delay: 0.8s;
}

@keyframes fade-up {
    to { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    opacity: 0;
    animation: fade-up 0.8s ease forwards;
    animation-delay: 1s;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--lavender), var(--lavender-dark));
    color: var(--white);
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(155, 138, 196, 0.4);
}

.btn-primary svg {
    width: 16px;
    height: 16px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--dark);
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--lavender-light), var(--blush));
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: 30px;
}

.btn-secondary:hover {
    border-color: var(--lavender);
    color: var(--lavender-dark);
}

.btn-secondary:hover::before {
    width: 100%;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 80vh;
    max-height: 650px;
    border-radius: 300px 300px 40px 40px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(155, 138, 196, 0.25);
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    animation: slider-reveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes slider-reveal {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease, transform 6s ease;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.05);
}

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

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 30px;
    border-radius: 5px;
    background: var(--white);
}

.slider-nav {
    position: absolute;
    bottom: -25px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(155, 138, 196, 0.2);
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: linear-gradient(135deg, var(--lavender), var(--lavender-dark));
    transform: scale(1.1);
}

.slider-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--dark);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s ease;
}

.slider-btn:hover svg {
    stroke: var(--white);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 80px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--lavender);
    border-radius: 13px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--lavender);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

.scroll-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Page Header */
.page-header {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 150px 80px 80px;
    position: relative;
    z-index: 10;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, var(--peach) 0%, var(--blush) 50%, var(--lavender-light) 100%);
    border-radius: 0 0 0 50%;
    opacity: 0.3;
    z-index: 0;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header-content .section-label {
    justify-content: center;
}

.page-header-content .section-title {
    font-size: 64px;
    margin-bottom: 20px;
}

.page-header-content .section-desc {
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.features {
    padding: 120px 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: var(--white);
    position: relative;
    z-index: 10;
}

.feature-card {
    padding: 40px 30px;
    background: var(--cream);
    border-radius: 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--lavender-light), var(--blush));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 0.2;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(155, 138, 196, 0.2);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--lavender-light), var(--blush));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--lavender-dark);
    stroke-width: 1.5;
    fill: none;
}

.feature-title {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray);
}

/* Section Labels */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lavender);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--lavender), var(--blush));
    border-radius: 2px;
    animation: label-line 2s ease-in-out infinite;
}

@keyframes label-line {
    0%, 100% { width: 30px; }
    50% { width: 50px; }
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 25px;
}

.section-title span {
    background: linear-gradient(135deg, var(--lavender), var(--lavender-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 30px;
}

/* About */
.about {
    padding: 150px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    background: var(--cream);
    position: relative;
    z-index: 10;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
}

.about-img {
    overflow: hidden;
    border-radius: 30px;
    position: relative;
}

.about-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--lavender), var(--blush));
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left;
}

.about-img.reveal-image::before {
    animation: image-reveal 1.2s ease forwards;
}

@keyframes image-reveal {
    0% { transform: scaleX(0); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
    51% { transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

.about-img:first-child {
    grid-column: span 2;
    height: 350px;
    border-radius: 200px 200px 30px 30px;
}

.about-img:not(:first-child) {
    height: 220px;
}

.about-img:nth-child(2) {
    border-radius: 30px 30px 30px 100px;
}

.about-img:nth-child(3) {
    border-radius: 30px 30px 100px 30px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(30%);
}

.about-img:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.about-badge {
    position: absolute;
    bottom: 100px;
    left: -30px;
    background: linear-gradient(135deg, var(--lavender), var(--lavender-dark));
    color: var(--white);
    padding: 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(155, 138, 196, 0.4);
    z-index: 10;
    animation: badge-float 4s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.about-badge-number {
    font-family: 'Fraunces', serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
}

.about-badge-text {
    font-size: 13px;
    font-weight: 500;
    margin-top: 5px;
}

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

.about-list {
    list-style: none;
    margin-bottom: 35px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    font-size: 15px;
    color: var(--dark);
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.about-list li:hover {
    padding-left: 10px;
    border-bottom-color: var(--lavender);
}

.about-list li svg {
    width: 20px;
    height: 20px;
    stroke: var(--lavender);
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s ease;
}

.about-list li:hover svg {
    transform: scale(1.2);
}

/* Stats Bar */
.stats-bar {
    padding: 80px;
    background: linear-gradient(135deg, var(--lavender), var(--lavender-dark));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-family: 'Fraunces', serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* Projects */
.projects {
    padding: 150px 80px;
    background: var(--white);
    position: relative;
    z-index: 10;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.projects-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: var(--cream);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--lavender), var(--lavender-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

.filter-btn.active::before,
.filter-btn:hover::before {
    opacity: 1;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--white);
}

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

.project-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    height: 400px;
    text-decoration: none;
    display: block;
}

.project-card.large {
    grid-column: span 2;
    height: 450px;
    border-radius: 40px;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
    filter: grayscale(40%);
}

.project-card:hover .project-img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(45, 42, 51, 0.95));
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--lavender), var(--blush));
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
    transition-delay: 0.1s;
}

.project-card:hover .project-category {
    transform: translateY(0);
    opacity: 1;
}

.project-title {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
    transition-delay: 0.2s;
}

.project-card:hover .project-title {
    transform: translateY(0);
    opacity: 1;
}

.project-card.large .project-title {
    font-size: 32px;
}

/* Services */
.services {
    padding: 150px 80px;
    background: linear-gradient(180deg, var(--peach) 0%, var(--cream) 100%);
    position: relative;
    z-index: 10;
}

.services-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.services-header .section-label {
    justify-content: center;
}

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

.service-card {
    padding: 50px 40px;
    background: var(--white);
    border-radius: 40px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--lavender), var(--blush));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--lavender-light), var(--blush));
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 0.2;
    transform: translate(-30px, -30px);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(155, 138, 196, 0.2);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-number {
    font-family: 'Fraunces', serif;
    font-size: 56px;
    font-weight: 300;
    background: linear-gradient(135deg, var(--lavender-light), var(--blush));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-card:hover .service-number {
    transform: scale(1.1);
}

.service-title {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--lavender-dark);
}

.service-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray);
}

/* Services Detail */
.services-detail {
    padding: 60px 80px 150px;
    background: var(--white);
    position: relative;
    z-index: 10;
}

.service-detail-item {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--light-gray);
}

.service-detail-item.reverse {
    grid-template-columns: auto 1fr 1fr;
}

.service-detail-item.reverse .service-detail-content {
    order: 2;
}

.service-detail-item.reverse .service-detail-image {
    order: 1;
}

.service-detail-num {
    font-family: 'Fraunces', serif;
    font-size: 120px;
    font-weight: 300;
    background: linear-gradient(135deg, var(--lavender-light), var(--blush));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.5;
}

.service-detail-title {
    font-family: 'Fraunces', serif;
    font-size: 36px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 20px;
}

.service-detail-desc {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 25px;
}

.service-detail-list {
    list-style: none;
}

.service-detail-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--dark);
}

.service-detail-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--lavender), var(--blush));
    border-radius: 50%;
}

.service-detail-image {
    border-radius: 40px;
    overflow: hidden;
    height: 350px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: grayscale(30%);
}

.service-detail-item:hover .service-detail-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Team */
.team {
    padding: 150px 80px;
    background: var(--cream);
    position: relative;
    z-index: 10;
}

.team-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.team-header .section-label {
    justify-content: center;
}

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

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

.team-img-wrapper {
    position: relative;
    margin-bottom: 25px;
    border-radius: 200px 200px 40px 40px;
    overflow: hidden;
    height: 350px;
}

.team-img-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(155, 138, 196, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.team-member:hover .team-img-wrapper::before {
    opacity: 1;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%);
    transition: all 0.6s ease;
}

.team-member:hover .team-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
}

.team-member:hover .team-social {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--lavender);
}

.team-social svg {
    width: 16px;
    height: 16px;
    fill: var(--lavender-dark);
    transition: fill 0.3s ease;
}

.team-social a:hover svg {
    fill: var(--white);
}

.team-name {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 5px;
}

.team-role {
    font-size: 14px;
    color: var(--lavender);
}

/* Testimonial */
.testimonial {
    padding: 150px 80px;
    background: var(--white);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--lavender-light), var(--blush));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    animation: testimonial-pulse 8s ease-in-out infinite;
}

@keyframes testimonial-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.testimonial-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.testimonial-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--lavender-light), var(--blush));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.testimonial-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--lavender-dark);
}

.testimonial-quote {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark);
    margin-bottom: 40px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--lavender-light);
}

.testimonial-info {
    text-align: left;
}

.testimonial-name {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
}

.testimonial-role {
    font-size: 14px;
    color: var(--gray);
}

/* Contact */
.contact {
    padding: 150px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background: var(--cream);
    position: relative;
    z-index: 10;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.contact-circle {
    position: absolute;
    border: 1px solid var(--lavender);
    border-radius: 50%;
    opacity: 0.1;
}

.contact-circle-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: 10%;
    animation: contact-circle 10s linear infinite;
}

.contact-circle-2 {
    width: 300px;
    height: 300px;
    bottom: 15%;
    left: 5%;
    animation: contact-circle 15s linear infinite reverse;
}

.contact-circle-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 40%;
    animation: contact-circle 12s linear infinite;
}

@keyframes contact-circle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact-info {
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    font-family: 'Fraunces', serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 50px;
}

.contact-details {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--lavender-light), var(--blush));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-item-icon {
    transform: scale(1.1) rotate(10deg);
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--lavender-dark);
    stroke-width: 2;
    fill: none;
}

.contact-item h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--lavender);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 16px;
    color: var(--dark);
    line-height: 1.5;
}

.contact-item a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-form-section {
    background: var(--white);
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(155, 138, 196, 0.15);
    position: relative;
    z-index: 1;
}

.contact-form-section h3 {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.form-group:focus-within label {
    color: var(--lavender);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 15px;
    font-family: inherit;
    font-size: 15px;
    color: var(--dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--lavender);
    background: var(--white);
    box-shadow: 0 5px 20px rgba(155, 138, 196, 0.1);
}

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

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

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--lavender), var(--lavender-dark));
    color: var(--white);
    padding: 18px;
    border: none;
    border-radius: 30px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(155, 138, 196, 0.4);
}

/* Map */
.map {
    position: relative;
    z-index: 10;
}

.map iframe {
    width: 100%;
    height: 450px;
    border: none;
    filter: grayscale(100%) contrast(1.1);
}

/* Footer */
.footer {
    padding: 80px;
    background: var(--dark);
    position: relative;
    z-index: 10;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-shape {
    width: 30px;
    height: 30px;
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 20px;
}

.footer-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    max-width: 300px;
    margin-top: 15px;
}

.footer-nav {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--lavender);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 13px;
    color: var(--gray);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--lavender), var(--lavender-dark));
    transform: translateY(-5px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        display: none;
    }

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

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

    .project-card.large {
        grid-column: span 2;
    }

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

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

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

    .service-detail-item {
        grid-template-columns: auto 1fr;
        gap: 40px;
    }

    .service-detail-image {
        display: none;
    }
}

@media (max-width: 992px) {
    .cursor, .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }

    .header {
        padding: 20px 30px;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        padding: 120px 40px;
    }

    .hero-title {
        font-size: 48px;
    }

    .features {
        padding: 80px 40px;
    }

    .about {
        grid-template-columns: 1fr;
        padding: 100px 40px;
    }

    .projects {
        padding: 100px 40px;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .services {
        padding: 100px 40px;
    }

    .services-detail {
        padding: 60px 40px 100px;
    }

    .team {
        padding: 100px 40px;
    }

    .testimonial {
        padding: 80px 40px;
    }

    .contact {
        grid-template-columns: 1fr;
        padding: 100px 40px;
    }

    .footer {
        padding: 60px 40px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .page-header {
        padding: 120px 40px 60px;
    }

    .page-header-content .section-title {
        font-size: 48px;
    }
}

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

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

    .project-card.large {
        grid-column: span 1;
    }

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

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

    .stats-bar {
        grid-template-columns: 1fr;
        padding: 60px 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-title {
        font-size: 38px;
    }

    .testimonial-quote {
        font-size: 24px;
    }

    .floating-shapes {
        display: none;
    }

    .service-detail-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-detail-num {
        font-size: 80px;
    }

    .page-header-content .section-title {
        font-size: 36px;
    }
}
