/*
Theme Name: SkinDerx
Theme URI: https://skinderx.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A modern WordPress theme for SkinDerx Eye Cleansing Foam product website.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skinderx
*/

/* Import the main styles */
@import url('assets/css/main.css'); 

/* Advantage Section */
.advantage {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.advantage .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.advantage h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.advantage .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.advantage-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.advantage-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon i {
    font-size: 30px;
    color: #007bff;
}

.advantage-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .advantage-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .advantage {
        padding: 60px 0;
    }

    .advantage h2 {
        font-size: 2rem;
    }

    .advantage-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .advantage h2 {
        font-size: 1.8rem;
    }

    .advantage .section-subtitle {
        font-size: 1rem;
    }

    .advantage-icon {
        width: 60px;
        height: 60px;
    }

    .advantage-icon i {
        font-size: 25px;
    }
}

/* Hidden Cause Section */
.hidden-cause {
    padding: 80px 0;
    background-color: #fff;
}

.hidden-cause .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden-cause h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.hidden-cause .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.symptom {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.symptom:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.symptom i {
    color: #dc3545;
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.symptom span {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.4;
}

.solution-box {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.solution-box p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

.solution-box strong {
    color: #007bff;
    font-weight: 600;
}

/* Responsive Design for Hidden Cause Section */
@media (max-width: 992px) {
    .symptoms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hidden-cause {
        padding: 60px 0;
    }

    .hidden-cause h2 {
        font-size: 2rem;
    }

    .symptoms-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .solution-box {
        padding: 30px;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .hidden-cause h2 {
        font-size: 1.8rem;
    }

    .hidden-cause .section-subtitle {
        font-size: 1rem;
    }

    .symptom {
        padding: 15px;
    }

    .symptom i {
        font-size: 20px;
        margin-right: 12px;
    }

    .symptom span {
        font-size: 1rem;
    }

    .solution-box {
        padding: 25px;
    }

    .solution-box p {
        font-size: 1rem;
    }
}

/* Steps Section */
.steps {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.steps .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.steps h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.step p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.note {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 40px auto;
    line-height: 1.6;
}

.cta {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 60px;
}

.cta h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.cta p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
}

.buy-now {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-bottom: 30px;
}

.buy-now:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.benefits span {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 1rem;
}

.benefits i {
    color: #007bff;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Responsive Design for Steps Section */
@media (max-width: 992px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .steps {
        padding: 60px 0;
    }

    .steps h2 {
        font-size: 2rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta {
        padding: 30px;
        margin-top: 40px;
    }

    .cta h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .steps h2 {
        font-size: 1.8rem;
    }

    .step {
        padding: 25px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .step h3 {
        font-size: 1.2rem;
    }

    .note {
        font-size: 1rem;
    }

    .cta {
        padding: 25px;
    }

    .cta h2 {
        font-size: 1.6rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .buy-now {
        padding: 12px 30px;
        font-size: 1.1rem;
    }

    .benefits {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.testimonials .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: opacity 0.3s ease;
}

.testimonial.active {
    display: block;
}

.stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.customer-name {
    color: #666;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 15px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: #007bff;
}

/* Testimonial Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial.active {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }

    .testimonials h2 {
        font-size: 2rem;
    }

    .testimonial {
        padding: 25px;
    }

    .testimonial p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials h2 {
        font-size: 1.8rem;
    }

    .testimonials .section-subtitle {
        font-size: 1rem;
    }

    .testimonial {
        padding: 20px;
    }

    .stars {
        font-size: 1.2rem;
    }

    .testimonial p {
        font-size: 0.95rem;
    }

    .customer-name {
        font-size: 0.9rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.newsletter .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.newsletter h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.newsletter p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 20px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #007bff;
}

.subscribe-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.subscribe-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.privacy-note {
    color: #888;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Responsive Design for Newsletter */
@media (max-width: 768px) {
    .newsletter {
        padding: 60px 0;
    }

    .newsletter h2 {
        font-size: 2rem;
    }

    .newsletter p {
        font-size: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input[type="email"],
    .subscribe-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .newsletter h2 {
        font-size: 1.8rem;
    }

    .newsletter p {
        font-size: 0.95rem;
    }

    .newsletter-form input[type="email"] {
        padding: 12px 20px;
    }

    .subscribe-btn {
        padding: 12px 25px;
    }
}

/* Page with Sidebar Layout */
.page-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-area {
    flex: 1;
    min-width: 0;
}

/* Sidebar Styles */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-widget {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.widget-title {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    font-size: 1.25rem;
}

/* Search Widget */
.search-form {
    display: flex;
    gap: 10px;
}

.search-field {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-submit {
    padding: 8px 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-submit:hover {
    background: #0056b3;
}

/* About Widget */
.about-image {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

.about-content {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-thumbnail {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.post-content {
    flex: 1;
    min-width: 0;
}

.post-content a {
    display: block;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.4;
}

.post-content a:hover {
    color: #007bff;
}

.post-date {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

/* Advertisement Widget */
.advertisement-widget {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.ad-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Full Width Template Styles */
.page-container.full-width {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-container.full-width .content-area {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Header Spacing */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Main Content Spacing */
.site-main {
    margin-top: 40px;
}

.entry-content {
    margin: 0 auto;
    padding: 30px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-container.full-width {
        padding: 20px;
    }

    .site-main {
        margin-top: 20px;
    }

    .entry-content {
        padding: 20px 0;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}