/* Global styles */
:root {
  --primary-color: #2563eb;
  --text-color: #1a1a1a;
  --background-color: #ffffff;
}

/* Import Quicksand font */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

/* Base styles */
html, body {
  font-family: 'Quicksand', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Font weights */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

p, span, div {
  font-weight: 400;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* Gallery styles */
.gallery-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.gallery-container::-webkit-scrollbar {
  height: 8px;
}

.gallery-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.gallery-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.gallery-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.gallery-item {
  flex: 0 0 auto;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.card {
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Context menu */
.context-menu {
  position: fixed;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
  z-index: 1000;
}

.context-menu button {
  display: block;
  width: 100%;
  padding: 0.5rem;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
}

.context-menu button:hover {
  background: #f5f5f5;
}

/* Global text colors */
h1, p, button {
  color: #000;
}

/* Gallery styles */
.gallery-container {
  position: relative;
  margin: 20px auto;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  border: none;
  padding: 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.gallery-container::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
  width: 400px;
}

.card {
  position: relative;
  width: 400px;
  height: 240px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.card.flipped {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.card-front img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-back {
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #fafbfc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

/* Context menu styles */
.context-menu {
  position: fixed;
  background: white;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 2000;
  padding: 0.5em;
}

.context-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.context-menu li {
  margin: 0;
}

.context-menu button {
  background: none;
  border: none;
  padding: 8px 12px;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font-size: 1em;
}

.context-menu button:hover {
  background: #f0f0f0;
} 