/* Common */

body {
    font-family: "Urbanist", sans-serif;
    color:#363745;
    background: linear-gradient(to right, #cc99ff 0%, #ff66cc 100%);
}

.list {
    list-style-type: none;
}

a {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;
	margin-bottom: 0;
}

ul, ol {
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 0;
}

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

button {
    cursor: pointer;
    font-family: inherit;
	color: currentColor;
}

/* Header */

header {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    align-items: center;
}

.header-container {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3; 
    letter-spacing: 0.06em;
    width: 1280px;
    display: flex;
    background-color: #f4e0f4;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
    border-radius: 30px;
}

.nav-list {
    font-weight: 600;
    font-size: 20px;
    display: flex;
    gap: 20px;
}

.nav-list-items {
    color: #363745;
    padding: 7px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.nav-list-items:hover, .nav-list-items:focus {
    background: linear-gradient(to right, #cc99ff 0%, #ff66cc 100%);
    color: rgb(255, 243, 254);
    cursor: pointer;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-title {
    font-size: 36px;
    background: linear-gradient(to right, #b270f4 0%, #ff66cc 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.logo {
    width: 85px;
    height: 85px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo:hover {
    transform: rotate(-5deg) scale(1.1);
}

@media screen and (min-resolution: 192dpi) and (max-width:767px), 
screen and (min-resolution: 2dppx) and (max-width:767px),
screen and (min-device-pixel-ratio: 2) and (max-width:767px) {
    
    header {
        display: inline-block;
    }
    
    .header-container {
        width: 400px;
        display: inline-block;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        width: calc((100% - 19px) / 1);
    }
}

/* Hero (section 1) - Home Page */

.hero-section {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4; 
    letter-spacing: 0.06em;
    background-color: #f4e0f4;
    width: 1280px;
    margin: 0 auto 30px;
    padding: 20px 25px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-flex-container{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-image-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px
}

.hero-image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px
}

.hero-image {
    border-radius: 30px;
}

.company-motto {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(to right, #cc99ff 0%, #ff66cc 100%);
    color: rgb(255, 243, 254);
    border-radius: 30px;
    padding: 5px;
}

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

.hero-paragraph {
    text-align: justify;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6; 
    letter-spacing: 0.06em;
    padding-bottom: 20px;
}

.menu-link {
    font-size: 22px;
    font-weight: 600;
    color: inherit;
    padding: 16px;
    background: linear-gradient(to right, #cc99ff 0%, #ff66cc 100%);
    color: rgb(255, 243, 254);
    border-radius: 30px;
}

.menu-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 102, 204, 0.3);
}

.arrow-icon {
    fill: currentColor;                 
    transition: transform 0.3s ease;
    width: 45px;
}

.arrow-container {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 350px;
}

.arrow-toggle {
    display: none;
}

.arrow-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    padding: 16px;
    background: linear-gradient(135deg, #ff66cc, #cc99ff);
    border-radius: 50px;
    transition: all 0.3s ease;
    color: rgb(255, 243, 254);
    font-weight: 600;
}

.arrow-label:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 102, 204, 0.3);
}

.arrow-label:hover .arrow-icon {
    transform: translateX(5px);
}

.arrow-text {
    font-size: 18px;
}

/* Popular Donut (section 2) - Home Page */

.popular-title {
    font-size: 45px;
    margin-bottom: 15px;
    letter-spacing: 0.06em;
    background: linear-gradient(to right, #cc99ff 0%, #ff66cc 100%);
    color: rgb(255, 243, 254);
    border-radius: 30px;
    text-align: center;
}

.popular-donut-list {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.06em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 15px;
}

.popular-donut-item {
    max-width: 250px;
    text-align: center;
}

.popular-donut-item h4 {
    font-size: 20px;
    text-align: center;
    text-decoration: underline;
}


@media screen and (min-resolution: 192dpi) and (max-width:767px), 
screen and (min-resolution: 2dppx) and (max-width:767px),
screen and (min-device-pixel-ratio: 2) and (max-width:767px) {
    
    .hero-image {
        margin-bottom: 10px;
    }

    .hero-section {
        width: 400px;
        flex-wrap: wrap;
        margin: 0;
    }
    .hero-image-text {
        display: inline-block;
    }
    .hero-paragraph {
        padding-bottom: 10px;
    }

    .arrow-container {
        margin-top: 0;
    }

    .arrow-container {
        display: none;
    }

    .popular-donut-list {
        flex-direction: column;
        gap: 10px;
    }

    .popular-donut-item:last-child {
        margin-bottom: 0;
    }

    .company-motto {
        font-size: 38px;
    }

    .popular-title {
        font-size: 38px;
    }
}

/* Overlay  */

.additional-info {
    position: absolute;
    top: 75px;
    right: 370px;
    width: 570px;
    background: #f8ecf8;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    text-align: justify;
}

.arrow-toggle:checked ~ .additional-info {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 32px;
}

.info-content h3 {
    margin-bottom: 16px;
    font-size: 22px;
}

.info-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.donut-features {
    padding: 0;
    margin-left: 15px;
}

.donut-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #363745;
}

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

/* About Page*/

.about-container {
    margin: 0 auto;
    width: 1280px;
    background-color: #f4e0f4;
    color: #363745;
    padding: 20px 25px;
    border-radius: 30px;
}

.about-paragraph {
    margin: 10px 0;
    text-align: justify;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5; 
    letter-spacing: 0.06em;
}

.about-title {
    font-size: 25px;
    letter-spacing: 0.06em
}

@media screen and (min-resolution: 192dpi) and (max-width:767px), 
screen and (min-resolution: 2dppx) and (max-width:767px),
screen and (min-device-pixel-ratio: 2) and (max-width:767px) {
    
   .about-container {
    width: 400px;
    margin: 0;
   }
}

/* Menu Page*/

.menu {
    background-color: #f4e0f4;
    width: 1280px;
    margin: 0 auto;
    padding: 20px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

@media screen and (min-resolution: 192dpi) and (max-width:767px), 
screen and (min-resolution: 2dppx) and (max-width:767px),
screen and (min-device-pixel-ratio: 2) and (max-width:767px) {
    
   .menu {
    width: 400px;
    flex-wrap: wrap;
    margin: 0;
   }
}

/* Contact Page*/

.location-container {
    background: #f4e0f4;
    padding: 25px 40px;
    width: 1280px;
    margin: 0 auto;
    border-radius: 30px;
}

.location-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 48px;
    color: #363745;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.location-info h3 {
    color: #363745;
    margin-bottom: 24px;
    font-size: 24px;
}

.location-address,
.location-hours,
.location-contact {
    margin-bottom: 32px;
    line-height: 1.6;
}

.location-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.feature-item {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature-item h4 {
    color: #363745;
    margin-bottom: 8px;
}

@media screen and (min-resolution: 192dpi) and (max-width:767px), 
screen and (min-resolution: 2dppx) and (max-width:767px),
screen and (min-device-pixel-ratio: 2) and (max-width:767px) {
    
    .location-container {
        width: 400px;
        margin: 0;
        display: inline-block;
    }

    .location-content {
        display: inline-block;
    }

    .location-features {
        display: inline-block;
    }

    .feature-item {
        margin-bottom: 10px;
    }

    .feature-item:last-child {
        margin-bottom: 0;
    }
}

/* Footer */

footer {
    background: #f4e0f4;
    padding: 25px 35px;
    width: 1280px;
    margin: 30px auto;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.copyright {
    text-align: center;
    letter-spacing: 0.06em;
    font-size: 16px;
    font-weight: 500;
}

.footer-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 17px;
    font-weight: 500;
}

footer .logo-title {
    font-size: 25px;
}

footer .logo {
    width: 60px;
    height: 60px;
}

@media screen and (min-resolution: 192dpi) and (max-width:767px), 
screen and (min-resolution: 2dppx) and (max-width:767px),
screen and (min-device-pixel-ratio: 2) and (max-width:767px) {
    
    footer {
        width: 400px;
        margin: 20px 0;
        padding: 20px;
        flex-direction: column;
        gap: 10px;
    }

    .copyright {
        padding-bottom: 12px;
        font-size: 18px;
    }

    .footer-list {
        font-size: 18px;
    }
}