/* Styles for Home Page */

/* Hero Section */
.hero {
    background-color: #F5F5DC;
    padding: 80px 0;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero__content {
    padding-right: 20px;
}

.hero__title {
    font-size: 42px;
    margin-bottom: 20px;
    color: #8B4513;
}

.hero__subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555555;
}

.hero__buttons {
    display: flex;
    gap: 15px;
}

.hero__button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.hero__button--primary {
    background-color: #8B4513;
    color: #FFFFFF;
}

.hero__button--primary:hover {
    background-color: #6B3100;
    color: #FFFFFF;
}

.hero__button--secondary {
    background-color: transparent;
    color: #8B4513;
    border: 2px solid #8B4513;
}

.hero__button--secondary:hover {
    background-color: #8B4513;
    color: #FFFFFF;
}

.hero__image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero__img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.hero__image:hover .hero__img {
    transform: scale(1.05);
}

/* Popular Products Section */
.popular {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.popular__title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    color: #8B4513;
}

.popular__subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    color: #555555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.popular__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.popular__item {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popular__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.popular__image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.popular__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.popular__item:hover .popular__img {
    transform: scale(1.1);
}

.popular__info {
    padding: 20px;
}

.popular__name {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333333;
}

.popular__description {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
}

.popular__price {
    font-size: 20px;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 15px;
}

.popular__button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #008080;
    color: #FFFFFF;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.popular__button:hover {
    background-color: #006666;
    color: #FFFFFF;
}

/* About Brief Section */
.about-brief {
    padding: 80px 0;
    background-color: #F5F5DC;
}

.about-brief__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-brief__image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-brief__img {
    width: 100%;
    height: auto;
}

.about-brief__content {
    padding-left: 20px;
}

.about-brief__title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #8B4513;
}

.about-brief__text {
    margin-bottom: 20px;
    color: #555555;
}

.about-brief__button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #8B4513;
    color: #FFFFFF;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.about-brief__button:hover {
    background-color: #6B3100;
    color: #FFFFFF;
}

/* Special Offers Section */
.offers {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.offers__title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    color: #8B4513;
}

.offers__subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    color: #555555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.offers__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.offers__item {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offers__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.offers__image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.offers__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offers__item:hover .offers__img {
    transform: scale(1.1);
}

.offers__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #FF6B6B;
    color: #FFFFFF;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
}

.offers__info {
    padding: 20px;
}

.offers__name {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333333;
}

.offers__description {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
}

.offers__prices {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.offers__price-old {
    font-size: 16px;
    color: #999999;
    text-decoration: line-through;
}

.offers__price-new {
    font-size: 22px;
    font-weight: 700;
    color: #FF6B6B;
}

.offers__button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #008080;
    color: #FFFFFF;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.offers__button:hover {
    background-color: #006666;
    color: #FFFFFF;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #F5F5DC;
}

.testimonials__title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #8B4513;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonials__item {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonials__rating {
    margin-bottom: 20px;
    color: #FFD700;
}

.testimonials__text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555555;
}

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

.testimonials__author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonials__author-name {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333333;
}

.testimonials__author-location {
    font-size: 14px;
    color: #666666;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.newsletter__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.newsletter__content {
    padding-right: 20px;
}

.newsletter__title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #8B4513;
}

.newsletter__text {
    margin-bottom: 30px;
    color: #555555;
}

.newsletter__form {
    width: 100%;
}

.newsletter__form-group {
    display: flex;
    margin-bottom: 15px;
}

.newsletter__input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #DDDDDD;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.newsletter__button {
    padding: 12px 24px;
    background-color: #8B4513;
    color: #FFFFFF;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter__button:hover {
    background-color: #6B3100;
}

.newsletter__checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.newsletter__checkbox {
    margin-right: 10px;
}

.newsletter__checkbox-label {
    font-size: 14px;
    color: #666666;
}

.newsletter__link {
    color: #008080;
    text-decoration: underline;
}

.newsletter__link:hover {
    color: #006666;
}

.newsletter__image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.newsletter__img {
    width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero__title {
        font-size: 36px;
    }
    
    .popular__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero__container,
    .about-brief__container,
    .newsletter__container {
        grid-template-columns: 1fr;
    }
    
    .hero__content,
    .about-brief__content,
    .newsletter__content {
        padding: 0;
        order: 1;
    }
    
    .hero__image,
    .about-brief__image,
    .newsletter__image {
        order: 0;
        margin-bottom: 30px;
    }
    
    .offers__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero__title {
        font-size: 30px;
    }
    
    .popular__grid,
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .newsletter__form-group {
        flex-direction: column;
    }
    
    .newsletter__input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter__button {
        border-radius: 4px;
        width: 100%;
    }
}
