:root {

    --primary: #0f172a;

    --primary-light: #334155;

    --accent: #d97706;

    --bg-gradient-start: #f8fafc;
    --bg-gradient-end: #e2e8f0;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-color: #cbd5e1;
    --input-bg: #ffffff;
    --shadow-soft: 0 10px 40px -10px rgba(15, 23, 42, 0.1);
    --radius-lg: 16px;
    --radius-md: 10px;
    --font-main: 'Outfit', sans-serif;
}

[data-theme="dark"] {

    --primary: #38bdf8;

    --primary-light: #0ea5e9;
    --accent: #fbbf24;

    --bg-gradient-start: #020617;

    --bg-gradient-end: #0f172a;

    --card-bg: rgba(30, 41, 59, 0.7);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --input-bg: #1e293b;
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-main);
    min-height: 100vh;
    padding: 30px 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}


.background-decor {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.03) 0%, transparent 20%);
    z-index: -1;
    pointer-events: none;
    animation: pulseDecor 10s infinite alternate;
}

@keyframes pulseDecor {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}


.theme-toggle {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.05);
    border-color: var(--accent);
    color: var(--accent);
}

.container {
    width: 100%;
    max-width: 800px;
    margin-bottom: 3rem;
}

.header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s ease;
}

.header h1 {
    color: var(--primary);

    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

[data-theme="light"] .header h1 {
    color: var(--primary);

}

.header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeInUp 0.8s ease;
}

.section-container {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed var(--border-color);
}

.section-container:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
}

[data-theme="dark"] .section-title {
    color: var(--accent);
}

.name-entry {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    animation: slideIn 0.4s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.input-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.input-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: end;
}


.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.idx-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--primary);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

[data-theme="dark"] .idx-badge {
    background: var(--accent);
    color: #0f172a;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text-main);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
    outline: none;
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

.phone-inputs .phone-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.btn-remove-inline {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    cursor: pointer;
    width: 42px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.btn-remove-inline:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.05);
}

.btn-dashed {
    width: 100%;
    border: 2px dashed var(--border-color);
    background: transparent;
    color: var(--text-muted);
    padding: 14px;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.btn-dashed:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(14, 165, 233, 0.05);
}

[data-theme="dark"] .btn-dashed:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(251, 191, 36, 0.05);
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
}

.btn-text:hover {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

[data-theme="dark"] .btn-text:hover {
    color: var(--accent);
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    color: #0f172a;
    box-shadow: 0 8px 20px -4px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -5px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-main);
    color: var(--text-main);
    font-weight: 500;
}

.btn-secondary:hover {
    background: var(--border-color);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: var(--card-bg);
    width: 95%;
    max-width: 550px;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid var(--border-color);
}

.modal.hidden .modal-content {
    transform: scale(0.9);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 700;
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.2s;
}

.close-btn:hover {
    color: var(--text-main);
    transform: rotate(90deg);
}

.preview-box {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
    max-height: 400px;
    overflow-y: auto;
}

.preview-group h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.table-preview th {
    text-align: left;
    color: var(--text-muted);
    font-weight: 600;
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.table-preview td {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 2rem;
    justify-content: flex-end;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .input-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .input-grid-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }


    .btn-remove-inline {
        width: 100%;
        margin-top: 0;
    }

    .container {
        padding: 0;
    }

    .form-card {
        padding: 1.5rem;
        border-radius: 20px;
    }
}


.seo-box {
    position: relative;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    margin-bottom: 2rem;
    animation: glassSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

[data-theme="light"] .seo-box {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(248, 250, 252, 0.8) 100%);
    border: 1px solid rgba(203, 213, 225, 0.6);
}


.seo-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

@keyframes glassSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.seo-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle,
            rgba(217, 119, 6, 0.1) 0%,
            transparent 70%);
    animation: floatGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-30px, 30px) rotate(15deg);
    }
}

.seo-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .seo-header {
    border-bottom: 1px solid rgba(203, 213, 225, 0.5);
}

.seo-header i {
    font-size: 1.5rem;
    color: var(--accent);
    animation: iconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(217, 119, 6, 0.4));
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(217, 119, 6, 0.4));
    }

    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 15px rgba(217, 119, 6, 0.6));
    }
}

.seo-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    z-index: 1;
}

.seo-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    animation: fadeInText 0.8s ease 0.3s both;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.seo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-main);
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    animation: listItemSlide 0.5s ease both;
    background: transparent;
}


.seo-list li:nth-child(1) {
    animation-delay: 0.4s;
}

.seo-list li:nth-child(2) {
    animation-delay: 0.5s;
}

.seo-list li:nth-child(3) {
    animation-delay: 0.6s;
}

.seo-list li:nth-child(4) {
    animation-delay: 0.7s;
}

.seo-list li:nth-child(5) {
    animation-delay: 0.8s;
}

.seo-list li:nth-child(6) {
    animation-delay: 0.9s;
}

@keyframes listItemSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.seo-list li:hover {
    background: rgba(16, 185, 129, 0.08);
    transform: translateX(8px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.seo-list li i {
    color: #10b981;
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.seo-list li:hover i {
    transform: scale(1.3) rotate(10deg);
}

.seo-list li strong {
    color: var(--accent);
    position: relative;
}

.seo-list li strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.seo-list li:hover strong::after {
    transform: scaleX(1);
    transform-origin: left;
}


.seo-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    animation: galleryFadeIn 0.8s ease 0.5s both;
}

@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] .gallery-item {
    border: 1px solid rgba(203, 213, 225, 0.6);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(217, 119, 6, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
    filter: brightness(0.95);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(15, 23, 42, 0.5) 50%,
            transparent 100%);
    padding: 35px 15px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    padding-bottom: 20px;
    background: linear-gradient(to top,
            rgba(217, 119, 6, 0.9) 0%,
            rgba(15, 23, 42, 0.7) 60%,
            transparent 100%);
}

.gallery-overlay i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1.3);
    animation: bounceZoom 0.6s ease;
}

@keyframes bounceZoom {

    0%,
    100% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(1.5);
    }
}

.gallery-overlay span {
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay span {
    letter-spacing: 1px;
}


.gallery-item-carousel {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 100%);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .gallery-item-carousel {
    border: 1px solid rgba(203, 213, 225, 0.6);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.carousel-container:hover .carousel-slide.active img {
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.gallery-item-carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background: var(--accent);
    border-color: #fff;
    transform: scale(1.2);
}

.gallery-item-carousel .gallery-overlay {
    pointer-events: none;
}


@media (max-width: 600px) {
    .carousel-btn {
        opacity: 1;
        width: 32px;
        height: 32px;
    }

    .carousel-prev {
        left: 5px;
    }

    .carousel-next {
        right: 5px;
    }
}


.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 1;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.lightbox-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

#lightboxCaption {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-top: 15px;
    font-weight: 500;
}


@media (max-width: 768px) {
    .seo-content {
        grid-template-columns: 1fr;
    }

    .seo-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .seo-box {
        padding: 1.25rem;
    }

    .seo-header {
        gap: 10px;
    }

    .seo-header i {
        font-size: 1.25rem;
    }

    .seo-header h2 {
        font-size: 1.05rem;
    }

    .seo-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .seo-list li {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-close {
        top: -40px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}


.site-footer {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-top: auto;
    padding: 2rem 1.5rem 1.25rem;
    background: transparent;
    overflow: hidden;
    animation: footerSlideUp 0.8s ease 0.5s both;
}

[data-theme="light"] .site-footer {
    background: transparent;
}

@keyframes footerSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 300px;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent),
            transparent);
    animation: gradientPulse 2s ease-in-out infinite;
}

@keyframes gradientPulse {

    0%,
    100% {
        opacity: 0.5;
        width: 40%;
    }

    50% {
        opacity: 1;
        width: 60%;
    }
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.footer-brand h3 {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-tagline {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(217, 119, 6, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: var(--text-main);
    font-size: 0.75rem;
}

.footer-tagline i {
    color: var(--accent);
    font-size: 0.8rem;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: var(--text-main);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(217, 119, 6, 0.3);
}

.footer-divider {
    width: 60%;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--border-color),
            transparent);
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.footer-copyright span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.footer-copyright .year {
    color: var(--accent);
    font-weight: 600;
}


@media (max-width: 480px) {
    .site-footer {
        padding: 2rem 1.5rem 1.25rem;
        margin-top: 2rem;
    }

    .footer-brand h3 {
        font-size: 1.2rem;
    }

    .footer-tagline {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}
