/* undresser.wiki - Main Stylesheet */
/* Color Scheme: Blue/Teal - Primary: #00BCD4, Secondary: #00796B, Accent: #80DEEA */

:root {
    --primary-color: #00BCD4; /* Teal */
    --secondary-color: #00796B; /* Darker Teal */
    --accent-color: #80DEEA; /* Light Teal */
    --text-color: #37474F; /* Dark Blue Grey */
    --light-text-color: #546E7A; /* Blue Grey */
    --bg-color: #FFFFFF;
    --light-bg-color: #F0F7F8; /* Very Light Cyan */
    --border-color: #B0BEC5; /* Light Blue Grey for borders */
    --header-height: 70px;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 121, 107, 0.1);
    --transition-speed: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    color: var(--secondary-color);
    margin-bottom: 0.75em;
    line-height: 1.3;
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem; /* Hero section title */
    font-weight: 700;
}

h3.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    position: relative;
}

h3.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

p {
    margin-bottom: 1em;
    color: var(--light-text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
}

/* Header */
.site-header {
    background-color: var(--bg-color);
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.logo-icon {
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--secondary-color);
}

.main-navigation ul {
    list-style: none;
    display: flex;
}

.main-navigation li {
    margin-left: 25px;
}

.main-navigation a {
    font-weight: 500;
    color: var(--text-color);
    padding-bottom: 5px;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.main-navigation a:hover::after, .main-navigation a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-btn.active .menu-icon-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.active .menu-icon-bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active .menu-icon-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-navigation {
    display: none;
    background-color: var(--bg-color);
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
}

.mobile-navigation.active {
    display: block;
}

.mobile-navigation ul {
    list-style: none;
    text-align: center;
}

.mobile-navigation li {
    margin: 15px 0;
}

.mobile-navigation a {
    font-weight: 500;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    background-color: var(--light-bg-color);
    padding: 60px 0;
    text-align: center;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hero-content h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: var(--light-text-color);
}

.cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    border: 2px solid transparent;
}

.primary-cta {
    background-color: var(--primary-color);
    color: white;
}

.primary-cta:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.secondary-cta {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.secondary-cta:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.large-cta {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.hero-image-area {
    max-width: 450px;
    width: 100%;
}

/* Features Section */
.features-section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: var(--light-bg-color);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.feature-item svg {
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* How It Works Section */
.how-to-section {
    padding: 60px 0;
    background-color: var(--light-bg-color);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.step-item {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

.step-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.how-to-section .cta-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -30px auto 40px auto;
    color: var(--light-text-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item svg {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: var(--light-bg-color);
}

.faq-accordion {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-color);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform var(--transition-speed);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    margin-bottom: 0;
    color: var(--light-text-color);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust as needed */
}

/* Call to Action Final Section */
.cta-final-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    color: white;
}

.cta-final-section h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}

.cta-final-section p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.cta-final-section .primary-cta {
    background-color: white;
    color: var(--primary-color);
}

.cta-final-section .primary-cta:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

/* Footer */
.site-footer {
    background-color: #263238; /* Dark Blue Grey */
    color: #CFD8DC; /* Light Blue Grey text */
    padding: 50px 0 20px;
    margin-top: auto; /* Pushes footer to bottom */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo-area .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo-area .footer-icon {
    margin-right: 8px;
}

.footer-logo-area span {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.footer-logo-area p {
    font-size: 0.9rem;
    color: #B0BEC5;
}

.footer-links h4, .footer-legal h4 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 8px;
}

.footer-links a, .footer-legal a {
    color: #CFD8DC;
    font-size: 0.95rem;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #455A64; /* Slightly lighter border */
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #90A4AE;
    margin-bottom: 5px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
    }
    .hero-image-area {
        order: -1; /* Image on top on medium screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3.section-title { font-size: 1.6rem; }

    .desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .site-header .container {
        /* Ensure logo and button are spaced */
        justify-content: space-between;
    }
    .logo h1 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .features-grid,
    .steps-container,
    .gallery-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .large-cta {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .faq-answer p {
        padding: 0 15px 15px 15px;
    }
}
