/* Main CSS styles for InterstellarMap */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #0a143c;
    --secondary-color: #1a2b66;
    --accent-color: #dda74f;
    --text-color: #f0f4f8;
    --background-color: black;
    --light-background: #0d1333;
    --success-color: #48bb78;
    --error-color: #e53e3e;
    --font-family: 'Montserrat', sans-serif;
}

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.min-h-screen {
    min-height: 100vh;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 50;
}

/* Main content area */
main {
    flex-grow: 1;
    padding-top: 80px;
    /* Account for fixed header */
}

/* Form styles */
input,
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--text-color);
    font-family: var(--font-family);
    transition: border-color 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(221, 167, 79, 0.25);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: #A961ED;
    border: none;
    border-radius: 0.5rem;
    font-family: var(--font-family);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c89a3e;
}

/* Card styles */
.card {
    background-color: rgba(26, 43, 102, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Preview Container */
.preview-container {
    aspect-ratio: 1;
    max-width: 100%;
    background-color: black;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Create Page specific styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.option-card {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.option-card:hover {
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.05);
}

.option-card.selected {
    border-color: var(--accent-color);
    background-color: rgba(221, 167, 79, 0.1);
    box-shadow: 0 0 10px rgba(221, 167, 79, 0.3);
}

/* Utility classes */
.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-accent {
    background-color: var(--accent-color);
}

.text-white {
    color: white;
}

.text-accent {
    color: var(--accent-color);
}

.rounded-lg {
    border-radius: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.m-4 {
    margin: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.w-full {
    width: 100%;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.grid {
    display: grid;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Custom classes for specific components */
.map-preview {
    aspect-ratio: 1/1;
    max-width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid var(--accent-color);
}

.gradient-text {
    background: linear-gradient(to right, var(--accent-color), #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.button-new {
  background-color: #A961ED;
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.button-new:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(169, 97, 237, 0.7);
  background-color: #A961ED;
  transition: all 0.3s ease;
}

/*HERO SECTION*/

.hero-section {
  background-image: url('/images/home-header.webp');
  background-size: cover;
  background-position: top;
  mask-image: linear-gradient(to top, transparent 3%, black 15%);
  -webkit-mask-image: linear-gradient(to top, transparent 3%, black 15%);
}

@media (max-width: 1024px) {
  .hero-section {
    background-image: url('/images/mobile-home-hero.png');
    background-size: cover;
    background-position: top;
  }
}

/*Gallery SECTION*/
.gallery-section {
  background-image: url('/images/gallery-header.webp');
  background-size: cover;
  background-position: top;
  mask-image: linear-gradient(to top, transparent 3%, black 15%);
  -webkit-mask-image: linear-gradient(to top, transparent 3%, black 15%);
}

@media (max-width: 1024px) {
  .gallery-section {
    background-image: url('/images/mobile-gallery-hero.png');
    background-size: cover;
    background-position: top;
  }
}

body p {
  font-weight: 300 !important;
}