/* PROFILE PAGE STYLES */
.profile-page {
  padding-top: 80px; /* Offset for fixed navbar */
}

/* --- PROFILE HERO --- */
.profile-hero {
  background: linear-gradient(135deg, #FF8C42, #E8650A);
  padding: 80px 24px 180px;
  text-align: left;
  color: white;
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.profile-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.profile-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- PROFILE IMAGES --- */
.profile-images-section {
  max-width: 1280px;
  margin: -120px auto 60px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.profile-images-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}

.profile-img-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  height: 450px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-img-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.profile-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
}

.profile-img-overlay h3 {
  font-size: 20px;
  font-weight: 700;
}

/* --- MAIN CONTENT LAYOUT --- */
.profile-main-content {
  max-width: 1280px;
  margin: 0 auto 100px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
}

/* --- ACCORDION --- */
.profile-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: white;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item.active {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--orange);
}

.accordion-header {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #fff;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: #fafafa;
}

.accordion-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.accordion-icon {
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--orange);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--orange);
  color: white;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
  padding: 0 30px;
}

.accordion-item.active .accordion-content {
  max-height: 2000px;
  transition: max-height 1s ease-in;
  padding: 10px 30px 30px;
}

.content-inner {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.content-inner p {
  margin-bottom: 20px;
}

.content-inner strong {
  color: var(--orange);
}

/* --- SIDEBAR --- */
.profile-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-card {
  background: white;
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #eee;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.sidebar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--green);
}

.sidebar-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.4;
}

.sidebar-card .btn-amil {
  display: block;
  width: 100%;
  padding: 18px;
  border-radius: 12px;
  font-size: 18px;
  margin-top: 20px;
}

/* --- NEWSLETTER SECTION (BAR) --- */
.newsletter-bar {
  background: var(--orange);
  padding: 60px 0;
  margin-top: 100px;
  color: white;
}

.newsletter-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.newsletter-text h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 5px;
}

.newsletter-text p {
  opacity: 0.9;
  font-size: 16px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex: 1;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 16px;
}

.newsletter-form button {
  background: #1a1a1a;
  color: white;
  border: none;
  padding: 0 30px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  background: #000;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .profile-images-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-main-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .profile-sidebar {
    position: static;
  }
  
  .newsletter-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .profile-hero {
    padding-bottom: 120px;
  }
  
  .profile-img-card {
    height: 300px;
  }
}
