/*
Theme Name: My Portfolio Theme (Mint & Dark Edition)
Author: Karolina
Description: A sleek, dark, and animated portfolio theme with a sophisticated Mint/Seafoam color palette and elegant Cormorant Garamond/Open Sans typography.
Version: 5.7 (Final Responsive Version)
*/

/* -------------------- GLOBAL STYLES & COLOR VARIABLES -------------------- */

:root {
    /* Color Palette */
    --color-accent-primary: #5DAE8E; /* Deep Mint/Seafoam Green (Buttons, Underline) */
    --color-dark-deep: #000000;      /* Black (Secondary Background, Navbar) */
    --color-accent-light: #AFE3DC; /* Light Mint/Aqua (Glow, Hover) */
    --color-light: #F3F3F3;          /* Off-White (Primary Text) */
    --color-dark: #2C2C2C;           /* Dark Gray/Near Black (Muted/Detail Background) */
    --color-text: #e4e4e4;           /* General light text */
    --color-card-bg: rgba(93, 174, 142, 0.05); /* Very subtle tint for cards */

    /* ELEGANT FONTS */
    --font-heading: 'Cormorant Garamond', serif; 
    --font-body: 'Open Sans', sans-serif; 

    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(93, 174, 142, 0.5);
}

/* FIX: Forces any default code blocks to use the body font */
code, pre, kbd, samp {
    font-family: var(--font-body), sans-serif !important;
}

/* -------------------- BODY & GLOBAL TEXT STYLES -------------------- */

body {
    margin: 0;
    font-family: var(--font-body), sans-serif; 
    color: var(--color-light); 
    
    /* Animated gradient background */
    background: linear-gradient(-45deg, var(--color-dark), var(--color-dark-deep), var(--color-dark), var(--color-dark-deep));
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite; 
    
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.5s ease;
    background-attachment: fixed; 
}

/* Apply Heading Font to all Headings AND relevant custom elements */
h1, h2, h3, h4, h5, h6,
.hero-content h1,
.about-text h2,
.about-page h1,
.about-page h2,
.portfolio-item h3,
.portfolio-header h1,
.portfolio_deatils h1,
.portfolio_content h1,
.contact-form h2,
.welcome,
.ml3,
.feel_free {
    font-family: var(--font-heading), serif !important; 
    color: var(--color-light); 
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Apply Body Font to all Paragraphs, Lists, and relevant custom elements */
p, li,
.about-text p,
.about_me_field,
.about_me_field_text,
.about-page p,
.about-section li,
.portfolio-item p,
.portfolio-header p,
.contact-form p {
    font-family: var(--font-body), sans-serif !important;
    color: var(--color-light);
    font-weight: 300;
}

/* Professional Heading Styles */
.title-main { font-size: 3rem; color: var(--color-accent-light); margin-bottom: 20px; }
.title-secondary { 
    font-size: 1.8rem; 
    color: var(--color-accent-primary); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    padding-bottom: 8px; 
    margin-bottom: 15px;
}
.title-tertiary { 
    font-size: 1.4rem; 
    color: var(--color-accent-light); 
    margin-top: 20px;
}
.lead-text { font-size: 1.15rem; line-height: 1.7; }
.muted-text { color: var(--color-text); font-style: italic; }


/* -------------------- ANIMATION KEYFRAMES -------------------- */

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

@keyframes glowText {
    from { text-shadow: 0 0 5px var(--color-accent-primary); }
    to { text-shadow: 0 0 20px var(--color-accent-light); }
}

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

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes wave {
    2% { transform: translateX(1); }
    25% { transform: translateX(-25%); }
    50% { transform: translateX(-50%); }
    75% { transform: translateX(-25%); }
    100% { transform: translateX(1); }
}

html {
    scroll-behavior: smooth;
}

/* -------------------- NAVIGATION (Desktop Centering Fix) -------------------- */
nav.main-navigation {
    /* Standard sticky navigation */
    background: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(8px);
    padding: 15px 30px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    animation: fadeDown 1s ease both;
    
    /* Flex layout for desktop */
    display: flex;
    /* Pushes Logo and Menu Wrapper to opposite sides */
    justify-content: space-between; 
    align-items: center;
}

/* Branding */
.site-logo {
    max-height: 35px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-link:hover .site-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px var(--color-accent-light));
}

/* Menu Wrapper (Desktop layout) */
.nav-menu-wrapper {
    /* FIX: Take up all available space between logo and right edge */
    flex-grow: 1; 
    display: flex;
    /* FIX: Center the menu links within that wide space */
    justify-content: center; 
}

.nav-menu {
    list-style: none;
    display: flex; /* Horizontal on desktop */
    gap: 30px; 
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: var(--color-light);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: var(--font-heading), serif !important; 
    position: relative;
}

.nav-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: var(--color-accent-primary); 
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a:hover {
    color: var(--color-accent-light); 
    text-shadow: 0 0 10px var(--color-accent-light);
    background: transparent;
    border-radius: 5px;
}


/* -------------------- MAIN CONTENT CONTAINER -------------------- */

main {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards 0.5s;
}

/* -------------------- BUTTONS (Matching Mint Style) -------------------- */

.btn,
.btn_view {
    background: var(--color-accent-primary); 
    color: var(--color-dark-deep); 
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 24px;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(93, 174, 142, 0.4); 
    font-family: var(--font-body), sans-serif !important; 
    margin-bottom: 10px; 
    display: block; 
    width: fit-content; 
    margin-left: auto; 
    margin-right: auto; 
}

.btn:hover,
.btn_view:hover,
.project-cta:hover {
    background: var(--color-accent-light); 
    color: var(--color-dark-deep); 
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 25px rgba(175, 227, 220, 0.7); 
}

/* FIX: Contact button inside the profile card to fit 100% width */
.about-profile-card .contact-btn {
    width: 100%;
    box-sizing: border-box; 
    display: block; 
    margin-left: 0; 
    margin-right: 0;
    padding-left: 15px; 
    padding-right: 15px;
}

/* -------------------- HOME PAGE INNOVATION STYLES -------------------- */

/* Reset main to be full width for the home page sections */
.home-main-content {
    max-width: none;
    padding: 0;
    margin: 0 auto;
}

/* 1. HERO SECTION STYLES */
.hero-split-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 40px;
}

.hero-text-content {
    flex: 1;
    max-width: 50%;
}

.hero-text-content .welcome {
    font-size: 4.5rem;
    margin-bottom: 15px;
    line-height: 1.1;
    color: var(--color-accent-light);
}

.hero-tagline {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 40px;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-btn,
.hero-btn-secondary {
    display: inline-block;
    width: fit-content;
    margin: 0;
}

/* Secondary button style (mint border, dark fill) */
.hero-btn-secondary {
    background: transparent;
    color: var(--color-accent-primary);
    border: 2px solid var(--color-accent-primary);
    box-shadow: none;
}

.hero-btn-secondary:hover {
    background: var(--color-accent-primary);
    color: var(--color-dark-deep);
    box-shadow: 0 0 25px rgba(93, 174, 142, 0.7);
    transform: scale(1.05) translateY(-2px);
}

/* Video Container Styles */
.hero-video-box {
    flex: 1;
    max-width: 50%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transition: transform 0.5s ease;
    border: 3px solid var(--color-accent-primary);
}

.hero-video-box:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px var(--color-accent-light);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-top-left-radius: 10px;
}

/* 2. ABOUT QUICK PREVIEW SECTION */
.about-quick-preview {
    background: var(--color-dark);
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-content-box {
    max-width: 800px;
    margin: 0 auto;
}

.about-title-main {
    font-size: 2.5rem;
    color: var(--color-accent-light);
    border-bottom: none;
    margin-bottom: 20px;
}

.about-text-content {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.about-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Download button specifics */
.download-btn {
    background: transparent;
    border: 2px solid var(--color-text);
    color: var(--color-text);
    box-shadow: none;
}

.download-btn:hover {
    background: var(--color-text);
    color: var(--color-dark-deep);
    transform: scale(1.05);
}

/* 3. CONTACT CTA STRIP */
.contact-cta-strip {
    text-align: center;
    padding: 60px 20px 100px;
    background: var(--color-dark-deep);
}

.contact-cta-strip .feel_free {
    font-size: 2rem;
    color: var(--color-accent-primary);
    margin-bottom: 10px;
}

.contact-subtext {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 30px;
}

.contact-btn-large {
    font-size: 1.1rem;
    padding: 15px 30px;
    box-shadow: var(--shadow-glow);
}

/* -------------------- ABOUT PAGE STYLES (Professional) -------------------- */

.about-page {
    padding: 0; 
    text-align: left;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(300px, 320px) 1fr; 
    gap: 60px; 
    align-items: start;
    margin-top: 40px;
}

/* 1. Profile Card (The Main Focus Area) */
.about-profile-card {
    background: var(--color-dark); 
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-card-bg); 
    text-align: center;
    position: sticky; 
    top: 100px;
}

.profile-image-wrapper {
    width: 180px; 
    height: 180px;
    margin: 15px auto 25px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--color-accent-primary); 
    box-shadow: var(--shadow-glow); 
    transition: transform 0.5s ease-in-out;
}

.profile-image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--color-accent-light); 
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) contrast(105%); 
}

.about-contact-box {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* 2. Details Container (The Grid of Information) */
.about-details-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; 
    align-content: start; 
}

/* Styling for all detail boxes */
.details-box {
    background: var(--color-card-bg); 
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--color-accent-primary); 
    transition: all 0.4s ease-in-out;
}

.details-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(93, 174, 142, 0.4);
    border-left-color: var(--color-accent-light);
}

/* Hard Skills Styling (Tags) */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.skill-tag {
    background: var(--color-accent-primary);
    color: var(--color-dark-deep);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background: var(--color-accent-light);
    box-shadow: 0 0 10px var(--color-accent-light);
}

/* List Styling (Languages) */
.skill-list-style {
    list-style: none;
    padding: 0;
}

.skill-list-style li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;
}

/* Professional List Bullet */
.skill-list-style li::before {
    content: "—";
    color: var(--color-accent-primary); 
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}


/* -------------------- PORTFOLIO STYLES (Interactive & Playful) -------------------- */

.portfolio-page {
    padding: 60px 20px;
}

/* Portfolio Header */
.portfolio-header {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-header .title-main {
    font-size: 3.5rem;
    color: var(--color-accent-light);
    animation: glowText 4s ease-in-out infinite alternate;
}

/* Interactive Grid Layout (Masonry-like) */
.interactive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: minmax(350px, auto);
    gap: 30px;
    margin-top: 40px;
    padding: 0;
}

.project-card {
    background: var(--color-dark);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    padding: 0;
    text-align: left;
    transform: scale(1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

/* Image Wrapper and Effect */
.thumbnail-wrapper {
    height: 100%;
    max-height: 400px;
    overflow: hidden;
    position: relative;
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(80%);
}

.project-card:hover .project-thumbnail {
    transform: scale(1.08);
    filter: brightness(100%);
}

/* Interactive Overlay */
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    color: var(--color-light);
    padding: 20px 25px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateY(60%); 
    opacity: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay .title-secondary {
    color: var(--color-accent-light);
    border-bottom: none;
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.excerpt-text {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 15px;
    max-width: 90%;
}

.project-meta {
    margin-bottom: 10px;
}

.meta-tag {
    display: inline-block;
    background: rgba(93, 174, 142, 0.15);
    color: var(--color-accent-light);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 8px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-cta {
    align-self: flex-start;
    padding: 8px 15px;
    font-size: 0.9rem;
}


/* -------------------- SINGLE PROJECT PAGE STYLES -------------------- */

.single-project-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.project-hero {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-title {
    font-size: 4.5rem;
    margin-bottom: 5px;
    color: var(--color-accent-light);
}

.project-type {
    font-size: 2.2rem;
    color: var(--color-accent-primary);
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: none;
}

.project-meta-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--color-light);
    font-size: 1.1rem;
}

.project-meta-bar p strong {
    color: var(--color-accent-light);
    font-weight: 600;
}

.project-summary {
    margin-bottom: 50px;
}

.project_description.lead-text {
    font-size: 1.25rem;
    color: var(--color-light);
}

.project-visuals img,
.project-visuals video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(93, 174, 142, 0.15);
}

.project-visuals .content-embed { 
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 30px 0;
}

.project-visuals .content-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.project-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

.nav-back {
    background: transparent;
    border: 2px solid var(--color-accent-primary);
    color: var(--color-accent-primary) !important;
}

.nav-back:hover {
    background: var(--color-accent-primary);
    color: var(--color-dark-deep) !important;
}


/* -------------------- CONTACT -------------------- */

.contact-page { text-align: center; padding: 60px 20px; animation: fadeUp 1s ease forwards; font-family: var(--font-body), sans-serif !important; }
.contact-socials { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; }
.contact-socials a { text-decoration: none; font-size: 1.8rem; color: var(--color-light); transition: all 0.3s ease; display: inline-block; }
.contact-socials a:hover { color: var(--color-accent-light); transform: scale(1.1); }
.feel_free { color: var(--color-light); font-size: 1.15rem; margin-top: 0; margin-bottom: 25px; }
.contact-form { max-width: 500px; margin: 30px auto; padding: 30px; background: rgba(175, 227, 220, 0.05); border-radius: 12px; box-shadow: var(--shadow-soft); }
.contact-form input, .contact-form textarea { width: 100%; background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(90, 90, 90, 0.5); color: var(--color-light); padding: 10px; border-radius: 6px; margin-bottom: 15px; font-family: var(--font-body), sans-serif !important; transition: all 0.3s ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--color-accent-primary); box-shadow: 0 0 10px rgba(175, 227, 220, 0.5); outline: none; }
.contact-form button { display: inline-block; width: 100%; background: var(--color-accent-primary); color: var(--color-dark-deep); font-family: var(--font-body), sans-serif !important; font-weight: 600; border: none; padding: 12px; border-radius: 8px; transition: all 0.4s ease; cursor: pointer; margin-top: 15px; box-shadow: 0 0 15px rgba(93, 174, 142, 0.3); }
.contact-form button:hover { background: var(--color-accent-light); color: var(--color-dark-deep); transform: scale(1.02) translateY(-2px); box-shadow: 0 0 25px rgba(175, 227, 220, 0.7); }

/* -------------------- FOOTER -------------------- */

footer {
    background: var(--color-dark-deep); 
    color: var(--color-light);
    text-align: center;
    padding: 25px 0;
    font-family: var(--font-body), sans-serif !important; 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeUp 1s ease forwards;
    position: relative; 
    bottom: 0;
    width: 100%;
}

/* -------------------- WAVES (Retained) -------------------- */

.wave { background: rgb(255 255 255 / 25%); border-radius: 1000% 1000% 0 0; position: fixed; width: 200%; height: 12em; animation: wave 10s -3s linear infinite; transform: translate3d(0, 0, 0); opacity: 0.8; bottom: 0; left: 0; z-index: -1; }
.wave:nth-of-type(2) { bottom: -1.25em; animation: wave 18s linear reverse infinite; opacity: 0.8; }
.wave:nth-of-type(3) { bottom: -2.5em; animation: wave 20s -1s reverse infinite; opacity: 0.9; }
.ml3 { display: inline-block; font-size: 3rem; font-weight: bold; color: var(--color-light); padding: 20px; align-items: center; }
.letter { opacity: 0; display: inline-block; }


/* -------------------- RESPONSIVE (MOBILE) -------------------- */

@media (max-width: 768px) {
    
    /* 1. NAVIGATION STACK */
    nav.main-navigation {
        flex-direction: column; /* Logo and Menu Wrapper stack vertically */
        padding: 15px 15px;
    }
    
    .nav-branding {
        margin-bottom: 15px; /* Space between logo and links */
    }

    .nav-menu-wrapper {
        width: 100%;
        /* Overriding flex-grow for mobile to avoid strange stretching */
        flex-grow: unset; 
    }
    
    .nav-menu {
        flex-direction: column; /* Links stack vertically */
        gap: 0; 
        width: 100%;
        text-align: center;
    }

    .nav-menu li a {
        padding: 5px 0;
    }

    .nav-menu li a::after {
        display: none; 
    }

    /* 2. GLOBAL & LAYOUT STACKING */
    main {
        padding: 40px 15px;
    }
    
    .hero-split-section {
        flex-direction: column;
        padding: 40px 15px; 
    }
    
    .hero-text-content, .hero-video-box {
        max-width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-profile-card {
        position: relative; /* Remove sticky */
        top: 0;
    }

    .interactive-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ensure buttons stack and are appropriately sized */
    .hero-cta-group,
    .about-cta-group,
    .project-navigation {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-btn,
    .hero-btn-secondary,
    .about-cta-group .btn,
    .project-navigation .btn {
        width: 90%; 
        box-sizing: border-box;
    }

    /* 3. FONT SCALING (Optional but good practice) */
    .hero-text-content .welcome, .project-title {
        font-size: 2.5rem;
    }
    .title-main { 
        font-size: 2rem; 
    }
    .project-overlay {
        /* Force overlay content to display correctly on mobile grid */
        transform: translateY(0);
        opacity: 1;
        height: auto;
        position: static;
        background: var(--color-dark);
    }
}

/* -------------------- RESPONSIVE (Smaller Devices, e.g., iPhone 5/SE) -------------------- */
@media (max-width: 480px) {
    /* Further scaling down large font sizes for very small screens */
    .hero-text-content .welcome {
        font-size: 2.2rem;
    }
    .title-main { 
        font-size: 2rem; 
    }
    .title-secondary {
        font-size: 1.3rem;
    }
}