/* 
   Leonardo Sampaio - Portfólio Profissional
   Style Sheet - Vanilla CSS
*/

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
    --bg-dark: #0a0a0b;
    --bg-overlay: rgba(10, 10, 11, 0.72);
    --gold-primary: #c5a880;
    --gold-bright: #e5c497;
    --gold-dark: #8c7352;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-muted: #6e6e73;
    --glass-bg: rgba(18, 18, 20, 0.6);
    --glass-border: rgba(197, 168, 128, 0.15);
    --glass-border-hover: rgba(197, 168, 128, 0.4);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-signature: 'Aneisha Script', 'AneishaScript', 'Pinyon Script', cursive;
    
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s ease;
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    font-family: var(--font-sans);
    color: var(--text-primary);
    overflow: hidden; /* Prevent body scrolling since container handles it */
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* --- BACKGROUND STYLING --- */
.bg-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(18, 18, 20, 0.8) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* --- HEADER --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: flex-end; /* assinatura encostada no menu, longe dos cards */
    align-items: center;
    gap: 2.5rem;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through */
}

.main-header * {
    pointer-events: auto; /* Re-enable clicks for items */
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo-signature {
    display: block;
    /* proporcao real do PNG recortado: 626 x 214 */
    height: 54px;
    width: 158px;
    background-color: var(--gold-primary);
    -webkit-mask: url('assets/signature_trans.png') left center / contain no-repeat;
    mask: url('assets/signature_trans.png') left center / contain no-repeat;
}

.logo-sep {
    margin: 0 0.75rem;
    font-weight: 300;
    color: var(--text-muted);
}

.logo-title {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-primary);
    transition: var(--transition-fast);
}

.menu-link:hover, .menu-link.active {
    color: var(--text-primary);
}

.menu-link:hover::after, .menu-link.active::after {
    width: 100%;
}

.btn-contact {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--gold-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    background-color: rgba(197, 168, 128, 0.05);
    transition: var(--transition-fast);
}

.btn-contact:hover {
    background-color: var(--gold-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.3);
}

/* --- SCROLL SNAP LAYOUT --- */
.scroll-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.snap-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    z-index: 3;
}

.content-wrapper {
    width: 100%;
    max-width: 1400px;
    padding: 0 8%;
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.content-wrapper.flex-end {
    justify-content: flex-end;
}

/* --- GLASS CARD COMPONENT --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3.5rem;
    border-radius: 12px;
    max-width: 650px;
    width: 100%;
    box-shadow: var(--card-shadow);
    transition: border-color 0.5s ease, transform 0.5s ease;
    transform: translateY(30px);
    opacity: 0;
}

.glass-card.active {
    transform: translateY(0);
    opacity: 1;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
}

/* Typography Inside Cards */
.subtitle, .section-tag {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

h1 {
    font-family: var(--font-sans);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.hero-name {
    font-family: var(--font-sans);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-name .name-accent {
    font-family: var(--font-signature);
    font-size: 4.8rem;
    font-weight: 400;
    color: var(--gold-primary);
    text-transform: none;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
    line-height: 0.8;
}

.hero-name .name-regular {
    display: inline-block;
    vertical-align: middle;
}

h2 {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

p.hero-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

p.lead-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Link do escritorio dentro do texto de abertura */
.lead-link {
    color: var(--gold-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(197, 168, 128, 0.4);
    transition: border-color 0.25s ease, color 0.25s ease;
}

.lead-link:hover,
.lead-link:focus-visible {
    color: #dcc49b;
    border-bottom-color: #dcc49b;
}

/* Badge Container */
.badge-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.4rem 1rem;
    background-color: rgba(197, 168, 128, 0.12);
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: var(--gold-primary);
    border-radius: 50px;
    font-weight: 500;
}

/* Grid Layout Inside Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.grid-item h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.grid-item ul {
    list-style: none;
}

.grid-item li {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.25rem;
    font-weight: 300;
}

.grid-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
}

.academic-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    margin-bottom: 2rem;
}

.academic-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--gold-primary);
    color: var(--bg-dark);
    border: 1px solid var(--gold-primary);
}

.btn-primary:hover {
    background-color: var(--gold-bright);
    border-color: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 168, 128, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

.btn-outline:hover {
    background-color: var(--gold-primary);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.cta-actions {
    display: flex;
}

/* --- SECTION 4: CAROUSEL SPECS --- */
.carousel-container {
    position: relative;
    min-height: 220px;
    margin-bottom: 1.5rem;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(20px);
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.publications-list {
    list-style: none;
}

.publications-list li {
    margin-bottom: 1.25rem;
    border-left: 2px solid var(--gold-primary);
    padding-left: 1rem;
}

.pub-link {
    display: block;
    text-decoration: none;
}

.pub-link:hover strong {
    color: var(--gold-primary);
}

.lattes-cta {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.publications-list strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-sans);
    letter-spacing: -0.2px;
}

.publications-list span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 300;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}

.carousel-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background-color: rgba(197, 168, 128, 0.05);
}

.carousel-indicator {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* --- SECTION 5: CONTACT SPECS --- */
.contact-card {
    max-width: 900px; /* Wider card for two-column contact layout */
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 3.5rem;
    margin-top: 1.5rem;
}

.contact-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.info-block-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-block .icon {
    width: 24px;
    height: 24px;
    fill: var(--gold-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-block h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-primary);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.info-block p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Social links */
.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-fast);
    text-decoration: none;
}

.social-links a.social-link-text {
    width: auto;
    padding: 0 1rem;
}

.social-links a:hover {
    border-color: var(--gold-primary);
    background-color: rgba(197, 168, 128, 0.08);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-links a:hover .social-icon {
    fill: var(--gold-primary);
}

.txt-icon {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.social-links a:hover .txt-icon {
    color: var(--gold-primary);
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 0.9rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.1);
}

.btn-block {
    width: 100%;
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.75rem;
    font-weight: 300;
    line-height: 1.4;
}

.form-hint strong {
    color: var(--gold-primary);
    font-weight: 500;
}

.form-status {
    font-size: 0.85rem;
    text-align: center;
    margin-top: 0.5rem;
    min-height: 20px;
    transition: var(--transition-fast);
}

.form-status.success {
    color: #a7f3d0;
}

.form-status.error {
    color: #fca5a5;
}

/* --- NAVIGATION DOTS (FLOATING INDICATOR) --- */
.navigation-dots {
    position: fixed;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.navigation-dots ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--text-muted);
    transition: var(--transition-fast);
    position: relative;
}

.dot:hover, .dot.active {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
    transform: scale(1.3);
}

.dot .tooltip {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: var(--bg-dark);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.dot:hover .tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* --- RESPONSIVE SCROLL-SNAP SYSTEM (THE CORE CRUX) --- */

/* Blurred background for volumetric look */
.blurred-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(25px) brightness(0.22) saturate(85%);
    transform: scale(1.06); /* Avoid border artifacts during blur */
    z-index: 1;
    pointer-events: none;
}

/* Split columns layout for desktop */
.split-layout {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.text-column {
    flex: 1 1 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.image-column {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

/* --- RESPONSIVE SCROLL-SNAP SYSTEM (THE CORE CRUX) --- */

/* Fullscreen background slider */
.fullscreen-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.fullscreen-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* clip a <img> real do mesmo jeito que o background-image era clipado */
    opacity: 1;
    transition: filter 0.15s ease-out;
    z-index: 1;
    will-change: filter;
    transform: translate3d(0, 0, 0) scale(1.06);
}

/* <img> real (com alt) no lugar do antigo background-image, para contar
   como imagem indexavel pelo Google Imagens. Mesmo enquadramento de antes:
   object-fit/object-position reproduzem background-size:cover + background-position. */
.fullscreen-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 22%; /* Safe position offset for Y-axis on landscape monitors */
}

/* HERO: retrato em pe (2533x3800) numa tela larga.
   Amplia e ancora a esquerda para o rosto ficar ao lado do card.
   Equivalente exato de background-size:140% auto; background-position:0% 34%:
   left/top na mesma porcentagem + translate negativo da mesma porcentagem
   (formula classica para reproduzir background-position com um elemento
   dimensionado explicitamente). */
#home .fullscreen-bg-img {
    width: 140%;
    height: auto;
    left: 0%;
    top: 34%;
    transform: translate(0%, -34%);
}

/* ACADEMIA: retrato em pe (2533x3800). Amplia e ancora a esquerda
   para o corpo cair no espaco vazio a direita do card. */
#academia .fullscreen-bg-img {
    width: 133%;
    height: auto;
    left: 0%;
    top: 38%;
    transform: translate(0%, -38%);
}

/* Signature image stylings (Enlarged) */
.logo-sig-img {
    height: 62px; /* Enlarged signature in logo */
    width: auto;
    filter: invert(1) brightness(1.7) contrast(1.1);
    margin-bottom: 2px;
}

.personal-signature-img-container {
    margin-top: 1.5rem;
    display: inline-block;
}

.personal-signature-img {
    display: block;
    /* proporcao real do PNG recortado: 626 x 214 */
    width: 320px;
    height: 109px;
    background-color: var(--text-primary);
    -webkit-mask: url('assets/signature_trans.png') left center / contain no-repeat;
    mask: url('assets/signature_trans.png') left center / contain no-repeat;
}

/* DESKTOP VIEW (Horizontal Scroll Snapping) */
@media (min-width: 1024px) {
    .scroll-container {
        flex-direction: row;
        width: 100vw;
        height: 100vh;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
    }
    
    .snap-section {
        flex: 0 0 100vw;
        width: 100vw;
        height: 100vh;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        /* Reserva o espaco do header fixo para o card nunca nascer atras do menu */
        padding-top: 150px;
        padding-bottom: 48px;
        box-sizing: border-box;
    }
}

/* MOBILE & TABLET VIEW (Vertical Scroll Snapping) */
@media (max-width: 1023px) {
    .main-header {
        padding: 1.5rem 2rem;
        justify-content: center; /* so a assinatura sobra no header sem o menu; centralizar em vez de flex-end */
    }

    .desktop-menu {
        display: none;
    }

    .navigation-dots {
        right: 1.5rem;
    }

    .scroll-container {
        flex-direction: column;
        width: 100vw;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        scroll-snap-type: y mandatory;
    }

    .snap-section {
        flex: none;
        width: 100vw;
        min-height: 100vh;
        height: auto;
        /* Sem altura fixa + overflow:hidden: secoes com mais conteudo (ex.: Contato)
           cresciam mais que a tela e ficavam cortadas, inacessiveis por scroll. */
        overflow: visible;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        padding: 4rem 1rem 2rem 1rem;
    }

    .fullscreen-bg {
        /* Blur+brilho reduzidos: a versao anterior (brightness 0.22) somada
           ao overlay escuro apagava a foto quase por completo no celular. */
        filter: blur(6px) brightness(0.75) saturate(90%);
    }

    #home .fullscreen-bg-img,
    #academia .fullscreen-bg-img {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        transform: none;
        object-fit: cover;
        object-position: center 22%;
    }

    .content-wrapper {
        padding: 0 4%;
        justify-content: center !important; /* Center cards on mobile */
    }

    .glass-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-secondary {
        margin-left: 0;
    }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
    .main-header .logo-title {
        display: none;
    }
    
    .glass-card {
        padding: 1.5rem 1.2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .badge-container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .logo-sig-img {
        height: 48px; /* Slightly smaller on tiny screens */
    }

    .logo-signature {
        height: 40px;
        width: 117px;
    }

    .personal-signature-img {
        width: 250px;
        height: 85px;
    }
}
