:root {
    --primary: #D94F6A;
    --accent: #FF9934;
    --bg-light: #FFF8F3;
    --text-dark: #333;
}

body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-overflow-scrolling: touch;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

/* About Section */
.about {
    padding: 20px 0;
    background: var(--bg-light);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links a {
    margin-left: 0;
    color: var(--primary);
    font-size: 1.7rem;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

.resume-btn {
    background: var(--accent);
    color: white !important;
    padding: 7px 15px;
    border-radius: 5px;
    font-size: 0.9rem !important;
    transition: 0.3s;
    white-space: nowrap;
}

.resume-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 153, 52, 0.3);
}
/* Hero Section */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    will-change: transform;
}

#ryr1-canvas,
.ryr1-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    touch-action: pan-y;
    will-change: transform;
}

body {
    margin: 0;
}

header {
    position: relative;
    z-index: 10;
}

.container {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 5px;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.profile-pic {
    flex-shrink: 0;
}

.profile-pic img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.bio {
    flex: 1;
    background: rgba(255, 248, 243, 0.7);
    padding: 26px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    max-width: 600px;
}

.highlight { color: var(--accent); }

h1, h2 {
    margin-bottom: 0.1rem;
    margin-top: 0.1rem;
}

h2 {
    margin-top: 0;
}

/* Projects */
.projects { 
    padding: 20px 0;
    background: var(--bg-light);
}

.projects h2 {
    background: rgba(255, 248, 243, 0.7);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: rgba(255, 248, 243, 0.7);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--accent);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-5px);
}

.tech-tag {
    display: inline-block;
    background: #F5E1E8;
    color: var(--primary);
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-top: 10px;
    margin-right: 8px;
    font-weight: bold;
}

.github-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.github-link:hover {
    color: var(--accent);
}

/* Skills */
.skills {
    padding: 20px 0;
    background: var(--bg-light);
}

.skills h2 {
    background: rgba(255, 248, 243, 0.7);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.skill-category {
    margin-bottom: 30px;
}

.skill-category h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Collapsible Headers */
.collapsible {
    cursor: pointer;
    padding: 15px;
    background: rgba(255, 248, 243, 0.9);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    margin-bottom: 0;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.collapsible:hover {
    background: var(--bg-light);
}

.collapsible i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 10px;
}

.collapsible.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    margin-bottom: 10px;
}

.collapsible.active i {
    color: white;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-item {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: 0.3s;
}

/* .skill-item:hover {
    background: var(--accent);
    color: white;
} */

/* Fullscreen 3D Viewer Button */
.viewer-button-container {
    display: flex;
    justify-content: center;
    margin-top: -10px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.fullscreen-btn {
    position: relative;
    z-index: 5;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(217, 79, 106, 0.4);
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.fullscreen-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 153, 52, 0.5);
}

.fullscreen-btn i {
    font-size: 0.95rem;
}

/* Interaction Hint */
.interaction-hint {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(217, 79, 106, 0.95);
    color: white;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 0.85rem;
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    font-family: 'Nunito', sans-serif;
}

.interaction-hint.visible {
    opacity: 1;
    visibility: visible;
}

.interaction-hint i {
    font-size: 0.95rem;
}

.interaction-hint p {
    margin: 0;
    white-space: nowrap;
}

.mobile-hint {
    display: none;
}

/* Fullscreen viewer mode */
body.viewer-fullscreen header,
body.viewer-fullscreen .about,
body.viewer-fullscreen .skills,
body.viewer-fullscreen .projects,
body.viewer-fullscreen footer {
    display: none;
}

body.viewer-fullscreen .viewer-button-container {
    display: block !important;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
    margin: 0;
}

body.viewer-fullscreen .hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 50;
}

body.viewer-fullscreen .fullscreen-btn {
    z-index: 200;
    position: relative;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin: 0;
}
@media (max-width: 768px) {
    .hero-content { 
        gap: 20px;
    }
    
    .bio {
        background: rgba(255, 248, 243, 0.8);
        width: 100%;
    }
    
    .fullscreen-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .fullscreen-btn span {
        display: none;
    }
    
    .fullscreen-btn i {
        font-size: 1.1rem;
    }
    
    .interaction-hint {
        bottom: 20px;
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .interaction-hint p {
        font-size: 0.75rem;
    }
    
    .desktop-hint {
        display: none;
    }
    
    .mobile-hint {
        display: inline;
    }
    
    body.viewer-fullscreen .viewer-button-container {
        top: 10px;
        right: 10px;
    }
}
