/*
Theme Name: One MC Theme
Description: A responsive WordPress theme with hamburger menu and sliding navigation. Features primary color #AE9A64 for buttons and footer, with clean modern design.
Version: 1.0
Author: Your Name
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: white;
}

/* Header Styles */
.header {
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.nav-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 60px;
  width: auto;
}

.logo-cantarelli {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.logo .site-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ae9a64;
}

/* Hamburger Menu Styles - Always Visible */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  position: relative;
  margin-left: auto;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #ae9a64;
  margin: 4px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-9px, -9px);
}

/* Navigation Styles - Slide from Right */
.nav-menu {
  position: fixed;
  right: -100%;
  top: 0;
  height: 100vh;
  width: 300px;
  max-width: 80%;
  flex-direction: column;
  background-color: white;
  list-style: none;
  padding: 80px 2rem 2rem;
  transition: right 0.4s ease-in-out;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  z-index: 999;
}

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

.nav-menu li {
  margin: 0.5rem 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.75rem 0;
  display: block;
  transition: color 0.3s;
  border-bottom: 1px solid rgba(174, 154, 100, 0.1);
}

.nav-menu li a:hover {
  color: #ae9a64;
}

/* Overlay when menu is open */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s,
    visibility 0.4s;
  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Main Content */
.main-content {
  margin-top: 80px;
  min-height: calc(100vh - 298px);
}

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

/* Button Styles */
.btn {
  background-color: #ae9a64;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: #9a8757;
  color: white;
  text-decoration: none;
}

/* Footer */
.footer {
  background-color: #ae9a64;
  color: white;
  padding: 2rem 0 1rem;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  flex: 1;
  min-width: 250px;
}

.footer-contact .contact-title {
  font-size: 15px;
  margin-bottom: 0.5rem;
  font-weight: bold !important;
  color: #4e4427;
}

.footer-contact .contact-detail {
  font-size: 0.85rem;
  margin: 0.25rem 0;
  color: #e8dbb6;
}

.footer-contact a {
  color: #4e4427;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-contact a:hover {
  opacity: 0.8;
}

.footer-right {
  justify-content: end;
}

.social-title {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 14px;
  color: #4e4427;
  margin-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
  align-items: center;
}

.social-icons a {
  display: inline-block;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.social-icons a:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.social-icons svg {
  width: 40px;
  height: 40px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.footer-bottom .copyright {
  font-size: 0.75rem;
  margin: 0;
  color: #4e4427;
  font-family: Inter;
  font-weight: 500;
  font-style: Italic;
  font-size: 10px;
}

.footer-bottom .privacy-policy-link {
  font-size: 0.75rem;
  text-decoration: none;
  color: #4e4427;
  font-family: Inter;
  font-weight: 500;
  font-style: Italic;
  font-size: 10px;
}

.footer-bottom .privacy-policy-link:hover {
  text-decoration: underline;
}

/* Footer Responsive */
@media screen and (max-width: 768px) {
  .footer-left,
  .footer-right {
    min-width: 0;
  }
}

/* Responsive Design */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

@media screen and (max-width: 1024px) {
  .nav-container {
    position: relative;
  }

  .logo-cantarelli {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .hamburger {
    margin-left: auto;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
}

/* Post Styles */
.post {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.post-title {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.post-title a {
  color: #333;
  text-decoration: none;
}

.post-title a:hover {
  color: #ae9a64;
}

.post-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* Tagged Posts Widget */
.onemc-tagged-posts-widget,
.onemc-tagged-posts-shortcode {
  margin: 20px 0;
}

.onemc-tagged-posts-widget .widget-title,
.onemc-tagged-posts-shortcode .widget-title {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  text-transform: capitalize;
}

.tagged-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tagged-post-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.tagged-post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.tagged-post-thumbnail {
  flex-shrink: 0;
}

.tagged-post-thumbnail img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.tagged-post-content {
  flex: 1;
}

.tagged-post-title {
  margin: 0 0 8px 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.tagged-post-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.tagged-post-title a:hover {
  color: #007cba;
}

.tagged-post-excerpt {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Global Font Settings */
body,
html {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.widget-title {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}
