/* Main CSS */
:root {
    --primary-color: #333;
    --secondary-color: #6a6a6a;
    --accent-color: #ad8c4b;
    --light-color: #f8f8f8;
    --dark-color: #212121;
    --bg-color: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Adjust based on your header height */
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

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

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

/* Header & Navigation */
header {
    background-color: var(--bg-color);
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-nav {
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.logo .subtitle {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    padding: 0 1rem;
}

.nav-links a {
    position: relative;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transform-origin: center;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 150px 20px 80px;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    background-size: cover;
    background-position: center;
}

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

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.3rem;
    color: var(--accent-color);
}

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

.contact-info {
    margin: 1rem 0 2rem;
}

.contact-info a {
    display: inline-block;
    margin: 0 15px;
    color: var(--secondary-color);
}

.profile-image {
    margin: 2rem auto;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-image:hover .profile-photo {
    transform: scale(1.05);
}

.hero h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: white;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px;
}

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

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Approaches Section */
.approaches {
    padding: 80px 20px;
    text-align: center;
}

.approaches h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.approaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.approach-card {
    background-color: var(--light-color);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.approach-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* Appointments Section */
.appointments {
    padding: 80px 20px;
    background-color: var(--light-color);
    text-align: center;
}

.appointments h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.appointments-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background-color: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.appointments-info ul {
    list-style-position: inside;
}

.appointments-info ul li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.appointments-info ul ul {
    margin: 1rem 0 1rem 2rem;
}

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

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.contact {
    text-align: center;
}

.contact h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.3rem;
}

.contact h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.contact p {
    margin-bottom: 0.5rem;
}

.contact a {
    color: white;
}

.contact a:hover {
    color: var(--accent-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .services-grid, .approaches-grid {
        grid-template-columns: 1fr;
    }
}

/* Counselling Page Specific Styles */
.counselling-intro {
    padding: 150px 20px 60px;
    text-align: center;
    background-color: var(--light-color);
}

.counselling-intro h1 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.counselling-intro p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
}

.counselling-services {
    padding: 60px 20px;
}

.service-details {
    max-width: 1000px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.service-title {
    text-align: right;
}

.service-title h2 {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-title h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 400;
}

.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

@media (max-width: 768px) {
    .service-details {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-title {
        text-align: center;
    }
}

/* Approaches Page Specific Styles */
.approach-details {
    padding: 150px 20px 80px;
}

.approach-section {
    max-width: 1000px;
    margin: 0 auto 80px;
}

.approach-section h1 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: center;
}

.approach-section h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--primary-color);
}

.approach-section h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
}

.approach-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.approach-section ul {
    margin: 0 0 1.5rem 2rem;
}

.approach-section ul li {
    margin-bottom: 0.5rem;
}

.approach-section .cbt-link {
    text-align: center;
    margin: 3rem 0;
}

.button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #8e723c;
    color: white;
}

/* Mental Disorders Page Specific Styles */
.disorders-intro {
    padding: 150px 20px 60px;
    text-align: center;
}

.disorders-intro h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.disorders-categories {
    padding: 60px 20px;
}

.disorder-category {
    max-width: 1000px;
    margin: 0 auto 60px;
}

.disorder-category h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: center;
}

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

.disorder-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.disorder-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.disorder-card p {
    font-size: 1rem;
}

/* Cognitive Distortions Page Specific Styles */
.cognitive-distortions {
    padding: 150px 20px 80px;
}

.cognitive-distortions .approach-section {
    max-width: 1200px;
    margin: 0 auto;
}

.cognitive-distortions h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.cognitive-distortions .intro-text {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.8;
}

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

.distortion-card {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.distortion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.distortion-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.distortion-card p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.distortion-card .example {
    background-color: rgba(173, 140, 75, 0.1);
    padding: 15px;
    border-radius: 5px;
    margin-top: auto;
}

.distortion-card .example h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.distortion-card .example p {
    font-style: italic;
    margin-bottom: 0;
}

.cbt-resources {
    background-color: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cbt-resources h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cbt-resources p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .distortions-grid {
        grid-template-columns: 1fr;
    }
    
    .cognitive-distortions h1 {
        font-size: 2rem;
    }
    
    .cognitive-distortions .intro-text,
    .cbt-resources p {
        font-size: 1rem;
    }
}
