/* Import Oswald font from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap");

/* Reset & Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Dark Theme (Default) */
  --primary-color: #ffffff;
  --secondary-color: #cccccc;
  --accent-color: #82a853;
  --dark-color: #111111;
  --bg-color: #1a1a1a;
  --text-color: #f5f5f5;
  --border-color: #333333;
  --card-bg: #2a2a2a;
  --header-bg: rgba(17, 17, 17, 0.95);
  --overlay-bg: rgba(0, 0, 0, 0.6);
  --transition: all 0.3s ease;
  --font-heading: "Oswald", sans-serif;
  --font-body: "Oswald", sans-serif;
}

/* Light Theme */
[data-theme="light"] {
  --primary-color: #303030;
  --secondary-color: #595e65;
  --accent-color: #82a853;
  --dark-color: #ffffff;
  --bg-color: #ffffff;
  --text-color: #303030;
  --border-color: #e0e0e0;
  --card-bg: #f8f9fa;
  --header-bg: rgba(255, 255, 255, 0.95);
  --overlay-bg: rgba(255, 255, 255, 0.8);
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Oswald", sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
  font-weight: 300;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
  font-family: "Oswald", sans-serif;
}

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

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

ul,
ol {
  list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  color: var(--primary-color);
}

h1 {
  font-size: 4.8rem;
  font-weight: 600;
}

h2 {
  font-size: 3.6rem;
  font-weight: 500;
}

h3 {
  font-size: 2.8rem;
  font-weight: 500;
}

h4 {
  font-size: 2.4rem;
  font-weight: 400;
}

h5 {
  font-size: 2rem;
  font-weight: 400;
}

h6 {
  font-size: 1.8rem;
  font-weight: 400;
}

p {
  margin-bottom: 2rem;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 1.4rem;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn:hover {
  color: var(--dark-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(130, 168, 83, 0.3);
}

.btn:hover::before {
  left: 0;
}

.btn:active {
  transform: translateY(0);
}

/* Load More Button - Same effects as .btn */
.load-more-btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 1.4rem;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.load-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transition: left 0.3s ease;
  z-index: -1;
}

.load-more-btn:hover {
  color: var(--dark-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(130, 168, 83, 0.3);
}

.load-more-btn:hover::before {
  left: 0;
}

.load-more-btn:active {
  transform: translateY(0);
}

.btn-accent {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-accent::before {
  background-color: var(--accent-color);
}

.btn-accent:hover {
  color: var(--dark-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(130, 168, 83, 0.3);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: var(--dark-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(130, 168, 83, 0.3);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--primary-color);
  color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(130, 168, 83, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

/* Mobile adjustments for scroll to top */
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transition: background-color 0.3s ease;
}

.camera-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  fill: var(--primary-color);
}

.loading-bar-container {
  width: 60%;
  max-width: 500px;
  height: 12px;
  background-color: var(--border-color);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color);
}

.loading-bar {
  height: 100%;
  width: 0%;
  background-color: var(--accent-color);
  border-radius: 30px;
  transition: width 1.5s ease-in-out;
}

.loading-text {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  margin-top: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Remove the old loader styles */
.loader,
.loader-inner {
  display: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 2rem 0;
  transition: var(--transition);
  background-color: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.site-header.scrolled {
  background-color: var(--header-bg);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

[data-theme="light"] .site-header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.logo a {
  display: block;
}

.logo h1 {
  font-size: 2.8rem;
  margin-bottom: 0;
  letter-spacing: 0.5rem;
  color: var(--primary-color);
  font-family: "Oswald", sans-serif;
  font-weight: 600;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  margin: 0 1.5rem;
}

.main-nav a {
  font-size: 1.6rem;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  position: relative;
  padding: 0.5rem 0;
  color: var(--primary-color);
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
}

/* Theme Toggle Button - In Header */
.theme-toggle {
  background: none;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transition: left 0.3s ease;
  z-index: -1;
}

.theme-toggle:hover {
  color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(130, 168, 83, 0.3);
}

.theme-toggle:hover::before {
  left: 0;
}

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
  display: none;
}

.social-icons {
  display: flex;
}

.social-icons a {
  margin-left: 1.5rem;
  font-size: 1.6rem;
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 2rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100%;
  background-color: var(--bg-color);
  z-index: 999;
  padding: 8rem 2rem 2rem;
  transition: var(--transition);
  overflow-y: auto;
  border-left: 1px solid var(--border-color);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  margin-bottom: 3rem;
}

.mobile-menu li {
  margin-bottom: 2rem;
}

.mobile-menu a {
  font-size: 1.8rem;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--primary-color);
}

.mobile-social {
  display: flex;
  margin-bottom: 3rem;
}

.mobile-social a {
  margin-right: 2rem;
  font-size: 1.8rem;
  color: var(--primary-color);
}

/* Mobile Theme Toggle */
.mobile-theme-toggle {
  background: none;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-theme-toggle::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transition: left 0.3s ease;
  z-index: -1;
}

.mobile-theme-toggle:hover {
  color: var(--dark-color);
}

.mobile-theme-toggle:hover::before {
  left: 0;
}

.mobile-theme-toggle .sun-icon {
  display: none;
}

.mobile-theme-toggle .moon-icon {
  display: block;
}

[data-theme="light"] .mobile-theme-toggle .sun-icon {
  display: block;
}

[data-theme="light"] .mobile-theme-toggle .moon-icon {
  display: none;
}

/* Footer */
.site-footer {
  padding: 8rem 0 2rem;
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 5rem;
}

.footer-logo h2 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5rem;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  color: var(--primary-color);
}

.footer-logo p {
  font-size: 1.4rem;
  color: var(--secondary-color);
  font-family: "Oswald", sans-serif;
  font-weight: 300;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 60%;
}

.footer-nav,
.footer-contact,
.footer-social {
  margin-bottom: 3rem;
}

.footer-links h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--accent-color);
  font-family: "Oswald", sans-serif;
  font-weight: 500;
}

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

.footer-nav a,
.footer-contact p {
  font-size: 1.4rem;
  color: var(--secondary-color);
  font-family: "Oswald", sans-serif;
  font-weight: 300;
}

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

.footer-contact p {
  margin-bottom: 1rem;
}

.footer-contact i {
  margin-right: 1rem;
  color: var(--accent-color);
}

.social-links {
  display: flex;
}

.social-links a {
  margin-right: 1.5rem;
  font-size: 1.6rem;
  color: var(--primary-color);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-bottom p {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 992px) {
  html {
    font-size: 60%;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .theme-toggle {
    display: none;
  }

  .footer-links {
    width: 100%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-logo {
    margin-bottom: 3rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1.5rem;
  }

  .footer-links {
    flex-direction: column;
  }
}

/* Section Styles */
.section {
  padding: 10rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--primary-color);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 1px;
  background-color: var(--accent-color);
}

.section-subtitle {
  font-size: 1.6rem;
  color: var(--secondary-color);
  max-width: 600px;
  margin: 0 auto;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1.5rem;
}

.col {
  padding: 0 1.5rem;
  margin-bottom: 3rem;
}

.col-1 {
  width: 8.33%;
}
.col-2 {
  width: 16.66%;
}
.col-3 {
  width: 25%;
}
.col-4 {
  width: 33.33%;
}
.col-5 {
  width: 41.66%;
}
.col-6 {
  width: 50%;
}
.col-7 {
  width: 58.33%;
}
.col-8 {
  width: 66.66%;
}
.col-9 {
  width: 75%;
}
.col-10 {
  width: 83.33%;
}
.col-11 {
  width: 91.66%;
}
.col-12 {
  width: 100%;
}

@media (max-width: 992px) {
  .col-md-1 {
    width: 8.33%;
  }
  .col-md-2 {
    width: 16.66%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-4 {
    width: 33.33%;
  }
  .col-md-5 {
    width: 41.66%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-7 {
    width: 58.33%;
  }
  .col-md-8 {
    width: 66.66%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-10 {
    width: 83.33%;
  }
  .col-md-11 {
    width: 91.66%;
  }
  .col-md-12 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .col-sm-1 {
    width: 8.33%;
  }
  .col-sm-2 {
    width: 16.66%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-4 {
    width: 33.33%;
  }
  .col-sm-5 {
    width: 41.66%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-7 {
    width: 58.33%;
  }
  .col-sm-8 {
    width: 66.66%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-10 {
    width: 83.33%;
  }
  .col-sm-11 {
    width: 91.66%;
  }
  .col-sm-12 {
    width: 100%;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.2s;
}

.fade-in-delay-2 {
  transition-delay: 0.4s;
}

.fade-in-delay-3 {
  transition-delay: 0.6s;
}

/* Form Elements */
input,
textarea,
select,
button {
  font-family: "Oswald", sans-serif;
}

/* Ensure all text elements use Oswald */
span,
div,
label,
strong,
em,
small,
code,
pre {
  font-family: "Oswald", sans-serif;
}
