/* ===================================
   AURASTYLE HOMES - FEATURES PAGE CSS
   =================================== */

/* === CSS VARIABLES === */
:root {
    --color-bg: #0a0a0a;
    --color-text: #e8e8e8;
    --color-accent: #c9b896;
    --color-muted: #666;
    --font-serif-en: 'Cormorant Garamond', serif;
    --font-serif-ja: 'Noto Serif JP', serif;
    --font-sans: 'Inter', sans-serif;
}

/* === BASE RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 1.2vw, 18px);
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-serif-ja);
    line-height: 1.8;
    overflow-x: hidden;
    font-weight: 300;
}

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



/* === HEADER === */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: clamp(1.5rem, 3vw, 3rem) clamp(2rem, 5vw, 5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), transparent);
    transition: background 0.3s;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
}

.logo{
    font-family: var(--font-serif-en);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--color-text);
    text-decoration: none;
}

nav {
    display: flex;
    gap: clamp(2rem, 4vw, 4rem);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

nav a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s;
}

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

/* === FEATURE HERO === */
.feature-hero {
    height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    animation: zoomIn 20s ease-out forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 10rem;
    padding-left: 4rem;
    max-width: 1200px;
}

.hero-title {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 0.08em;
    line-height: 1.4;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.5s forwards;
}

.hero-text {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 2;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 1s forwards;
}

.hero-text p {
    margin-bottom: 1.5rem;
}

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

/* === FEATURE DETAIL SECTIONS === */
.feature-detail {
    padding: clamp(6rem, 12vh, 10rem) clamp(2rem, 5vw, 5rem);
    background: var(--color-bg);
}

.feature-detail:nth-of-type(even) {
    background: #0d0d0d;
}

.feature-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(4rem, 8vw, 10rem);
    max-width: 1600px;
    margin: 0 auto;
    align-items: center;
}

.feature-reverse .feature-container {
    direction: rtl;
}

.feature-reverse .feature-container > * {
    direction: ltr;
}

.feature-text {
    max-width: 650px;
}

.feature-number {
    font-family: var(--font-serif-en);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    color: var(--color-accent);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.feature-description {
    margin-bottom: 2.5rem;
}

.lead-text {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 2;
    margin-bottom: 2rem;
    font-weight: 400;
}

.detail-text {
    font-size: 14px;
    line-height: 2;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    font-size: 14px;
    line-height: 2;
    color: var(--color-muted);
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.feature-image {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 2px;
}

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

.feature-detail:hover .feature-image img {
    transform: scale(1.03);
}

/* === PROCESS SECTION === */
.process-section {
    padding: clamp(8rem, 15vh, 12rem) clamp(2rem, 8vw, 8rem);
    background: #0d0d0d;
    text-align: center;
}

.section-title {
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.process-intro {
    font-size: clamp(0.95rem, 1.1vw, 1rem);
    line-height: 2;
    color: var(--color-muted);
    max-width: 800px;
    margin: 0 auto 5rem;
}

.process-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(3rem, 5vw, 5rem);
    max-width: 1200px;
    margin: 0 auto;
}

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

.process-number {
    font-family: var(--font-serif-en);
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--color-accent);
    opacity: 0.4;
    margin-bottom: 1rem;
    font-weight: 300;
}

.process-title {
    font-size: clamp(1.2rem, 1.5vw, 1.4rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.process-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-muted);
}

/* === CTA SECTION === */
.feature-cta {
    padding: clamp(8rem, 15vh, 12rem) clamp(2rem, 5vw, 5rem);
    background: var(--color-bg);
    text-align: center;
}

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

.cta-title {
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-text {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 2;
    color: var(--color-muted);
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    border: 1px solid var(--color-accent);
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: transparent;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-button:hover {
    color: #c9b896;
    border-color: var(--color-accent);
}

.cta-button:hover::before {
    transform: translateX(0);
}

/* === FOOTER === */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem clamp(2rem, 5vw, 5rem);
    background: #0a0a0a;
}

.footer-content {
    margin-bottom: 3rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 4vw, 4rem);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.copyright {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--color-muted);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* === PAGE TOP BUTTON === */
.page-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-accent);
    background: rgba(10, 10, 10, 0.9);
    color: var(--color-accent);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.page-top:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-3px);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    nav {
        display: none;
    }

    .feature-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-reverse .feature-container {
        direction: ltr;
    }

    .feature-text {
        max-width: 100%;
    }

    .feature-image {
        aspect-ratio: 16/10;
    }

    .process-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .feature-hero {
        padding: 8rem 1.5rem 6rem;
    }

    .feature-detail {
        padding: 4rem 1.5rem;
    }

    .process-section {
        padding: 6rem 1.5rem;
    }

    .feature-cta {
        padding: 6rem 1.5rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .page-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .feature-hero-text {
        font-size: 0.95rem;
    }

    .feature-list li {
        font-size: 0.85rem;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}