/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f9fc;
  color: #333;
}

/* Header */
.site-header {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  height: 50px;
}

.site-header h1 {
  font-size: 1.5rem;
  margin: 0;
}

.tagline {
  font-size: 0.9rem;
  color: #ccc;
}

/* Ad Slots */
.ad-slot {
  background-color: #e6ecf1;
  border: 2px dashed #cbd5e0;
  color: #555;
  text-align: center;
  padding: 16px;
  margin: 30px auto;
  max-width: 960px;
  border-radius: 6px;
}

/* Tool Box Layout */
.tool-box {
  background: white;
  max-width: 960px;
  margin: 30px auto;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tool-box h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.6rem;
}

/* Controls */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
}

.controls label {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.controls input[type="color"],
.controls input[type="number"],
.controls select {
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* Upload Button */
.browse-btn {
  background: linear-gradient(to right, #667eea, #764ba2);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s;
}

.browse-btn:hover {
  background: linear-gradient(to right, #5a67d8, #6b46c1);
}

/* Download Button */
#downloadBtn {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#downloadBtn:hover {
  background-color: #0056b3;
}

/* Collage Layout Area */
.canvas-wrapper {
  margin-top: 20px;
  background-color: #fff;
  padding: 12px;
  border-radius: 10px;
  border: 2px dashed #ccc;
  overflow-x: auto;
  min-height: 400px;
}

.collage-grid {
  display: grid;
  gap: var(--spacing, 10px);
  background-color: var(--border-color, #ffffff);
  padding: var(--spacing, 10px);
  justify-content: center;
}

.image-frame {
  background-color: #ffffff;
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* SEO Info Section */
.tool-info {
  max-width: 960px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.03);
  font-size: 15px;
  line-height: 1.6;
}

.tool-info h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.tool-info h3 {
  font-size: 1.2rem;
  margin-top: 20px;
}

.tool-info ul {
  padding-left: 20px;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .controls {
    flex-direction: column;
    align-items: flex-start;
  }
}
.site-footer {
  background: linear-gradient(to right, #eef4f8, #f7fafc);
  border-top: 1px solid #dce4ec;
  margin-top: 60px;
  font-size: 15px;
  color: #444;
  padding: 40px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  text-align: center;
}

.footer-logo {
  width: 42px;
  height: 42px;
  margin-bottom: -11px;
}

.footer-brand h3 {
  font-size: 20px;
  margin: 0;
  color: #222;
}

.footer-tagline {
  font-size: 13px;
  color: #666;
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: #0072ff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-nav a:hover {
  color: #0052b4;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 30px;
  font-size: 13px;
  text-align: center;
  color: #888;
}


