/* Minimalist Biriyani Shop Theme - FIXED VERSION */
:root {
    /* Palette */
    --bg-cream: #fdfbf7;
    --primary-saffron: #e67e22;
    --secondary-spice: #8d6e63;
    --text-charcoal: #2c3e50;
    --text-muted: #7f8c8d;
    --border-light: rgba(141, 110, 99, 0.2);

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-unit: 2rem;
    --grid-gap: 4rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-charcoal);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    height: 100vh;
    width: 100vw;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-saffron);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-saffron);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    opacity: 1;
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(230, 126, 34, 0.1);
    border-color: transparent;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-charcoal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-cream);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    flex-direction: column;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-saffron);
    margin-top: 1rem;
    animation: pulse 1.5s infinite;
}

/* Main Layout - 2x2 Grid Concept */
.main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 100vh auto;
    max-width: 1600px;
    margin: 0 auto;
}

/* Hero Section (Top Left & Right) */
.hero-section {
    grid-column: 1 / -1;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: var(--spacing-unit);
    position: relative;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    border-right: 1px solid var(--border-light);
    position: relative;
    z-index: 2;
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    background-color: rgba(230, 126, 34, 0.03);
    position: relative;
    overflow: hidden;
}

.brand-name {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.brand-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-spice);
    font-style: italic;
    margin-bottom: 3rem;
}

.menu-btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--text-charcoal);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.menu-btn:hover {
    background-color: var(--text-charcoal);
    color: var(--bg-cream);
    transform: translateY(-2px);
}

/* Profile picture and name wrapper */
.profile-name-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Contact form submit button */
.contact-submit-btn {
    background: transparent;
}

.contact-submit-btn:hover {
    background-color: var(--primary-saffron);
    color: #ffffff;
    border-color: var(--primary-saffron);
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-saffron);
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.3);
    animation: float-gentle 3s ease-in-out infinite;
}

@keyframes float-gentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.name-section {
    flex: 1;
}

/* Enhanced Biriyani Pot Art - CENTERED BACKGROUND */
.biriyani-pot-container {
    position: absolute;
    bottom: -40px;
    /* slightly below center so it sits low */
    left: 50%;
    /* center horizontally */
    transform: translateX(-50%);
    width: 380px;
    height: 420px;
    opacity: 0.14;
    /* soft background */
    pointer-events: none;
    z-index: 1;
    /* behind text (hero-left has z-index:2) */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
}


/* Steam with multiple wisps */
.steam {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.steam-line {
    width: 8px;
    height: 90px;
    background: linear-gradient(to top,
            rgba(255, 200, 100, 0.8) 0%,
            rgba(255, 220, 150, 0.6) 30%,
            rgba(255, 255, 255, 0.4) 60%,
            transparent 100%);
    border-radius: 20px;
    filter: blur(8px);
    animation: steam-rise 3s ease-in-out infinite;
}

.steam-line:nth-child(1) {
    animation-delay: 0s;
    height: 85px;
}

.steam-line:nth-child(2) {
    animation-delay: 0.6s;
    height: 100px;
}

.steam-line:nth-child(3) {
    animation-delay: 1.2s;
    height: 90px;
}

.steam-line:nth-child(4) {
    animation-delay: 1.8s;
    height: 95px;
}

/* Pot Lid with handle */
.pot-lid {
    width: 310px;
    height: 85px;
    background: linear-gradient(180deg,
            #e8b67f 0%,
            #d9a166 20%,
            #c78d52 50%,
            #b07840 80%,
            #9a6535 100%);
    border-radius: 155px 155px 0 0;
    position: absolute;
    top: 50px;
    left: 20px;
    transform-origin: 85% center;
    animation: lid-wobble 4s ease-in-out infinite;
    box-shadow:
        0 -3px 15px rgba(0, 0, 0, 0.2),
        inset 0 -10px 20px rgba(0, 0, 0, 0.15),
        inset 0 5px 10px rgba(255, 255, 255, 0.2);
    z-index: 5;
}

/* Lid handle */
.lid-handle {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 35px;
    background: linear-gradient(180deg, #d9a166 0%, #b07840 100%);
    border-radius: 25px 25px 5px 5px;
    box-shadow:
        0 -2px 8px rgba(0, 0, 0, 0.2),
        inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

.lid-handle::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    background: transparent;
    border: 4px solid #8d6339;
    border-bottom: none;
    border-radius: 15px 15px 0 0;
}

/* Decorative lid pattern */
.lid-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 40px;
    background: repeating-linear-gradient(90deg,
            transparent,
            transparent 8px,
            rgba(139, 90, 50, 0.2) 8px,
            rgba(139, 90, 50, 0.2) 10px);
    border-radius: 50%;
    opacity: 0.6;
}

/* Pot rim with better depth */
.pot-rim {
    width: 340px;
    height: 45px;
    background: linear-gradient(180deg,
            #d2691e 0%,
            #b85913 40%,
            #9d4a10 60%,
            #7d3a0c 100%);
    border-radius: 25px;
    position: absolute;
    top: 130px;
    left: 5px;
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.3),
        inset 0 3px 8px rgba(255, 255, 255, 0.15),
        inset 0 -3px 8px rgba(0, 0, 0, 0.3);
    z-index: 4;
}

/* Rim shine */
.rim-shine {
    position: absolute;
    top: 8px;
    left: 10%;
    width: 80%;
    height: 8px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);
    border-radius: 50%;
    filter: blur(2px);
}

/* Pot body with rice texture */
.pot-body {
    width: 310px;
    height: 220px;
    background: linear-gradient(180deg,
            #ff8c42 0%,
            #f07a2e 15%,
            #e06820 35%,
            #d25818 55%,
            #c04a12 75%,
            #a83e0f 90%,
            #8d340c 100%);
    border-radius: 0 0 155px 155px;
    position: absolute;
    top: 155px;
    left: 20px;
    box-shadow:
        inset 0 -30px 50px rgba(100, 40, 10, 0.5),
        inset 0 10px 30px rgba(255, 140, 80, 0.2),
        0 15px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 3;
}

/* Body highlights */
.pot-highlight {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 120px;
    height: 180px;
    background: linear-gradient(135deg,
            rgba(255, 200, 150, 0.4) 0%,
            rgba(255, 180, 120, 0.2) 50%,
            transparent 100%);
    border-radius: 50%;
    filter: blur(15px);
}

/* Rice grains visible through pot */
.rice-grain {
    position: absolute;
    width: 4px;
    height: 8px;
    background: rgba(255, 245, 220, 0.3);
    border-radius: 2px;
    transform: rotate(var(--rotation));
}

/* Handles on pot sides */
.pot-handle {
    position: absolute;
    width: 35px;
    height: 70px;
    background: linear-gradient(90deg,
            #9d4a10 0%,
            #b85913 50%,
            #9d4a10 100%);
    border-radius: 20px;
    top: 180px;
    box-shadow:
        inset 0 2px 8px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.pot-handle.left {
    left: -15px;
    border-radius: 0 20px 20px 0;
}

.pot-handle.right {
    right: -15px;
    border-radius: 20px 0 0 20px;
}

.handle-grip {
    position: absolute;
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.handle-grip:nth-child(1) {
    top: 15px;
}

.handle-grip:nth-child(2) {
    top: 32px;
}

.handle-grip:nth-child(3) {
    top: 49px;
}

/* Saffron strands floating */
.saffron-strand {
    position: absolute;
    width: 2px;
    height: 15px;
    background: linear-gradient(to bottom,
            rgba(230, 126, 34, 0.8),
            rgba(230, 126, 34, 0) 100%);
    animation: float-saffron 4s ease-in-out infinite;
    transform-origin: top;
}

.saffron-strand:nth-child(1) {
    top: -30px;
    left: 100px;
    animation-delay: 0s;
}

.saffron-strand:nth-child(2) {
    top: -25px;
    left: 250px;
    animation-delay: 1.3s;
}

.saffron-strand:nth-child(3) {
    top: -35px;
    left: 180px;
    animation-delay: 2.6s;
}

/* Animations */
@keyframes lid-wobble {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-1.5deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(1.5deg);
    }
}

@keyframes steam-rise {
    0% {
        transform: translateY(0) scaleY(0.8) scaleX(1);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    70% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-60px) scaleY(1.5) scaleX(0.6);
        opacity: 0;
    }
}

@keyframes float-saffron {

    0%,
    100% {
        transform: translateY(0) rotate(-10deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.9;
    }
}

/* Floating Spices */
.spice-particle {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
    animation: float-spice 15s linear infinite;
    color: var(--secondary-spice);
    font-size: 1.5rem;
}

@keyframes float-spice {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Content Grid (Below Hero) */
.content-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border-light);
}

.grid-item {
    padding: 6rem 4rem;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.3s ease;
}

.grid-item:nth-child(odd) {
    border-right: 1px solid var(--border-light);
}

.grid-item:hover {
    background-color: rgba(230, 126, 34, 0.02);
}

.section-header {
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-number {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--primary-saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

/* Project Cards (Minimal) */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-item {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
    transition: transform 0.3s ease;
}

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

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

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.project-year {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.project-desc {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.tech-stack {
    font-size: 0.85rem;
    color: var(--secondary-spice);
    font-style: italic;
}

/* GitHub Stats */
.github-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

/* Contact Form (Minimal) */
.minimal-form .form-group {
    margin-bottom: 2rem;
}

.minimal-form label {
    display: block;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
    color: var(--secondary-spice);
}

.minimal-input {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-charcoal);
    transition: border-color 0.3s ease;
}

.minimal-input:focus {
    outline: none;
    border-bottom-color: var(--primary-saffron);
}

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

    .hero-left,
    .hero-right {
        padding: 4rem 2rem;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

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

    .grid-item:nth-child(odd) {
        border-right: none;
    }

    .biriyani-pot-container {
        display: none;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* Audio Control */
.audio-control {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    background: transparent;
    border: none;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.audio-control:hover {
    opacity: 1;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    pointer-events: none;
}

.toast {
    min-width: 260px;
    max-width: 340px;
    background: #ffffff;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border-light);
    opacity: 0;
    transform: translateY(10px);
    animation: toast-in 0.25s ease-out forwards;
    pointer-events: all;
}

.toast-icon {
    font-size: 1rem;
}

.toast--success {
    border-color: rgba(46, 204, 113, 0.35);
}

.toast--error {
    border-color: rgba(231, 76, 60, 0.4);
}

.toast--hide {
    animation: toast-out 0.25s ease-in forwards;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toast-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(10px);
    }
}