/* 
   SilentJunction - Main Stylesheet
   Modern, elegant styling for a professional makeup artist website
*/

/* ======= VARIABLES ======= */
:root {
    /* Color Scheme */
    --primary-color: #e5b8b8;
    --primary-dark: #c79999;
    --primary-light: #f6d9d9;
    --secondary-color: #3a3a3a;
    --text-color: #333333;
    --light-text: #666666;
    --dark-bg: #212121;
    --light-bg: #f9f4f4;
    --white: #ffffff;
    --black: #000000;
    --border-color: #ebebeb;
    --success-color: #4caf50;
    --error-color: #f44336;
    
    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1.5rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    
    /* Box Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ======= RESET & BASE STYLES ======= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

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

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

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

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

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

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

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

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

.section-padding {
    padding: var(--section-padding);
}

/* ======= BUTTONS ======= */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-family: var(--body-font);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-cookie-accept, .btn-cookie-customize, .btn-cookie-decline {
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cookie-accept {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

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

.btn-cookie-customize {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

.btn-cookie-customize:hover {
    background-color: var(--light-bg);
}

.btn-cookie-decline {
    background-color: transparent;
    color: var(--light-text);
    border: 1px solid var(--light-text);
}

.btn-cookie-decline:hover {
    background-color: var(--light-bg);
}

/* ======= HEADER & NAVIGATION ======= */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

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

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

nav ul {
    display: flex;
    gap: 2rem;
    margin-bottom: 0;
    list-style-type: none;
}

nav ul li a {
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: all var(--transition-normal);
}

/* ======= HERO SECTION ======= */
.hero {
    background-color: var(--light-bg);
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero p.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-text);
}

/* ======= PAGE HEADER ======= */
.page-header {
    background-color: var(--light-bg);
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 0;
}

/* ======= FEATURES SECTION ======= */
.features {
    padding: var(--section-padding);
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.feature-item .icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-item .icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

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

.feature-item p {
    color: var(--light-text);
    margin-bottom: 0;
}

/* ======= LATEST POSTS SECTION ======= */
.latest-posts {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

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

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

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

.post-image {
    height: 200px;
    overflow: hidden;
}

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

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

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

.read-more {
    font-weight: 500;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-bottom: 3px;
}

.read-more:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
}

.read-more:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

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

/* ======= BLOG PAGE STYLES ======= */
.blog-content {
    padding: var(--section-padding);
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.blog-image {
    height: 250px;
    overflow: hidden;
}

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

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

.blog-details {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.date {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    display: block;
}

.blog-details h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-details h2:after {
    display: none;
}

.blog-details p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* ======= BLOG POST STYLES ======= */
.post-header {
    background-color: var(--light-bg);
    padding: 4rem 0;
    text-align: center;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--light-text);
    font-size: 0.95rem;
}

.post-content {
    padding: 4rem 0;
}

.featured-image {
    margin-bottom: 2.5rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.featured-image img {
    width: 100%;
    height: auto;
}

article {
    max-width: 800px;
    margin: 0 auto;
}

article h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

article h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

article p, article ul, article ol {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

article ul, article ol {
    padding-left: 1rem;
    list-style-position: outside;
}

article li {
    margin-bottom: 0.5rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.post-nav-prev, .post-nav-next {
    max-width: 45%;
}

.post-nav-prev a, .post-nav-next a {
    font-weight: 500;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.post-nav-prev a:hover, .post-nav-next a:hover {
    color: var(--primary-dark);
}

.share-post {
    margin-top: 3rem;
    text-align: center;
}

.share-post h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

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

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

.related-posts {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.related-posts h2 {
    text-align: center;
}

.related-posts h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* ======= SERVICES PAGE ======= */
.services {
    padding: var(--section-padding);
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

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

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

.service-item.reverse .service-content {
    direction: ltr;
}

.service-image {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-content h2 {
    margin-bottom: 1rem;
}

.service-content h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}

.service-content ul {
    margin-bottom: 2rem;
    list-style-type: none;
}

.service-content ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-content ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ======= PRICING SECTION ======= */
.pricing {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

.pricing h2 {
    text-align: center;
}

.pricing h2:after {
    left: 50%;
    transform: translateX(-50%);
}

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

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

.pricing-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

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

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-color);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.pricing-card.featured .pricing-header {
    background-color: var(--primary-color);
}

.pricing-header h3 {
    color: var(--white);
    margin-bottom: 0;
}

.pricing-body {
    padding: 2rem;
}

.pricing-body ul {
    list-style-type: none;
    margin-bottom: 1.5rem;
}

.pricing-body ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--border-color);
}

.pricing-body ul li:last-child {
    border-bottom: none;
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 1.5rem;
    font-style: italic;
}

.pricing-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

.custom-pricing {
    text-align: center;
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.custom-pricing h3 {
    margin-bottom: 1rem;
}

.custom-pricing p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ======= FAQ SECTION ======= */
.faq {
    padding: var(--section-padding);
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq h2:after {
    left: 50%;
    transform: translateX(-50%);
}

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

.accordion-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    background-color: var(--white);
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    background-color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.accordion-item.active .accordion-content {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* ======= CTA SECTION ======= */
.cta {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

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

.cta h2:after {
    background-color: var(--white);
    left: 50%;
    transform: translateX(-50%);
}

.cta p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

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

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

.cta .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

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

/* ======= ABOUT PAGE STYLES ======= */
.about-story {
    padding: var(--section-padding);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.philosophy {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

.philosophy h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.philosophy h2:after {
    left: 50%;
    transform: translateX(-50%);
}

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

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

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

.philosophy-item .icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.philosophy-item .icon svg {
    width: 40px;
    height: 40px;
}

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

.philosophy-item p {
    color: var(--light-text);
    margin-bottom: 0;
}

.team {
    padding: var(--section-padding);
}

.team h2 {
    text-align: center;
}

.team h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

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

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

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.team-member:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.team-member h3 {
    margin-bottom: 0.2rem;
}

.team-member p {
    color: var(--light-text);
}

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

.team-member .social-icons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

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

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

.credentials {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

.credentials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.credentials h2:after {
    left: 50%;
    transform: translateX(-50%);
}

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

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

.credential-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

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

/* ======= CONTACT PAGE STYLES ======= */
.contact-content {
    padding: var(--section-padding);
}

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

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

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-item .icon {
    margin-right: 1.5rem;
    color: var(--primary-color);
}

.info-item .icon svg {
    width: 24px;
    height: 24px;
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--light-text);
    margin-bottom: 0;
}

.social-follow {
    margin-top: 3rem;
}

.social-follow h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

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

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

.contact-form h2 {
    margin-bottom: 2rem;
}

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

.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 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

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

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

.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(--white);
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

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

.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: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container a {
    color: var(--primary-dark);
    text-decoration: underline;
}

.map-section {
    padding: 0 0 5rem;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-section h2:after {
    left: 50%;
    transform: translateX(-50%);
}

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

/* ======= TESTIMONIALS SECTION ======= */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial-item {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    max-width: 500px;
    transition: transform var(--transition-normal);
}

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

.testimonial-item .quote {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
}

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

.client-info h4 {
    margin-bottom: 0.2rem;
    color: var(--secondary-color);
}

.client-info span {
    color: var(--primary-dark);
    font-size: 0.9rem;
}

/* ======= NEWSLETTER SECTION ======= */
.newsletter {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--white);
}

.newsletter h2 {
    margin-bottom: 1rem;
}

.newsletter h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.newsletter p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.email-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.email-form input {
    flex-grow: 1;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--border-color);
    border-right: none;
    font-family: var(--body-font);
    font-size: 1rem;
}

.email-form input:focus {
    outline: none;
}

.email-form button {
    padding: 0 1.5rem;
    border-radius: 0;
}

/* ======= FOOTER ======= */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 5rem 0 2rem;
}

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

.footer-info p {
    color: #aaa;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 120px;
    margin-bottom: 1.5rem;
}

.registration {
    font-size: 0.85rem;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-links h3:after,
.footer-contact h3:after,
.footer-social h3:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style-type: none;
    margin-bottom: 0;
}

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

.footer-links ul li a {
    color: #aaa;
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

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

.footer-contact address p {
    margin-bottom: 0.8rem;
    color: #aaa;
    display: flex;
    align-items: center;
}

.footer-contact address p svg {
    margin-right: 0.8rem;
    color: var(--primary-color);
}

.footer-contact address p a {
    color: #aaa;
}

.footer-contact address p a:hover {
    color: var(--primary-color);
}

.footer-social .social-icons {
    gap: 0.8rem;
}

.footer-social .social-icons a {
    background-color: #444;
    color: var(--white);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    flex-wrap: wrap;
    gap: 1rem;
}

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

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

.footer-legal a {
    color: #aaa;
    font-size: 0.9rem;
}

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

/* ======= COOKIE NOTICE ======= */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1.5rem;
    display: none;
}

.cookie-notice.show {
    display: block;
    animation: slideUp 0.5s forwards;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.cookie-policy {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 0;
}

.cookie-policy a {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ======= MODAL ======= */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s forwards;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 0 1.5rem;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: zoomIn 0.3s forwards;
}

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

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

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-content p {
    margin-bottom: 0;
}

/* ======= ANIMATIONS ======= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* ======= TYPEWRITER EFFECT ======= */
#typewriter {
    border-right: 0.1em solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    max-width: fit-content;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

/* ======= RESPONSIVE STYLES ======= */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero h1, .page-header h1 {
        font-size: 2.8rem;
    }
    
    .about-grid, .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .service-item, .service-item.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero h1, .page-header h1 {
        font-size: 2.5rem;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        transition: right var(--transition-normal);
        padding: 5rem 1.5rem 2rem;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-nav-prev, .post-nav-next {
        max-width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero h1, .page-header h1 {
        font-size: 2.2rem;
    }
    
    .email-form {
        flex-direction: column;
    }
    
    .email-form input {
        border-right: 1px solid var(--border-color);
        border-bottom: none;
        text-align: center;
    }
    
    .feature-grid, .philosophy-grid, .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
