/* Project Styles for TinyMCE Editor */

/* Tailwind CSS Variables */
:root {
  --color-primary: #FFCC00;
  --color-secondary: #0F0F0F;
  --color-light: #FFFFFF;
  --color-darkgray: #333333;
  --color-lightgray: #F8F8F8;
  --color-midgray: #E5E5E5;
}

/* Base styles from Inter font */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 20px;
  color: var(--color-darkgray);
  background-color: var(--color-light);
}

/* Tailwind-like utility classes */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

/* Custom colors */
.text-primary {
  color: var(--color-primary) !important;
}

.text-secondary {
  color: var(--color-secondary) !important;
}

.text-light {
  color: var(--color-light) !important;
}

.text-darkgray {
  color: var(--color-darkgray) !important;
}

.bg-primary {
  background-color: var(--color-primary) !important;
}

.bg-secondary {
  background-color: var(--color-secondary) !important;
}

.bg-light {
  background-color: var(--color-light) !important;
}

.bg-lightgray {
  background-color: var(--color-lightgray) !important;
}

.bg-midgray {
  background-color: var(--color-midgray) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Project specific elements */
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: var(--color-lightgray);
  border-radius: 0.5rem;
}

.category, .location, .year {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
  font-weight: 500;
}

.category::before, .location::before, .year::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 0.5rem;
  color: var(--color-primary);
}

.category::before {
  content: "\f015"; /* home icon */
}

.location::before {
  content: "\f3c5"; /* map marker icon */
}

.year::before {
  content: "\f073"; /* calendar icon */
}

.description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Modern design elements */
.diagonal-box {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background-color: var(--color-lightgray);
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.diagonal-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: var(--color-primary);
  opacity: 0.05;
  transform: rotate(-3deg) translateX(-30%) translateY(-20%);
  z-index: 0;
}

.diagonal-box > * {
  position: relative;
  z-index: 1;
}

.blueprint-bg {
  background-color: var(--color-secondary);
  background-image: radial-gradient(var(--color-primary) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0;
  opacity: 0.03;
}

/* Gallery items */
.gallery-item {
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Feature boxes */
.feature-box {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--color-primary);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 204, 0, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

.btn-primary:hover {
  background-color: #e6b800;
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-light);
}

.btn-secondary:hover {
  background-color: #2a2a2a;
}

/* Sections */
section {
  padding: 3rem 0;
  position: relative;
}

/* Call Button Style */
.call-button {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #FFCC00;
  color: #0F0F0F;
  padding: 12px 16px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 50;
  display: flex;
  align-items: center;
  font-weight: 700;
  transition: all 0.3s ease;
}

.call-button:hover {
  background-color: #0F0F0F;
  color: #FFCC00;
}

.call-button i {
  margin-right: 8px;
  font-size: 1.25rem;
}

.call-button span.phone-number {
  font-size: 0.75rem;
  font-weight: 400;
  display: block;
}

/* Mobile Call Button Style */
@media (max-width: 768px) {
  .call-button {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    border-radius: 0;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }
}

/* Reveal animations */
.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
}
