/* 
  CalmSeaside Photography Blog - Main Stylesheet
  Author: CalmSeaside Team
  Version: 1.0
*/

/* ======= CSS RESET AND GLOBAL STYLES ======= */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #e67e22;
  --accent-color: #3498db;
  --dark-color: #1a252f;
  --light-color: #f5f5f5;
  --gray-color: #95a5a6;
  --text-color: #333333;
  --white-color: #ffffff;
  --black-color: #000000;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --error-color: #e74c3c;
  
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;
  
  --border-radius: 4px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  
  --container-width: 1200px;
  --header-height: 80px;
}

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

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

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--light-color);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

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

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 2.8rem;
}

h4 {
  font-size: 2.4rem;
}

h5 {
  font-size: 2rem;
}

h6 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.6rem;
}

strong {
  font-weight: 600;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ======= HEADER STYLES ======= */
header {
  position: sticky;
  top: 0;
  background-color: var(--white-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  z-index: 1000;
}

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

.logo a {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.4rem;
}

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

.logo span {
  font-size: 2.2rem;
}

nav ul {
  display: flex;
  gap: 3rem;
}

nav ul li a {
  color: var(--primary-color);
  font-family: var(--font-main);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

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

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

nav ul li a.active {
  color: var(--secondary-color);
}

.ask-button button {
  background-color: var(--secondary-color);
  color: var(--white-color);
  font-family: var(--font-main);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.ask-button button:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

/* ======= HERO SECTION STYLES ======= */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 5%;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 60rem;
  z-index: 1;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white-color);
  font-family: var(--font-main);
  font-weight: 600;
  padding: 1.5rem 3rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.cta-button:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.hero-image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* ======= FEATURED POSTS SECTION ======= */
.featured-posts {
  padding: 8rem 5%;
  background-color: var(--white-color);
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.featured-posts h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
}

.post-card {
  background-color: var(--white-color);
  border-radius: 8px;
  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-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.post-card h3 {
  font-size: 2.2rem;
  padding: 2rem 2rem 1rem;
  line-height: 1.3;
}

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

.read-more {
  display: inline-block;
  margin: 0 2rem 2rem;
  color: var(--secondary-color);
  font-weight: 600;
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: 0.5rem;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 1rem;
}

.view-all {
  text-align: center;
  margin-top: 4rem;
}

.view-all a {
  display: inline-block;
  padding: 1rem 3rem;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.view-all a:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

/* ======= SERVICES SECTION ======= */
.services {
  padding: 8rem 5%;
  background-color: var(--light-color);
}

.services h2 {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.services h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

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

.service-card {
  background-color: var(--white-color);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.service-card .icon {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 2rem;
  color: var(--secondary-color);
}

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

.service-card p {
  color: var(--text-color);
}

/* ======= TESTIMONIALS SECTION ======= */
.testimonials {
  padding: 8rem 5%;
  background-color: var(--white-color);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.testimonials h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial {
  flex: 0 0 100%;
  background-color: var(--light-color);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 2.5rem;
  font-size: 1.8rem;
}

.testimonial p::before {
  content: '"';
  font-size: 5rem;
  color: var(--secondary-color);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 2rem;
}

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

.client-photo {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 2rem;
}

.client-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.client-info p {
  margin-bottom: 0;
  font-style: normal;
  color: var(--gray-color);
  font-size: 1.4rem;
}

/* ======= BLOG LIST PAGE STYLES ======= */
.blog-hero {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 10rem 5% 8rem;
  text-align: center;
}

.blog-hero h1 {
  color: var(--white-color);
  margin-bottom: 1.5rem;
}

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

.blog-posts {
  padding: 8rem 5%;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
}

.blog-card {
  display: flex;
  gap: 4rem;
  background-color: var(--white-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.blog-image {
  flex: 0 0 40%;
}

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

.blog-content {
  flex: 1;
  padding: 3rem 3rem 3rem 0;
}

.blog-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.blog-meta .date,
.blog-meta .category {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: var(--gray-color);
}

.blog-meta .icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-right: 0.5rem;
}

.blog-content h2 {
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
}

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

.subscribe {
  background-color: var(--primary-color);
  padding: 8rem 5%;
  margin-top: 8rem;
}

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

.subscribe h2 {
  color: var(--white-color);
  margin-bottom: 1.5rem;
}

.subscribe p {
  color: var(--light-color);
  margin-bottom: 3rem;
  font-size: 1.8rem;
}

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

.subscribe-form input {
  flex: 1;
  padding: 1.5rem;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  border: none;
  font-size: 1.6rem;
}

.subscribe-form button {
  background-color: var(--secondary-color);
  color: var(--white-color);
  padding: 1.5rem 3rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-weight: 600;
  transition: var(--transition);
}

.subscribe-form button:hover {
  background-color: #d35400;
}

/* ======= PORTFOLIO PAGE STYLES ======= */
.portfolio-hero {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 10rem 5% 8rem;
  text-align: center;
}

.portfolio-hero h1 {
  color: var(--white-color);
  margin-bottom: 1.5rem;
}

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

.portfolio-categories {
  padding: 8rem 5%;
}

.category-nav {
  margin-bottom: 5rem;
}

.category-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.category-nav li {
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.category-nav li:hover {
  color: var(--secondary-color);
}

.category-nav li.active {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
}

.portfolio-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white-color);
  padding: 2rem;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay h3 {
  color: var(--white-color);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.portfolio-overlay p {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.client-testimonial {
  background-color: var(--light-color);
  padding: 8rem 5%;
  margin-top: 8rem;
}

.testimonial-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem;
  background-color: var(--white-color);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.quote-icon {
  margin-bottom: 2rem;
}

.quote-icon svg {
  width: 5rem;
  height: 5rem;
  color: var(--secondary-color);
  opacity: 0.3;
}

.testimonial-content blockquote {
  font-style: italic;
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

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

.client-info img {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 2rem;
}

.client-info div {
  text-align: left;
}

.client-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.client-info p {
  color: var(--gray-color);
  font-size: 1.4rem;
  margin-bottom: 0;
}

.cta-section {
  padding: 8rem 5%;
  background-color: var(--primary-color);
  text-align: center;
}

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

.cta-content h2 {
  color: var(--white-color);
  margin-bottom: 1.5rem;
}

.cta-content p {
  color: var(--light-color);
  margin-bottom: 3rem;
  font-size: 1.8rem;
}

/* ======= ABOUT PAGE STYLES ======= */
.about-hero {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 10rem 5% 8rem;
  text-align: center;
}

.about-hero h1 {
  color: var(--white-color);
  margin-bottom: 1.5rem;
}

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

.our-story {
  padding: 8rem 5%;
  display: flex;
  gap: 6rem;
  align-items: center;
}

.story-content {
  flex: 1;
}

.story-content h2 {
  margin-bottom: 3rem;
  position: relative;
}

.story-content h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -1.5rem;
  left: 0;
}

.story-content p {
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.story-image {
  flex: 1;
}

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

.our-mission {
  padding: 8rem 5%;
  background-color: var(--light-color);
  text-align: center;
}

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

.mission-icon {
  margin-bottom: 2rem;
}

.mission-icon svg {
  width: 8rem;
  height: 8rem;
  color: var(--secondary-color);
}

.mission-content h2 {
  margin-bottom: 3rem;
  position: relative;
}

.mission-content h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.mission-content p {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.team-section {
  padding: 8rem 5%;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.team-section h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

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

.team-member {
  text-align: center;
  background-color: var(--white-color);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 2rem;
  border: 5px solid var(--light-color);
}

.team-member h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--gray-color);
  margin-bottom: 2rem;
}

.team-member p:last-of-type {
  color: var(--text-color);
  font-size: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--light-color);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
}

.social-links a svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.social-links a:hover svg {
  color: var(--white-color);
}

.values-section {
  padding: 8rem 5%;
  background-color: var(--light-color);
}

.values-section h2 {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.values-section h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

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

.value-card {
  background-color: var(--white-color);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.value-icon {
  margin-bottom: 2rem;
}

.value-icon svg {
  width: 5rem;
  height: 5rem;
  color: var(--secondary-color);
}

.value-card h3 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.value-card p {
  font-size: 1.6rem;
}

/* ======= CONTACT PAGE STYLES ======= */
.contact-hero {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 10rem 5% 8rem;
  text-align: center;
}

.contact-hero h1 {
  color: var(--white-color);
  margin-bottom: 1.5rem;
}

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

.contact-section {
  padding: 8rem 5%;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 6rem;
}

.contact-info h2 {
  margin-bottom: 3rem;
  position: relative;
}

.contact-info h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -1.5rem;
  left: 0;
}

.contact-info > p {
  margin-bottom: 4rem;
  font-size: 1.8rem;
}

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

.info-item .icon {
  width: 4rem;
  height: 4rem;
  color: var(--secondary-color);
  margin-right: 2rem;
  flex-shrink: 0;
}

.info-item h3 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.info-item p {
  margin-bottom: 0.5rem;
  color: var(--gray-color);
}

.contact-form h2 {
  margin-bottom: 3rem;
  position: relative;
}

.contact-form h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -1.5rem;
  left: 0;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  background-color: var(--white-color);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.2);
}

.form-group.checkbox {
  display: flex;
  align-items: center;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 1rem;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-weight: normal;
  font-size: 1.4rem;
}

.submit-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white-color);
  font-weight: 600;
  padding: 1.5rem 3rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

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

.map-section {
  padding: 8rem 5%;
  background-color: var(--light-color);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.map-section h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

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

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

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--white-color);
}

.map-overlay p {
  margin-bottom: 0.5rem;
}

.faq-section {
  padding: 8rem 5%;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.faq-section h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 3rem;
}

.faq-item {
  background-color: var(--white-color);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.faq-item p {
  color: var(--text-color);
}

/* ======= BLOG POST STYLES ======= */
.blog-post {
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem 5%;
}

.post-header {
  margin-bottom: 4rem;
}

.post-header h1 {
  font-size: 4.2rem;
  margin-bottom: 2rem;
}

.post-meta {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
}

.author, .date, .category {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  color: var(--gray-color);
}

.author-image {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  margin-right: 1rem;
}

.icon {
  width: 1.8rem;
  height: 1.8rem;
  margin-right: 0.5rem;
}

.post-featured-image {
  margin-bottom: 4rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-featured-image img {
  width: 100%;
  height: auto;
}

.post-content {
  font-size: 1.8rem;
  line-height: 1.8;
}

.post-content h2 {
  margin-top: 4rem;
  margin-bottom: 2rem;
  font-size: 3rem;
}

.post-content h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 2.4rem;
}

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

.post-content ul, .post-content ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.post-content ul {
  list-style-type: disc;
}

.post-content ol {
  list-style-type: decimal;
}

.post-content li {
  margin-bottom: 1rem;
}

.post-content blockquote {
  border-left: 4px solid var(--secondary-color);
  padding: 1rem 0 1rem 2rem;
  margin: 3rem 0;
  font-style: italic;
  background-color: #f9f9f9;
}

.quote-box {
  background-color: #f9f9f9;
  padding: 3rem;
  border-radius: 8px;
  margin: 3rem 0;
  box-shadow: var(--box-shadow);
}

.quote-box blockquote {
  font-size: 2.2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  border-left: none;
  padding: 0;
}

.quote-box cite {
  font-style: normal;
  font-weight: 600;
  display: block;
  text-align: right;
}

.tip-box {
  background-color: #e8f7f9;
  padding: 2rem;
  border-radius: 8px;
  margin: 3rem 0;
  border-left: 4px solid var(--accent-color);
}

.tip-box h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.technique-highlight {
  background-color: #fff8e8;
  padding: 2rem;
  border-radius: 8px;
  margin: 3rem 0;
  border-left: 4px solid var(--warning-color);
}

.technique-highlight h3 {
  color: var(--warning-color);
  margin-top: 0;
}

.comparison-table, .accessory-grid, .settings-grid, .prompts-grid, .lighting-techniques, .software-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.comparison-column, .accessory-item, .setting-card, .prompt-card, .technique, .software {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
}

.color-theory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.color-relationship {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
}

.color-example {
  margin: 3rem 0;
}

.color-example img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.caption {
  text-align: center;
  font-style: italic;
  color: var(--gray-color);
  margin-top: 1rem;
}

.illustration {
  text-align: center;
  margin: 3rem 0;
}

.illustration img {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

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

figure {
  margin: 0;
}

figcaption {
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
  color: var(--gray-color);
}

.when-to-break {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.break-scenario {
  background-color: #f0f0f0;
  padding: 2rem;
  border-radius: 8px;
}

.break-scenario h3 {
  font-size: 2rem;
  margin-top: 0;
}

.technique-box {
  background-color: #f0f0f0;
  padding: 2rem;
  border-radius: 8px;
  margin: 3rem 0;
}

.style-box {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.problem-solution {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.problem-solution h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1rem;
}

.problem-solution p {
  margin-bottom: 0;
}

.conclusion {
  background-color: #f9f9f9;
  padding: 3rem;
  border-radius: 8px;
  margin: 5rem 0 3rem;
}

.conclusion h2 {
  margin-top: 0;
}

.author-bio {
  display: flex;
  align-items: center;
  background-color: var(--light-color);
  padding: 3rem;
  border-radius: 8px;
  margin: 5rem 0 3rem;
}

.author-bio .author-image {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  margin-right: 3rem;
  border: 3px solid var(--white-color);
}

.author-info h3 {
  font-size: 1.6rem;
  color: var(--gray-color);
  margin-bottom: 0.5rem;
}

.author-info h4 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.author-info p {
  margin-bottom: 0;
  font-size: 1.6rem;
}

.post-navigation {
  margin: 5rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 2rem 0;
}

.post-nav-wrapper {
  display: flex;
  justify-content: space-between;
}

.nav-previous, .nav-next {
  max-width: 45%;
}

.nav-previous a, .nav-next a {
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  transition: var(--transition);
}

.nav-previous a:hover, .nav-next a:hover {
  color: var(--secondary-color);
}

.nav-direction {
  display: flex;
  align-items: center;
  color: var(--gray-color);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.nav-direction .icon {
  width: 1.6rem;
  height: 1.6rem;
}

.nav-title {
  font-weight: 600;
  font-size: 1.6rem;
}

.related-posts {
  margin: 5rem 0;
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.related-post {
  background-color: var(--white-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

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

.related-post h3 {
  padding: 1.5rem 1.5rem 1rem;
  font-size: 1.8rem;
  line-height: 1.3;
}

.related-post .read-more {
  margin: 0 1.5rem 1.5rem;
}

/* ======= FOOTER STYLES ======= */
footer {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding-top: 6rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  padding: 0 5% 6rem;
}

.footer-logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.footer-logo h3 {
  color: var(--white-color);
  margin-bottom: 1rem;
}

.footer-logo p {
  color: var(--gray-color);
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
  color: var(--white-color);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links ul li a {
  color: var(--light-color);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-contact .icon {
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  color: var(--secondary-color);
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

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

.social-icons a:hover {
  background-color: var(--secondary-color);
}

.social-icon {
  width: 2rem;
  height: 2rem;
  color: var(--white-color);
}

.footer-bottom {
  background-color: var(--dark-color);
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.legal-links {
  display: flex;
  gap: 2rem;
}

.legal-links a {
  color: var(--gray-color);
  font-size: 1.4rem;
  transition: var(--transition);
}

.legal-links a:hover {
  color: var(--white-color);
}

/* ======= COOKIE CONSENT BANNER ======= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 2rem;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 1.5rem;
}

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

.cookie-buttons button {
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

#accept-cookies {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

#accept-cookies:hover {
  background-color: #d35400;
}

#customize-cookies {
  background-color: var(--gray-color);
  color: var(--white-color);
}

#customize-cookies:hover {
  background-color: #7f8c8d;
}

#decline-cookies {
  background-color: transparent;
  border: 1px solid var(--white-color);
  color: var(--white-color);
}

#decline-cookies:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-more-info {
  font-size: 1.4rem;
  color: var(--gray-color);
}

.cookie-more-info a {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* ======= MODAL STYLES ======= */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.modal.visible {
  display: flex;
}

.modal-content {
  background-color: var(--white-color);
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  padding: 3rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-color);
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--primary-color);
}

.modal-content h2 {
  margin-bottom: 3rem;
}

.modal-content form {
  display: grid;
  gap: 2rem;
}

.modal-content .form-group {
  margin-bottom: 0;
}

.modal-content.thank-you {
  text-align: center;
  max-width: 500px;
}

.thank-you-icon {
  margin-bottom: 2rem;
}

.thank-you-icon svg {
  width: 8rem;
  height: 8rem;
  color: var(--success-color);
}

.thank-you h2 {
  color: var(--success-color);
}

.close-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white-color);
  font-weight: 600;
  padding: 1.2rem 3rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.close-button:hover {
  background-color: var(--secondary-color);
}

/* ======= RESPONSIVE STYLES ======= */
@media (max-width: 1200px) {
  html {
    font-size: 58%;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 56%;
  }
  
  .hero {
    flex-direction: column;
    gap: 4rem;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-image {
    max-width: 80%;
  }
  
  .our-story {
    flex-direction: column;
  }
  
  .blog-card {
    flex-direction: column;
  }
  
  .blog-image {
    flex: none;
  }
  
  .blog-content {
    padding: 2rem;
  }
  
  .post-meta {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 54%;
  }
  
  header {
    flex-direction: column;
    padding: 2rem 5%;
  }
  
  .logo {
    margin-bottom: 2rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
  }
  
  .ask-button {
    margin-top: 2rem;
  }
  
  .post-navigation .post-nav-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nav-previous, .nav-next {
    max-width: 100%;
  }
  
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-bio .author-image {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 52%;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .blog-hero h1, .portfolio-hero h1, .about-hero h1, .contact-hero h1 {
    font-size: 3.6rem;
  }
  
  .post-header h1 {
    font-size: 3.2rem;
  }
  
  .services-grid, .portfolio-grid, .team-grid, .values-grid, .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    padding: 2rem;
  }
}
