/*
Theme Name: Entrywise Professional Website
Description: Professional static website for Entrywise Pty Ltd - Strata Bookkeeping Specialists
Version: 1.0
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background-color: #ffffff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #2F7365;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2F7365;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #2F7365;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: #2F7365;
  color: white;
  box-shadow: 0 4px 6px rgba(47, 115, 101, 0.2);
}

.btn-primary:hover {
  background: #26624f;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(47, 115, 101, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2F7365 0%, #4A9B8C 100%);
  color: white;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.05);
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.08) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.08) 2px, transparent 2px);
  background-size: 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

/* Services Section */
.services {
  background: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2F7365, #4A9B8C);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(47, 115, 101, 0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}

.service-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::after {
  opacity: 1;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
}

.service-card p {
  color: #64748b;
  line-height: 1.6;
}

.special-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.card-gradient {
  background: linear-gradient(135deg, #2F7365 0%, #4A9B8C 100%);
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}

.card-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: rotate 60s linear infinite;
}

.card-secondary {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Why Choose Section */
.why-choose {
  background: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.benefit-content p {
  color: #64748b;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-item {
  display: flex;
  align-items: center;   /* align icon + text vertically centered */
  gap: 1rem;             /* spacing between icon and text */
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.contact-details {
  display: flex;
  flex-direction: column; /* keep label above link */
}

/* Icon smaller, square */
.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;        /* don’t shrink icon */
}

.contact-icon .icon-email,
.contact-icon .icon-phone {
  font-size: 18px;
  color: #fff;
}


/* General link reset for contact section */
/* Contact details inside green card */
.contact-card--green .contact-details h4 {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85); /* softer white for label */
  margin-bottom: 0.25rem;
}

.contact-card--green .contact-details a {
  display: inline-block;
  color: #ffffff;               /* pure white for link */
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-card--green .contact-details a:hover {
  opacity: 0.8;                 /* subtle fade effect */
  text-decoration: none;        /* no underline */
}

/* Make icons look like subtle buttons */
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15); /* subtle transparent box */
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon .icon-email,
.contact-icon .icon-phone {
  font-size: 20px;
  color: #fff;  /* white icons */
}

/* Make the grid two columns on laptop+ */
.contact-grid{
  max-width: 1100px;      /* wider so two cards breathe */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;   /* mobile */
  gap: 1.75rem;
}
@media (min-width: 992px){
  .contact-grid{ grid-template-columns: 1fr 1fr; }
}

/* Base card */
.contact-card{
  height: 100%;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  background: #fff;                 /* bright white by default */
}

/* Green card variant (keeps your old look) */
.contact-card--green{
  border: none;
  color: #fff;
  background: linear-gradient(135deg,#2F7365 0%,#4A9B8C 100%);
  position: relative;
  overflow: hidden;
}
.contact-card--green::before{
  content:'';
  position:absolute; inset:-50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size:20px 20px;
  animation: rotate 60s linear infinite;
}

/* Tidy: remove old margin that pushed things down when stacked */
@media (min-width: 992px){
  .contact-info{ margin-bottom: 0; }
}

/* keep your existing .contact-item, .contact-details, .hours-row etc. */

/* Make the grid responsive: 1 col on mobile, 2 cols on laptops */
.contact-grid{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr; /* mobile stack */
  gap: 2rem;
}

@media (min-width: 992px){
  .contact-grid{
    grid-template-columns: 1fr 1fr; /* two columns on laptop+ */
    align-items: stretch;
  }
  .contact-info,
  .business-hours{
    margin-bottom: 0; /* remove bottom margin when side by side */
  }
}

/* Optional: make both boxes equal height */
@media (min-width: 992px){
  .contact-info,
  .business-hours{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

/* (unchanged – your existing styles below are fine) */
/* .contact, .contact-info, .contact-item, .contact-details, .business-hours, .hours-row ... */

/* Footer */
.footer {
  background: #1e293b;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 32px;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: #94a3b8;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-links a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #2F7365;
}

.footer-contact p {
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: #2F7365;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(47, 115, 101, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background: #26624f;
  transform: translateY(-2px);
}

.back-to-top.show {
  display: flex;
}

/* Progress Bars */
.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 2s ease-in-out;
}

.progress-95 { width: 95%; background: #06b6d4; }
.progress-88 { width: 88%; background: #16a34a; }

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

.rotating-element {
  animation: rotate 20s linear infinite;
}

.pulsing-element {
  animation: pulse 3s ease-in-out infinite;
}

/* Icons using CSS */
.icon-calculator::before { content: "🧮"; font-size: 2rem; }
.icon-chart::before { content: "📊"; font-size: 2rem; }
.icon-balance::before { content: "⚖️"; font-size: 2rem; }
.icon-invoice::before { content: "📄"; font-size: 2rem; }
.icon-coins::before { content: "🪙"; font-size: 2rem; }
.icon-search::before { content: "🔍"; font-size: 2rem; }
.icon-users::before { content: "👥"; font-size: 2rem; }
.icon-analytics::before { content: "📊"; font-size: 2rem; }
.icon-check::before { content: "✓"; color: #4ade80; font-weight: bold; }
.icon-email::before { content: "✉️"; font-size: 1.5rem; }
.icon-phone::before { content: "📞"; font-size: 1.5rem; }
.icon-clock::before { content: "🕐"; font-size: 1.25rem; }
.icon-handshake::before { content: "🤝"; font-size: 2rem; }
.icon-star::before { content: "⭐"; font-size: 1.5rem; }
.icon-award::before { content: "🏆"; font-size: 1.5rem; }
.icon-settings::before { content: "⚙️"; font-size: 1.5rem; }
.icon-heart::before { content: "❤️"; font-size: 1.5rem; }
.icon-building::before { content: "🏢"; font-size: 1.25rem; }
.icon-globe::before { content: "🌐"; font-size: 1.25rem; }
.icon-arrow-up::before { content: "↑"; font-size: 1.25rem; font-weight: bold; }

/* Utility Classes */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.primary-bg { background-color: #2F7365; }
.accent-bg { background-color: #06b6d4; }
.green-bg { background-color: #16a34a; }
.purple-bg { background-color: #a855f7; }
.red-bg { background-color: #ef4444; }
.indigo-bg { background-color: #6366f1; }

/* Mobile Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .hero > .container > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center;
  }

  .hero-visual {
    order: -1;
    max-width: 100% !important;
  }

  .hero h1 {
    font-size: 2.5rem !important;
  }

  .hero p {
    font-size: 1.125rem !important;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .special-cards {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
  }
}