/* 
* Aesthetic Pharmacist - Main Stylesheet
* A modern, responsive design for an aesthetic pharmacy business in Brazil
*/

:root {
    /* Color Palette - Rich, elegant colors suitable for a premium aesthetic business */
    --primary: #006d77;
    --primary-dark: #00565e;
    --secondary: #e29578;
    --secondary-light: #ffddd2;
    --accent: #edf6f9;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --text: #333333;
    --light-text: #6c757d;
    --border: #dee2e6;
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-spacing: 5rem;
    --element-spacing: 1.5rem;
    
    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    
    /* Shadow */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-family);
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

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

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.section-header p {
    color: var(--light-text);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

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

.btn.primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

.btn.secondary:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
    color: var(--text);
}

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

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

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.logo img {
    max-height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255, 255, 255, 0.05)"/></svg>');
    background-size: cover;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* About Summary Section */
.about-summary {
    background-color: var(--light);
}

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

.about-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.about-card .icon {
    margin-bottom: 1.5rem;
}

.about-card .icon svg {
    fill: var(--primary);
}

.about-card h3 {
    margin-bottom: 1rem;
}

/* Services Preview Section */
.services-preview {
    background-color: var(--accent);
    position: relative;
    overflow: hidden;
}

.services-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none; /* For Firefox */
}

.services-slider::-webkit-scrollbar {
    display: none; /* For Chrome, Safari and Opera */
}

.service-card {
    min-width: 300px;
    flex: 1;
    background-color: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-image {
    height: 200px;
    background-color: var(--primary-dark);
    background-image: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.service-content {
    padding: 1.5rem;
    text-align: center;
}

.service-content h3 {
    margin-bottom: 0.5rem;
}

.service-content p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

/* Products Preview Section */
.products-preview {
    background-color: white;
}

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

.product-card {
    background-color: var(--accent);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-image {
    height: 200px;
    background-color: var(--secondary);
    background-image: linear-gradient(45deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.product-content {
    padding: 1.5rem;
    text-align: center;
}

.product-content h3 {
    margin-bottom: 0.5rem;
}

.product-content p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--primary);
    color: white;
}

.testimonials .section-header h2 {
    color: white;
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials .section-header h2:after {
    background-color: var(--secondary-light);
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none; /* For Firefox */
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* For Chrome, Safari and Opera */
}

.testimonial-card {
    min-width: 300px;
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-left: 1.5rem;
}

.quote:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-weight: 600;
}

.client-location {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Games Module Section */
.games-module {
    background-color: var(--accent);
    padding: 4rem 0;
}

.games-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.games-content p {
    margin-bottom: 1.5rem;
}

.games-content a {
    color: var(--secondary);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: underline;
}

.games-content a:hover {
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

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

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding-top: 4rem;
}

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

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.social-links svg {
    fill: white;
    width: 18px;
    height: 18px;
}

address p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: white;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
        z-index: 999;
        padding: 2rem;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin-bottom: 1.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero:before {
        display: none;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .about-card, .product-card {
        padding: 1.5rem;
    }
    
    .services-slider, .testimonials-slider {
        padding-bottom: 2rem;
    }
    
    .service-card, .testimonial-card {
        min-width: 280px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
}
