/* 
 * nudifyerES.site - Styles
 * Spanish colors: 
 * - Red: #C60B1E (from Spanish flag)
 * - Yellow: #F1BF00 (from Spanish flag)
 * - Dark Blue: #1A1A2E (for contrast)
 * - Light Blue: #16213E (for contrast)
 */

/* Base Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: #1A1A2E;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1.2rem;
    color: #444;
}

a {
    color: #C60B1E;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #9c0919;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, #f8f8f8 1px, transparent 1px),
        linear-gradient(to bottom, #f8f8f8 1px, transparent 1px);
    background-size: 20px 20px;
    background-color: rgba(255, 255, 255, 0.97);
    z-index: -1;
    opacity: 0.6;
}

/* Section Styling */
section {
    padding: 100px 0;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn.primary {
    background-color: #C60B1E;
    color: white;
}

.btn.primary:hover {
    background-color: #9c0919;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(198, 11, 30, 0.25);
}

.btn.secondary {
    background-color: white;
    color: #1A1A2E;
    border: 2px solid #F1BF00;
}

.btn.secondary:hover {
    background-color: #F1BF00;
    color: #1A1A2E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(241, 191, 0, 0.25);
}

.btn.large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: #1A1A2E;
    font-weight: 700;
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
}

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

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-list li:not(:last-child) {
    margin-right: 30px;
}

.nav-list a {
    color: #1A1A2E;
    font-weight: 600;
    position: relative;
    padding: 8px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #C60B1E, #F1BF00);
    transition: width 0.3s ease;
}

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

.nav-btn {
    background-color: #C60B1E;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(198, 11, 30, 0.2);
}

.nav-btn:hover {
    background-color: #9c0919;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(198, 11, 30, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #1A1A2E;
    margin: 6px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(241, 191, 0, 0.05), rgba(198, 11, 30, 0.05));
    z-index: -1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.tag {
    display: inline-block;
    background: linear-gradient(to right, #C60B1E, #F1BF00);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(198, 11, 30, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    margin-bottom: 20px;
    position: relative;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Benefits Section */
.benefits {
    background-color: white;
    position: relative;
}

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

.benefit-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(198, 11, 30, 0.1);
}

.benefit-icon {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Process Section */
.process {
    background-color: #f8f8f8;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 800px;
    margin: 60px auto 50px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    position: relative;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #C60B1E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(198, 11, 30, 0.25);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% + 50px);
    background: linear-gradient(to bottom, #C60B1E, transparent);
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-icon {
    margin-bottom: 20px;
}

.cta-center {
    text-align: center;
    margin-top: 60px;
}

/* Gallery Section */
.gallery {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(241, 191, 0, 0.03), rgba(198, 11, 30, 0.03));
    z-index: 0;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 1;
    margin: 50px 0;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 30px;
}

.gallery-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.image-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
    color: #1A1A2E;
}

.gallery-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.gallery-note {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    max-width: 700px;
    margin: 30px auto 0;
}

/* FAQ Section */
.faq {
    background-color: #f8f8f8;
}

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

.faq-item {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    margin: 0;
    padding-right: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
}

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

.faq-icon span {
    position: absolute;
    background-color: #C60B1E;
    transition: all 0.3s ease;
}

.faq-icon span:first-child {
    width: 20px;
    height: 2px;
    top: 9px;
    left: 0;
}

.faq-icon span:last-child {
    width: 2px;
    height: 20px;
    top: 0;
    left: 9px;
}

.faq-item.active .faq-icon span:last-child {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 1000px;
    opacity: 1;
}

/* Call to Action */
.cta {
    background: linear-gradient(135deg, #C60B1E, #9c0919);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: white;
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.15rem;
}

.cta .btn.primary {
    background-color: white;
    color: #C60B1E;
}

.cta .btn.primary:hover {
    background-color: #F1BF00;
    color: #1A1A2E;
}

/* Footer */
.footer {
    background-color: #1A1A2E;
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo h3 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
}

.footer-logo p {
    margin: 5px 0 0;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.1rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #F1BF00;
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: #F1BF00;
    padding-left: 5px;
}

.footer-disclaimer {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-disclaimer p {
    color: #888;
    font-size: 0.9rem;
    max-width: 800px;
    margin: 0 auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .step-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links {
        width: 100%;
        justify-content: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .header {
        height: 70px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        padding: 80px 30px 30px;
        z-index: 999;
        transition: right 0.3s ease;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-list li {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 15px;
    }
    
    .nav-list a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .nav-btn {
        margin-top: 10px;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .process-steps {
        gap: 40px;
    }
}
