/* Reset styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #fff;
  color: #333;
  margin: 0;
  flex: 1;
}

.site-header {
  background-color: #fff;
  color: #333;
  padding: 5px 0;
  text-align: center;
  position: relative;
}

.site-title h1 {
  font-size: 30px;
  font-weight: 1000;
  color: inherit !important;
  text-decoration: none !important;
}

#site-title-link {
  text-decoration: none;
  color: inherit;
}


.site-title a {
  text-decoration: none;
  color: inherit;
}


.coffee-button {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background-color: #FFC107;
  color: #333;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 20px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s ease;
}

.coffee-button:hover {
  background-color: #FFB300;
  transform: translateY(-3px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  flex: 1;
}

.landing {
  background-color: #444;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  border-radius: 0;
}

.landing:hover {
  transform: translateY(-5px);
}

.landing-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFC107;
}

.landing-subtitle, .landing-subtitle2 {
  font-size: 20px;
  color: #ddd;
}

.landing-subtitle3 {
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
}

.landing-subtitle4  {
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.action-buttons {
  display: flex;
  justify-content: center;
}

.upload-button {
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #FFC107;
  color: #333;
  transition: background-color 0.3s, color 0.3s, transform 0.3s ease;
}

.upload-button:hover {
  background-color: #FFB300;
  color: #fff;
  transform: translateY(-3px);
}

.action-button {
  padding: 10px 20px;
  font-size: 16px;
  color: #333;
  background-color: #FFC107;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
  transition: background-color 0.3s, transform 0.3s ease;
  display: inline-block;
  font-weight: bold;
  margin-bottom: 10px;
}

.action-button:hover {
  background-color: #FFB300;
  transform: translateY(-3px);
}


/* Center the buttons container */
#buttons-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* Add some space between the buttons */
  margin-top: 20px; /* Optional: Add some margin on top for spacing */
}


#output-container {
  display: none;
  margin-top: 20px;
  
}

.output {
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
  
  
}

.output h2 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #333;
  text-align: center;
}

.output p {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.5;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  width: 100%;
  margin-top: auto;
}

footer a {
  color: #FFC107;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #FFB300;
}

footer .version {
  font-size: 14px;
  color: #ccc;
}


footer .legal-info {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 10px;
}




/* How it Works Section */
.how-it-works {
  padding: 50px 20px;
  text-align: center;
  background-color: #f9f9f9;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.how-it-works h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

.tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  padding: 0 50px;
}

.tile {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 10px;
  padding: 20px;
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
}

.tile h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.tile p {
  font-size: 16px;
  color: #666;
}

.tile:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: #FFC107;
  color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  top: -20px;
  left: calc(50% - 20px);
}

.arrow {
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-50%);
  font-size: 24px;
  color: #FFC107;
}

.tile:last-child .arrow {
  display: none;
}

/* What is EXIF Section */
.what-is-exif {
  padding: 50px 20px;
  background-color: #444;
  color: #fff;
  text-align: center;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.what-is-exif h2 {
  font-size: 32px;
  color: #FFC107;
  margin-bottom: 20px;
}

.what-is-exif p {
  font-size: 16px;
  line-height: 1.5;
  color: #ddd;
}
/* FAQ Section */
.faq {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: left; /* Align FAQ section text left */
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  font-size: 20px; /* Reduce FAQ question font size */
  color: #333;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

/* Adjust tiles for mobile view */
@media only screen and (max-width: 767px) {
  .tiles {
    display: flex;
  }
  
  .tile {
    margin-bottom: 20px;
    min-width: 80%;
  }
}


.learn-more-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FFC107;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
  margin-top: 20px;
}

.learn-more-button:hover {
  background-color: #FFB300;
  color: #fff;
}

.blog-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: visible; /* Changed from auto to visible */

}

/* Additional styles for blog content (if needed) */


.blog-container h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

.blog-container p {
  margin-bottom: 20px;
}

.blog-container ul {
  margin-bottom: 20px;
}

.blog-container ul li {
  list-style-type: disc;
  margin-left: 20px;
}

.blog-container ol {
  margin-bottom: 20px;
}

.blog-container ol li {
  list-style-type: decimal;
  margin-left: 20px;
}

.blog-container blockquote {
  margin: 0 0 20px;
  padding: 20px;
  background-color: #f9f9f9;
  border-left: 5px solid #ccc;
}

.blog-container blockquote p {
  margin: 0;
}

.blog-container a:hover {
  text-decoration: underline;
}

.blog-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
}

/* Add this CSS to styles.css */
.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left-color: #FFC107;
  animation: spin 1s ease infinite;
  display: none; /* Initially hidden */
  margin:  auto; /* Center the spinner and add margin */
  position: relative; /* Change to relative to avoid absolute positioning issues */
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


@media (max-width: 600px) {
  #buttons-container {
      flex-direction: column;
      gap: 10px; /* Keep space between buttons in column layout */
  }

  .action-button {
      width: 100%; /* Make buttons full width in mobile view */
      max-width: 300px; /* Optional: Set a max width to avoid excessively wide buttons */
  }
}

#shot-info {
  text-align: center;
  background: linear-gradient(180deg, #ffc107 , #ffecb3); /* Gradient background from light yellow to your current yellow */
  color: #333; /* Dark text color for contrast */
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative; /* For icon positioning */
}

#shot-info p {
  margin: 0;
  font-size: 16px;
}

#shot-info .camera-model {
  font-size: 22px;
  color: #555; /* Darker color for better contrast with yellow */
}

#shot-info .camera-settings {
  margin-top: 10px;
  font-size: 18px;
  color: #555;
}

#shot-info .setting {
  display: inline-block;
  background: #fff;
  color: #333;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}

#shot-info a {
  color: #000000; /* Darker link color for better contrast */
  text-decoration: underline; /* Remove underline from links */
}

#shot-info a:hover {
  text-decoration: underline; /* Underline links on hover */
}


/* Blog Listing Styles */
.blog-listing {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.blog-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-content {
  flex-grow: 1;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
  text-decoration: none;
}

.blog-title:hover {
  text-decoration: underline;
}

.blog-excerpt {
  font-size: 1rem;
  color: #666;
  margin-bottom: 10px;
}

.blog-date {
  font-size: 0.875rem;
  color: #999;
}



/* Privacy Policy Styles */
.privacy-policy {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.privacy-policy h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.privacy-policy h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #34495e;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-policy p,
.privacy-policy li {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.privacy-policy ul {
  list-style-type: disc;
  padding-left: 2rem;
}

.privacy-policy a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-policy a:hover {
  color: #2980b9;
  text-decoration: underline;
}


/* Responsive Styles */
@media (max-width: 768px) {
  .container {
    padding: 20px;
  }

  .privacy-policy {
    padding: 20px;
  }

  .privacy-policy h1 {
    font-size: 2rem;
  }

  .privacy-policy h2 {
    font-size: 1.6rem;
  }

  .privacy-policy p,
  .privacy-policy li {
    font-size: 1rem;
  }
}