/* 
   Grove Stead Park - Professional Stylist Blog
   Styles for all pages
*/

/* Base styles and CSS Reset */
:root {
    --primary-color: #9b6a6c;
    --primary-dark: #7a4749;
    --primary-light: #c59799;
    --secondary-color: #566270;
    --accent-color: #e0a458;
    --light-color: #f9f4f5;
    --dark-color: #2c292a;
    --text-color: #33312e;
    --muted-color: #888888;
    --border-color: #e6e1e2;
    --success-color: #52a37c;
    --error-color: #d54c4c;
    --font-main: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 8px 28px rgba(0, 0, 0, 0.12);
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

button, .btn {
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1.5rem;
}

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

section {
    padding: 5rem 0;
}

/* Typography */
h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

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

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

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

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

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Light effect for buttons */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

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

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.logo-container h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

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

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5%;
    background-color: #f0e8e9;
}

.hero-content {
    flex: 1;
    padding-right: 3rem;
}

.hero-content h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-large);
    object-fit: cover;
    width: 100%;
    height: 500px;
}

/* Featured Posts Section */
.featured-posts {
    padding: 5rem 5%;
    text-align: center;
}

.featured-posts h2 {
    margin-bottom: 3rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.post-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.post-card h3 {
    padding: 1.2rem 1.5rem 0.6rem;
    font-size: 1.3rem;
}

.post-card p {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    padding: 0 1.5rem 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.read-more:hover {
    color: var(--primary-dark);
}

.view-all {
    margin-top: 2rem;
}

/* Services Preview Section */
.services-preview {
    padding: 5rem 5%;
    background-color: var(--light-color);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

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

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

.service-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    color: white;
}

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

.service-card p {
    margin-bottom: 0;
    color: var(--muted-color);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 5%;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.testimonials h2 {
    color: white;
    margin-bottom: 3rem;
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2rem;
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 320px;
    position: relative;
}

.quote {
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0.2;
    color: var(--accent-color);
}

.testimonial p {
    margin: 1.5rem 0;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.client-info h4 {
    margin-bottom: 0.2rem;
    color: white;
    font-size: 1.1rem;
}

.client-info span {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

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

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

.cta-content p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-content .btn {
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
}

.cta-content .btn:hover {
    background-color: var(--accent-color);
    color: white;
}

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

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

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--muted-color);
    margin-bottom: 0.5rem;
}

.registration {
    font-size: 0.9rem;
    color: var(--muted-color);
}

.footer-links h4, 
.footer-contact h4,
.footer-social h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--muted-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--muted-color);
}

.footer-contact svg {
    color: var(--primary-light);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.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: var(--transition);
}

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

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

.footer-bottom p {
    color: var(--muted-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 33, 33, 0.95);
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    display: none;
}

.cookie-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.cookie-content a {
    color: var(--primary-light);
    font-size: 0.9rem;
}

.cookie-content a:hover {
    text-decoration: underline;
}

/* Blog Page Styles */
.page-header {
    background-color: var(--primary-light);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.blog-content {
    padding: 5rem 0;
}

.blog-post {
    margin-bottom: 6rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-post:last-child {
    border-bottom: none;
}

.post-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
}

.post-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--muted-color);
    font-size: 0.95rem;
}

.post-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

/* Services Page Styles */
.services-intro {
    padding: 5rem 0;
}

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

.intro-content h2 {
    margin-bottom: 2rem;
}

.services-list {
    padding: 0 0 5rem;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

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

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-details h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-details ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-details li {
    margin-bottom: 0.5rem;
}

.service-details p {
    margin-bottom: 1.5rem;
}

.process-section {
    padding: 5rem 0;
    background-color: var(--light-color);
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

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

.process-step h3 {
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--muted-color);
    margin-bottom: 0;
}

/* About Page Styles */
.about-intro {
    padding: 5rem 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-content h2 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.about-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

.about-content li {
    margin-bottom: 0.5rem;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.team-section {
    padding: 5rem 0;
    background-color: var(--light-color);
    text-align: center;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
}

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

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

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

.team-member h3 {
    margin: 1.5rem 0 0.3rem;
    padding: 0 1.5rem;
}

.team-member p {
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 500;
}

.team-member .social-icons {
    justify-content: center;
    margin: 1.5rem 0;
}

.team-member .social-icons a {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.team-member .social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.credentials-section {
    padding: 5rem 0;
    text-align: center;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.credential-item {
    background-color: var(--light-color);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}

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

.credential-icon {
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.credential-item h3 {
    margin-bottom: 1rem;
}

.credential-item p {
    color: var(--muted-color);
    margin-bottom: 0;
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 2rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    background-color: var(--light-color);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.info-icon {
    margin-right: 1rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

.social-connect h3 {
    margin-bottom: 1.5rem;
}

.contact-form-container {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
}

.contact-form-container h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(155, 106, 108, 0.2);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    position: relative;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
}

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

.checkmark {
    position: relative;
    top: 2px;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
    flex-shrink: 0;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

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

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

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

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

.map-section {
    padding: 5rem 0;
    background-color: var(--light-color);
    text-align: center;
}

.map-container {
    margin: 3rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.directions h3 {
    margin-bottom: 2rem;
}

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

.direction-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
}

.direction-icon {
    background-color: var(--primary-light);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.direction-item h4 {
    margin-bottom: 0.5rem;
}

.direction-item p {
    margin-bottom: 0;
    color: var(--muted-color);
}

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

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-large);
    animation: modalFadeIn 0.3s forwards;
}

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

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted-color);
}

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

.thank-you-message svg {
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.thank-you-message h2 {
    margin-bottom: 1rem;
}

.thank-you-message p {
    margin-bottom: 2rem;
}

.close-btn {
    display: inline-block;
    min-width: 150px;
}

/* Responsive styles */
@media (max-width: 1100px) {
    .hero {
        padding: 5rem 5%;
    }

    .hero-content h2 {
        font-size: 2.8rem;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-container {
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-image {
        width: 100%;
    }

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

    .service-image {
        order: -1;
    }

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

    .blog-post {
        gap: 2rem;
    }

    .post-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        margin-top: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
        position: absolute;
        top: 1.5rem;
        right: 5%;
    }

    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    nav.active ul {
        display: flex;
    }

    .post-card h3 {
        font-size: 1.2rem;
    }

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

    .footer-logo img {
        margin: 0 auto 1rem;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

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

@media (max-width: 600px) {
    .hero-content h2 {
        font-size: 2.2rem;
    }

    .testimonial {
        flex: 0 0 calc(100% - 2rem);
    }

    .post-image img {
        height: 250px;
    }

    .blog-post h2 {
        font-size: 1.8rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
