/* Base Styles */
:root {
  --primary-color: #3a6ea5;
  --secondary-color: #ff7f50;
  --text-color: #333;
  --light-text: #666;
  --lighter-text: #999;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --gray-bg: #f0f2f5;
  --white: #ffffff;
  --border-color: #ddd;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --border-radius: 4px;
  --container-width: 1200px;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
}

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

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

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

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Header */
header {
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

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

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

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

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease;
}

/* Featured Posts */
.featured-posts h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

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

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

.post-image {
  height: 220px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 20px;
}

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

.post-content p {
  color: var(--light-text);
  margin-bottom: 15px;
}

.read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

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

.read-more:hover:after {
  margin-left: 10px;
}

.view-all {
  text-align: center;
  margin-top: 40px;
}

/* Page Header */
.page-header {
  background-color: var(--light-bg);
  padding: 50px 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 10px;
}

.page-header p {
  color: var(--light-text);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Posts Section */
.blog-posts {
  background-color: var(--white);
}

.blog-posts .post {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.blog-posts .post-image {
  height: 240px;
}

.blog-posts .post-meta {
  display: flex;
  gap: 15px;
  color: var(--lighter-text);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.blog-posts .post-content h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Portfolio Gallery */
.portfolio-filter {
  text-align: center;
  margin-bottom: 40px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  padding: 8px 16px;
  background: var(--light-bg);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .item-overlay {
  transform: translateY(0);
}

.item-overlay h3 {
  margin-bottom: 5px;
}

.item-overlay p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* About Page */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.about-text h2 {
  margin-bottom: 20px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.approach-item {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.approach-item:hover {
  transform: translateY(-10px);
}

.approach-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

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

.team-member {
  text-align: center;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

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

.team-member p {
  color: var(--light-text);
  padding: 0 20px;
  margin-bottom: 15px;
}

.team-member .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0 20px 20px;
}

.team-member .social-icons a {
  color: var(--lighter-text);
}

.team-member .social-icons a:hover {
  color: var(--primary-color);
}

.testimonials {
  background-color: var(--light-bg);
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.testimonial {
  flex: 1;
  min-width: 300px;
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.client-info h4 {
  margin-bottom: 5px;
}

.client-info p {
  color: var(--light-text);
  margin-bottom: 0;
}

.cta {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--white);
}

.cta h2,
.cta p {
  color: var(--white);
}

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

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

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: var(--border-radius);
}

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

.info-icon {
  margin-right: 20px;
  color: var(--primary-color);
}

.info-content h3 {
  margin-bottom: 5px;
}

.business-hours h3 {
  margin-bottom: 15px;
}

.business-hours ul li {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

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

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

.submit-btn {
  width: 100%;
}

.map-container {
  margin-top: 30px;
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--light-bg);
}

.map-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--light-text);
}

.faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Blog Post */
.blog-post {
  background-color: var(--white);
  padding-top: 50px;
}

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

.post-header {
  margin-bottom: 30px;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--lighter-text);
}

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

.post-body h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

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

.post-body ul,
.post-body ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.post-body ul li,
.post-body ol li {
  margin-bottom: 10px;
}

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

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

.conclusion {
  margin-top: 40px;
  padding: 20px;
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
}

.post-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.tags a {
  display: inline-block;
  padding: 5px 10px;
  background-color: var(--light-bg);
  border-radius: 20px;
  font-size: 0.9rem;
}

.tags a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share a {
  color: var(--lighter-text);
}

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

.post-navigation {
  margin-top: 50px;
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.prev-post a,
.next-post a {
  display: flex;
  align-items: center;
  color: var(--text-color);
  font-weight: 600;
}

.prev-post a:hover,
.next-post a:hover {
  color: var(--primary-color);
}

.prev-post a:before {
  content: '←';
  margin-right: 5px;
}

.next-post a:after {
  content: '→';
  margin-left: 5px;
}

.related-posts {
  margin-top: 50px;
}

.related-posts h3 {
  margin-bottom: 30px;
  text-align: center;
}

.related-posts .post-grid {
  grid-template-columns: repeat(3, 1fr);
}

.related-posts .post-content h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* Photography Techniques Section */
.photography-techniques {
  background-color: var(--light-bg);
  text-align: center;
}

.technique-comparison {
  margin-top: 40px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

table th,
table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

table th {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
}

table tr:last-child td {
  border-bottom: none;
}

table tr:nth-child(even) {
  background-color: var(--gray-bg);
}

/* Photography Tips */
.photography-tips {
  text-align: center;
}

.custom-list {
  display: inline-block;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

.custom-list li {
  margin-bottom: 15px;
  padding-left: 35px;
  position: relative;
}

.custom-list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233a6ea5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Hire Me Section */
.hire-me {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hire-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.hire-content h2,
.hire-content p {
  color: var(--white);
}

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 15px;
}

.footer-links h4,
.footer-social h4 {
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-links ul li a,
.footer-social a {
  color: rgba(255, 255, 255, 0.7);
}

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

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

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 20px;
  z-index: 1000;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

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

/* Thank You Modal */
.thank-you-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

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

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--lighter-text);
}

.modal-icon {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.close-btn {
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .container {
    width: 95%;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .related-posts .post-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }
  
  nav ul {
    margin-top: 15px;
  }
  
  nav ul li {
    margin: 0 10px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  section {
    padding: 50px 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .related-posts .post-grid {
    grid-template-columns: 1fr;
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .share {
    margin-top: 15px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .post-header h1 {
    font-size: 1.8rem;
  }
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
