@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&display=swap');

:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --bg-light: #f8fafc;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

body {
  font-family: 'Nunito', sans-serif !important;
  margin: 0;
  padding: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
}

/* Service Cards */
.service-card {
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Slider */
#slider {
  transition: height 0.3s ease;
}

#slider img {
  transition: transform 0.5s ease;
}

#slider img:hover {
  transform: scale(1.02);
}

#dots div {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

#dots div.active {
  background-color: white;
  width: 30px;
  border-radius: 5px;
}

.hero-gradient {
  background: linear-gradient(rgba(125, 211, 252, 0.33), rgba(56, 189, 248, 0.33)), 
               url('https://doczyscimy.pl/wp-content/uploads/2024/02/koncepcja-projektu-pieknego-wnetrza-pokoju-scaled-e1708106403245.jpg') no-repeat center center/cover;
  background-attachment: scroll;
}

.before-after {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.before-after img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after .after {
  width: 50%;
}

.slider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: white;
  left: 50%;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
}

/* Contact Form */
.contact-form {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  font-family: 'Nunito', sans-serif;
}

.contact-form__header {
  text-align: center;
  margin-bottom: 30px;
}

.contact-form__title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.contact-form__description {
  color: #64748b;
  font-size: 16px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form__group {
  margin-bottom: 20px;
}

.contact-form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #334155;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: #f8fafc;
}

.contact-form__input:focus,
.contact-form__textarea:focus,
input[type="date"]:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

/* Date input styles */
input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.relative {
  position: relative;
}

.contact-form__textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form__submit {
  width: 100%;
  padding: 16px;
  background: #2563eb;
  color: white;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.contact-form__submit:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.contact-form__submit:active {
  transform: translateY(0);
}

.contact-form__status {
  margin-top: 20px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

.contact-form__status--success {
  background: #dcfce7;
  color: #166534;
}

.contact-form__status--error {
  background: #fee2e2;
  color: #991b1b;
}

@media (max-width: 768px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 25px;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 100px;
}

/* Utility classes */
[x-cloak] { 
  display: none !important; 
}