:root {
    --bg-color: #f0f4f1;
    --accent-color: #2b4c3b;
    --glass-bg: rgba(255, 255, 255, 0.35);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    --text-primary: #1F2937;
    --text-secondary: #1F2937;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 32px;
}

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

body {
    background-color: var(--bg-color);
    background-image: url('../img/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: -0.5px;
}

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


.grid-background {
    display: none; /* Removed for the photo background */
}

.ambient-orb {
    display: none; /* Removed */
}

/* Glassmorphism Utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius);
}

/* Typography & Layout */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-submit, .btn-watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-shadow: none; /* No text shadow on buttons */
}

.btn-primary, .btn-submit {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover, .btn-submit:hover {
    background: #FFFFFF;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 5%;
    right: 5%;
    width: 90%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    box-shadow: var(--glass-shadow);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.nav-links .btn-primary {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    color: #333;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 0 20px;
    z-index: 10;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.wireframe-obj {
    display: none; /* Hide wireframes for this clean aesthetic */
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 40px rgba(255, 255, 255, 0.2) inset;
    transform: translateY(-8px) scale(1.01);
}

.project-thumbnail {
    width: 100%;
    height: 250px;
    border-radius: 24px;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}

.play-overlay {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project-card:hover .play-overlay {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.5);
}

.play-overlay svg {
    width: 24px;
    height: 24px;
    margin-left: 4px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.category-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-watch {
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 0.8rem;
    transition: var(--transition-smooth);
}

.btn-watch:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    color: #FFF;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    box-shadow: var(--glass-shadow);
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.45);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Tech Section */
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.tech-badge {
    padding: 1rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    box-shadow: var(--glass-shadow);
}

.tech-badge.glow:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.4);
}

/* About Section */
.about-container {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 5rem 3rem;
    text-align: center;
    box-shadow: var(--glass-shadow);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.skill-pill {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
    border-radius: 50px;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-heading {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-container > p {
    margin-bottom: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--glass-shadow);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    color: #333; /* Dark text for inputs for readability */
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    text-shadow: none;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(50, 50, 50, 0.6);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.btn-submit {
    border: none;
    font-size: 1.1rem;
    width: 100%;
    border-radius: 16px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .about-container {
        padding: 3rem 1.5rem;
        border-radius: 24px;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}
