/* ============================================
   NUALDA VARCETTI - PORTFOLIO
   Corporate Theme with UK & USA Flag Colors
   ============================================ */

/* CSS Variables - Color Palette */
:root {
    /* UK Flag Colors */
    --uk-red: #CE162E;
    --uk-white: #FFFFFF;
    --uk-blue: #012169;
    
    /* USA Flag Colors */
    --usa-red: #B22234;
    --usa-white: #FFFFFF;
    --usa-blue: #3C3B6E;
    
    /* Primary Colors */
    --primary-red: #CE162E;
    --primary-blue: #012169;
    --primary-navy: #0a1628;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #E9ECEF;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --black: #212529;
    
    /* Accent Colors */
    --accent-gold: #FFD700;
    --accent-silver: #C0C0C0;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--primary-red);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    background: linear-gradient(135deg, var(--uk-red), var(--usa-red));
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 8px;
    letter-spacing: 2px;
}

.logo-full {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--uk-red), var(--usa-red));
    transition: var(--transition-normal);
}

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(206, 22, 46, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(178, 34, 52, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--uk-red), var(--usa-red));
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -2px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--uk-red), var(--usa-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--accent-gold);
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--uk-red), var(--usa-red));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-decoration {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.flag-stripe {
    flex: 1;
    opacity: 0.3;
}

.uk-stripe {
    background: var(--uk-red);
}

.usa-stripe {
    background: var(--usa-blue);
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--uk-red), var(--usa-red));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--uk-red), var(--usa-red));
    margin: 0 auto;
    border-radius: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

.profile-icon {
    width: 120px;
    height: 120px;
    color: rgba(255, 255, 255, 0.3);
}

.profile-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--uk-red), var(--usa-red));
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
}

.about-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-details {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-red);
}

.detail-label {
    font-weight: 600;
    color: var(--primary-navy);
    min-width: 140px;
}

.detail-value {
    color: var(--dark-gray);
    flex: 1;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    background: var(--white);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition-normal);
    letter-spacing: 1px;
}

.filter-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--uk-red), var(--usa-red));
    color: var(--white);
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    opacity: 1;
    transform: scale(1);
    transition: var(--transition-normal);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--light-gray);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.portfolio-placeholder {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-icon {
    font-size: 80px;
    opacity: 0.8;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

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

.play-btn {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--uk-red), var(--usa-red));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.play-btn:hover {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--uk-red), var(--usa-red));
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.portfolio-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.portfolio-desc {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 15px;
}

.portfolio-meta {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.meta-item {
    font-size: 13px;
    color: var(--dark-gray);
    font-weight: 500;
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills {
    background: var(--off-white);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border-top: 4px solid var(--primary-red);
    text-align: center;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-top-color: var(--primary-blue);
}

.skill-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.skill-card p {
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 35px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 32px;
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--uk-red), var(--usa-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item strong {
    display: block;
    color: var(--primary-navy);
    font-size: 15px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--dark-gray);
    font-size: 14px;
    margin: 0;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--uk-red), var(--usa-red));
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: var(--off-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition-normal);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(206, 22, 46, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-navy);
    padding: 40px 0;
    border-top: 4px solid var(--primary-red);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
}

.footer-decoration {
    display: flex;
    width: 100%;
    max-width: 200px;
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
}

.footer-decoration .uk-stripe {
    flex: 1;
    background: var(--uk-red);
}

.footer-decoration .usa-stripe {
    flex: 1;
    background: var(--usa-blue);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .hero-title {
        font-size: 56px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-navy);
        width: 100%;
        padding: 30px;
        gap: 20px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .logo-full {
        display: none;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

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

.hero-badge,
.hero-title,
.hero-subtitle,
.hero-description,
.hero-cta,
.hero-stats {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-description { animation-delay: 0.4s; }
.hero-cta { animation-delay: 0.5s; }
.hero-stats { animation-delay: 0.6s; }

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}