/* 
 * undresslove.best - Main Stylesheet
 * Unique purple theme with modern layout
 */

/* Base styles and reset */
:root {
    --primary: #8e44ad;
    --primary-light: #9b59b6;
    --primary-dark: #7d3c98;
    --secondary: #3498db;
    --accent: #f39c12;
    --text: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #2c3e50;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin: 0;
}

h1 span {
    color: var(--accent);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 1rem auto 0;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

h4 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Links and Buttons */
a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

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

.btn-primary, .btn-secondary, .btn-action, .btn-large {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(142, 68, 173, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(142, 68, 173, 0.1);
    transform: translateY(-3px);
}

.btn-action {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-action:hover {
    background: #e67e22;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.btn-large {
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    padding: 15px 40px;
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
    animation: pulse 2s infinite;
}

.btn-large:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(142, 68, 173, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(142, 68, 173, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
    }
}

/* Header and Navigation */
header {
    background: var(--bg-dark);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

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

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

nav ul {
    display: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 1rem 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    z-index: 999;
}

nav ul li {
    margin: 0.5rem 1rem;
    text-align: center;
}

nav ul li a {
    color: var(--text-light);
    font-weight: 600;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 8px;
}

.menu-toggle span:nth-child(3) {
    top: 16px;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.menu-toggle.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: var(--text-light);
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-content h2:after {
    background: var(--accent);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    margin-top: 2rem;
}

.hero-image svg {
    width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

/* Process Section */
.process {
    padding: 5rem 0;
    background: var(--gradient);
    color: var(--text-light);
}

.process h2 {
    color: var(--text-light);
}

.process h2:after {
    background: var(--accent);
}

.process-steps {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin-top: 1rem;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.process-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.author {
    font-weight: 600;
    text-align: right;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
}

.cta-section h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-section h2:after {
    background: var(--accent);
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 1.5rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

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

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.link-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
}

.link-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Media Queries */
@media (min-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 4rem;
    }
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
    
    nav ul {
        display: flex;
        flex-direction: row;
    }
    
    nav ul li {
        margin: 0 0 0 1.5rem;
    }
    
    .hero .container {
        flex-direction: row;
        text-align: left;
    }
    
    .hero-content h2:after {
        margin: 1rem 0 0;
    }
    
    .hero-image {
        margin-top: 0;
        margin-left: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
