* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: white;
}

#header {
    width: 100%;
    height: 100vh;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)),
        url(images/background.png) no-repeat center center/cover;
    display: flex;
    color: #fff;
    background-attachment: fixed;
}

.container {
    padding: 10px 10%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}


nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}


nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    position: relative;
}


nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #8a082f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}

.header-text {
    margin-top: 20%;
    font-size: 30px;
}

.header-text h1 {
    font-size: 60px;
    margin-top: 20px;
}

.header-text h1 span {
    color: #8a082f;
}

/* About */
#about {
    padding: 80px 0;
    color: #b9b9b9;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}


.about-col-2 {
    flex-basis: 60%;
    font-size: 24px;
}

.about-col-2 span {
    color: #fff;
}

.subtitle {
    margin: 15px 0;
    font-size: 64px;
    font-weight: 600;
    color: #fff;
}

.tab-titles {
    display: flex;
    margin: 40px 0 40px;
}

.tab-links {
    color: #fff;
    margin-right: 50px;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #8a082f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 100%;
}

.tab-contents ul li {
    list-style: none;
    margin: 20px 0;

}

.tab-contents ul li span {
    color: #ad1f4a;
    font-size: 24px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

/* Services */
#services {
    padding: 30px 0;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.services-list div {
    background-color: #000000;
    padding: 40px;
    font-size: 16px;
    font-weight: 300;
    border-radius: 15px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div i {
    font-size: 40px;
    margin-bottom: 30px;
}

.services-list div h2 {
    font-size: 33px;
    font-weight: 500;
    margin-bottom: 15px;
}

.services-list div a {
    text-decoration: underline;
    color: white;
    font-size: 15px;
    margin-top: 20px;
    display: inline-block;
}

.services-list div:hover {
    background: #6d1c34;
    transform: translateY(-10px);
}

/* Potfolio */
#portfolio {
    padding: 50px 0;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #000000);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 18px;
    transition: height 0.5s;
}

.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
}

.layer a {
    margin-top: 20px;
    color: #6d1c34;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background-color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

.work:hover .layer {
    height: 100%;
}

.madebymeadd {
    padding-top: 80px;
    font-style: italic;
    font-size: 24px;
}

#more {
    display: none;
    padding-top: 15%;
    justify-content: space-between;
    flex-wrap: wrap;
}

.more-col-1 {
    flex-basis: 35%;
}

.more-col-1 img {
    width: 100%;
    border-radius: 15px;
}

.more-col-2 {
    flex-basis: 60%;
}

.more-col-2 h3 {
    font-size: 50px;
}

.more-col-2 p {
    font-size: 18px;
}

.btn.btn3 {
    display: block;
    width: 100%;
    background: #000000;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #000000;
    background: #080808;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5;
    cursor: pointer;
    font-size: 18px;
}

.btn:hover {
    background: #000000;
}

/* Prices */

#prices {
    width: 100%;
    height: 100vh;
    padding: 25px 0;
}

#prices h1 {
    padding-bottom: 30px;
}

.products-list {
    display: flex;
    gap: 100px;
}

.prices-col-1 {
    flex-basis: 40%;
}

.prices-col-2 {
    line-height: 1.2;
}

.prices-col-2 h2 {
    font-size: 50px;
    padding: 20px 0;
}

.prices-col-2 p {
    font-size: 22px;
    color: #b9b9b9;
}

.prices-col-2 p span {
    color: #fff;
}

.italic-span {
    color: #b9b9b9;
    font-style: italic;
}

/* Contact */

.ps {
    padding-bottom: 40px;
    position: relative;
    text-decoration: none;
    font-style: italic;
    color: #fff;
    font-size: 18px;
}

.ps a {
    text-decoration: none;
    font-style: italic;
    font-weight: bold;
    color: #fff;
}

.contact-left {
    flex-basis: 35%;
    font-size: 25px;
}

.contact-right {
    flex-basis: 60%;
}

.contact-left p {
    margin-top: 30px;
    font-size: 20px;
}

.contact-left p i {
    color: #fff;
    margin-right: 15px;
    font-size: 30px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    text-decoration: none;
    font-size: 40px;
    margin-right: 15px;
    color: #b9b9b9;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: #a51843;
    transform: translateY(-5px);
}

.btn.btn2 {
    display: inline-block;
    background: #a51843;
    font-size: 18px;
    cursor: pointer;
}

.contact-right form {
    width: 100%;
}

form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #000000;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

form btn2 {
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    font-weight: 300;
    margin-top: 20px;
    font-size: 18px;
}

/* CSS for small screens */
nav .fa-solid {
    display: none;
}

@media only screen and (max-width: 600px) {
    #header {
        background-image: url(images/background-phone.jpg);
        background-size: cover;
        /* make it fit screen */
        background-position: center;
        /* keep it centered */
    }

    .header-text {
        margin-top: 50%;
        font-size: 15px;
    }

    .header-text h1 {
        font-size: 35px;
    }

    nav .fa-solid {
        display: block;
        font-size: 25px;
        cursor: pointer;
    }

    nav .fa-bars {
        padding-top: 15px;
        padding-left: 300px;
    }

    nav ul {
        background: #a51843;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;

    }

    nav ul li {
        display: block;
        margin: 25px;
    }

    nav ul .fa-solid {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .subtitle {
        font-size: 35px;
    }

    .about-col-1,
    .about-col-2 {
        flex-basis: 100%;
    }

    .about-col-1 {
        margin-bottom: 30px;

    }

    .about-col-2 {
        font-size: 12px;
    }

    .about-col-2 h2 {
        font-size: 20px;
    }

    .tab-links {
        font-size: 17px;
    }

    .tab-contents ul li span {
        color: #ad1f4a;
        font-size: 16px;
    }

    .madebymeadd {
        font-size: 14px;
    }

    .more-col-1,
    .more-col-2 {
        flex-basis: 100%;
    }

    .more-col-1 {
        margin-bottom: 30px;
    }

    .more-col-2 {
        font-size: 14px;
    }

    .contact-left,
    .contact-right {
        flex-basis: 100%;
    }

    .copyright {
        font-size: 12px;
    }

    #prices {
        height: auto;
        /* let it grow naturally */
        padding: 20px 10px;
    }

    .products-list {
        display: flex;
        flex-direction: column;
        /* stack columns vertically */
        gap: 20px;
        /* smaller gap for mobile */
        align-items: center;
        /* center content */
    }

    .prices-col-1 video {
        width: 100%;
        /* full width of its container */
        max-width: 400px;
        /* optional: prevent it from being too huge */
        height: auto;
        /* maintain aspect ratio */
    }

    .prices-col-2 {
        text-align: center;
        /* nicer layout on mobile */
    }

    .prices-col-2 h2 {
        font-size: 30px;
        /* smaller for mobile */
        padding: 15px 0;
    }

    .prices-col-2 p {
        font-size: 14px;
        /* smaller for readability */
    }

    /* Container layout */
    .row {
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        /* stack left and right vertically */
        gap: 30px;
        align-items: center;
    }

    .contact-left,
    .contact-right {
        flex-basis: 100%;
        text-align: center;
        /* center text for mobile */
    }

    .contact-left {
        font-size: 17px;
    }

    .contact-left p {
        margin-top: 20px;
        font-size: 16px;
    }

    .contact-left p i {
        font-size: 24px;
        margin-right: 10px;
    }

    .social-icons {
        margin-top: 10px;
    }

    .social-icons a {
        font-size: 20px;
        /* smaller icons */
        margin: 0 10px;
    }

    .btn.btn2 {
        font-size: 16px;
        padding: 12px 40px;
        margin-top: 15px;
    }

    form input,
    form textarea {
        font-size: 16px;
        padding: 12px;
        margin: 10px 0;
    }

    form button.btn2 {
        padding: 12px 40px;
        font-size: 16px;
        margin-top: 10px;
    }

    /* PS text */
    .ps {
        font-size: 16px;
        padding-bottom: 20px;
    }

    /* Copyright */
    .copyright {
        font-size: 14px;
        padding: 15px 0;
    }

}

#msg {
    color: #278f2c;
    margin-top: -160px;
    font-size: 18px;
}