/* Mirusi Mergina - Exact Match from Original */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    background-color: rgb(15, 15, 15);
    color: rgb(239, 239, 239);
    letter-spacing: normal;
    text-transform: none;
}

/* Typography - from original */
h1, h2, h3, h4 {
    font-family: 'Special Elite', serif;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.4;
    color: rgb(239, 239, 239);
}

p {
    margin-bottom: 1em;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

a:hover {
    color: rgb(198, 198, 198);
}

/* Container - from original */
.container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 768px) {
    .container {
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .container {
        width: 984px;
    }
}

@media (min-width: 1280px) {
    .container {
        width: 1160px;
    }
}

@media (min-width: 1536px) {
    .container {
        width: 1280px;
    }
}

/* Hero Section - Responsive image */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(15, 15, 15, 0) 0%,
        rgba(15, 15, 15, 0.3) 70%,
        rgba(15, 15, 15, 1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 24px;
}

.hero-title {
    font-size: 1.6rem;
    letter-spacing: 0.02em;
    color: rgb(239, 239, 239);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 1.6rem;
    }
}

@media (min-width: 1536px) {
    .hero-title {
        font-size: 23px;
    }
}

/* Sections - from original */
.section {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: rgb(15, 15, 15);
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Special Elite', serif;
    font-size: 1.6rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
    margin-bottom: 40px;
    color: rgb(239, 239, 239);
    text-align: left;
}


/* Section Divider - short centered line under title */
.section-divider {
    border: none;
    border-bottom: 1px solid rgb(255, 255, 255);
    width: 100%;
    margin: 16px 0 40px 0;
}

/* Grid System - from original */
.grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
    justify-content: center;
}

@media (min-width: 768px) {
    .grid {
        margin-right: -24px;
        margin-left: -24px;
    }
}

.grid-cell {
    box-sizing: border-box;
    flex-shrink: 1;
    flex-basis: 100%;
    padding-top: 0;
    padding-right: 12px;
    padding-bottom: 0;
    padding-left: 12px;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .grid-cell {
        padding-right: 24px;
        padding-left: 24px;
    }
}

/* About Section - 2 column layout */
.about-section .grid {
    margin-bottom: -24px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .about-section .grid {
        margin-bottom: -48px;
    }
}

.about-section .grid-cell {
    padding-bottom: 24px;
}

@media (min-width: 768px) {
    .about-section .grid-cell {
        padding-bottom: 48px;
        flex-basis: 83.33333333333334%;
        max-width: 83.33333333333334%;
    }
}

@media (min-width: 1024px) {
    .about-section .grid-cell-text {
        flex-basis: 66.66666666666666%;
        max-width: 66.66666666666666%;
        order: 0;
        text-align: left;
    }

    .about-section .grid-cell-image {
        flex-basis: 33.33333333333333%;
        max-width: 33.33333333333333%;
        order: 1;
        text-align: left;
        padding-top: 0;
    }
}

.about-text {
    color: rgb(200, 200, 200);
    font-size: 16px;
    line-height: 1.5;
}

.about-text p:first-child {
    margin-top: 0;
}

.about-text strong {
    color: rgb(200, 200, 200);
}

.about-image {
    margin: 0;
    padding: 0;
    margin-top: -4px;
}

.about-image img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
    border-radius: 0;
    aspect-ratio: 1;
    margin: 0;
    padding: 0;
    display: block;
}

@media (min-width: 1024px) {
    .about-image img {
        margin-bottom: 0;
    }
}

/* Work Section - cards grid */
.work-section .grid {
    margin-bottom: -24px;
    display: flex;
    flex-wrap: wrap;
    /*width: 100%;*/
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .work-section .grid {
        margin-bottom: -48px;
    }
}

.work-section .grid-cell {
    padding-bottom: 16px;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .work-section .grid-cell {
        padding-bottom: 48px;
    }

    .work-section .grid-cell.grid-cell-full {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .work-section .grid-cell.grid-cell-half {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.work-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.work-card > * {
    max-width: 100%;
}

.work-card > :nth-child(n) {
    margin-bottom: 24px;
}

.work-card > :last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    .work-card > :nth-child(n) {
        margin-bottom: 16px;
    }
}

.work-image-wrapper {
    display: inline-block;
    width: 100%;
    height: 100%;
    order: -1;
    z-index: 1;
}

.work-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-radius: 0;
    aspect-ratio: 2;
    object-fit: cover;
}

.work-title {
    font-family: 'Special Elite', serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
    color: rgb(239, 239, 239);
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .work-title {
        font-size: 22px;
    }
}

@media (min-width: 1536px) {
    .work-title {
        font-size: 1.6rem;
    }
}

.work-description {
    color: rgb(200, 200, 200);
    font-size: 16px;
    line-height: 1.5;
    width: 100%;
}

.work-description strong {
    color: rgb(239, 239, 239);
}

/* Contact Section */
.contact-section .grid {
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .contact-section .grid {
        flex-wrap: nowrap;
    }
}

.contact-section .grid-cell {
    padding-bottom: 24px;
}

@media (min-width: 768px) {
    .contact-section .grid-cell {
        flex-basis: 50%;
        max-width: 50%;
    }
}

@media (min-width: 1024px) {
    .contact-section .grid-cell {
        flex-basis: 50%;
        max-width: 50%;
    }
}

.contact-info {
    color: rgb(200, 200, 200);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.contact-form-container {
    display: block;
    width: 100%;
}

.contact-form-container form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Grav Form Plugin Styles */
.contact-form-container .form-wrapper {
    width: 100%;
}

.contact-form-container .form-field {
    margin-bottom: 16px;
}

.contact-form-container .form-label {
    display: none;
}

.contact-form-container .form-data {
    width: 100%;
}

.contact-form-container .form-input-wrapper {
    width: 100%;
}

.contact-form-container .form-input,
.contact-form-container .form-data,
.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container textarea {
    width: 100%;
    padding: 23px 16px 16px 16px;
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    background-color: rgba(15, 15, 15, 0);
    border: 1px solid rgb(255, 255, 255);
    color: rgb(239, 239, 239);
    outline: none;
    border-radius: 0;
}

.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
    color: inherit;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px currentColor;
}

.contact-form-container textarea {
    resize: vertical;
    min-height: 100px;
    padding-top: 16px;
}

.contact-form-container .buttons {
    margin-top: 24px;
}

.contact-form-container button,
.contact-form-container .button,
.contact-form-container .form-btn,
.contact-form-container input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 32px;
    min-height: 56px;
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.063em;
    background-color: transparent;
    border: 1px solid rgb(255, 255, 255);
    color: rgb(239, 239, 239);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
    width: auto;
}

.contact-form-container button:hover,
.contact-form-container .button:hover,
.contact-form-container .form-btn:hover,
.contact-form-container input[type="submit"]:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(48, 48, 48);
}

.form-title {
    font-family: 'Special Elite', serif;
    font-size: 1.6rem;
    letter-spacing: 0.063em;
    margin-top: 24px;
    margin-bottom: 16px;
    color: rgb(239, 239, 239);
    display: block;
    position: relative;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 23px 16px 16px 16px;
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    background-color: rgba(15, 15, 15, 0);
    border: 1px solid rgb(255, 255, 255);
    color: rgb(239, 239, 239);
    outline: none;
    border-radius: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px currentColor;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    padding-top: 16px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 32px;
    min-height: 56px;
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.063em;
    background-color: transparent;
    border: 1px solid rgb(255, 255, 255);
    color: rgb(239, 239, 239);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
    width: auto;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .btn-submit {
        width: auto;
    }
}

.btn-submit:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(48, 48, 48);
}

.form-disclaimer {
    font-size: 12px;
    color: rgb(161, 161, 161);
    margin-top: 24px;
    line-height: 1.5;
}

.form-disclaimer a {
    color: rgb(255, 255, 255);
    display: inline;
}

.form-disclaimer a:hover {
    color: rgb(198, 198, 198);
}

.contact-image {
    flex: 1;
}

@media (max-width: 767px) {
    .contact-image {
        order: -1;
    }
}

.contact-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 800px;
    box-shadow: none;
    aspect-ratio: 2;
}

/* Form Messages */
.form-message {
    padding: 16px;
    margin-top: 16px;
    background-color: rgba(100, 200, 100, 0.2);
    border: 1px solid rgba(100, 200, 100, 0.5);
    color: rgb(200, 255, 200);
    font-size: 14px;
}

.form-message.error {
    background-color: rgba(200, 100, 100, 0.2);
    border-color: rgba(200, 100, 100, 0.5);
    color: rgb(255, 200, 200);
}

/* Newsletter Section */
.newsletter-section {
    text-align: center;
}

.newsletter-section .section-title {
    margin-top: -4px;
    margin-bottom: 16px;
    text-align: center;
}

.newsletter-text {
    font-size: 16px;
    color: rgb(200, 200, 200);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .newsletter-form {
        flex-direction: row;
        margin-top: 4px;
        margin-bottom: 4px;
    }
}

.newsletter-form input {
    flex: 1;
    padding: 23px 16px 16px 16px;
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 16px;
    background-color: rgba(15, 15, 15, 0);
    border: 1px solid rgb(255, 255, 255);
    color: rgb(239, 239, 239);
    outline: none;
}

.newsletter-form input::placeholder {
    color: inherit;
}

.btn-subscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 32px;
    min-height: 56px;
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.063em;
    background-color: transparent;
    border: 1px solid rgb(255, 255, 255);
    color: rgb(239, 239, 239);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .btn-subscribe {
        margin-top: 0;
        margin-left: 16px;
        height: 100%;
    }
}

.btn-subscribe:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(48, 48, 48);
}

/* Footer */
.footer {
    padding-top: 40px;
    padding-bottom: 32px;
    text-align: center;
    background-color: rgb(15, 15, 15);
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .footer {
        padding-bottom: 32px;
    }
}

.footer p {
    font-size: 14px;
    color: rgb(200, 200, 200);
    margin: 0;
}
