/* ===== CSS Variables  ===== */
:root {
    /* Colors */
    --primary-color: #2c1810;
    --secondary-color: #D2691E;
    --accent-color: #FF6B35;
    --text-dark: #2C1810;
    --text-light: #6B4423;
    --text-secondary: #8B7355;
    --bg-light: #FFF8F3;
    --bg-white: #FFFFFF;
    --bg-secondary: #F5F0E8;
    --caramel: #bf360c;
    --milk: #f5f5f5;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --white: #FFFFFF;
    
    /* Typography */
    --font-primary: 'Jost', sans-serif;
    --font-display: 'Playfair Display', serif;
    --font-size-base: 16px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius: 5px; 
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s ease;
}

/* ===== Enhanced Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

ul {
    list-style: none;
}

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

/* ===== Scrollbar styling ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: var(--border-radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* ===== Focus and Accessibility ===== */
:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

::selection {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

/* ===== ABOUT CONTENT ===== */
.about-content {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Story Section */
.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    margin-bottom: var(--spacing-xxl);
}

.story-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.story-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.story-image {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    height: 400px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

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

.story-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.story-image:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

/* Skills Section */
.skills-section {
    margin-bottom: var(--spacing-xxl);
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-display);
    font-weight: 700;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.skills-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    width: 100%;
}

.skill-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-secondary);
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.skill-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    transition: var(--transition);
}

.skill-card:hover .skill-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.skill-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.skill-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Projects Section */
.projects {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-secondary) 100%);
}

.projects .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
    font-family: var(--font-display);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 10rem;
    height: 0.5rem;
    margin: var(--spacing-md) auto 0;
    border-radius: var(--border-radius-sm);
    background: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.project-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.project-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.project-content {
    padding: var(--spacing-lg);
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tech-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Call to Action */
.cta-section {
    background: var(--bg-secondary);
    color: var(--text-dark);
    padding: var(--spacing-xxl) 0;
    text-align: center;
    margin-top: var(--spacing-xxl);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
    font-family: var(--font-display);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #e55a2b; 
    color: var(--text-dark);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--secondary-color);
}

.cta-button.secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-section,
.skill-card,
.project-card {
    animation: fadeInUp 0.6s ease-out;
}


@media (max-width: 480px) {
 
}
