/* 
 * nudifyerFR.site Styles
 * French AI Image Transformation Tool
 * Using French flag colors: Blue (#0023A5), White (#FFFFFF), Red (#ED2939)
 */

:root {
    /* French color palette */
    --blue: #0023A5;         /* French flag blue */
    --blue-light: #3355C8;
    --blue-dark: #001975;
    --red: #ED2939;          /* French flag red */
    --red-light: #FF5A67;
    --red-dark: #C51026;
    --gold: #D4AF37;         /* French accent gold */
    --gold-light: #F2D675;
    --gold-dark: #AA8C2C;
    --dark: #222222;
    --gray-dark: #555555;
    --gray: #888888;
    --gray-light: #f5f5f5;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-strong: rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-primary: 'Raleway', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-rounded: 50%;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Utility classes */
.text-accent {
    color: var(--red);
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 35, 165, 0.2);
}

.btn-primary:hover {
    background-color: var(--blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 35, 165, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--blue);
    color: var(--white);
}

.btn-accent {
    background-color: var(--red);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(237, 41, 57, 0.2);
}

.btn-accent:hover {
    background-color: var(--red-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(237, 41, 57, 0.3);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Header styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 15px var(--shadow);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px var(--shadow-strong);
}

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

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

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

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blue);
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-list li a {
    color: var(--dark);
    font-weight: 500;
    padding: 0.25rem 0;
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--red);
    transition: all 0.3s ease;
}

.nav-list li a:hover {
    color: var(--red);
}

.nav-list li a:hover::after {
    width: 100%;
}

.nav-cta a {
    color: var(--white);
}

.nav-cta a:hover::after {
    width: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    padding-top: calc(80px + var(--spacing-lg));
    padding-bottom: 0;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 35, 165, 0.05), rgba(237, 41, 57, 0.05));
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    padding-bottom: var(--spacing-lg);
}

.hero-text {
    max-width: 600px;
}

.tagline {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    color: var(--blue);
    margin-bottom: var(--spacing-sm);
    border-radius: 20px;
    padding: 0.25rem 1rem;
    background-color: rgba(0, 35, 165, 0.1);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--gray-dark);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--red);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    max-width: 500px;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    line-height: 0;
}

/* Features Section */
.features-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: 0 5px 30px var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-strong);
    border-color: rgba(0, 0, 0, 0);
}

.feature-icon {
    margin: 0 auto var(--spacing-md);
    width: 60px;
    height: 60px;
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background-color: var(--white);
    position: relative;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-strong);
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 24px;
    width: 2px;
    height: 30px;
    background-color: var(--blue-light);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--blue);
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: var(--radius-rounded);
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: var(--spacing-xs);
}

.step-content p {
    margin-bottom: 0;
    color: var(--gray-dark);
}

.try-now-container {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.diagonal-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-xl) 0;
    background-color: var(--gray-light);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--red);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-strong);
}

.testimonial-rating {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-info {
    line-height: 1.3;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0;
}

.author-location {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--white);
}

.faq-question {
    padding: var(--spacing-md);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.faq-toggle {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--blue);
    transition: all 0.3s ease;
}

.faq-toggle::before {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-toggle::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.faq-item.active .faq-toggle::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 var(--spacing-md) var(--spacing-md);
    max-height: 300px;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.cta-content .text-accent {
    color: var(--gold-light);
}

/* Footer */
.site-footer {
    background-color: var(--dark);
    color: var(--gray-light);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-md);
}

.footer-branding {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    margin-right: var(--spacing-sm);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
    line-height: 1.2;
}

.footer-tagline {
    color: var(--gray);
    font-size: 0.85rem;
}

.footer-description {
    color: var(--gray);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    color: var(--gray);
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--red-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 0.85rem;
    color: var(--gray);
}

.footer-keywords {
    opacity: 0.5;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-in {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.slide-in.active {
    opacity: 1;
    transform: translateX(0);
}

/* Transform effect animation in hero section */
.transform-effect {
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.3;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .hero-text {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-buttons, .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .footer-branding {
        margin: 0 auto;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: var(--spacing-xl) var(--spacing-md);
        box-shadow: -5px 0 20px var(--shadow);
        transition: all 0.3s ease;
        z-index: 1000;
        gap: var(--spacing-sm);
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .features-grid, .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: var(--spacing-sm);
    }
    
    .step:not(:last-child)::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
