/* ===== CSS Custom Properties ===== */
:root {
    --plum-50: #F9F0F7;
    --plum-100: #F3DFEF;
    --plum-200: #E7BFD9;
    --plum-400: #C06AA0;
    --plum-500: #5D3A5B;
    --plum-600: #4A2E48;
    --plum-700: #372236;
    --plum-800: #241623;
    --plum-900: #110A11;
    --amber-300: #FFD966;
    --amber-400: #F5A623;
    --amber-500: #E08A0E;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--plum-800);
    background-color: var(--plum-50);
    line-height: 1.6;
}

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

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

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(249, 240, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(93, 58, 91, 0.08);
}

.nav-logo-text {
    transition: color 0.4s ease;
}

#navbar.scrolled .nav-logo-text {
    color: var(--plum-800);
}

/* ===== Hero Animations ===== */
.hero-anim {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-anim.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Geometric Shapes ===== */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--amber-400);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--plum-200);
    bottom: 15%;
    left: 5%;
    animation-delay: -2s;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--amber-300);
    top: 30%;
    left: 10%;
    animation-delay: -4s;
}

.shape-square-1 {
    width: 150px;
    height: 150px;
    background: var(--amber-400);
    bottom: 20%;
    right: 8%;
    transform: rotate(45deg);
    animation-delay: -1s;
}

.shape-square-2 {
    width: 80px;
    height: 80px;
    background: var(--plum-200);
    top: 25%;
    right: 20%;
    transform: rotate(20deg);
    animation-delay: -3s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid var(--amber-300);
    top: 40%;
    left: 3%;
    animation-delay: -5s;
    opacity: 0.08;
}

.shape-dots {
    top: 60%;
    right: 15%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--amber-300) 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.3;
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

.shape-square-1 {
    animation-name: floatSquare;
}

.shape-square-2 {
    animation-name: floatSquare;
}

.shape-triangle-1 {
    animation-name: floatTriangle;
}

@keyframes floatSquare {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(45deg) translateY(-15px); }
}

@keyframes floatTriangle {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(10deg); }
}

/* ===== Scroll Reveal ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.4s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.5s; }

/* ===== Mobile Menu ===== */
.mobile-menu-link {
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--amber-500);
    padding-left: 8px;
}

/* ===== Hover Effects ===== */
@media (hover: hover) {
    .scroll-reveal:hover {
        /* Subtle hover handled per-card */
    }
}

/* ===== Focus Styles ===== */
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--amber-400);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Selection ===== */
::selection {
    background: var(--amber-400);
    color: var(--plum-900);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 250px;
        height: 250px;
    }

    .shape-circle-2 {
        width: 120px;
        height: 120px;
    }

    .shape-circle-3 {
        display: none;
    }

    .shape-square-1 {
        width: 80px;
        height: 80px;
    }

    .shape-square-2 {
        display: none;
    }

    .shape-triangle-1 {
        border-left-width: 40px;
        border-right-width: 40px;
        border-bottom-width: 70px;
    }
}

@media (max-width: 480px) {
    .shape-circle-1 {
        width: 180px;
        height: 180px;
    }

    .shape-square-1 {
        display: none;
    }
}

/* ===== Print Styles ===== */
@media print {
    #navbar, .geo-shape, .scroll-reveal {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}
