/*
Theme Name: NARA Web Art
Theme URI: https://narawebart.com
Author: Nikolett Rabel
Author URI: https://narawebart.com
Description: Személyes brand és webdesigner portfólió téma – Nikolett Rabel számára.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nara-theme
Tags: portfolio, one-page, responsive
*/

/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --teal: #5bb8d4;
    --teal-dark: #2a8faa;
    --navy: #1a3a4a;
    --text: #4C4747;
    --text-muted: #5a6e7a;
    --white: #ffffff;
    --card-bg: #f0f8fc;
    --sky-light: #e8f6fb;
    --radius: 16px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
}


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

a {
    color: inherit;
}

ul {
    list-style: none;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === BUTTONS === */
.btn-primary {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-outline {
    display: inline-block;
    background: var(--navy);
    color: #F2F3F1;
    border: 2px solid var(--navy);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-send {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;

}

.btn-send:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-send:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* === NAVIGATION === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.nav-name {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.3;
}

.nav-name strong {
    display: block;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
}

.nav-logo {
    height: 100px;
    width: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 25px;
    font-weight: 400;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 2px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.25s;
}

.main-nav a:hover::after,
.main-nav .current-menu-item a::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: var(--teal-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

#name {

    font-weight: 300;
    font-size: 22px;
    color: var(--body-txt);
    white-space: nowrap;
}

#subtitle {

    font-weight: 300;
    font-size: 18px;
    color: var(--body-txt);
}


/* === HERO === */
.hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    /* Fallback szín ha nincs háttérkép */
    background-color: #c8eaf5;
}

/* Háttér overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.35);
    /* ← ezt állítsd */

    z-index: 0;
}

/* Tartalom előre */
.hero-content,
.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 5% 4.5rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-family: var(--font-body);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--navy);
    margin-bottom: 2rem;
    max-width: 530px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-notice {
    background: var(--sky-light);
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    font-size: 16px;
    color: var(--navy);
    max-width: 480px;
    line-height: 1.5;
}

.hero-notice strong {
    font-weight: 500;
}

/* Profil fotó – kerek idom */
.hero-photo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.photo-frame {
    width: 250px;
    height: 310px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(91, 184, 212, 0.35);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* === ABOUT === */
.about-section {
    background: var(--sky-light);
    padding: 3.5rem 5%;
}

.about-inner {
    max-width: 720px;
    margin: 0 auto;
}

.about-inner p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    line-height: 1.75;
}

/* === PROJECTS === */
.projects-section {
    padding: 5rem 5%;
    background: var(--white);
}

.projects-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    font-style: italic;
    color: var(--navy);
    text-align: center;
    margin-bottom: 3rem;
}

/* Featured */
.project-featured {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
}

.project-featured-img {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

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

.project-featured:hover .project-featured-img img {
    transform: scale(1.03);
}

.project-featured-body {
    padding: 2rem 2rem 0.5rem;
}

.project-tag {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal-dark);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.project-featured-body h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

.project-url {
    font-size: 15px;
    color: var(--teal-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
}

.project-url:hover {
    text-decoration: underline;
}

.project-featured-body p,
.project-card-body p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
    line-height: 1.65;
}

.project-bullets {
    margin-bottom: 0.8rem;
}

.project-bullets li {
    font-size: 15px;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0.25rem;
}

.project-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--teal);
}

.project-meta {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.project-meta strong {
    color: var(--text);
}

.project-featured-footer {
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem 2rem 2rem;
}

/* Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.project-card-body {
    padding: 1.5rem 1.5rem 0.5rem;
    flex: 1;
}

.project-card-body h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

.project-card-footer {
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem 1.5rem 1.5rem;
}

/* === CONTACT === */
.contact-section {
    position: relative;

    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--sky-light);

    padding: 1.5rem 1.5rem 0.5rem;
    flex: 1;

}

.contact-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-visual {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 15px 48px rgba(0, 0, 0, 0.1);
}

.contact-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* Form */
.form-group {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(91, 184, 212, 0.35);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aab8c0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(91, 184, 212, 0.15);
    background: #fff;
}

.contact-form textarea {
    height: 130px;
    resize: vertical;
}

.form-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.form-message {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    background: rgba(91, 184, 212, 0.12);
    color: var(--teal-dark);
    border: 1px solid rgba(91, 184, 212, 0.35);
    display: block;
}

.form-message.error {
    background: rgba(220, 80, 80, 0.08);
    color: #c0392b;
    border: 1px solid rgba(220, 80, 80, 0.25);
    display: block;
}

.contact-form {
    display: flex;
    flex-direction: column;
    padding-top: 0;
    /* ← ez hozza feljebb a h3-at */
}

.contact-form .btn-send {
    align-self: flex-end;
    margin-top: 2rem;
}

.contact-form h2 {
    margin-top: 0;
    padding-top: 0;
}

/* === FOOTER === */
.site-footer {
    background: var(--white);
    padding: 2.5rem 5%;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    font-size: 14px;

}

.site-footer a {

    text-decoration: none;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav {
    display: flex;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--teal-dark);
}

.footer-copy {
    font-size: 12px;
    color: #aab8c0;
}

/* === ANIMÁCIÓK === */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .contact-visual {
        max-width: 400px;
    }
}

@media (max-width: 640px) {
    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 1.5rem 5%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .main-nav.open ul {
        flex-direction: column;
        gap: 1.2rem;
    }

    .menu-toggle {
        display: flex;
    }

    .footer-nav {
        gap: 2rem;
    }
}

.page-content {
    padding: 80px 24px;
}

.page-inner {
    max-width: 900px;
    margin: 0 auto;
}

.page-text {
    line-height: 1.8;
    font-size: 1rem;
}
