/* METALSIGNIA PRIVATE FONT ALIASES */

@font-face {
    font-family: "MS03";
    src: url("fonts/ms-03.otf") format("opentype");
}

@font-face {
    font-family: "MS06";
    src: url("fonts/ms-06.ttf") format("truetype");
}

@font-face {
    font-family: "MS13";
    src: url("fonts/ms-13.ttf") format("truetype");
}

@font-face {
    font-family: "MS14";
    src: url("fonts/ms-14.ttf") format("truetype");
}

@font-face {
    font-family: "MS01";
    src: url("fonts/ms-01.ttf") format("truetype");
}

@font-face {
    font-family: "MS02";
    src: url("fonts/ms-02.ttf") format("truetype");
}

@font-face {
    font-family: "MS04";
    src: url("fonts/ms-04.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "MS05";
    src: url("fonts/ms-05.ttf") format("truetype");
}

@font-face {
    font-family: "MS07";
    src: url("fonts/ms-07.otf") format("opentype");
}

@font-face {
    font-family: "MS08";
    src: url("fonts/ms-08.otf") format("opentype");
}

@font-face {
    font-family: "MS09";
    src: url("fonts/ms-09.ttf") format("truetype");
}

@font-face {
    font-family: "MS10";
    src: url("fonts/ms-10.ttf") format("truetype");
}
@font-face {
    font-family: "MS11";
    src: url("fonts/ms-11.ttf") format("truetype");
}
@font-face {
    font-family: "MS12";
    src: url("fonts/ms-12.ttf") format("truetype");
}

@font-face {
    font-family: "MS15";
    src: url("fonts/ms-15.ttf") format("truetype");
}

@font-face {
    font-family: "MS16";
    src: url("fonts/ms-16.ttf") format("truetype");
}

@font-face {
    font-family: "MS20";
    src: url("fonts/ms-20.ttf") format("truetype");
}

@font-face {
    font-family: "MS21";
    src: url("fonts/ms-21.ttf") format("truetype");
}


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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #171717;
    line-height: 1.6;
}


/* HEADER */

.header {
    height: 80px;
    padding: 0 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eeeeee;
    background: white;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #171717;
    font-size: 14px;
}


/* HERO */

.hero {
    min-height: 470px;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 45px;

    padding: 45px 7%;

    background: #f4f3f0;
}

.hero h1 {
    font-size: 60px;
    line-height: 1.02;
    margin-bottom: 20px;
}
.hero-content {
    max-width: 650px;
}

.small-title {
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 72px;
    line-height: 1.02;
    margin-bottom: 25px;
}

.hero-text {
    max-width: 520px;
    font-size: 19px;
    margin-bottom: 35px;
    color: #555555;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    background: #171717;
    color: white;
    padding: 15px 28px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.25s ease;
}

.button:hover {
    opacity: 0.8;
}

.secondary-button {
    background: transparent;
    color: #171717;
    border: 1px solid #171717;
}

/* HERO IMAGE */

/* HERO SLIDER */

.hero-slider {
    position: relative;

    width: 100%;
    height: 390px;

    overflow: hidden;

    background: #eceae5;

    border-radius: 4px;
}


.hero-slide {
    position: absolute;
    inset: 0;

    opacity: 0;

    transition: opacity 0.5s ease;
}


.hero-slide.active {
    opacity: 1;
}


.hero-slide img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* ARROWS */

.slider-arrow {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    border: none;

    background: rgba(255, 255, 255, 0.88);

    font-size: 30px;

    cursor: pointer;

    z-index: 5;
}


.slider-prev {
    left: 12px;
}


.slider-next {
    right: 12px;
}


/* DOTS */

.slider-dots {
    position: absolute;

    left: 50%;
    bottom: 14px;

    transform: translateX(-50%);

    display: flex;
    gap: 7px;

    z-index: 5;
}


.slider-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.25);

    cursor: pointer;
}


.slider-dot.active {
    background: #171717;
}


/* SECTIONS */

.section {
    padding: 100px 8%;
    text-align: center;
}

.section h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.grey-section {
    background: #f4f3f0;
}


/* FONT PREVIEW */

/* FONT PREVIEW */

.font-preview-section {
    background: #ffffff;
}

.font-intro {
    max-width: 650px;
    margin: 0 auto;
    color: #666666;
    font-size: 16px;
}

.preview-controls {
    max-width: 850px;
    margin: 45px auto 55px;

    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 14px;

    text-align: left;
}

.preview-control label {
    display: block;

    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;

    margin-bottom: 9px;
}

#previewInput,
#heightSelect {
    width: 100%;
    height: 60px;

    padding: 0 18px;

    border: 1px solid #bbbbbb;
    background: white;

    font-size: 18px;
    color: #171717;

    outline: none;
}

#heightSelect {
    cursor: pointer;
}

#previewInput:focus,
#heightSelect:focus {
    border-color: #171717;
}

.preview-input-wrap label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 9px;
}

#previewInput {
    width: 100%;
    padding: 18px 20px;
    font-size: 20px;
    border: 1px solid #bbbbbb;
    outline: none;
    background: white;
}

#previewInput:focus {
    border-color: #171717;
}


.font-preview-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 14px;
}


.font-option {
    min-height: 145px;

    border: 1px solid #e3e3e3;

    padding: 24px 28px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    overflow: hidden;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}


.font-option:hover {
    border-color: #999999;
    transform: translateY(-2px);
}


.font-number {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;

    color: #777777;

    margin-bottom: 13px;
}


.preview {
    max-width: 100%;

    font-size: clamp(28px, 3.3vw, 48px);

    line-height: 1.1;

    white-space: nowrap;

    transform-origin: left center;
}


/* PRIVATE FONT CLASSES */

.ms01 {
    font-family: "MS01", cursive;
}

.ms02 {
    font-family: "MS02", cursive;
}
.ms04 {
    font-family: "MS04";
}
.ms05 {
    font-family: "MS05", cursive;
}
.ms03 {
    font-family: "MS03", sans-serif;
}

.ms06 {
    font-family: "MS06", cursive;
}

.ms13 {
    font-family: "MS13", cursive;
}

.ms14 {
    font-family: "MS14", cursive;
}
.ms07 {
    font-family: "MS07", cursive;
}
.ms07-digit {
    font-family: "MS07", cursive;
}
.ms08 {
    font-family: "MS08", serif;
}

.ms09 {
    font-family: "MS09", serif;
}

.ms10 {
    font-family: "MS10", serif;
}
.ms11 {
    font-family: "MS11", serif;
}
.ms12 {
    font-family: "MS12", serif;
}

.ms15 {
    font-family: "MS15", cursive;
}

.ms16 {
    font-family: "MS16", cursive;
}

.ms20 {
    font-family: "MS20", sans-serif;
}

.ms21 {
    font-family: "MS21", cursive;
}


/* LASER CUT STYLE VARIATIONS */



.preview-wrap {
    display: inline-block;
    max-width: 100%;
}

/* LETTER CONNECTION / UNDERLINE STYLES */

/* A VERSIONS - LETTERS TOUCH EACH OTHER */

.a-connected-text {
    letter-spacing: -0.07em;
}


/* B VERSIONS - SLIGHTLY MORE OPEN */

.b-word-underline {
    letter-spacing: -0.015em;
}


.connected-underline {
    display: inline-block;
    max-width: 100%;

    border-bottom: 4px solid #171717;

    line-height: 1;

    overflow: visible;
}


.connected-underline .preview {
    position: relative;

    /* Yazıyı aşağı indirerek çizgiye temas ettirir */
    transform: translateY(0.17em);

    margin-bottom: 0;
}


.font-note {
    max-width: 650px;
    margin: 35px auto 0;
    color: #888888;
    font-size: 12px;
}

.font-grid {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.font-card {
    border: 1px solid #dddddd;
    padding: 25px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.font-card span {
    font-size: 11px;
    letter-spacing: 2px;
    color: #777777;
    margin-bottom: 15px;
}

.preview {
    font-size: 35px;
}

.font1 {
    font-family: Georgia, serif;
}

.font2 {
    font-family: "Times New Roman", serif;
}

.font3 {
    font-family: Arial, sans-serif;
    font-weight: bold;
}

.font4 {
    font-family: cursive;
}


/* ABOUT */

.about-text {
    max-width: 750px;
    margin: auto;
    font-size: 18px;
    color: #555555;
}


/* FOOTER */
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin: 20px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    text-decoration: underline;
}


footer {
    padding: 60px 8%;
    background: #171717;
    color: white;
    text-align: center;
}

footer strong {
    font-size: 22px;
}

footer p {
    margin-top: 8px;
    color: #aaaaaa;
}


/* DESIGNS PAGE */

.logo {
    text-decoration: none;
    color: #171717;
}

.designs-header {
    padding: 100px 7% 60px;
    text-align: center;
    background: #f4f3f0;
}

.designs-header h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.designs-header > p:last-child {
    max-width: 650px;
    margin: auto;
    font-size: 17px;
    color: #666666;
}


.designs-section {
    padding: 60px 7% 100px;
}


.design-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 45px;
}


.filter-button {
    background: white;
    border: 1px solid #cccccc;
    padding: 11px 20px;
    cursor: pointer;
    font-size: 13px;
}


.filter-button:hover,
.filter-button.active {
    background: #171717;
    color: white;
    border-color: #171717;
}


.design-grid {
    max-width: 1500px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


.design-item {
    cursor: pointer;
}


.design-item-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eeeeee;
}


.design-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}


.design-item:hover img {
    transform: scale(1.03);
}


.design-item-info {
    padding: 16px 2px 25px;
}


.design-item-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}


.design-item-info p {
    font-size: 13px;
    color: #777777;
}

/* MOBILE */
/* PRODUCT DETAIL MODAL */

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.product-modal.open {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.modal-content {
    position: relative;
    background: white;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 12px;
    border: none;
    background: none;
    font-size: 34px;
    cursor: pointer;
    z-index: 5;
}

.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image {
    min-height: 520px;
    background: #f1f1ef;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-info {
    padding: 65px 55px;
}

.modal-category {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
    color: #777;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.modal-info h2 {
    font-size: 38px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.modal-description {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
}

.modal-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.modal-features span {
    border: 1px solid #dddddd;
    padding: 8px 12px;
    font-size: 11px;
}

.modal-etsy-button {
    margin-top: 5px;
}


/* REVIEWS */

.product-reviews {
    border-top: 1px solid #eeeeee;
    padding: 50px;
}

.product-reviews h3 {
    font-size: 30px;
    margin-bottom: 30px;
}

.modal-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: #f6f5f2;
    padding: 20px;
}

.review-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 15px;
}

.review-stars {
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.review-card p {
    font-size: 14px;
    color: #555555;
}

/* MOBILE MENU BUTTON */

.mobile-menu-button {
    display: none;
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    color: #171717;
}
/* QUALITY SECTION */

.quality-section {
    padding: 100px 7%;
    background: #171717;
    color: white;
}

.quality-content {
    max-width: 1250px;
    margin: auto;
}

.quality-content > .section-label {
    color: #aaaaaa;
}

.quality-content > h2 {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.quality-intro {
    max-width: 700px;
    font-size: 17px;
    color: #bbbbbb;
    margin-bottom: 55px;
}


.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


.quality-item {
    border-top: 1px solid #555555;
    padding-top: 25px;
}

.quality-item span {
    font-size: 11px;
    letter-spacing: 2px;
    color: #888888;
}

.quality-item h3 {
    font-size: 21px;
    margin: 13px 0 10px;
}

.quality-item p {
    color: #aaaaaa;
    font-size: 14px;
    max-width: 330px;
}
/* COLORS SECTION */

.colors-section {
    background: #f4f3f0;
}

.colors-intro {
    max-width: 700px;
    margin: 0 auto 45px;
    color: #666666;
    font-size: 16px;
}

.color-chart-grid {
    max-width: 1350px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.color-chart-item {
    background: white;
    padding: 12px;
    border: 1px solid #e2e2e2;

    overflow: hidden;
}

.color-chart-item img {
    width: 100%;
    height: auto;
    display: block;
}

.color-note {
    max-width: 700px;
    margin: 30px auto 0;

    color: #888888;
    font-size: 12px;
}
/* FONT SIZE ESTIMATE */

.font-dimension-info {
    margin-top: 18px;
    padding: 10px 14px;

    background: #f6efe9;
    border-left: 3px solid #F1641E;

    border-radius: 3px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;

    color: #666666;

    width: fit-content;
}

.font-dimension-info strong {
    color: #171717;
    font-weight: 600;
}

.dimension-separator {
    color: #F1641E;
    margin: 0 7px;
}
/* HEADER LOGO */

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo {
    width: 72px;
    height: auto;
    display: block;
}
/* PAGE BANNERS */

.site-banner {
    width: 100%;
    overflow: hidden;
    background: #f4f1e9;
}

.site-banner img {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 800px) {

    .site-logo {
    width: 58px;
}

.site-banner img {
    width: 100%;
    height: auto;
}

    .site-logo {
    width: 145px;
}

    .preview-controls {
    grid-template-columns: 1fr;
}

.preview-height-control {
    max-width: 160px;
}

.color-chart-grid {
    grid-template-columns: 1fr;
}

.colors-intro {
    margin-bottom: 30px;
}

    .quality-grid {
    grid-template-columns: 1fr;
    gap: 35px;
}

.quality-content > h2 {
    font-size: 34px;
}

    .font-preview-grid {
    grid-template-columns: 1fr;
}

.font-option {
    min-height: 125px;
    padding: 22px;
}

.preview {
    font-size: 34px;
}
    .modal-product {
    grid-template-columns: 1fr;
}

.modal-image {
    min-height: auto;
}

.modal-image img {
    height: auto;
}

.modal-info {
    padding: 40px 25px;
}

.product-reviews {
    padding: 40px 25px;
}

.modal-reviews-grid {
    grid-template-columns: 1fr;
}

.product-modal {
    padding: 10px;
}

  .mobile-menu-button {
    display: block;
}

.header {
    position: relative;
    height: 70px;
    padding: 0 6%;
}

.main-nav {
    display: none;

    position: absolute;
    top: 70px;
    left: 0;
    right: 0;

    background: white;

    flex-direction: column;
    gap: 0;

    padding: 12px 6% 22px;

    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;

    z-index: 999;
}

.main-nav.open {
    display: flex;
}

.main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid #eeeeee;
    font-size: 15px;
}

.main-nav a:last-child {
    border-bottom: none;
}

    .hero h1 {
        font-size: 48px;
    }

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

    .section h2 {
        font-size: 34px;
    }
    .hero {
    grid-template-columns: 1fr;
    padding: 50px 6%;
}

.hero-image img {
    height: auto;
}

.hero h1 {
    font-size: 48px;
}

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

.designs-header h1 {
    font-size: 40px;
}

.designs-header {
    padding-top: 70px;
}
}

.font-shopping {
    margin-top: 45px;
    text-align: center;
}

.font-shopping p {
    margin-bottom: 14px;
    color: #666666;
    font-size: 14px;
}

.etsy-shopping-button {
    display: inline-block;

    background: #F1641E;
    color: white;

    padding: 15px 28px;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;
    font-weight: 600;

    border-radius: 4px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.etsy-shopping-button:hover {
    background: #d95718;
    transform: translateY(-2px);
}

/* B STYLE - UNDERLINE EACH WORD SEPARATELY */

.b-word-underline {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.32em;

    width: max-content;
    max-width: 100%;

    align-items: flex-end;
}

.b-word-underline .underlined-word {
    display: inline-block;

    text-decoration-line: underline;
    text-decoration-thickness: 4px;

    /* Çizgiyi harflere yaklaştırır */
    text-underline-offset: -0.01em;

    /* Çizginin harflerin altında kesilmesini engeller */
    text-decoration-skip-ink: none;
}

.preview-disclaimer {
    max-width: 700px;
    margin: 35px auto 0;

    padding: 14px 18px;

    background: #f6efe9;
    border-left: 3px solid #F1641E;

    border-radius: 3px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.6;

    color: #666666;
}

.preview-disclaimer strong {
    color: #171717;
}

/* LOGO */

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    width: 180px;
    height: auto;
    display: block;
}

/* FONT 14 - COMING SOON */

.font-coming-soon {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;

    color: #999999;

    padding: 12px 16px;

    background: #f5f5f5;
    border: 1px dashed #cccccc;

    border-radius: 4px;
}

/* FINAL LOGO SIZE */

.site-logo {
    width: 65px !important;
    max-width: 65px !important;
    height: auto !important;
    display: block;
}

.logo-link {
    width: 65px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header {
    height: auto !important;
    min-height: 68px;
    padding-top: 6px;
    padding-bottom: 6px;
}

/* FONT CARD ETSY ACTION */

.font-option {
    cursor: pointer;
    position: relative;
}

.font-option.selected {
    border-color: #F1641E;
    box-shadow: 0 0 0 1px #F1641E;
}

.font-etsy-action {
    display: none;
    margin-top: 14px;
}

.font-option.selected .font-etsy-action {
    display: block;
}

.font-etsy-button {
    display: inline-block;

    background: #F1641E;
    color: white;

    padding: 9px 14px;

    border-radius: 4px;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.3px;
}

.font-etsy-button:hover {
    background: #d95718;
}

/* SMALL ETSY BUTTON NEXT TO DIMENSIONS */

.font-dimension-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dimension-text {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.mini-etsy-button {
    flex-shrink: 0;

    background: #F1641E;
    color: white;

    border: none;
    border-radius: 3px;

    padding: 6px 9px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 700;

    text-decoration: none;

    line-height: 1;
}

.mini-etsy-button:hover {
    background: #d95718;
}


/* SELECTED FONT NUMBER */

.font-option.selected .font-number {
    color: #F1641E;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2.2px;
}

.specific-width-note {
    max-width: 700px;
    margin: 18px auto 0;
    text-align: center;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 2;

    color: #666666;
}