/* --- MY PROJECT/css/style.css --- */

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

/* 
Color Palette:
- Primary: #0A4D68 (Dark Blue)
- Secondary: #088395 (Teal)
- Accent: #F3B95F (Muted Gold)
- Background: #F7F7F7 (Light Gray)
- Text: #333333 (Dark Gray)
- White: #FFFFFF
*/

/* General responsive styles */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
}

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

/* Hamburger menu styles (mobile only) */
.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .container {
    padding: 8px;
  }
  .mobile-menu {
    display: block;
    position: relative;
  }
  #hamburger {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
  }
  #mobileNav {
    position: absolute;
    top: 50px;
    right: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 8px;
    width: 180px;
    z-index: 999;
    transition: opacity 0.3s;
  }
  #mobileNav.hidden {
    display: none;
  }
  #mobileNav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  #mobileNav li {
    border-bottom: 1px solid #eee;
  }
  #mobileNav li:last-child {
    border-bottom: none;
  }
  #mobileNav a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
  }
  #mobileNav a:hover {
    background: #f5f5f5;
  }
}
/* --- General Styles & Resets --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lora', serif;
  background-color: #F7F7F7;
  color: #333333;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #0A4D68;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

a {
  color: #088395;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #F3B95F;
}

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

/* --- Header & Navigation --- */
.main-header {
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A4D68;
}
.logo-link img {
  max-height: 48px; /* Limit logo height */
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover, .main-nav a.active {
  color: #0A4D68;
  border-bottom-color: #F3B95F;
}


/* --- Utility Classes --- */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #0A4D68;
}

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

.btn {
  display: inline-block;
  background-color: #088395;
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #0A4D68;
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-accent {
    background-color: #F3B95F;
    color: #333;
}

.btn-accent:hover {
    background-color: #e0a850;
    color: #333;
}


/* --- Hero Section (Home Page) --- */
.hero {
  background-color: #E0F4FF; /* A lighter, welcoming blue */
  padding: 5rem 0;
  text-align: center;
}

.hero-content h2 {
  font-size: 2.2rem;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
}

.hero-content .profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem auto;
  border: 5px solid #FFFFFF;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-content p {
  max-width: 650px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

/* --- About Section --- */
#about {
    background: #FFFFFF;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

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

.service-card {
  background-color: #FFFFFF;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.07);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #088395;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.service-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.service-card p {
  margin-bottom: 1.5rem;
  min-height: 60px; /* Ensures cards have similar height */
}

/* --- Free Guide Section --- */
#guide {
    background-color: #0A4D68;
    color: #FFFFFF;
    text-align: center;
}
#guide h2, #guide h3 {
    color: #FFFFFF;
}
#guide p {
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
}
#guide .italic {
    color: #F3B95F;
    font-style: italic;
}


/* --- Contact Section & Form --- */
#contact {
    background: #FFFFFF;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #F7F7F7;
  padding: 2.5rem;
  border-radius: 10px;
  border: 1px solid #e9e9e9;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Lora', serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #088395;
}


/* --- Footer --- */
.main-footer {
  background-color: #333333;
  color: #F7F7F7;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

/* --- Blog Page Specific --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-post-preview {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.blog-post-preview .post-content {
    padding: 1.5rem;
}

.blog-post-preview h3 {
    margin-bottom: 0.5rem;
}

.blog-post-preview .post-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.blog-post-preview a {
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}


/* --- Single Blog Post --- */
.blog-post-full {
    background: #FFFFFF;
    padding: 3rem;
    border-radius: 8px;
    max-width: 800px;
    margin: 3rem auto;
}

.blog-post-full h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

.blog-post-full .post-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

.blog-post-full ol {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.blog-post-full ol li {
    margin-bottom: 1rem;
}
/* --- Add this to the end of MY PROJECT/css/style.css --- */

/* --- Testimonials Page --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #FFFFFF;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
  border-left: 5px solid #088395; /* Accent line */
  display: flex;
  flex-direction: column;
}

.testimonial-card blockquote {
  margin: 0 0 1.5rem 0;
  font-style: italic;
  color: #555;
  flex-grow: 1; /* Allows cards in a row to have the same height */
}

.testimonial-card .client-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #0A4D68;
  font-style: normal;
  align-self: flex-start;
}
