/* =========================================
   1. Color Palette & Base
   ========================================= */
:root {
  --navy-blue: #0A1F44;
  --aqua: #00B4D8;
  --graphite: #334155;
  --soft-white: #F8FAFC;
  --silver: #C0C0C0;
}

body {
  font-family: 'Satoshi', sans-serif;
  background: var(--soft-white);
  color: var(--graphite);
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* =========================================
   2. Hero Section
   ========================================= */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 1.3;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cg%20fill%3D%22%2300B4D8%22%20fill-opacity%3D%220.1%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M0%2040L40%200H20L0%2020zM40%2040V20L20%2040z%22/%3E%3C/g%3E%3C/svg%3E");
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0A1F44, rgba(10, 31, 68, 0.8), transparent);
  z-index: 0;
}

.contact-hero {
  background: var(--navy-blue);
  color: var(--soft-white);
  padding: 10rem 0 6rem 0;
  text-align: center;
  position: relative;
}

.contact-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-sub {
  font-size: 1.25rem;
  color: var(--silver);
  margin-bottom: 2rem;
}

/* =========================================
   3. Header & Navbar
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 300ms ease, backdrop-filter 300ms ease;
}

.header.scrolled {
  background-color: rgba(10, 31, 68, 0.65);
  backdrop-filter: blur(8px);
}

.navbar {
  width: 100%;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navbar-logo-icon {
  width: 3rem;
  height: 3rem;
}

.navbar-logo-text {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-menu {
  display: none;
  gap: 2.5rem;
}

.navbar-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: color 300ms;
  text-decoration: none;
}

.navbar-link.active,
.navbar-link:hover {
  color: var(--aqua);
}

.navbar-contact {
  display: none;
}

.navbar-toggle {
  display: flex;
  background: none;
  color: white;
  cursor: pointer;
  border: none;
  padding: 0.5rem;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
}

.navbar-toggle-icon {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 300ms ease;
}

.navbar-toggle:hover .navbar-toggle-icon {
  transform: scale(1.1);
}

/* =========================================
   4. Mobile Menu
   ========================================= */
.mobile-menu {
  display: none;
  margin-top: 1rem;
  background-color: rgba(10, 31, 68, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 0.5rem;
  padding: 1rem;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-link {
  color: white;
  font-weight: 500;
  text-align: center;
  padding: 0.5rem 0;
  transition: color 300ms;
  text-decoration: none;
}

.mobile-menu-link:hover {
  color: var(--aqua);
}

/* =========================================
   5. Buttons
   ========================================= */
.btn-outline {
  border: 1px solid rgba(248, 250, 252, 0.7);
  color: #F8FAFC;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 300ms;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  display: inline-block;
  text-decoration: none;
}

.btn-outline:hover {
  background-color: #F8FAFC;
  color: #1A1A1A;
}

.btn-outline-mobile {
  width: 100%;
  text-align: center;
  border: 1px solid rgba(248, 250, 252, 0.7);
  border-radius: 0.375rem;
}

.btn-primary {
  background-color: var(--aqua);
  color: white;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
  transition: all 300ms;
  margin-top: 2.5rem;
  border: none;
  cursor: pointer;
  width: 100%;
}

.btn-primary:hover {
  background-color: var(--navy-blue);
  color: white;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

.btn-primary[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-send {
  width: 100%;
}

/* =========================================
   6. Contact Section & Info Box
   ========================================= */
.contact-section {
  background: var(--soft-white);
  padding: 4rem 0;
}

.contact-form-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  align-items: flex-start;
}

.contact-info-box {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0px 0px 24px rgb(10 31 68 / 15%);
}

.contact-info-title {
  color: var(--navy-blue);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-item:last-child {
  margin-bottom: 0;
  margin-top: 2rem;
  padding: 1.5rem;
  background: #e7eef5;
  border-radius: .75rem;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  color: white;
  flex-shrink: 0;
}

.email-icon,
.phone-icon,
.address-icon,
.hours-icon {
  background: #0a1f44d9;
}

.info-content {
  flex: 1;
}

.info-label {
  color: var(--navy-blue);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}

.info-text {
  color: var(--graphite);
  font-size: 1.05rem;
  margin: 0.6rem 0;
}

.info-subtext {
  color: var(--graphite);
  font-size: 0.875rem;
  margin: 0.25rem 0;
  opacity: 0.8;
  line-height: 1.2rem;
}

.studio-grid {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(192, 192, 192, 0.2);
}

.hour-row:last-child {
  border-bottom: none;
}

.hour-label {
  color: var(--graphite);
  font-size: 0.85rem;
  font-weight: 500;
}

.hour-value {
  color: var(--navy-blue);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
}

/* =========================================
   7. Contact Form
   ========================================= */
.contact-form {
  background: white;
  border-radius: 1rem;
  box-shadow: 0px 0px 24px rgb(10 31 68 / 15%);
  padding: 2rem;
}

.form-title {
  color: var(--navy-blue);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--graphite);
}

.label-icon {
  font-size: 1rem;
}

input,
textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--silver);
  border-radius: 0.375rem;
  font-size: 1rem;
  font-family: 'Satoshi', sans-serif;
  background: var(--soft-white);
  color: var(--graphite);
  outline: none;
  transition: border-color 200ms;
}

input::placeholder,
textarea::placeholder {
  color: rgba(51, 65, 85, 0.5);
}

input:focus,
textarea:focus {
  border-color: var(--aqua);
  background: white;
}

/* =========================================
   8. Form Status Messages
   ========================================= */
.form-status {
  margin-top: 0.75rem;
  font-weight: 600;
  padding: 0.6rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-status .status-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  flex-shrink: 0;
}

.form-status .status-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.form-status .status-text {
  display: inline-block;
}

.form-status.success {
  color: #064e3b;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.form-status.error {
  color: #7f1d1d;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.12);
}

.form-status.sending {
  color: #0f172a;
  background: rgba(2, 6, 23, 0.04);
  border: 1px solid rgba(2, 6, 23, 0.06);
}

.form-status[hidden] {
  display: none !important;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.form-status.sending .status-icon svg {
  animation: spin 1s linear infinite;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: #4B5563;
    color: #CBD5E1;
    margin-top: 3rem;
    padding: 3rem 0 1rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 0;
}

.footer-brand {
    grid-column: span 1;
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-logo-icon {
    width: 2.25rem;
    height: 2.25rem;
}

.footer-logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand-text {
    max-width: 20rem;
    color: #94A3B8;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.footer-email {
    font-size: 0.875rem;
    color: #CBD5E1;
    display: inline-block;
    margin-top: 0.5rem;
    transition: color 300ms;
    text-decoration: none;
}

.footer-email:hover {
    color: white;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.footer-section-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.footer-link {
    color: #CBD5E1;
    font-size: 0.875rem;
    transition: color 300ms;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    margin-top: 3rem;
    border-top: 1px solid #475569;
    padding-top: 2rem;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #94A3B8;
    gap: 1rem;
}

.footer-copyright {
    color: #94A3B8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #CBD5E1;
    display: inline-flex;
    transition: color 300ms;
}

.social-link:hover {
    color: white;
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ========================================
   RESPONSIVE DESIGN - TABLET
   ======================================== */

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* ========================================
   RESPONSIVE DESIGN - DESKTOP
   ======================================== */

@media (min-width: 768px) {
    .navbar-menu {
        display: flex;
        gap: 2.5rem;
    }

    .navbar-contact {
        display: block;
    }

    .navbar-toggle {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }

    .contact-title {
        font-size: 3.75rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: span 2;
        margin-bottom: 0;
    }
}

/* ========================================
   RESPONSIVE DESIGN - LARGE DESKTOP
   ======================================== */

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .contact-form-container {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .contact-info-box,
    .contact-form {
        max-width: 100%;
        min-width: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info-title,
    .form-title {
        font-size: 1.25rem;
    }

    .contact-section {
        padding: 2rem 0;
    }

    .btn-primary {
        width: 100%;
    }
}