/* =========================================================
   TYTOZ GALLERY
   Main Stylesheet
   Tattoo Artist: Akash Kumar
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #151515;

    --text-primary: #f5f5f5;
    --text-secondary: #b8b8b8;
    --text-muted: #777777;

    --accent: #d4af37;
    --accent-light: #f0d77a;
    --accent-dark: #9f7f18;

    --border: rgba(255, 255, 255, 0.08);

    --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);

    --container-width: 1200px;

    --header-height: 78px;

    --transition: 0.3s ease;

}


/* =========================================================
   RESET
========================================================= */

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


html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}


body {

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

    background: var(--bg-primary);

    color: var(--text-primary);

    line-height: 1.6;

    overflow-x: hidden;

}


body.no-scroll {
    overflow: hidden;
}


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


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
select,
textarea {
    font: inherit;
}


button {
    cursor: pointer;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: 100%;

    max-width: var(--container-width);

    margin: 0 auto;

    padding-left: 24px;
    padding-right: 24px;

}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    padding-top: 100px;
    padding-bottom: 100px;

}


.section-heading {

    max-width: 760px;

    margin: 0 auto 55px;

    text-align: center;

}


.section-label {

    margin-bottom: 10px;

    color: var(--accent);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.22em;

    text-transform: uppercase;

}


.section-heading h2 {

    margin-bottom: 18px;

    font-size: clamp(2.2rem, 5vw, 3.5rem);

    line-height: 1.1;

    font-weight: 800;

}


.section-heading h2 span {

    color: var(--accent);

}


.section-heading > p:last-child {

    color: var(--text-secondary);

    font-size: 1rem;

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: var(--header-height);

    z-index: 1000;

    background: rgba(10, 10, 10, 0.35);

    border-bottom: 1px solid transparent;

    transition:
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);

}


.site-header.scrolled {

    background: rgba(10, 10, 10, 0.94);

    border-bottom-color: var(--border);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);

}


.nav-container {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* =========================================================
   BRAND
========================================================= */

.brand {

    display: inline-flex;

    flex-direction: column;

    line-height: 1;

}


.brand-name {

    color: var(--text-primary);

    font-size: 1.45rem;

    font-weight: 900;

    letter-spacing: 0.18em;

}


.brand-subtitle {

    margin-top: 5px;

    color: var(--accent);

    font-size: 0.58rem;

    font-weight: 700;

    letter-spacing: 0.45em;

}


/* =========================================================
   NAVIGATION
========================================================= */

.main-navigation {

    display: flex;

    align-items: center;

    gap: 28px;

}


.nav-link {

    position: relative;

    padding: 8px 0;

    color: var(--text-secondary);

    font-size: 0.9rem;

    font-weight: 600;

    transition: color var(--transition);

}


.nav-link::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;

    height: 2px;

    background: var(--accent);

    transition: width var(--transition);

}


.nav-link:hover,
.nav-link.active {

    color: var(--text-primary);

}


.nav-link:hover::after,
.nav-link.active::after {

    width: 100%;

}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    display: none;

    width: 44px;
    height: 44px;

    padding: 8px;

    border: 1px solid var(--border);

    border-radius: 8px;

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

}


.menu-toggle span {

    display: block;

    width: 100%;

    height: 2px;

    margin: 5px 0;

    background: var(--text-primary);

    transition: transform var(--transition),
                opacity var(--transition);

}


.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);

}


/* =========================================================
   HERO
========================================================= */

.hero-section {

    position: relative;

    min-height: 100vh;

    min-height: 100svh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;

    background:
        url("../assets/images/hero/hero.jpg")
        center center / cover no-repeat,
        var(--bg-primary);

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.82)
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    padding-top: var(--header-height);

}


.hero-small-text {

    margin-bottom: 18px;

    color: var(--accent);

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 0.3em;

}


.hero-content h1 {

    margin-bottom: 20px;

    font-size: clamp(3.5rem, 10vw, 7rem);

    font-weight: 900;

    line-height: 0.95;

    letter-spacing: 0.05em;

}


.hero-content h1 span {

    display: block;

    color: var(--accent);

}


.hero-description {

    margin-bottom: 12px;

    color: var(--text-primary);

    font-size: clamp(1rem, 2vw, 1.25rem);

}


.artist-name {

    margin-bottom: 35px;

    color: var(--text-secondary);

}


.artist-name strong {

    color: var(--text-primary);

}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons,
.contact-buttons {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 14px;

}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 12px 25px;

    border-radius: 6px;

    font-size: 0.9rem;

    font-weight: 700;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition);

}


.btn:hover {

    transform: translateY(-2px);

}


.btn-primary {

    background: var(--accent);

    color: #111111;

    border: 1px solid var(--accent);

}


.btn-primary:hover {

    background: var(--accent-light);

    border-color: var(--accent-light);

}


.btn-secondary {

    background: transparent;

    color: var(--text-primary);

    border: 1px solid rgba(255, 255, 255, 0.25);

}


.btn-secondary:hover {

    border-color: var(--accent);

    color: var(--accent);

}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {

    background: var(--bg-primary);

}


.gallery-filters {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 35px;

}


.filter-btn {

    padding: 9px 18px;

    border: 1px solid var(--border);

    border-radius: 999px;

    background: transparent;

    color: var(--text-secondary);

    transition: all var(--transition);

}


.filter-btn:hover,
.filter-btn.active {

    background: var(--accent);

    color: #111111;

    border-color: var(--accent);

}


/* =========================================================
   GALLERY GRID
========================================================= */

.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

}


.gallery-item {

    position: relative;

    overflow: hidden;

    border-radius: 10px;

    background: var(--bg-card);

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

}


.gallery-item img {

    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    transition:
        transform 0.5s ease,
        opacity 0.3s ease;

}


.gallery-item:hover img {

    transform: scale(1.05);

}


.gallery-item-content {

    padding: 15px;

}


.gallery-item-title {

    color: var(--text-primary);

    font-weight: 700;

}


.gallery-item-category {

    margin-top: 4px;

    color: var(--accent);

    font-size: 0.78rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;

}


/* =========================================================
   ABOUT
========================================================= */

.about-section {

    background: var(--bg-secondary);

}


.about-content {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 55px;

    align-items: center;

}


.about-image {

    overflow: hidden;

    border-radius: 12px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

}


.about-image img {

    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

}


.about-text h3 {

    margin-bottom: 20px;

    font-size: clamp(1.7rem, 4vw, 2.4rem);

    line-height: 1.2;

}


.about-text p {

    margin-bottom: 16px;

    color: var(--text-secondary);

}


/* =========================================================
   SERVICES
========================================================= */

.services-section {

    background: var(--bg-primary);

}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

}


.service-card {

    padding: 30px 24px;

    text-align: center;

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 10px;

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);

}


.service-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(212, 175, 55, 0.45);

    box-shadow: var(--shadow);

}


.service-icon {

    margin-bottom: 18px;

    color: var(--accent);

    font-size: 2rem;

}


.service-card h3 {

    margin-bottom: 12px;

    font-size: 1.15rem;

}


.service-card p {

    color: var(--text-secondary);

    font-size: 0.92rem;

}


/* =========================================================
   CUSTOM ORDER
========================================================= */

.custom-order-section {

    background: var(--bg-secondary);

}


.custom-order-form {

    width: 100%;

    max-width: 760px;

    margin: 0 auto;

    padding: 35px;

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 12px;

    box-shadow: var(--shadow);

}


.form-group {

    margin-bottom: 22px;

}


.form-group label {

    display: block;

    margin-bottom: 8px;

    color: var(--text-primary);

    font-size: 0.9rem;

    font-weight: 600;

}


.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    padding: 13px 15px;

    border: 1px solid var(--border);

    border-radius: 6px;

    outline: none;

    background: #0d0d0d;

    color: var(--text-primary);

    transition:
        border-color var(--transition),
        box-shadow var(--transition);

}


.form-group textarea {

    min-height: 140px;

    resize: vertical;

}


.form-group input::placeholder,
.form-group textarea::placeholder {

    color: var(--text-muted);

}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color: var(--accent);

    box-shadow:
        0 0 0 3px
        rgba(212, 175, 55, 0.08);

}


.custom-order-form .btn {

    width: 100%;

}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {

    background: var(--bg-primary);

}


.contact-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 35px;

}


.contact-card {

    padding: 30px 20px;

    text-align: center;

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 10px;

}


.contact-icon {

    margin-bottom: 15px;

    color: var(--accent);

    font-size: 2rem;

}


.contact-card h3 {

    margin-bottom: 8px;

}


.contact-card a {

    color: var(--accent-light);

    word-break: break-word;

}


.contact-card p {

    color: var(--text-secondary);

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    padding: 65px 0 25px;

    background: #070707;

    border-top: 1px solid var(--border);

    text-align: center;

}


.footer-brand h2 {

    margin-bottom: 8px;

    font-size: 1.5rem;

    letter-spacing: 0.08em;

}


.footer-brand p {

    color: var(--text-secondary);

}


.footer-links {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 18px;

    margin: 28px 0;

}


.footer-links a,
.footer-social a {

    color: var(--text-secondary);

    transition: color var(--transition);

}


.footer-links a:hover,
.footer-social a:hover {

    color: var(--accent);

}


.footer-social {

    display: flex;

    justify-content: center;

    gap: 20px;

    margin-bottom: 30px;

}


.footer-bottom {

    padding-top: 22px;

    border-top: 1px solid var(--border);

    color: var(--text-muted);

    font-size: 0.82rem;

}


.watermark {

    margin-top: 7px;

    color: rgba(255, 255, 255, 0.22);

    font-size: 0.72rem;

    letter-spacing: 0.08em;

}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {

    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 900;

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    background: var(--accent);

    color: #111111;

    font-size: 1.2rem;

    opacity: 0;

    visibility: hidden;

    transform: translateY(15px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);

}


.back-to-top.visible {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.back-to-top:hover {

    background: var(--accent-light);

}


/* =========================================================
   LOADING SCREEN
========================================================= */

#loading-screen {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--bg-primary);

    opacity: 1;

    visibility: visible;

    pointer-events: all;

    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;

}


#loading-screen.hidden {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

}


.loader {

    text-align: center;

}


.loader-logo {

    color: var(--text-primary);

    font-size: 2rem;

    font-weight: 900;

    letter-spacing: 0.18em;

}


.loader-text {

    margin-top: 6px;

    color: var(--accent);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.45em;

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {

    outline: 2px solid var(--accent);

    outline-offset: 3px;

}


/* =========================================================
   END
========================================================= */
