/* Sunshine Creatives Custom Styles */

/* ===========================
   Base & Layout
   =========================== */

:root {
  --color-primary: #E10600;
  --color-white: #FFFFFF;
  --color-gray-50: #FAFAFA;
  --color-gray-900: #171717;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--color-white);
  color: var(--color-gray-900);
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===========================
   Header & Navigation
   =========================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-gray-900);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-sun {
  font-size: 1.75rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--color-gray-900);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

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

.nav-instagram {
  color: var(--color-primary);
  font-size: 1.25rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-gray-900);
  transition: all 0.3s ease;
}

/* ===========================
   Buttons
   =========================== */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: #B30500;
  border-color: #B30500;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 6, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-gray-900);
  border-color: var(--color-gray-900);
}

.btn-secondary:hover {
  background: var(--color-gray-900);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
}

.hero-content {
  max-width: 900px;
  animation: fadeIn 1s ease-out;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-gray-900);
}

.hero-title .accent {
  position: relative;
  color: var(--color-primary);
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 0;
  right: 0;
  height: 0.5rem;
  background: rgba(225, 6, 0, 0.15);
  z-index: -1;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: #525252;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   Sections
   =========================== */

.services-preview,
.featured-work,
.services-detail,
.story-section,
.founders-section,
.values-section,
.process-section,
.contact-section,
.blog-section,
.portfolio-section {
  padding: 6rem 2rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-gray-900);
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: #737373;
  margin-bottom: 4rem;
}

.text-center {
  text-align: center;
}

/* ===========================
   Service Cards
   =========================== */

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

.service-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 2px solid #F5F5F5;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-gray-900);
}

.service-card p {
  color: #737373;
  line-height: 1.7;
}

/* ===========================
   Portfolio Grid
   =========================== */

.work-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.project-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #FAFAFA;
  transition: all 0.4s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary);
}

.project-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, #F5F5F5 0%, #E5E5E5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.project-content {
  padding: 1.5rem;
}

.project-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-gray-900);
}

.project-description {
  color: #737373;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===========================
   Filter Bar
   =========================== */

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #E5E5E5;
  background: var(--color-white);
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-gray-900);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ===========================
   CTA Section
   =========================== */

.cta-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #E10600 0%, #FF3333 100%);
  text-align: center;
  color: var(--color-white);
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-section .btn {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.cta-section .btn:hover {
  background: transparent;
  color: var(--color-white);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   Contact Form
   =========================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-gray-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1.125rem;
  border: 2px solid #E5E5E5;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
}

.form-status {
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-align: center;
  margin-top: 1rem;
}

.form-status.success {
  background: #D1FAE5;
  color: #065F46;
  border: 2px solid #10B981;
}

.form-status.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 2px solid #EF4444;
}

/* ===========================
   Footer
   =========================== */

.footer {
  background: #171717;
  color: #D4D4D4;
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-tagline {
  color: #A3A3A3;
  margin-bottom: 1.5rem;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.25rem;
}

.social-link:hover {
  background: #FF3333;
  transform: translateY(-3px);
}

.footer-title {
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #D4D4D4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #404040;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: #A3A3A3;
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: var(--color-primary);
}

/* ===========================
   Page Hero
   =========================== */

.page-hero {
  padding: 10rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--color-gray-900);
}

.page-subtitle {
  font-size: 1.375rem;
  color: #737373;
  max-width: 700px;
  margin: 0 auto;
}

/* ===========================
   Animations
   =========================== */

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

.main-content {
  padding-top: 80px;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--color-white);
    flex-direction: column;
    padding: 2rem;
    transition: left 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .work-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
