/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 1rem; /* 10px */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cookie-popup.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: #e91e63;
    color: white;
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn:hover {
    transform: translateY(-0.2rem);
}

/* Header */
.header {

    padding: 1.5rem 0;
    /*position: fixed;*/
    /*top: 0;*/
    width: 90%;
    z-index: 999;
    border-radius: 100px;
background: #242424;
    margin: 15px auto;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-brand h1 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 4rem;
    /*background: #2c2c2c;*/
    padding: 1rem 3rem;
    /*border-radius: 5rem;*/
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 400;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-menu li a:hover {
    color: #e91e63;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
}

.hamburger span {
    width: 2.5rem;
    height: 0.2rem;
    background: white;
    transition: all 0.3s ease;
    border-radius: 0.1rem;
}

/* Hero Section */
.hero {
    margin-top: 8rem;
    padding: 4rem 0;
    background: #f8f8f8;
}

.hero-content {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-image {
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
    border-radius: 1rem;
}

.hero-text {
    text-align: center;
}

.hero-text h2 {
    font-family: 'Antic Didone', serif;
    font-size: 3.2rem;
    margin-bottom: 2rem;
    color: #333;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    color: #666;
    line-height: 1.5;
}

.cta-button {
    background: #e91e63;
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 3rem;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #c2185b;
    transform: translateY(-0.2rem);
}

/* Healthy Nails Section */
.healthy-nails {
    padding: 8rem 0;
    background: white;
}

.healthy-nails h2 {
    font-family: 'Antic Didone', serif;
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 6rem;
    color: #333;
}

.tips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.tip-card {
    flex: 1;
    min-width: 25rem;
    max-width: 28rem;
    text-align: center;
    background: #f8f8f8;
    padding: 3rem 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-0.5rem);
}

.tip-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.tip-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.tip-card p {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.5;
}

/* Trending Styles Section */
.trending-styles {
    padding: 8rem 0;
    background: #f8f8f8;
}

.trending-styles h2 {
    font-family: 'Antic Didone', serif;
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.section-subtitle {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.trend-description {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 6rem;
    color: #666;
    line-height: 1.6;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.styles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.style-card {
    flex: 1;
    min-width: 25rem;
    max-width: 28rem;
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.style-card:hover {
    transform: translateY(-0.5rem);
}

.style-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.style-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.style-card p {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.5;
}

/* DIY Tutorials Section */
.diy-tutorials {
    padding: 8rem 0;
    background: #333;
    color: white;
}

.tutorials-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.tutorials-text {
    text-align: center;
}

.tutorials-text h2 {
    font-family: 'Antic Didone', serif;
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.tutorials-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.tutorials-text p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 60rem;
}

.tutorials-image {
    width: 100%;
    max-width: 40rem;
}

.tutorials-image img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
    border-radius: 1rem;
}

/* Product Reviews Section */
.product-reviews {
    padding: 8rem 0;
    background: white;
}

.product-reviews h2 {
    font-family: 'Antic Didone', serif;
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 6rem;
    color: #333;
}

.reviews-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.review-card {
    display: flex;
    flex-direction: column;
    min-width: 25rem;
    max-width: 28rem;
    background: #f8f8f8;
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-0.5rem);
}

.product-image {
    width: 100%;
    height: 15rem;
    margin-bottom: 2rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.product-info {
    flex: 1;
}

.product-description {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.rating {
    color: #ffc107;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e91e63;
}

.copyright {
    font-size: 1.4rem;
    color: #999;
}

/* Mobile Navigation */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 30px;
    left: 2rem;
    right: 2rem;
    background: #2c2c2c;
    padding: 2rem;
    gap: 2rem;
    border-radius: 1rem;
    margin-top: 1rem;
}

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

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.7rem, -0.6rem);
}

/* Tablet Styles */
@media (min-width: 768px) {
    html {
        font-size: 1rem;
    }

    .hero-content {
        flex-direction: row;
        align-items: center;
    }

    .hero-image,
    .hero-text {
        flex: 1;
    }

    .hero-text {
        text-align: left;
        padding-left: 4rem;
    }

    .tutorials-content {
        flex-direction: row;
        text-align: left;
    }

    .tutorials-text,
    .tutorials-image {
        flex: 1;
    }

    .tips-grid {
        justify-content: space-between;
    }

    .tip-card {
        flex: 0 1 calc(50% - 1.5rem);
    }

    .styles-grid {
        justify-content: space-between;
    }

    .style-card {
        flex: 0 1 calc(50% - 1.5rem);
    }

    .reviews-grid {
        justify-content: space-between;
    }

    .review-card {
        flex: 0 1 calc(50% - 1.5rem);
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }

    .nav-menu {
        display: flex;
        position: static;
        /*background: #3c3c3c;*/
        /*border-radius: 5rem;*/
        padding: 1rem 3rem;
        margin: 0;
    }

    .hero-image img {
        height: 40rem;
    }

    .tutorials-image img {
        height: 40rem;
    }

    .tip-card {
        flex: 0 1 calc(25% - 2.25rem);
    }

    .style-card {
        flex: 0 1 calc(25% - 2.25rem);
    }

    .review-card {
        flex: 0 1 calc(25% - 2.25rem);
    }

    .cookie-popup {
        max-width: 50rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .cookie-popup.hidden {
        transform: translateX(-50%) translateY(100%);
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .hero-text h2 {
        font-size: 4rem;
    }

    .healthy-nails h2,
    .trending-styles h2,
    .diy-tutorials h2,
    .product-reviews h2 {
        font-size: 4rem;
    }
}
.product-image img{
    width: 200px;
height: 200px;
    border-radius: 500px;

}
.nav-menu {
    /* було без transition */
    transition: all 0.3s ease; /* додав */
}
.nav-menu.active {
    /* було без цих властивостей */
    z-index: 1000; /* додав */
    animation: slideDown 0.3s ease; /* додав */
}
/* додав нову анімацію */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hamburger.active span:nth-child(1) {
    /* було: translate(0.5rem, 0.5rem) */
    transform: rotate(45deg) translate(0.6rem, 0.6rem); /* змінив */
}

.hamburger.active span:nth-child(3) {
    /* було: translate(0.7rem, -0.6rem) */
    transform: rotate(-45deg) translate(0.6rem, -0.6rem); /* змінив */
}