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

:root {
    /* Earth tone color palette */
    --primary-color: #6B5B73;
    --secondary-color: #D4A574;
    --accent-color: #C49A6C;
    --text-dark: #2C2C2C;
    --text-light: #757575;
    --text-lightest: #A0A0A0;
    --bg-primary: #FEFEFE;
    --bg-secondary: #F8F6F3;
    --bg-accent: #F5F2ED;
    --border-color: #E8E5E0;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 20px;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    font-weight: 400;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    position: relative;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    display: block;
}

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

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

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

/* Hero Section */
.hero {
    padding: 160px 0 120px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 500;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(107, 91, 115, 0.2);
}

/* Meditative Ripples - The Art of Slow Intention */
.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 800px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    z-index: 1;
    pointer-events: none;
}

.meditative-ripples {
    position: relative;
    width: 800px;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Contemplative Pool */
.water-pool {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(196, 154, 108, 0.12) 0%, 
        rgba(196, 154, 108, 0.08) 25%, 
        rgba(196, 154, 108, 0.04) 50%,
        rgba(196, 154, 108, 0.02) 75%,
        transparent 100%
    );
    border-radius: 50%;
}

/* The Origin - Where Intention Begins */
.origin-point {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse-origin 8s ease-in-out infinite;
    z-index: 3;
}

/* The Expanding Rings - Slow and Deliberate */
.ripple-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: meditative-expand 18s ease-out infinite;
}

.ring-1 {
    width: 80px;
    height: 80px;
    animation-delay: 0s;
    opacity: 0.9;
    border-width: 2px;
}

.ring-2 {
    width: 160px;
    height: 160px;
    animation-delay: -3s;
    opacity: 0.7;
    border-width: 1.5px;
}

.ring-3 {
    width: 240px;
    height: 240px;
    animation-delay: -6s;
    opacity: 0.5;
    border-width: 1px;
}

.ring-4 {
    width: 320px;
    height: 320px;
    animation-delay: -9s;
    opacity: 0.3;
    border-width: 1px;
}

.ring-5 {
    width: 400px;
    height: 400px;
    animation-delay: -12s;
    opacity: 0.2;
    border-width: 0.5px;
}

.ring-6 {
    width: 480px;
    height: 480px;
    animation-delay: -15s;
    opacity: 0.1;
    border-width: 0.5px;
}

/* Reflection Layer - Depth and Atmosphere */
.reflection-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 60% at center 40%, 
        rgba(196, 154, 108, 0.15) 0%,
        rgba(196, 154, 108, 0.08) 30%,
        rgba(196, 154, 108, 0.04) 50%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: soft-light;
    opacity: 0.7;
    animation: gentle-shimmer 12s ease-in-out infinite;
}

/* Keyframe Animations - The Rhythm of Contemplation */
@keyframes pulse-origin {
    0%, 100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(196, 154, 108, 0.3);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 0 0 0 8px rgba(196, 154, 108, 0.1);
    }
}

@keyframes meditative-expand {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0;
        border-color: var(--accent-color);
    }
    15% {
        opacity: 0.9;
        border-color: var(--accent-color);
    }
    40% {
        opacity: 0.6;
        border-color: rgba(196, 154, 108, 0.8);
    }
    70% {
        opacity: 0.3;
        border-color: rgba(196, 154, 108, 0.5);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
        border-color: rgba(196, 154, 108, 0.2);
    }
}

@keyframes gentle-shimmer {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1) rotate(0deg);
    }
    25% {
        opacity: 0.7;
        transform: scale(1.05) rotate(1deg);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.95) rotate(0deg);
    }
    75% {
        opacity: 0.6;
        transform: scale(1.02) rotate(-0.5deg);
    }
}

/* Section Common Styles */
section {
    padding: var(--section-padding);
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* Philosophy Section */
.philosophy {
    background: var(--bg-primary);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.philosophy-card {
    padding: 48px 32px;
    background: transparent;
    border: none;
    text-align: center;
    position: relative;
}

.philosophy-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--border-color);
}

.philosophy-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-weight: 500;
    font-family: var(--font-display);
    line-height: 1.3;
}

.philosophy-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

/* Manifesto Section */
.manifesto {
    background: var(--bg-secondary);
}

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

.manifesto-list {
    margin-top: 60px;
}

.manifesto-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.manifesto-item:last-child {
    border-bottom: none;
}

.manifesto-number {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 500;
    min-width: 60px;
}

.manifesto-item p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.portfolio-image {
    height: 300px;
    overflow: hidden;
}

.placeholder-image {
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
}

.portfolio-content {
    padding: 40px;
}

.portfolio-content h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.portfolio-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.portfolio-status {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-accent);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.founder-story {
    margin-top: 60px;
}

.story-content {
    background: var(--bg-primary);
    padding: 60px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.story-intro {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-weight: 400;
}

.story-main {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 32px;
    line-height: 1.8;
}

.story-vision {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.8;
    font-style: italic;
}

.story-signature {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--text-light);
    text-align: right;
    font-style: normal;
}

/* Contact Section */
.contact {
    background: var(--bg-accent);
    text-align: center;
}

.contact-text {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-email {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.contact-note {
    color: var(--text-lightest);
    font-size: 16px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.footer p {
    color: var(--text-lightest);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-visual {
        position: absolute;
        /* top: 70%; */
        /* left: 90%; */
        width: 90vw;
        height: 90vw;
        max-width: 400px;
        max-height: 400px;
        transform: translate(-50%, -50%);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(254, 254, 254, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .nav-link {
        display: block;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .philosophy-card {
        border-left: none;
        border-bottom: 1px solid var(--border-color);
        padding: 40px 20px;
    }
    
    .philosophy-card:last-child {
        border-bottom: none;
    }
    
    .philosophy-card::after {
        display: none;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .manifesto-item {
        flex-direction: column;
        gap: 16px;
    }
    
    .manifesto-number {
        min-width: auto;
    }
    
    .story-content {
        padding: 40px 30px;
    }
    
    :root {
        --section-padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .meditative-ripples {
        width: 100%;
        height: 100%;
    }
    
    .ring-1 { width: 15%; height: 15%; }
    .ring-2 { width: 30%; height: 30%; }
    .ring-3 { width: 45%; height: 45%; }
    .ring-4 { width: 60%; height: 60%; }
    .ring-5 { width: 75%; height: 75%; }
    .ring-6 { width: 90%; height: 90%; }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
        font-size: 14px;
    }
}