/* --- Sathyajeeviyam Strategic Design System v5 --- */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --silk-cream: #FDFBF7;
    --gold-primary: #D4AF37;
    --gold-soft: #F7E7A1;
    --gold-deep: #B8860B;
    --gold-gradient: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #F7E7A1 100%);
    --text-primary: #555555;
    --text-dark: #1A1A1A;
    --border-gold: rgba(212, 175, 55, 0.15);
    --transition-premium: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --container-width: 1200px;
}

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

body {
    background-color: var(--silk-cream);
    color: var(--text-primary);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* --- Fixed Logo Background Watermark --- */
.bg-logo-layer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: url('logo.png') no-repeat center;
    background-size: contain;
    opacity: 0.04;
    z-index: -2;
    pointer-events: none;
}

/* --- Strict Alignment Grid --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    width: 100%;
}

.section-spacing {
    padding: 120px 0;
}

/* --- No More Blocks (Organic Architecture) --- */
section {
    position: relative;
    overflow: visible;
}

/* --- Custom Gold Cursor --- */
#custom-cursor {
    position: fixed;
    width: 15px;
    height: 15px;
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

.cursor-hover {
    width: 50px !important;
    height: 50px !important;
    background: rgba(212, 175, 55, 0.1);
    border-width: 2px !important;
}

/* --- Typography (Refined, Not Zoomed) --- */
h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    letter-spacing: 0.35em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--text-dark);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

h3 {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 1.5rem;
}

.shimmer-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 10s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* --- Organic Image Blobs --- */
.image-blob {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 20s ease-in-out infinite;
    box-shadow: 0 40px 80px rgba(212, 175, 55, 0.1);
}

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

.blob-container {
    position: relative;
    width: 450px;
    height: 600px;
    margin: 0 auto;
}

/* --- Liquid Background Orbs --- */
.liquid-orb {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: floatingOrb 30s infinite alternate ease-in-out;
}

@keyframes floatingOrb {
    from { transform: translate(-20%, -20%); }
    to { transform: translate(120%, 120%); }
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    transition: var(--transition-premium);
}

nav.scrolled {
    padding: 1.2rem 0;
    background: rgba(253, 251, 247, 0.98);
    border-bottom: 1px solid var(--border-gold);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 2.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    font-weight: 700;
}

/* --- Premium Curved (Pill) Buttons --- */
.btn-premium {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 0.4em;
    text-decoration: none;
    color: var(--gold-deep);
    border: 1px solid var(--gold-primary);
    background: transparent;
    border-radius: 50px; /* Silk Pill Refinement */
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.btn-premium:hover {
    background: var(--gold-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    h1 { font-size: 2.5rem; }
    .blob-container { width: 300px; height: 400px; }
}
