/* 
   Style Elegance - Main Stylesheet
   A professional styling services website
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #b76e79;
    --primary-dark: #a05c66;
    --primary-light: #e5b8be;
    --secondary-color: #4a6670;
    --secondary-light: #8da1a9;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f9f7f8;
    --bg-dark: #eceaeb;
    --accent-color: #d4af37;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-color);
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

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

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

.logo-container img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 15px;
}

nav ul {
    display: flex;
}

nav li {
    margin-left: 25px;
}

nav a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

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

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

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

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    vertical-align: middle;
    margin-right: 5px;
}

.icon-title {
    width: 28px;
    height: 28px;
    fill: var(--primary-color);
    margin-right: 10px;
}

.center {
    text-align: center;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Montserrat', sans-serif;
}

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

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

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

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

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

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

/* ===== Header & Navigation ===== */
header {
    background-color: var(--bg-color);
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

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

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

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

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 90px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 400;
}

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

/* ===== Features Section ===== */
.features {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    fill: var(--primary-color);
    margin: 0 auto 20px;
}

/* ===== Latest Posts Section ===== */
.latest-posts {
    padding: 80px 0;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-content {
    padding: 20px;
}

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

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

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

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

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

.client img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* ===== CTA Section ===== */
.cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.cta h2 {
    color: white;
    margin-bottom: 20px;
}

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

/* ===== Footer ===== */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover, .footer-contact a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact .icon {
    margin-right: 10px;
    margin-top: 3px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.social-icon:hover {
    fill: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 1000;
    display: none;
}

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

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    min-width: 300px;
    margin-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== Page Header ===== */
.page-header {
    background-color: var(--bg-light);
    text-align: center;
    padding: 120px 0 60px;
    margin-bottom: 40px;
}

.page-header h1 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Blog Page Styles ===== */
.blog-content {
    padding: 0 0 80px;
}

.blog-post {
    max-width: 800px;
    margin: 0 auto 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--bg-dark);
}

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

.post-image {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-details {
    display: flex;
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.post-date {
    margin-right: 20px;
}

.post-tags {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.post-tags span {
    margin-right: 10px;
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 10px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    color: var(--text-light);
}

.post-tags a:hover {
    background-color: var(--primary-light);
    color: var(--text-color);
}

.blog-post h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.blog-post h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-post ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    list-style-type: disc;
}

.newsletter {
    background-color: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* ===== Services Page Styles ===== */
.services-intro {
    padding: 0 0 60px;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.service-list {
    padding: 0 0 80px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    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);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.service-content h3 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.service-content p {
    margin-bottom: 15px;
}

.service-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.service-content ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    list-style-type: disc;
}

.packages {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

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

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.package-card.featured {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

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

.package-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
}

.package-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
}

.package-header h3 {
    color: white;
    margin-bottom: 10px;
}

.package-price {
    font-size: 1.8rem;
    font-weight: 700;
}

.package-content {
    padding: 30px;
}

.package-content p {
    margin-bottom: 20px;
}

.package-content ul {
    margin-bottom: 30px;
}

.package-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

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

.process {
    padding: 80px 0;
}

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

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

.process-step {
    text-align: center;
    padding: 0 15px;
    width: 20%;
    min-width: 150px;
    margin-bottom: 30px;
}

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

.faq {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.faq-item {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

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

/* ===== About Page Styles ===== */
.about-intro {
    padding: 0 0 60px;
}

.mission-values {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.mission {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.mission h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

.value-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.team {
    padding: 80px 0;
}

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

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

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    box-shadow: var(--box-shadow);
}

.team-member h3 {
    margin-bottom: 5px;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.credentials {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.credentials-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.credentials-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.credentials-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.credentials-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    list-style-type: disc;
}

.credentials-logos {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* ===== Contact Page Styles ===== */
.contact-content {
    padding: 0 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
    margin-right: 15px;
    margin-top: 3px;
}

.info-item h3 {
    margin-bottom: 10px;
}

.social-connect {
    margin-top: 40px;
}

.social-connect h3 {
    margin-bottom: 15px;
}

.contact-form-container {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    margin-bottom: 30px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    font-weight: normal;
}

.checkbox-label input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.map-section {
    padding: 0 0 80px;
}

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

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

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

.map-overlay p {
    margin-bottom: 20px;
}

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

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

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

.success-icon {
    width: 60px;
    height: 60px;
    fill: var(--success-color);
    margin: 0 auto 20px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .nav-links li {
        margin-left: 20px;
    }
    
    .intro-content, .service-item, .service-item.reverse, .credentials-content {
        grid-template-columns: 1fr;
    }
    
    .intro-text, .service-content {
        order: 1;
    }
    
    .intro-image, .service-image {
        order: 2;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-links li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        width: 100%;
    }
    
    .process-steps:before {
        display: none;
    }
}
