/* CSS Variables */
:root {
  --primary-color: #1a1a1a;
  --secondary-color: #ff4081;
  --secondary-rgb: 255, 64, 129;
  --accent-color: #fce4ec;
  --pride-gradient: linear-gradient(135deg, #ff6b9d, #ff8e53, #fda085, #c44dff, #667eea, #764ba2);
  --text-color: #333;
  --light-text: #666;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

@keyframes prideFlow {
  0% { background-position: 0% 50%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 0% 100%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
  90% { opacity: 1; }
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.logo h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--primary-color);
  transition: var(--transition);
  position: relative;
  padding-bottom: 5px;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition-slow);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #ff6b9d, #ff8e53, #fda085, #c44dff, #667eea, #764ba2);
  background-size: 400% 400%;
  animation: prideFlow 15s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  animation: slideInUp 0.8s ease;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  animation: slideInUp 0.8s ease 0.2s backwards;
}

/* Sparkle Decorations */
.hero-sparkle {
  position: absolute;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
  animation: float 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.hero-sparkle:nth-child(2) { top: 15%; left: 10%; font-size: 1.8rem; animation-delay: 0.5s; animation-duration: 6s; }
.hero-sparkle:nth-child(3) { top: 25%; right: 12%; font-size: 1.2rem; animation-delay: 1s; animation-duration: 5.5s; }
.hero-sparkle:nth-child(4) { bottom: 30%; left: 8%; font-size: 1.6rem; animation-delay: 1.5s; animation-duration: 7s; }
.hero-sparkle:nth-child(5) { bottom: 20%; right: 15%; font-size: 1rem; animation-delay: 2s; animation-duration: 4.5s; }
.hero-sparkle:nth-child(6) { top: 50%; left: 5%; font-size: 1.3rem; animation-delay: 2.5s; animation-duration: 5s; }
.hero-sparkle:nth-child(7) { top: 10%; right: 25%; font-size: 1.1rem; animation-delay: 0.8s; animation-duration: 6.5s; }
.hero-sparkle:nth-child(8) { bottom: 10%; left: 20%; font-size: 1.5rem; animation-delay: 1.8s; animation-duration: 5.8s; }
.hero-sparkle:nth-child(9) { bottom: 15%; right: 8%; font-size: 0.9rem; animation-delay: 3s; animation-duration: 4.2s; }
.hero-sparkle:nth-child(10) { top: 35%; right: 5%; font-size: 1.7rem; animation-delay: 1.2s; animation-duration: 7.5s; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.primary-btn {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.3);
}

.primary-btn:hover {
  background-color: #e91e63;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(var(--secondary-rgb), 0.5);
}

/* Portfolio Section */
.portfolio {
  padding: 6rem 0;
  background-color: var(--accent-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
  animation: fadeInDown 0.8s ease;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #ff6b9d, #ffd700, #2ecc71, #56c7fe, #c44dff);
  border-radius: 2px;
  animation: expandWidth 0.8s ease 0.2s backwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 300px;
  transition: var(--transition-slow);
  cursor: pointer;
  animation: fadeInUp 0.6s ease forwards;
}

.portfolio-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.7), transparent);
  color: var(--white);
  padding: 2rem 1rem 1rem;
  transform: translateY(100%);
  transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
}

.portfolio-link:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Loading and Error States */
.loading,
.error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  font-size: 1.2rem;
  color: var(--light-text);
}

.error {
  color: var(--secondary-color);
}

/* About Section */
.about {
  padding: 6rem 0;
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--light-text);
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background-color: var(--accent-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact-info p {
  margin-bottom: 2rem;
  color: var(--light-text);
}

.contact-details .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact-details .contact-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-right: 1rem;
  width: 25px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.1);
}

.contact-form textarea {
  resize: vertical;
}

/* Booking Section */
.booking {
  padding: 6rem 0;
  background-color: var(--white);
}

.booking-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.booking-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.booking-info p {
  margin-bottom: 2rem;
  color: var(--light-text);
}

.booking-details .booking-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.booking-details .booking-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-right: 1rem;
  width: 25px;
}

.booking-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.1);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .about-content,
  .contact-content,
  .booking-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    margin: 1rem 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  
  .contact-form input,
  .contact-form textarea,
  .booking-form input,
  .booking-form select,
  .booking-form textarea {
    padding: 10px 12px;
  }
}

/* =========================================
   Contact Section - Hidden Details
   ========================================= */
.contact-details .contact-item-hidden {
    display: none;
}

.contact-details .contact-item-hidden.visible {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.reveal-btn {
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.reveal-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.reveal-btn.revealed {
    background: var(--secondary-color);
    color: var(--white);
}

.reveal-note {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-top: 0.5rem;
}

.form-status {
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Booking Section - Modern Scheduler
   ========================================= */
.booking-progress {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 0.5rem);
    width: 1rem;
    height: 2px;
    background: var(--accent-color);
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.active {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

.progress-step.completed {
    background: var(--secondary-color);
    color: var(--white);
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.booking-scheduler {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.booking-form-panel {
    background: var(--accent-color);
    padding: 2rem;
    border-radius: 8px;
}

.booking-step {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-right: 0.75rem;
}

.booking-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.step-hint {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 1.25rem;
}

/* Date Picker */
.date-picker-wrapper {
    width: 100%;
}

.date-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.date-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.1);
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.time-slot {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.time-slot:hover {
    border-color: var(--secondary-color);
    background: rgba(var(--secondary-rgb), 0.05);
}

.time-slot.selected {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: var(--white);
}

.time-slot:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Tattoo Details */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-color);
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    background: var(--white);
}

.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.1);
}

/* Duration Card */
.duration-card {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--secondary-color), #c44dff);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInUp 0.3s ease;
}

.duration-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.duration-info {
    display: flex;
    flex-direction: column;
}

.duration-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.duration-value {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Booking Summary */
.booking-summary {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.25rem;
    animation: fadeIn 0.3s ease;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.summary-item:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.summary-item span:first-child {
    color: var(--light-text);
}

.summary-item span:last-child {
    font-weight: 600;
}

.booking-form-panel .booking-step {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.booking-form-panel input,
.booking-form-panel textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.booking-form-panel input:focus,
.booking-form-panel textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.1);
}

.booking-form-panel textarea {
    resize: vertical;
    min-height: 70px;
}

/* =========================================
   Booking Section - Responsive
   ========================================= */
@media (max-width: 992px) {
    .booking-content {
        grid-template-columns: 1fr;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .time-slots {
        grid-template-columns: 1fr;
    }

    .progress-step::after {
        width: 0.5rem;
    }
}