/* Base Styles and Variables */
:root {
    --primary-color: #e7aaba;
    --primary-dark: #c48090;
    --primary-light: #f8d1db;
    --secondary-color: #82a1a1;
    --secondary-dark: #617979;
    --accent-color: #d4af37;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-alt: #f9f5f6;
    --bg-dark: #f0e5e7;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

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

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

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2em;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: var(--box-shadow);
}

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

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

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

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Layout Containers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 4rem 0;
}

/* Header and Navigation */
header {
    background-color: var(--bg-color);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

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

.slogan {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
}

nav a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 4rem 10%;
    background-color: var(--bg-alt);
}

.hero-content {
    flex: 1;
}

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

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

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 10%;
}

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

.feature-card:hover {
    transform: translateY(-5px);
}

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

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

/* Latest Posts Section */
.latest-posts {
    padding: 4rem 10%;
    background-color: var(--bg-alt);
    text-align: center;
}

.latest-posts h2 {
    margin-bottom: 2rem;
}

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

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

.post-card:hover {
    transform: translateY(-5px);
}

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

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

.post-card p {
    padding: 0 1rem;
    color: var(--text-light);
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.5rem 1rem 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

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

/* Testimonials Section */
.testimonials {
    padding: 4rem 10%;
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 2rem;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 2rem;
    padding: 1rem 0;
}

.testimonial-slider::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.testimonial-slider::-webkit-scrollbar-track {
    background: transparent;
}

.testimonial {
    flex: 0 0 auto;
    width: 80%;
    scroll-snap-align: start;
    background-color: var(--bg-alt);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    position: relative;
    padding: 1rem;
}

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

.testimonial-content h4 {
    margin-bottom: 0.2rem;
}

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

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 10% 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-contact p, .footer-links li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links ul {
    padding: 0;
}

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

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

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

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

.footer-bottom {
    padding: 1.5rem 10% 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-content p {
    flex: 1 1 100%;
    margin-bottom: 1rem;
}

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

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

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

.cookie-btn.settings {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.cookie-btn.decline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.cookie-more {
    color: var(--primary-light);
    text-decoration: underline;
    margin-left: auto;
}

/* Blog Page Styles */
.blog-main {
    padding: 2rem 10%;
}

.page-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto;
}

.blog-container {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #eee;
}

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

.post-image {
    margin-bottom: 2rem;
}

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

.post-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Services Page Styles */
.services-hero {
    background-color: var(--bg-alt);
    padding: 4rem 10%;
    text-align: center;
}

.services-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-container {
    padding: 4rem 10%;
}

.service-card {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.service-image {
    flex: 1;
    min-width: 300px;
}

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

.service-content {
    flex: 2;
    padding: 2rem;
}

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

.service-content h4 {
    margin: 1.5rem 0 0.5rem;
}

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

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

.service-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 1.5rem 0;
}

.service-process {
    background-color: var(--bg-alt);
    padding: 4rem 10%;
    text-align: center;
}

.service-process h2 {
    margin-bottom: 3rem;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-weight: 600;
}

.faq-section {
    padding: 4rem 10%;
}

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

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.cta-section {
    background-color: var(--bg-dark);
    padding: 4rem 10%;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

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

/* About Page Styles */
.about-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    padding: 4rem 10%;
    background-color: var(--bg-alt);
}

.about-hero-content {
    flex: 1;
    min-width: 300px;
}

.about-hero-image {
    flex: 1;
    min-width: 300px;
}

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

.our-mission {
    padding: 4rem 10%;
    text-align: center;
}

.our-mission h2 {
    margin-bottom: 2rem;
}

.mission-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.mission-text {
    flex: 1;
    min-width: 300px;
}

.mission-values {
    flex: 1;
    min-width: 300px;
}

.mission-values h3 {
    margin-bottom: 1.5rem;
}

.mission-values ul li {
    margin-bottom: 1rem;
}

.team-section {
    padding: 4rem 10%;
    background-color: var(--bg-alt);
    text-align: center;
}

.team-section h2 {
    margin-bottom: 3rem;
}

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

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

.team-member:hover {
    transform: translateY(-5px);
}

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

.team-member h3 {
    padding: 1rem 1rem 0.2rem;
}

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

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

.team-member p:last-child {
    padding-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.credentials-section {
    padding: 4rem 10%;
    text-align: center;
}

.credentials-section h2 {
    margin-bottom: 3rem;
}

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

.credential {
    background-color: var(--bg-alt);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.studio-section {
    padding: 4rem 10%;
}

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

.studio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.studio-images {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.studio-images img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.studio-content {
    flex: 1;
    min-width: 300px;
}

/* Contact Page Styles */
.contact-hero {
    background-color: var(--bg-alt);
    padding: 4rem 10%;
    text-align: center;
}

.contact-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 4rem 10%;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

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

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

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

.info-content h4 {
    margin-bottom: 0.5rem;
}

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

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

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

.social-contact h4 {
    margin-bottom: 1rem;
}

.contact-form-container {
    flex: 2;
    min-width: 300px;
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    margin-top: 0.3rem;
}

.btn-submit {
    justify-self: start;
    padding: 12px 30px;
}

#map-section {
    padding: 2rem 10% 4rem;
    text-align: center;
}

#map-section h3 {
    margin-bottom: 2rem;
}

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

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

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.map-overlay:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}

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

.modal-content p {
    margin-bottom: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero, 
    .about-hero {
        flex-direction: column;
    }
    
    .hero-image {
        order: -1;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .service-card {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-policies {
        justify-content: center;
    }
    
    .testimonial {
        width: 90%;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-more {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .features,
    .post-previews,
    .team-container,
    .credentials-container,
    .faq-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* Animation for typewriter effect */
#typewriter {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.15em;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

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

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