/* 
 * Cloud Bench Studio - Professional Makeup Blog
 * Custom Stylesheet
 */

/* ===== Base Styles ===== */
:root {
    /* Color Palette */
    --primary-color: #d48a6e;
    --primary-dark: #b97255;
    --primary-light: #f2d0c2;
    --secondary-color: #3a4a4d;
    --secondary-light: #5b7178;
    --background: #ffffff;
    --background-alt: #f9f5f3;
    --text-color: #333333;
    --text-light: #666666;
    --text-extra-light: #999999;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Border Radius */
    --border-radius-sm: 3px;
    --border-radius-md: 6px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Container Widths */
    --container-width: 1200px;
    --container-width-narrow: 900px;
    --container-padding: 2rem;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    color: var(--secondary-color);
    font-weight: 600;
}

h1 {
    font-size: 2.75rem;
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

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

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

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

ul, ol {
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

li {
    margin-bottom: var(--spacing-sm);
}

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

button, .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

button:hover, .btn:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

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

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

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

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    font-family: var(--font-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    outline: none;
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--secondary-color);
}

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

.container-narrow {
    max-width: var(--container-width-narrow);
}

section {
    padding: var(--spacing-xxl) 0;
}

.text-center {
    text-align: center;
}

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

.section-header h2 {
    margin-bottom: var(--spacing-sm);
}

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

/* ===== Header & Navigation ===== */
header {
    padding: 1.5rem 0;
    background-color: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

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

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

nav {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
}

.main-menu li {
    margin: 0 0 0 var(--spacing-lg);
}

.main-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

.main-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

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

.main-menu a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: all var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    padding: var(--spacing-xxl) 0;
    background-color: var(--background-alt);
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
}

/* ===== What You'll Learn Section ===== */
.what-you-learn {
    background-color: var(--background);
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.learn-item {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    background-color: var(--background);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.learn-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-dark);
}

.learn-icon svg {
    width: 30px;
    height: 30px;
}

.learn-item h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
    font-weight: 600;
}

.learn-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== Beginner Mistakes Section ===== */
.beginner-mistakes {
    background-color: var(--background-alt);
}

.mistakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.mistake-item {
    position: relative;
    padding: var(--spacing-lg);
    background-color: var(--background);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
}

.mistake-number {
    position: absolute;
    top: -20px;
    left: var(--spacing-md);
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1rem;
}

.mistake-item h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
    font-family: var(--font-primary);
    font-weight: 600;
}

.mistake-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ===== Featured Posts Section ===== */
.featured-posts {
    background-color: var(--background);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.post-card {
    background-color: var(--background);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.post-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-content {
    padding: var(--spacing-lg);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--text-extra-light);
}

.post-meta span {
    margin-right: var(--spacing-sm);
}

.post-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
    line-height: 1.4;
}

.post-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.read-more {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: transform var(--transition-fast);
    display: inline-block;
}

.read-more:hover:after {
    transform: translateX(5px);
}

.view-all {
    text-align: center;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: var(--background-alt);
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    background-color: var(--background);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    margin: 0 var(--spacing-md);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.testimonial-content p:before,
.testimonial-content p:after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-light);
    font-family: var(--font-secondary);
}

.testimonial-author h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-color);
    font-family: var(--font-primary);
    font-weight: 600;
}

.testimonial-author p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ===== Newsletter Section ===== */
.newsletter {
    background-color: var(--secondary-color);
    color: white;
    padding: var(--spacing-xl) 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
}

.newsletter-form input {
    flex: 1;
    border-radius: var(--border-radius-sm);
    border: none;
    padding: 0.75rem var(--spacing-md);
    margin-bottom: 0;
}

.newsletter-form button {
    background-color: var(--primary-color);
    padding: 0 var(--spacing-lg);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

/* ===== Footer ===== */
footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-logo img {
    height: 40px;
    margin-bottom: var(--spacing-md);
}

.footer-logo p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-primary);
    font-weight: 600;
}

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

.footer-links li,
.footer-legal li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.footer-contact strong {
    color: white;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.social-icons svg {
    width: 20px;
    height: 20px;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* ===== Cookie Notice ===== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-lg);
    z-index: 999;
    display: none;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.cookie-learn-more {
    text-decoration: underline;
    margin-left: var(--spacing-sm);
    white-space: nowrap;
}

/* ===== Page Banner ===== */
.page-banner {
    background-color: var(--background-alt);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.page-banner h1 {
    margin-bottom: var(--spacing-sm);
}

.page-banner p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Blog Page Styles ===== */
.blog-categories {
    padding-bottom: 0;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.category-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    box-shadow: none;
}

.category-btn:hover, .category-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.featured-post {
    padding-top: var(--spacing-xl);
}

.feature-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    background-color: var(--background);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.feature-image {
    height: 100%;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.feature-content p {
    margin-bottom: var(--spacing-lg);
}

.blog-posts {
    padding-top: var(--spacing-xl);
}

/* ===== Post Page Styles ===== */
.post-header {
    background-color: var(--background-alt);
    padding: var(--spacing-xl) 0;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.post-featured-image {
    height: 500px;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body {
    max-width: 800px;
    margin: 0 auto var(--spacing-xxl);
}

.post-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--secondary-color);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.post-body h2 {
    font-size: 1.8rem;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.post-body h3 {
    font-size: 1.4rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

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

.tip-box {
    background-color: var(--primary-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    margin: var(--spacing-lg) 0;
}

.tip-box h3 {
    color: var(--primary-dark);
    margin-top: 0;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.tip-box p {
    margin-bottom: 0;
    color: var(--secondary-color);
}

.author-bio {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    background-color: var(--background-alt);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-xl);
}

.author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    margin-top: 0;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.tag {
    background-color: var(--background-alt);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.post-navigation {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-lg) 0;
    margin-bottom: var(--spacing-xl);
}

.post-nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-blog, .next-post a {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 500;
}

.back-to-blog svg, .next-post svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.back-to-blog:hover svg {
    transform: translateX(-3px);
}

.next-post a:hover svg {
    transform: translateX(3px);
}

.related-posts {
    margin-bottom: var(--spacing-xxl);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.related-post {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.related-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-post h3 {
    padding: var(--spacing-md);
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.comments-section {
    background-color: var(--background-alt);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
}

.comments-note {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: var(--spacing-lg);
}

/* ===== About Us Page ===== */
.our-story {
    padding-bottom: 0;
}

.story-content {
    max-width: 600px;
}

.story-content h2 {
    margin-bottom: var(--spacing-md);
}

.story-image {
    max-width: 450px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.our-mission {
    background-color: var(--background-alt);
}

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

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.mission-item {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--background);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.mission-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-dark);
}

.mission-icon svg {
    width: 30px;
    height: 30px;
}

.mission-item h3 {
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
    font-weight: 600;
}

.mission-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.team {
    text-align: center;
}

.team-subtitle {
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.team-member {
    background-color: var(--background);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base);
}

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

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    margin: var(--spacing-md) var(--spacing-md) var(--spacing-xs);
    font-family: var(--font-primary);
    font-weight: 600;
}

.team-member p {
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.team-member p:nth-child(3) {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.member-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    padding-bottom: var(--spacing-md);
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--background-alt);
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.member-social svg {
    width: 18px;
    height: 18px;
}

.expertise {
    background-color: var(--background-alt);
    text-align: center;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.expertise-item {
    background-color: var(--background);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-dark);
}

.expertise-icon svg {
    width: 30px;
    height: 30px;
}

.expertise-item h3 {
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
    font-weight: 600;
}

.expertise-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ===== Services Page ===== */
.service-banner {
    background-image: linear-gradient(rgba(58, 74, 77, 0.8), rgba(58, 74, 77, 0.8)), url('images/7.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.service-banner h1, .service-banner p {
    color: white;
}

.service-intro {
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-list {
    background-color: var(--background-alt);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    background-color: var(--background);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-image {
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: var(--spacing-xl);
}

.service-content h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.service-content p {
    margin-bottom: var(--spacing-lg);
}

.service-details {
    background-color: var(--background-alt);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-lg);
}

.detail-item {
    display: flex;
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 600;
    width: 100px;
    color: var(--secondary-color);
}

.service-process {
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background-color: var(--border-color);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    flex-basis: 22%;
}

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

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

.step-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.faq {
    background-color: var(--background-alt);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-lg);
}

.faq-item {
    background-color: var(--background);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    font-family: var(--font-primary);
    font-weight: 600;
    padding-right: var(--spacing-md);
}

.faq-toggle {
    color: var(--primary-color);
    transition: transform var(--transition-fast);
}

.faq-toggle svg {
    width: 20px;
    height: 20px;
}

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

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

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

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

.cta .btn-primary:hover {
    background-color: var(--background-alt);
}

.cta-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* ===== Contact Page ===== */
.contact-info {
    padding-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.contact-card {
    background-color: var(--background);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-dark);
}

.contact-icon svg {
    width: 30px;
    height: 30px;
}

.contact-card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-weight: 600;
}

.contact-card p {
    margin-bottom: var(--spacing-xs);
    line-height: 1.5;
}

.contact-hours, .contact-note {
    color: var(--text-light);
    font-size: 0.85rem;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--background-alt);
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.contact-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-social svg {
    width: 18px;
    height: 18px;
}

.contact-form-section {
    background-color: var(--background-alt);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--background);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

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

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: 0;
}

.full-width {
    grid-column: span 2;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--text-light);
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: var(--background-alt);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-submit {
    grid-column: span 2;
    text-align: center;
    margin-top: var(--spacing-md);
}

.map-section {
    padding-top: 0;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.working-hours {
    background-color: var(--background-alt);
    text-align: center;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto var(--spacing-lg);
}

.hours-item {
    background-color: var(--background);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.hours-item h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-weight: 600;
}

.hours-item p {
    margin-bottom: 0;
}

.hours-note {
    color: var(--text-light);
    font-style: italic;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--background);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    position: relative;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.close-modal:hover {
    color: var(--error-color);
}

.thank-you-message {
    text-align: center;
}

.thank-you-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
}

.thank-you-icon svg {
    width: 40px;
    height: 40px;
}

.thank-you-message h2 {
    color: var(--success-color);
    margin-bottom: var(--spacing-sm);
}

.thank-you-message p {
    margin-bottom: var(--spacing-lg);
}

.close-btn {
    background-color: var(--success-color);
}

.close-btn:hover {
    background-color: #3d8b40;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1100px) {
    .container {
        padding: 0 var(--spacing-lg);
    }

    .process-steps {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .process-steps:before {
        display: none;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 300px;
    }
}

@media (max-width: 900px) {
    html {
        font-size: 15px;
    }

    .main-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--background);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left var(--transition-base);
        box-shadow: var(--shadow-md);
        z-index: 90;
    }

    .main-menu.active {
        left: 0;
    }

    .main-menu li {
        margin: var(--spacing-md) 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

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

    .footer-logo {
        grid-column: span 2;
    }

    .feature-wrapper {
        grid-template-columns: 1fr;
    }

    .feature-image {
        height: 300px;
    }

    .post-featured-image {
        height: 350px;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    section {
        padding: var(--spacing-xl) 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .post-grid, .related-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        grid-column: span 1;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-navigation {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}
