/* Base Styles and Variables */
:root {
    --primary-color: #5D8AA8; /* Soft blue */
    --secondary-color: #88A096; /* Sage green */
    --accent-color: #D8BFD8; /* Lavender */
    --dark-color: #33415C; /* Dark blue */
    --light-color: #F9F9F9; /* Off white */
    --text-color: #333333; /* Dark gray for text */
    --text-light: #666666; /* Lighter text */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

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

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

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

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

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

p {
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

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

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

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

section {
    padding: 5rem 0;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: var(--font-heading);
}

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

.tagline {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

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

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(93, 138, 168, 0.7), rgba(51, 65, 92, 0.8)), url('../images/serene-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 10rem 0 6rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.hero-wave {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-badge {
    margin-top: 2rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(93, 138, 168, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .icon-circle {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

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

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

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

/* Intro Section */
.intro {
    background-color: white;
}

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

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

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

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card:hover::before {
    height: 100%;
}

.icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

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

/* CTA Section */
.cta {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

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

.cta .btn:hover {
    background-color: transparent;
    color: white;
}

.cta .btn-outline {
    background-color: transparent;
    color: white;
}

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

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

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

footer h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

footer p {
    margin-bottom: 0.7rem;
}

footer a {
    color: var(--accent-color);
}

footer a:hover {
    color: white;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.7rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Services Page Styles */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    color: white;
}

.service-section {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

.service-section:last-child {
    border-bottom: none;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-text {
    order: 0;
}

.service-image {
    order: 1;
    border-radius: 5px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.reversed .service-text {
    order: 1;
}

.reversed .service-image {
    order: 0;
}

/* Biography Page Styles */
.bio-section {
    padding: 4rem 0;
}

.bio-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.bio-image {
    border-radius: 5px;
    overflow: hidden;
}

.bio-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Silhouette image styling */
.bio-profile-image {
    border-radius: 50% !important;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
    max-width: 300px !important;
    display: block;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bio-profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
}

.credential {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.credential:last-child {
    border-bottom: none;
}

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

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

.contact-info {
    background-color: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

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

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

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

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

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .service-content, .bio-content, .contact-content {
        grid-template-columns: 1fr;
    }
    
    .service-text, .service-image {
        order: 0;
    }
}

@media screen and (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    nav.open ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 2rem;
        box-shadow: var(--shadow);
    }
    
    nav.open ul li {
        margin: 0 0 1rem;
    }
    
    .hero {
        padding: 9rem 0 4rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 0;
    }
}
