/*
Theme Name: Pranav Akula Portfolio
Theme URI: https://thefreewebsiteguys.com
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com
Description: A modern, elegant portfolio theme for architecture students and professionals. Features a dark, sophisticated design with gold accents.
Version: 1.0.3
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pranav-akula-portfolio
Tags: portfolio, one-column, custom-colors, custom-logo, custom-menu, featured-images, theme-options
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --background: 0 0% 7%;
    --foreground: 45 20% 95%;
    --card: 0 0% 10%;
    --card-foreground: 45 20% 95%;
    --popover: 0 0% 10%;
    --popover-foreground: 45 20% 95%;
    --primary: 43 74% 49%;
    --primary-foreground: 0 0% 7%;
    --secondary: 0 0% 14%;
    --secondary-foreground: 45 20% 95%;
    --muted: 0 0% 18%;
    --muted-foreground: 45 10% 60%;
    --accent: 43 74% 49%;
    --accent-foreground: 0 0% 7%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 0 0% 20%;
    --input: 0 0% 20%;
    --ring: 43 74% 49%;
    --radius: 0.5rem;
    --gold: 43 74% 49%;
    --gold-light: 43 74% 65%;
    --charcoal: 0 0% 12%;
    --cream: 45 20% 95%;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
}

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

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-primary {
    color: hsl(var(--primary));
}

.text-muted {
    color: hsl(var(--muted-foreground));
}

.bg-background {
    background-color: hsl(var(--background));
}

.bg-card {
    background-color: hsl(var(--card));
}

.border-border {
    border-color: hsl(var(--border));
}

.border-primary {
    border-color: hsl(var(--primary));
}

/* ==========================================================================
   Typography
   ========================================================================== */
.font-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.tracking-widest {
    letter-spacing: 0.2em;
}

.uppercase {
    text-transform: uppercase;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section .decorative-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-section .corner-accent {
    position: absolute;
    background-color: hsl(var(--primary) / 0.3);
}

.hero-section .corner-accent.horizontal {
    width: 6rem;
    height: 1px;
}

.hero-section .corner-accent.vertical {
    width: 1px;
    height: 6rem;
}

.hero-section .corner-accent.top-left-h { top: 4rem; left: 4rem; }
.hero-section .corner-accent.top-left-v { top: 4rem; left: 4rem; }
.hero-section .corner-accent.top-right-h { top: 4rem; right: 4rem; }
.hero-section .corner-accent.top-right-v { top: 4rem; right: 4rem; }
.hero-section .corner-accent.bottom-left-h { bottom: 4rem; left: 4rem; }
.hero-section .corner-accent.bottom-left-v { bottom: 4rem; left: 4rem; }
.hero-section .corner-accent.bottom-right-h { bottom: 4rem; right: 4rem; }
.hero-section .corner-accent.bottom-right-v { bottom: 4rem; right: 4rem; }

.hero-section .grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image: 
        linear-gradient(to right, hsl(var(--foreground)) 1px, transparent 1px),
        linear-gradient(to bottom, hsl(var(--foreground)) 1px, transparent 1px);
    background-size: 80px 80px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1.5rem;
}

.hero-content .decorative-line {
    width: 8rem;
    height: 1px;
    background-color: hsl(var(--primary));
    margin: 0 auto 3rem;
}

.hero-content .subtitle {
    color: hsl(var(--primary));
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.hero-content h1 {
    font-size: 3.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.hero-content .tagline {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-content .institution {
    color: hsl(var(--muted-foreground) / 0.7);
    font-size: 1rem;
    letter-spacing: 0.05em;
    font-weight: 300;
    margin-bottom: 3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: hsl(var(--primary));
    cursor: pointer;
    z-index: 20;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: hsl(var(--foreground));
}

.scroll-indicator svg {
    width: 2rem;
    height: 2rem;
}

/* ==========================================================================
   About Section (same width as React: max-w-4xl = 56rem for card + skills)
   ========================================================================== */
.about-section {
    padding: 6rem 1.5rem;
}

.about-section .container {
    max-width: 56rem;
}

.about-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-section .section-label {
    color: hsl(var(--primary));
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.about-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-section .title-line {
    width: 4rem;
    height: 1px;
    background-color: hsl(var(--primary));
    margin: 0 auto;
}

.about-content {
    position: relative;
}

.about-card {
    position: relative;
    padding: 2rem 3rem;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
}

.about-card .corner-accent {
    position: absolute;
    width: 2rem;
    height: 2rem;
    border-color: hsl(var(--primary));
}

.about-card .corner-accent.top-left {
    top: -1px;
    left: -1px;
    border-top: 1px solid;
    border-left: 1px solid;
}

.about-card .corner-accent.bottom-right {
    bottom: -1px;
    right: -1px;
    border-bottom: 1px solid;
    border-right: 1px solid;
}

.about-card p {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.skill-card {
    padding: 1.5rem;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    text-align: center;
    transition: border-color 0.3s ease;
}

.skill-card:hover {
    border-color: hsl(var(--primary));
}

.skill-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.skill-card:hover h3 {
    color: hsl(var(--primary));
}

.skill-card p {
    color: hsl(var(--muted-foreground) / 0.7);
    font-size: 0.875rem;
    font-weight: 300;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio-section {
    padding: 6rem 1.5rem;
    background-color: hsl(var(--card));
}

.portfolio-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.portfolio-section .section-label {
    color: hsl(var(--primary));
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.portfolio-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.portfolio-section .section-description {
    color: hsl(var(--muted-foreground));
    font-weight: 300;
    max-width: 42rem;
    margin: 0 auto;
}

/* Portfolio Tabs */
.portfolio-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.portfolio-tab {
    padding: 0.5rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-tab:hover {
    border-color: hsl(var(--primary));
}

.portfolio-tab.active {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-content {
    display: none;
}

.portfolio-content.active {
    display: block;
}

/* Project Card */
.project-card {
    position: relative;
    padding: 1.5rem 2rem;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    transition: border-color 0.5s ease;
}

.project-card:hover {
    border-color: hsl(var(--primary));
}

.project-card .corner-accent {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    border-color: hsl(var(--primary) / 0.5);
    transition: border-color 0.3s ease;
}

.project-card:hover .corner-accent {
    border-color: hsl(var(--primary));
}

.project-card .corner-accent.top-left {
    top: 0;
    left: 0;
    border-top: 1px solid;
    border-left: 1px solid;
}

.project-card .corner-accent.bottom-right {
    bottom: 0;
    right: 0;
    border-bottom: 1px solid;
    border-right: 1px solid;
}

.project-card .project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-card .project-tag {
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: hsl(var(--primary) / 0.7);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.project-card:hover h3 {
    color: hsl(var(--primary));
}

.project-card p {
    color: hsl(var(--muted-foreground));
    font-weight: 300;
    line-height: 1.6;
}

.project-card .project-image {
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid hsl(var(--border));
}

.project-card .project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-card .bottom-line {
    width: 3rem;
    height: 1px;
    background-color: hsl(var(--primary) / 0.3);
    margin-top: 1.5rem;
    transition: all 0.5s ease;
}

.project-card:hover .bottom-line {
    width: 100%;
    background-color: hsl(var(--primary));
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    text-align: center;
}

.empty-state .icon-frame {
    position: relative;
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.empty-state .icon-frame .outer {
    position: absolute;
    inset: 0;
    border: 1px solid hsl(var(--border));
}

.empty-state .icon-frame .inner {
    position: absolute;
    inset: 0.5rem;
    border: 1px solid hsl(var(--primary) / 0.3);
}

.empty-state .icon-frame span {
    font-size: 1.875rem;
    color: hsl(var(--primary) / 0.4);
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: hsl(var(--muted-foreground));
    font-weight: 300;
    max-width: 28rem;
}

/* ==========================================================================
   Accomplishments Section
   ========================================================================== */
.accomplishments-section {
    padding: 6rem 1.5rem;
}

.accomplishments-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.accomplishments-section .section-label {
    color: hsl(var(--primary));
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.accomplishments-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.accomplishments-section .section-description {
    color: hsl(var(--muted-foreground));
    font-weight: 300;
    max-width: 42rem;
    margin: 0 auto;
}

.accomplishments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .accomplishments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.accomplishment-card {
    padding: 2rem;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    transition: border-color 0.5s ease;
}

.accomplishment-card:hover {
    border-color: hsl(var(--primary));
}

.accomplishment-card .card-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.accomplishment-card .icon-box {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid hsl(var(--border));
    transition: all 0.5s ease;
}

.accomplishment-card:hover .icon-box {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary));
}

.accomplishment-card .icon-box svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary));
    transition: color 0.5s ease;
}

.accomplishment-card:hover .icon-box svg {
    color: hsl(var(--primary-foreground));
}

.accomplishment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.accomplishment-card:hover h3 {
    color: hsl(var(--primary));
}

.accomplishment-card p {
    color: hsl(var(--muted-foreground));
    font-weight: 300;
    line-height: 1.6;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 6rem 1.5rem;
    background-color: hsl(var(--card));
}

.contact-section .section-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.contact-section .section-label {
    color: hsl(var(--primary));
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.contact-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .contact-section .section-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .contact-section .section-title {
        font-size: 3.75rem;
    }
}

.contact-section .section-description {
    color: hsl(var(--muted-foreground));
    font-weight: 300;
    max-width: 36rem;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.contact-button:hover {
    background-color: hsl(var(--foreground));
}

.contact-button svg {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .contact-info {
        flex-direction: row;
        gap: 2rem;
    }
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: hsl(var(--primary));
}

.contact-info svg {
    width: 1rem;
    height: 1rem;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: hsl(var(--muted-foreground));
    transition: color 0.3s ease;
}

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

.social-links svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

.site-footer .footer-content {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .site-footer .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.site-footer .copyright {
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-nav a {
    color: hsl(var(--muted-foreground));
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: hsl(var(--primary));
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
    
    .hero-content .subtitle {
        font-size: 1rem;
    }
    
    .hero-content .tagline {
        font-size: 1.25rem;
    }
    
    .about-section,
    .portfolio-section,
    .accomplishments-section,
    .contact-section {
        padding: 8rem 1.5rem;
    }
    
    .about-section .section-title,
    .portfolio-section .section-title,
    .accomplishments-section .section-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 6rem;
    }
}

/* ==========================================================================
   WordPress Admin Bar Fix
   ========================================================================== */
body.admin-bar .hero-section {
    min-height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .hero-section {
        min-height: calc(100vh - 46px);
    }
}

/* About Image */
.about-image {
    margin-bottom: 2rem;
    text-align: center;
}

.about-image img {
    max-width: 300px;
    border: 1px solid hsl(var(--border));
}

/* Skip to Content Link (Accessibility) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 1rem;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.skip-link:focus {
    left: 0;
}

/* Print Styles */
@media print {
    .scroll-indicator,
    .social-links,
    .portfolio-tabs {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
