/* Global Styles */
:root {
  --primary-color: #6b7cff;
  --primary-dark: #5464e0;
  --primary-light: #8f9bff;
  --secondary-color: #ff8264;
  --text-color: #333333;
  --text-light: #666666;
  --background-color: #ffffff;
  --background-alt: #f9f9ff;
  --border-color: #e5e5e5;
  --success-color: #4caf50;
  --error-color: #f44336;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.2);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

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

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Header Styles */
header {
  background-color: var(--background-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 0;
}

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

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

.logo a {
  display: flex;
  align-items: center;
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
  border-radius: 50%;
}

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

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

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  padding: 10px 0;
  position: relative;
}

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%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin-bottom: 5px;
  border-radius: 5px;
  transition: var(--transition);
}

/* 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;
  color: white;
  padding: 120px 0;
  text-align: center;
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.5s;
  animation-fill-mode: both;
}

.hero .btn {
  animation: fadeInUp 1s ease-out 1s;
  animation-fill-mode: both;
}

/* Featured Posts Section */
.featured-posts {
  padding: 80px 0;
  background-color: var(--background-color);
}

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

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

.post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

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

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

.post-content {
  padding: 20px;
}

.post-content h3 {
  margin-bottom: 10px;
  transition: var(--transition);
}

.post-content h3:hover {
  color: var(--primary-color);
}

.post-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 10px;
  position: relative;
}

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

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

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

/* Photography Stats Section */
.photography-stats {
  background-color: var(--background-alt);
  padding: 80px 0;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 30px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

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

/* Newsletter Section */
.newsletter {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: white;
}

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

.newsletter-form {
  display: flex;
  margin-top: 30px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.newsletter-form .btn {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  background-color: var(--secondary-color);
}

.newsletter-form .btn:hover {
  background-color: #e57458;
}

/* Footer Styles */
footer {
  background-color: #1a1a1a;
  color: #f5f5f5;
  padding: 60px 0 20px;
}

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

.footer-about img {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
  border-radius: 50%;
}

.footer-links h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

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

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

.footer-links ul li a {
  color: #b3b3b3;
}

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

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

.footer-contact i {
  margin-right: 10px;
  color: var(--primary-color);
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #333;
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-icons svg {
  fill: white;
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #b3b3b3;
}

/* Page Header */
.page-header {
  background-color: var(--background-alt);
  padding: 60px 0;
  text-align: center;
  margin-bottom: 60px;
}

/* Blog Page Styles */
.blog-content {
  padding-bottom: 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.blog-post {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-post .post-image {
  height: 100%;
}

.blog-post .post-content h2 {
  font-size: 1.5rem;
  transition: var(--transition);
}

.blog-post .post-content h2:hover {
  color: var(--primary-color);
}

.blog-post .post-meta span {
  background-color: var(--primary-light);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Gallery Page Styles */
.gallery-filter {
  margin-bottom: 40px;
}

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

.filter-btn {
  padding: 8px 20px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

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

.gallery-content {
  padding-bottom: 80px;
}

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

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

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: var(--transition);
}

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

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

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

.gallery-overlay p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.gallery-stats {
  background-color: var(--background-alt);
  padding: 80px 0;
}

/* About Page Styles */
.about-story {
  padding-bottom: 80px;
}

.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(--shadow-md);
}

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

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

.about-values {
  background-color: var(--background-alt);
  padding: 80px 0;
}

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

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

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  margin-bottom: 20px;
}

.value-icon svg {
  fill: var(--primary-color);
}

.team-section {
  padding: 80px 0;
}

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

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

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.team-member h3 {
  margin-top: 20px;
  margin-bottom: 5px;
}

.team-member p {
  padding: 0 20px;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.about-stats {
  background-color: var(--primary-color);
  padding: 80px 0;
  color: white;
}

.about-stats .section-title {
  color: white;
}

.about-stats .section-title::after {
  background-color: white;
}

.about-stats .stat-item {
  background-color: rgba(255, 255, 255, 0.1);
}

.about-stats .stat-number {
  color: white;
}

.about-stats .stat-item p {
  color: rgba(255, 255, 255, 0.8);
}

/* Contact Page Styles */
.contact-content {
  padding-bottom: 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  padding-right: 30px;
}

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

.info-icon {
  margin-right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg {
  fill: white;
  width: 24px;
  height: 24px;
}

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

.social-connect {
  margin-top: 40px;
}

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

.contact-form {
  display: grid;
  gap: 20px;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

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

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

.map-section {
  padding-bottom: 80px;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* CTA Section */
.cta {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: white;
  text-align: center;
  margin-bottom: 80px;
}

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

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  background-color: white;
  border-radius: var(--border-radius);
  max-width: 500px;
  margin: 100px auto;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.4s ease;
}

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

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

.modal-body {
  padding: 40px;
  text-align: center;
}

.check-icon {
  fill: var(--success-color);
  margin-bottom: 20px;
}

.modal-body h2 {
  margin-bottom: 15px;
}

.modal-body p {
  margin-bottom: 25px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

.cookie-content a {
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Hover effects for section titles as required */
.section-title:hover,
.blog-post h2:hover,
.post h3:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 0;
  }
  
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background-color: white;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 1001;
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 80px 30px 30px;
  }
  
  nav ul li {
    margin: 0 0 20px 0;
  }
  
  .hamburger {
    display: flex;
    z-index: 1002;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .blog-post .post-image {
    height: 200px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }
  
  .newsletter-form .btn {
    border-radius: var(--border-radius);
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-buttons button {
    width: 100%;
    margin-bottom: 10px;
  }
}
