* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, sans-serif;
}
html {  
    scroll-behavior: smooth;
}
.header.scrolled .nav-container {
    background: rgba(0, 0, 0, 0.75);
    padding: 10px 30px;
}
::-webkit-scrollbar {
    background: #000;
}
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #fff;
}
body {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: #fff;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
}

.nav-container {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.3);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ff4d4d;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 999;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}
@media (min-width:768px) {
    body {
        background-image: url('https://wallpapers.com/images/featured/tattoo-background-73h3d2v3blid5uds.jpg');
    }    
}
@media (max-width: 768px) {
    body {
        background: linear-gradient(90deg, #702626, #5a5109);
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        transition: right 0.5s ease;
        gap: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .nav-links a {
        font-size: 1.2rem;
    }
}

.content-section {
    padding: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    clear: both;
}
.bottom-section { margin-bottom: 40px; }
.fullscreen-section { height: 100vh; }
/* Стилі для секції "Про майстра" */  
#about {  
    position: relative;  
    display: flex;  
    align-items: center;  
}  

#about h2 {  
    margin-bottom: 60px;  
}  

.about-master-container {  
    display: flex;  
    gap: 50px;  
    align-items: center;  
    max-width: 1000px;  
    margin: 0 auto;  
}  

.master-image-container {  
    flex: 0 0 40%;  
}  

.master-image-frame {  
    position: relative;  
    width: 100%;  
    padding-bottom: 120%; /* Співвідношення сторін 5:6 */  
    border-radius: 20px;  
    overflow: hidden;  
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);  
}  

.master-image-frame::before {  
    content: '';  
    position: absolute;  
    top: -2px;  
    left: -2px;  
    right: -2px;  
    bottom: -2px;  
    background: linear-gradient(45deg, #ff4d4d, #f9cb28, #ff4d4d);  
    z-index: -1;  
    border-radius: 22px;  
}  

/* Видалений блок з @keyframes borderAnimation */  

.master-image {  
    position: absolute;  
    top: 0;  
    left: 0;  
    width: 100%;  
    height: 100%;  
    object-fit: cover;  
    border-radius: 18px;  
    transition: transform 0.5s ease;  
}  

.master-image-frame:hover .master-image {  
    transform: scale(1.05);  
}  

.master-info {  
    flex: 0 0 55%;  
    padding: 30px;  
    background: rgba(0, 0, 0, 0.3);  
    backdrop-filter: blur(10px);  
    -webkit-backdrop-filter: blur(10px);  
    border-radius: 20px;  
    border: 1px solid rgba(255, 255, 255, 0.1);  
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);  
}  

.master-name {  
    font-size: 36px;  
    margin-bottom: 20px;  
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);  
    -webkit-background-clip: text;  
    background-clip: text;  
    -webkit-text-fill-color: transparent;  
}  

.master-description {  
    margin-bottom: 30px;  
}  

.master-description p {  
    font-size: 18px;  
    line-height: 1.6;  
    color: rgba(255, 255, 255, 0.9);  
}  

.master-skills {  
    display: flex;  
    flex-wrap: wrap;  
    gap: 15px;  
}  

.skill-item {  
    display: flex;  
    align-items: center;  
    background: rgba(0, 0, 0, 0.2);  
    padding: 10px 15px;  
    border-radius: 50px;  
    border: 1px solid rgba(255, 255, 255, 0.05);  
}  

.skill-icon {  
    margin-right: 10px;  
    display: flex;  
    align-items: center;  
    justify-content: center;  
}  

.skill-icon svg {  
    width: 18px;  
    height: 18px;  
    stroke: #ff4d4d;  
}  

.skill-item span {  
    font-size: 14px;  
    font-weight: 500;  
    color: rgba(255, 255, 255, 0.8);  
}  

/* Медіа-запити для адаптивності */  
@media (max-width: 992px) {
    .about-master-container {  
        gap: 30px;  
    }  
    
    .master-name {  
        font-size: 30px;  
    }  
    
    .master-description p {  
        font-size: 16px;  
    }  
}  

@media (max-width: 768px) {  
    .about-master-container {  
        flex-direction: column;  
    }  
    
    .master-image-container {  
        flex: 0 0 100%;  
        width: 80%;  
        max-width: 300px;  
        margin: 0 auto;  
    }  
    
    .master-info {  
        flex: 0 0 100%;  
    }  
    
    #about h2 {  
        margin-bottom: 40px;  
    }  
    
    .fullscreen-section {  
        height: auto;  
        padding: 100px 0 60px;  
    }  
}
/* the "portfolio" section */
#portfolio {  
    padding: 60px 0;  
    background-color: rgba(255, 255, 255, 0.05);  
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}  

.portfolio-grid {  
    display: grid;
    justify-content: center; 
    grid-template-columns: repeat(3, 30%);
    gap: 30px;  
    margin-top: 40px;
}  

.portfolio-item {
    position: relative;  
    border-radius: 15px;  
    overflow: hidden;  
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);  
    transition: transform 0.3s ease, box-shadow 0.3s ease;  
    background-color: rgba(0, 0, 0, 0.2);
    position: relative;  
    z-index: 1;  
    margin-bottom: 20px;  
    overflow: visible;  
}  

.portfolio-item:hover {  
    transform: translateY(5%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);  
}  

.portfolio-item img {  
    width: 100%;  
    height: 350px;  
    object-fit: cover;  
    display: block;
    transition: all ease-in-out 0.5s;
    position: relative;  
    z-index: 1;  
    display: block;
}  

.portfolio-item:hover img {
    border-radius: 5%;
    transform: scale(1.05); 
}  

.portfolio-item .caption {  
    padding: 15px;  
    font-size: 18px;  
    font-weight: 500;  
    color: white;  
    text-align: center;  
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);  
}  

@media (max-width: 768px) {  
    .portfolio-grid {  
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));  
        gap: 20px;  
    }  
    
    .portfolio-item img {  
        height: 280px;  
    }  
}
/* the "price" section */ 
#pricing {  
    padding: 60px 0;  
    background-color: rgba(0, 0, 0, 0.3);  
    backdrop-filter: blur(10px);  
    -webkit-backdrop-filter: blur(10px);  
}
.pricing-features {
    font-size: 1rem;
}

.pricing-grid {  
    display: grid;  
    grid-template-columns: repeat(3, 1fr);  
    gap: 30px;  
    margin-top: 40px;  
    max-width: 1200px;  
    margin-left: auto;  
    margin-right: auto;  
}  

.pricing-item {  
    background: rgba(0, 0, 0, 0.2);  
    border-radius: 15px;  
    padding: 20px;  
    display: flex;  
    flex-direction: column;  
    align-items: center;  
    text-align: center;  
    position: relative;  
    transition: transform 0.3s ease, box-shadow 0.3s ease;  
    border: 1px solid rgba(255, 255, 255, 0.05);  
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);  
    overflow: hidden;  
}  

.pricing-item:hover {
    transform: translateY(-10px);  
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);  
    border-color: rgba(255, 77, 77, 0.3);  
}  

.pricing-item.featured {  
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.3), rgba(255, 77, 77, 0.1));  
    border: 1px solid rgba(255, 77, 77, 0.2);  
    transform: scale(1.05);  
    z-index: 2;
}  

.pricing-item.featured:hover {  
    transform: scale(1.05) translateY(-10px); 
}  

.popular-badge {  
    position: absolute;  
    top: 0;  
    right: 0;  
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);  
    color: white;  
    font-size: 15px;
    font-weight: 600;  
    padding: 5px 15px;  
    border-radius: 0 15px 0 15px;  
}  

.pricing-icon {  
    width: 70px;  
    height: 70px;
    background: linear-gradient(145deg, rgba(255, 77, 77, 0.2), rgba(249, 203, 40, 0.2));  
    border-radius: 50%;
    display: flex;  
    align-items: center;  
    justify-content: center;  
    margin-bottom: 20px;  
}  

.pricing-icon span {  
    font-size: 28px;  
    font-weight: 600;  
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);  
    -webkit-background-clip: text;  
    background-clip: text;  
    -webkit-text-fill-color: transparent;  
}  

.pricing-title {
    font-size: 1.9rem;
    margin-bottom: 15px;  
}  

.pricing-price {  
    font-size: 2rem; 
    font-weight: 700;  
    margin-bottom: 25px;  
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);  
    -webkit-background-clip: text;  
    background-clip: text;  
    -webkit-text-fill-color: transparent;  
}  

.pricing-features {  
    list-style: none;
    margin-bottom: 30px;
    width: 100%;
}  

.pricing-features li {  
    padding: 10px 0;  
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);  
    color: rgba(255, 255, 255, 0.8);  
}  

.pricing-features li:last-child {  
    border-bottom: none;  
}  

.pricing-button {  
    padding: 12px 30px;  
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);  
    color: white; 
    border: none;  
    border-radius: 30px;  
    font-weight: 600;  
    text-decoration: none;  
    transition: all 0.3s ease;  
    text-transform: uppercase;
    letter-spacing: 1px;  
    font-size: 14px;  
}  

.pricing-button:hover {  
    transform: translateY(-3px);  
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);  
}  

.pricing-note {  
    margin-top: 40px;  
    text-align: center;  
    color: rgba(255, 255, 255, 0.6);  
    font-size: 14px;
    max-width: 800px;  
    margin-left: auto;  
    margin-right: auto;  
}  

.pricing-note p {  
    margin-bottom: 5px;
}

@media (max-width: 992px) {  
    .pricing-grid {  
        grid-template-columns: repeat(2, 1fr);  
    } 
}  

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
/* Contact Form */
#contact { 
    padding: 80px 0;  
    background-color: rgba(0, 0, 0, 0.2);  
    backdrop-filter: blur(10px);  
    -webkit-backdrop-filter: blur(10px);  
}  

.simple-contact-container {  
    max-width: 700px;  
    margin: 40px auto 0;  
}  

.contact-form-container {  
    background: rgba(0, 0, 0, 0.3);  
    border-radius: 15px;  
    padding: 40px;  
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);  
    border: 1px solid rgba(255, 255, 255, 0.05);  
}  

.contact-form-header {  
    margin-bottom: 30px;  
    text-align: center;  
}  

.contact-form-header h3 {  
    font-size: 24px;  
    margin-bottom: 10px;  
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);  
    -webkit-background-clip: text;  
    background-clip: text;  
    -webkit-text-fill-color: transparent;  
}  

.contact-form-header p {  
    color: rgba(255, 255, 255, 0.7);  
    font-size: 16px;  
}  

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

.form-group label {  
    display: block;  
    margin-bottom: 8px;  
    font-size: 14px;  
    color: rgba(255, 255, 255, 0.8);  
}  

.form-group input,  
.form-group textarea {  
    width: 100%;  
    padding: 12px 15px;  
    background: rgba(255, 255, 255, 0.05);  
    border: 1px solid rgba(255, 255, 255, 0.1);  
    border-radius: 8px;  
    color: white;  
    font-size: 16px;  
    transition: all 0.3s ease;  
}  

.form-group input:focus,  
.form-group textarea:focus {  
    outline: none;  
    border-color: rgba(255, 77, 77, 0.5);  
    box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.2);  
}  

.form-group input::placeholder,  
.form-group textarea::placeholder {  
    color: rgba(255, 255, 255, 0.4);  
}

.contact-button {  
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);  
    color: white;  
    border: none;  
    border-radius: 30px;  
    padding: 14px 30px;  
    font-size: 16px;  
    font-weight: 600;  
    cursor: pointer;  
    transition: all 0.3s ease;  
    text-transform: uppercase;  
    letter-spacing: 1px;  
    width: 100%;  
    margin-top: 10px;  
}  

.contact-button:hover {  
    transform: translateY(-3px);  
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);  
}  

/* Contact info */  
.contact-info {  
    margin-top: 40px;  
    border-top: 1px solid rgba(255, 255, 255, 0.1);  
    padding-top: 30px;
    display: flex;  
    justify-content: space-evenly;
}  

.info-item {  
    display: flex;  
    align-items: center;  
}  

.info-icon {  
    margin-right: 15px;
    background: linear-gradient(145deg, rgba(255, 77, 77, 0.2), rgba(249, 203, 40, 0.2));  
    width: 50px;
    height: 50px;
    border-radius: 50%;  
    display: flex;  
    align-items: center;  
    justify-content: center;  
    flex-shrink: 0;  
}  

.info-icon svg {  
    width: 20px;  
    height: 20px;  
    stroke: white;  
}  

.info-content h4 {  
    font-size: 16px;  
    margin-bottom: 5px;  
    color: rgba(255, 255, 255, 0.9);  
}  

.info-content p {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);  
    line-height: 1.5;
}  

.info-content a {  
    color: rgba(255, 255, 255, 0.7);  
    text-decoration: none;  
    transition: color 0.3s ease;  
}  

.info-content a:hover {  
    color: #ff4d4d;  
}  

@media (max-width: 768px) {  
    .contact-form-container {  
        padding: 30px 20px;  
    }  
    
    .contact-info {  
        flex-direction: column;
        gap: 20px;  
    }  
    
    .info-item {  
        width: 100%;
        justify-content: center;  
    }  
}
.social-links {  
    display: flex;  
    justify-content: center;
    align-items: center;
    gap: 20px;  
}  

.social-icon {  
    display: flex;  
    align-items: center;  
    justify-content: center;  
    width: 50px;  
    height: 50px; 
    background: rgba(255, 255, 255, 0.05);  
    border-radius: 50%;  
    transition: all 0.3s ease;  
    border: 1px solid rgba(255, 255, 255, 0.1);  
}  

.social-icon svg {  
    width: 60%;
    height: 60%; 
    stroke: white;  
    transition: stroke 0.3s ease;  
}

.social-icon:hover {  
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);  
    border-color: transparent;  
    transform: translateY(-3px);  
}  

.social-icon:hover svg {  
    stroke: black;
}