/* ==========================================================================
   Gallmott Coming Soon Page - Premium Stylesheet
   ========================================================================== */

/* Design Tokens & Variables */
:root {
  --bg-color: #02050c;         /* Deep luxury dark navy/black */
  --card-bg: rgba(13, 14, 19, 0.65);
  --text-main: #f5f5f7;        /* Clean high-contrast off-white */
  --text-muted: #8e8e93;       /* Cool Apple-style grey */
  --text-sand: #dfdfdf;        /* Sand/cream color for 'COMING' */
  
  /* Gold Palette (Brushed Bronze/Gold) */
  --gold-light: #fcf6ba;
  --gold-primary: #d4af37;
  --gold-medium: #b38728;
  --gold-dark: #8a6623;
  --gold-shadow: rgba(212, 175, 55, 0.25);
  
  /* Fonts */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Base Page Layout */
.page-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-image: url('images/main-banner.png');
  background-size: cover;
  background-position: center;
}

/* ==========================================================================
   Left Column: Content Section
   ========================================================================== */
.content-section {
  width: 45%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 3.5rem 3.5rem 3.5rem;
  background-color: var(--bg-color);
  position: relative;
  z-index: 10;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
}

/* Header & Logo */
.header {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.logo-link {
  display: inline-block;
  transition: var(--transition-smooth);
}

.logo-link:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.15));
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

/* Main Content Area */
.main-content {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto 0;
}

/* COMING SOON Heading */
.coming-soon-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8.5vw, 7.8rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.8rem;
  user-select: none;
}

.text-coming {
  color: var(--text-sand);
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.text-soon {
  background: linear-gradient(
    to bottom,
    var(--gold-light) 0%,
    var(--gold-primary) 35%,
    var(--gold-medium) 70%,
    var(--gold-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.5));
  position: relative;
}

/* Diamond Divider */
.divider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 80%;
  margin: 1.2rem 0;
}

.divider-line {
  height: 1px;
  flex-grow: 1;
  background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.6), transparent);
}

.divider-diamond {
  width: 6px;
  height: 6px;
  background-color: var(--gold-primary);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--gold-primary);
}

/* Subtitle */
.subtitle {
  font-size: clamp(0.75rem, 1.4vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.35em;
  color: #c4c5c8;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

/* Tagline Badge */
.tagline-badge {
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: var(--card-bg);
  padding: 0.8rem 1.8rem;
  border-radius: 1px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.2), 
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
  cursor: default;
}

.tagline-badge:hover {
  border-color: var(--gold-primary);
  box-shadow: 
    0 12px 35px rgba(212, 175, 55, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.badge-text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-main);
}

/* Email Subscription Form */
.subscribe-form {
  width: 100%;
  margin-top: 0.5rem;
}

.input-wrapper {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 4px;
  transition: var(--transition-smooth);
}

.input-wrapper:focus-within {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.email-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.8rem 1rem;
  letter-spacing: 0.1em;
}

.email-input::placeholder {
  color: #5c5d64;
}

.submit-btn {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-medium) 100%);
  border: none;
  outline: none;
  color: #000;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0 1.5rem;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #fce074 0%, var(--gold-primary) 100%);
  box-shadow: 0 0 15px var(--gold-shadow);
  transform: translateX(2px);
}

.submit-btn:active {
  transform: translateX(0) scale(0.98);
}

.submit-btn.loading {
  background: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
}

.btn-arrow {
  width: 14px;
  height: 14px;
  transition: var(--transition-smooth);
}

.submit-btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Form Message */
.form-message {
  font-size: 0.75rem;
  margin-top: 1rem;
  min-height: 1.2rem;
  letter-spacing: 0.05em;
  transition: opacity 0.4s ease;
  width: 100%;
}

.form-message.success {
  color: #4cd964;
}

.form-message.error {
  color: #ff3b30;
}

.form-message.info {
  color: var(--gold-primary);
}

/* Footer & Social Container */
.footer {
  width: 100%;
  margin-top: 2rem;
}

.social-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.social-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}

.social-divider {
  width: 40px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-icon-link {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.social-icon-link svg {
  width: 18px;
  height: 18px;
}

.social-icon-link:hover {
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.contact-info {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  max-width: 340px;
}

.contact-address {
  font-size: 0.90rem;
  line-height: 1.6;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.contact-phones {
  font-size: 0.90rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
}

.contact-phones a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-phones a:hover {
  color: var(--text-main);
  text-shadow: 0 0 8px var(--gold-shadow);
}

#smoke-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: screen;
  opacity: 1.0;
}

/* ==========================================================================
   Right Column: Visual Section
   ========================================================================== */
.visual-section {
  width: 55%;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.visual-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--bg-color) 0%,
    rgba(2, 5, 12, 0.96) 5%,
    rgba(2, 5, 12, 0.8) 20%,
    rgba(2, 5, 12, 0.2) 50%,
    transparent 100%
  );
  pointer-events: none;
}

/* ==========================================================================
   Ambient Smoke/Fog Animations
   ========================================================================== */
.smoke-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  opacity: 0.45;
}

.smoke-layer {
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: blur(80px);
  border-radius: 50%;
}

.smoke-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, rgba(2, 5, 12, 0) 70%);
  top: -100px;
  left: -100px;
  animation: float-smoke-1 25s infinite alternate ease-in-out;
}

.smoke-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, rgba(2, 5, 12, 0) 70%);
  bottom: -200px;
  right: 10%;
  animation: float-smoke-2 35s infinite alternate ease-in-out;
}

.smoke-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, rgba(2, 5, 12, 0) 70%);
  top: 40%;
  left: 30%;
  animation: float-smoke-3 30s infinite alternate ease-in-out;
}

@keyframes float-smoke-1 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(100px, 80px) scale(1.2); opacity: 0.8; }
  100% { transform: translate(40px, -40px) scale(0.9); opacity: 0.5; }
}

@keyframes float-smoke-2 {
  0% { transform: translate(0, 0) scale(1.1); opacity: 0.5; }
  50% { transform: translate(-120px, -60px) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50px, 100px) scale(1.2); opacity: 0.4; }
}

@keyframes float-smoke-3 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  50% { transform: translate(60px, -80px) scale(1.15); opacity: 0.6; }
  100% { transform: translate(-40px, 30px) scale(0.95); opacity: 0.3; }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Tablet & Portrait Viewports */
@media (max-width: 1024px) {
  .content-section {
    width: 50%;
    padding: 3rem 2.5rem;
  }
  .visual-section {
    width: 50%;
  }
}

/* Mobile & Small Screens */
@media (max-width: 900px) {
  .page-container {
    flex-direction: column;
  }

  .content-section {
    width: 100%;
    min-height: 100vh;
    padding: 4rem 2rem 3rem 2rem;
    background: radial-gradient(
      circle at center,
      rgba(2, 5, 12, 0.78) 0%,
      rgba(2, 5, 12, 0.98) 100%
    );
  }

  .visual-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-position: center 25%; /* Frame the t-shirt mannequin nicely */
  }

  .visual-gradient-overlay {
    background: linear-gradient(
      to bottom,
      rgba(2, 5, 12, 0.65) 0%,
      rgba(2, 5, 12, 0.85) 60%,
      var(--bg-color) 100%
    );
  }

  .main-content {
    margin: 4rem 0;
  }

  .coming-soon-title {
    font-size: clamp(3.8rem, 14vw, 5.8rem);
  }

  .divider-container {
    width: 60%;
  }

  .subtitle {
    letter-spacing: 0.25em;
  }

  .smoke-wrapper {
    z-index: 5;
    opacity: 0.35;
  }
}

/* Extremely Small Mobile Screens */
@media (max-width: 380px) {
  .content-section {
    padding: 3rem 1.2rem 2rem 1.2rem;
  }
  
  .coming-soon-title {
    font-size: 3.5rem;
  }
  
  .subtitle {
    letter-spacing: 0.18em;
  }
  
  .tagline-badge {
    padding: 0.6rem 1.2rem;
  }
  
  .badge-text {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }
  
  .email-input {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .submit-btn {
    padding: 0 1rem;
  }
}

/* ==========================================================================
   Preloader Styles
   ========================================================================== */
body.loading-active {
  overflow: hidden !important;
  pointer-events: none;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #02050c; /* var(--bg-color) */
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  opacity: 1;
  visibility: visible;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.preloader-logo {
  height: 65px;
  width: auto;
  opacity: 0;
  transform: scale(0.9);
  filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
  animation: preloaderLogoFadeIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards,
             preloaderLogoPulse 3s ease-in-out infinite 1.2s;
}

.preloader-spinner-wrapper {
  width: 150px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-primary), var(--gold-medium));
  animation: preloaderFillBar 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes preloaderLogoFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(12px);
    filter: drop-shadow(0 0 0px rgba(212, 175, 55, 0));
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.2));
  }
}

@keyframes preloaderLogoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.2));
  }
  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.35));
  }
}

@keyframes preloaderFillBar {
  0% {
    width: 0%;
  }
  50% {
    width: 65%;
  }
  100% {
    width: 100%;
  }
}

