/* ============================================
   XIomara del Carmen — Main Stylesheet
   ============================================ */

/* --- Base --- */
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  background: #fff;
}

a {
  color: #FF3706;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
a:hover {
  opacity: 0.7;
}

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

/* --- Layout Container --- */
.site-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header --- */
.site-header {
  padding: 50px 0 20px;
}

.logo a {
  display: inline-block;
}
.logo img {
  height: 70px;
  width: auto;
}

/* --- Navigation --- */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: #000;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: #FF3706;
}

/* Dropdown menus */
.nav-dropdown {
  position: relative;
}
.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  padding: 8px 0;
  min-width: 180px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 6px 16px;
  font-size: 12px;
  color: #000;
}
.dropdown-menu a:hover {
  color: #FF3706;
  background: #fafafa;
}

/* Social links */
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-links a {
  color: #999;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.social-links a:hover {
  color: #FF3706;
}
.social-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  background: #999;
  border-radius: 2px;
  font-size: 10px;
  color: #fff;
  text-align: center;
  line-height: 16px;
  font-weight: bold;
}

/* --- Photo Grid --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 30px 0;
}

.grid-item {
  position: relative;
  overflow: hidden;
}
.grid-item a {
  display: block;
}
.grid-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}
.grid-item:hover img {
  transform: scale(1.02);
}

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 20px 0 40px;
}
.pagination a,
.pagination span {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #ddd;
  font-size: 12px;
  color: #000;
}
.pagination .current {
  font-weight: bold;
  border-color: #000;
}
.pagination a:hover {
  border-color: #FF3706;
  color: #FF3706;
}
.page-label {
  font-size: 12px;
  color: #666;
  margin-right: 6px;
}

/* --- Page Content (About, Collections, Contact) --- */
.page-layout {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 40px;
  padding: 30px 0 60px;
  border-top: 1px solid #eee;
}

.page-title {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
}

.page-content {
  font-size: 14px;
  line-height: 1.7;
  color: #000;
}
.page-content p {
  margin-bottom: 16px;
}
.page-content h3 {
  font-size: 14px;
  font-weight: bold;
  margin: 24px 0 8px;
}
.page-content a {
  color: #FF3706;
  text-decoration: underline;
}

/* --- Category Archive Header --- */
.archive-header {
  font-size: 28px;
  font-weight: 400;
  padding: 30px 0 0;
}

/* --- Single Post --- */
.post-single {
  padding: 30px 0 60px;
  border-top: 1px solid #eee;
  max-width: 800px;
  margin: 0 auto;
}
.post-single-title {
  font-size: 26px;
  font-weight: 400;
  color: #000;
  margin-bottom: 16px;
}
.post-single-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.post-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  color: #FF3706;
  border: 1px solid #FF3706;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.post-tag:hover {
  background: #FF3706;
  color: #fff;
}
.post-single-image {
  width: 100%;
  margin-bottom: 30px;
}
.post-single-image img {
  width: 100%;
  height: auto;
}
.post-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid #eee;
  font-size: 12px;
}
.post-nav a {
  color: #000;
}
.post-nav a:hover {
  color: #FF3706;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid #eee;
  padding: 25px 0;
  font-size: 12px;
  color: #666;
}

/* --- 404 --- */
.error-page {
  padding: 80px 0;
  font-size: 24px;
  color: #000;
}

/* ============================================
   Responsive
   ============================================ */

/* Tablet */
@media (max-width: 944px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* Mobile */
@media (max-width: 599px) {
  .site-header {
    padding: 30px 0 15px;
  }
  .logo img {
    height: 45px;
  }
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
  }
  .nav-links a {
    font-size: 12px;
  }
  .social-links {
    display: none;
  }
  .post-single-title {
    font-size: 20px;
  }
  .archive-header {
    font-size: 22px;
  }
  .page-title {
    font-size: 22px;
  }
}
