/* AWS-Inspired Dark Theme - Global Styles */

:root {
    /* AWS Color Palette */
    --aws-orange: #FF9900;
    --aws-blue: #232F3E;
    --aws-light-blue: #146EB4;

    /* Background Colors */
    --bg-primary: #0A0A0A;
    --bg-secondary: #121212;
    --card-bg: #1A1A1A;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-muted: #A0A0A0;

    /* Accent Colors */
    --accent-glow: rgba(255, 153, 0, 0.3);
    --border-color: rgba(255, 153, 0, 0.1);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    line-height: 1.7;
}

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



.logo {
    position: absolute;
    color: #ff9900;
    font-size: 70px;
    z-index: 9;
    transform: rotateZ(-45deg);
    top:45px;
    left: -28px;
}
.r4{
    color: white;
}

span.bigo {
    font-size: 100px;
    position: relative;
    top: 16px;
}


.logo:before {
    content: "";
    border-bottom: 2px solid var(--aws-orange);
    width: 0;
    position: absolute;
    left: 39px;
    bottom: 30px;
    animation: lineGrow 10s ease-in-out infinite;
    z-index: 9;
}

.logo:after {
    content: "";
    border-bottom: 4px solid white;
    width: 138px;
    position: absolute;
    left: 39px;
    bottom: 29px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 2rem 0;
}

/* Person Photo */
.person-photo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.person-photo {
    width: 100%;
    max-width: 280px;
    height: 280px;
    object-fit: cover;
    border: 4px solid var(--aws-orange);
    border-radius: 1rem;
    box-shadow: 0 0 30px rgba(255, 153, 0, 0.4);
    transition: all 0.3s ease;
}

.person-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 0 50px rgba(255, 153, 0, 0.6);
    border-color: #FFB84D;
}

/* Introduction Tile Content */
.intro-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.greeting {
    font-size: 1.25rem;
    color: var(--aws-orange);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.name {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--aws-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 90%;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--aws-orange);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #FFB84D;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 153, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--aws-orange);
    border: 2px solid var(--aws-orange);
}

.btn-secondary:hover {
    background: var(--aws-orange);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Tech Stack Marquee */
.marquee-container {
    height: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: marqueeScroll 20s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 153, 0, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 153, 0, 0.1);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 153, 0, 0.1);
    border-color: rgba(255, 153, 0, 0.3);
    transform: translateX(5px);
}

.tech-item i {
    font-size: 2rem;
    color: var(--aws-orange);
}

.tech-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* AWS Badge */
.badge-tile {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.aws-badge {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 153, 0, 0.5));
    transition: all 0.3s ease;
}

.aws-badge:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(255, 153, 0, 0.8));
}

.badge-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.5;
}

/* About Me Tile */
.about-tile {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-brief {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid rgba(255, 153, 0, 0.3);
    border-radius: 0.5rem;
    color: var(--aws-orange);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    justify-content: center;
}

.about-link:hover {
    background: var(--aws-orange);
    color: var(--bg-primary);
    transform: translateX(5px);
}

.about-link i {
    transition: transform 0.3s ease;
}

.about-link:hover i {
    transform: translateX(3px);
}

/* Status Tile */
.status-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #00FF00;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #00FF00;
    animation: pulseBorder 2s ease-in-out infinite;
}

.status-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.location i {
    color: var(--aws-orange);
}

.specializations {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid rgba(255, 153, 0, 0.3);
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--aws-orange);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 153, 0, 0.2);
    border-color: var(--aws-orange);
}

/* Projects Section */
.projects-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--aws-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Project Tile Content */
.project-preview {
    padding: 0;
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--aws-blue), var(--bg-primary));
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-placeholder {
    font-size: 4rem;
    color: var(--aws-orange);
    opacity: 0.3;
}

.project-info {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.project-brief {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 0.4rem 0.875rem;
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid rgba(255, 153, 0, 0.3);
    border-radius: 0.375rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--aws-orange);
}

/* Project Expanded View */
.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid rgba(255, 153, 0, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--aws-orange);
    font-size: 1.25rem;
}

.close-btn:hover {
    background: var(--aws-orange);
    color: var(--bg-primary);
    transform: rotate(90deg);
}

.project-details {
    margin-top: 2rem;
}

.project-details h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.project-details h4 {
    color: var(--aws-orange);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.project-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.project-details ul {
    list-style: none;
    padding-left: 0;
}

.project-details li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    position: relative;
}

.project-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--aws-orange);
    font-size: 1.5rem;
    line-height: 1;
}

.tech-stack-list {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tech-stack-list span {
    padding: 0.5rem 1rem;
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid rgba(255, 153, 0, 0.3);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--aws-orange);
}

/* Web Development Work Link Section */
.web-dev-link-section {
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 153, 0, 0.1);
}

.web-dev-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.web-dev-link {
    display: inline-block;
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    text-align: center;
}

.contact-container h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--aws-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-container p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 153, 0, 0.05);
    border: 1px solid rgba(255, 153, 0, 0.3);
    border-radius: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255, 153, 0, 0.15);
    border-color: var(--aws-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 153, 0, 0.2);
}

.contact-link i {
    color: var(--aws-orange);
    font-size: 1.5rem;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 153, 0, 0.1);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-tech {
    font-size: 0.85rem;
    color: var(--aws-orange);
    font-weight: 500;
}

/* Animations */
@keyframes marqueeScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes pulseBorder {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes lineGrow {
    0% {
        width: 0;
    }
    40% {
        width: 138px;
    }
    40.1%, 100% {
        width: 0;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {

    .logo{
        font-size: 40px;
    }
    span.bigo{
        font-size: 55px;
    }

.logo:after{
    bottom: 8px;
    width: 85px;
    left: 19px;
}
.logo:before{
    bottom: 19px;
}

    .person-photo {
        max-width: 220px;
        height: 220px;
        border-width: 3px;
    }

    .person-photo-container {
        margin-bottom: 1rem;
    }

    .tagline {
        max-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .contact-links {
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-link {
        justify-content: center;
    }

    .web-dev-link-section {
        padding: 3rem 1.5rem;
        margin-top: 2rem;
    }

    .web-dev-text {
        font-size: 1rem;
    }
}
