/* css/styles.css */
/* Base Styles */
:root {
--color-primary: hsl(30, 95%, 60%);
--color-primary-hover: hsl(30, 95%, 55%);
--color-primary-foreground: hsl(210, 40%, 98%);
--color-secondary: hsl(210, 40%, 96.1%);
--color-muted: hsl(210, 40%, 96.1%);
--color-muted-foreground: hsl(215.4, 16.3%, 46.9%);
--color-background: hsl(0, 0%, 100%);
--color-foreground: hsl(222.2, 84%, 4.9%);
--color-border: hsl(214.3, 31.8%, 91.4%);

--color-amber-500: #f59e0b;
--color-amber-600: #d97706;
--color-blue-500: #3b82f6;
--color-blue-600: #2563eb;
--color-blue-700: #1d4ed8;
--color-purple-500: #8b5cf6;
--color-purple-600: #7c3aed;
--color-green-500: #10b981;
--color-green-600: #059669;
--color-red-500: #ef4444;
--color-red-600: #dc2626;
--color-orange-500: #f97316;
--color-orange-600: #ea580c;

--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

--radius: 0.5rem;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
  "Helvetica Neue", sans-serif;
color: var(--color-foreground);
background-color: var(--color-background);
line-height: 1.5;
}

.container {
width: 100%;
max-width: 1400px;
margin: 0 auto;
padding: 0 1rem;
}

@media (min-width: 640px) {
.container {
  padding: 0 1.5rem;
}
}

@media (min-width: 1024px) {
.container {
  padding: 0 2rem;
}
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 700;
line-height: 1.2;
}

a {
color: inherit;
text-decoration: none;
}

/* Header/Navbar */
.header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 50;
transition: all 0.3s ease;
padding: 1.25rem 0;
background-color: transparent;
}

.header.scrolled {
background-color: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(8px);
box-shadow: var(--shadow-sm);
padding: 0.75rem 0;
}

.header .container {
display: flex;
align-items: center;
justify-content: space-between;
}

.logo {
font-size: 1.25rem;
font-weight: 700;
}

.desktop-nav {
display: none;
}

@media (min-width: 768px) {
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
}

.nav-link {
font-size: 0.875rem;
font-weight: 500;
transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
color: var(--color-primary);
}

.desktop-only {
display: none;
}

@media (min-width: 768px) {
.desktop-only {
  display: block;
}
}

.mobile-menu-btn {
display: flex;
align-items: center;
justify-content: center;
width: 2.5rem;
height: 2.5rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background-color: transparent;
cursor: pointer;
}

@media (min-width: 768px) {
.mobile-menu-btn {
  display: none;
}
}

/* Mobile Menu */
.mobile-menu {
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: 100%;
max-width: 300px;
background-color: white;
z-index: 100;
transform: translateX(100%);
transition: transform 0.3s ease;
box-shadow: var(--shadow-xl);
}

.mobile-menu.open {
transform: translateX(0);
}

.mobile-menu-container {
padding: 2rem 1.5rem;
}

.mobile-nav {
display: flex;
flex-direction: column;
gap: 1rem;
}

.mobile-nav-link {
font-size: 1.125rem;
font-weight: 500;
transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
color: var(--color-primary);
}

/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: var(--radius);
font-weight: 500;
padding: 0.5rem 1rem;
transition: all 0.3s ease;
cursor: pointer;
border: none;
font-size: 0.875rem;
}

.btn-lg {
padding: 0.75rem 1.5rem;
font-size: 1rem;
}

.btn-primary {
background-color: var(--color-primary);
color: var(--color-primary-foreground);
}

.btn-primary:hover {
background-color: var(--color-primary-hover);
}

.btn-outline {
background-color: transparent;
border: 2px solid var(--color-blue-500);
color: var(--color-blue-600);
}

.btn-outline:hover {
border-color: var(--color-blue-600);
color: var(--color-blue-700);
}

.btn-outline-white {
background-color: transparent;
border: 1px solid white;
color: white;
}

.btn-outline-white:hover {
background-color: white;
color: black;
}

.btn-whatsapp {
background-color: #25d366;
color: white;
display: flex;
align-items: center;
gap: 0.5rem;
}

.btn-whatsapp:hover {
background-color: #128c7e;
}

/* Hero Section */
.hero {
padding-top: 8rem;
padding-bottom: 5rem;
background: linear-gradient(to bottom, #fff8e6, white);
}

.hero-content {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 2rem;
}

@media (min-width: 768px) {
.hero-content {
  flex-direction: row;
  text-align: left;
  gap: 4rem;
  justify-content: space-between;
}
}

.hero-text {
flex: 1;
}

.hero-title {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
.hero-title {
  font-size: 3.75rem;
}
}

.hero-subtitle {
font-size: 1.25rem;
color: var(--color-muted-foreground);
margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
.hero-subtitle {
  font-size: 1.5rem;
}
}

.badge-container {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: 0.5rem;
justify-content: center;
}

@media (min-width: 768px) {
.badge-container {
  justify-content: flex-start;
}
}

.badge {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 9999px;
padding: 0.25rem 0.75rem;
font-size: 0.75rem;
font-weight: 500;
color: white;
}

.badge-amber {
background-color: var(--color-amber-500);
}

.badge-amber:hover {
background-color: var(--color-amber-600);
}

.badge-blue {
background-color: var(--color-blue-500);
}

.badge-blue:hover {
background-color: var(--color-blue-600);
}

.badge-purple {
background-color: var(--color-purple-500);
}

.badge-purple:hover {
background-color: var(--color-purple-600);
}

.badge-green {
background-color: var(--color-green-500);
}

.badge-green:hover {
background-color: var(--color-green-600);
}

.badge-red {
background-color: var(--color-red-500);
}

.badge-red:hover {
background-color: var(--color-red-600);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center !important;
}
@media (min-width: 768px) {
.hero-buttons {
  justify-content: flex-start;
}
}

.profile-container {
position: relative;
width: 16rem;
height: 16rem;
}

@media (min-width: 768px) {
.profile-container {
  width: 20rem;
  height: 20rem;
}
}

.profile-picture {
position: relative;
width: 100%;
height: 100%;
border-radius: 50%;
overflow: hidden;
border: 4px solid white;
box-shadow: var(--shadow-xl);
}

.profile-picture img {
width: 100%;
height: 100%;
object-fit: cover;
}

.profile-overlay {
position: absolute;
inset: 0;
background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), transparent);
}

/* Section Styles */
section {
padding: 4rem 0;
}

.section-header {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
margin-bottom: 3rem;
}

.section-icon {
color: var(--color-primary);
margin-bottom: 1rem;
}

.section-title {
font-size: 1.875rem;
font-weight: 700;
}

.section-divider {
width: 5rem;
height: 0.25rem;
background-color: var(--color-primary);
margin: 1rem 0;
}

.section-description {
max-width: 36rem;
margin: 0 auto;
color: var(--color-muted-foreground);
font-size: 1.125rem;
}

/* About Section */
.about {
background-color: white;
}

.about-content {
max-width: 48rem;
margin: 0 auto;
text-align: center;
}

.about-text {
color: var(--color-muted-foreground);
font-size: 1.125rem;
margin-bottom: 1.5rem;
}

/* Services Section */
.services {
background-color: var(--color-secondary);
}

.services-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}

@media (min-width: 640px) {
.services-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (min-width: 1024px) {
.services-grid {
  grid-template-columns: repeat(3, 1fr);
}
}

.service-card {
background-color: white;
border-radius: var(--radius);
overflow: hidden;
box-shadow: var(--shadow-lg);
padding: 1.5rem;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
transition: box-shadow 0.3s ease;
}

.service-card:hover {
box-shadow: var(--shadow-xl);
}

.service-icon {
margin-bottom: 1rem;
}

.service-icon-amber {
color: var(--color-amber-500);
}

.service-icon-blue {
color: var(--color-blue-500);
}

.service-icon-purple {
color: var(--color-purple-500);
}

.service-icon-green {
color: var(--color-green-500);
}

.service-icon-red {
color: var(--color-red-500);
}

.service-icon-orange {
color: var(--color-orange-500);
}

.service-title {
font-size: 1.25rem;
margin-bottom: 0.5rem;
}

.service-description {
color: var(--color-muted-foreground);
}

/* Portfolio Section */
.portfolio {
background-color: white;
}

.portfolio-tabs {
max-width: 64rem;
margin: 0 auto;
}

.tabs-list {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 0.5rem;
margin-bottom: 2rem;
}

.tab-trigger {
padding: 0.75rem;
background-color: transparent;
border: none;
border-bottom: 2px solid var(--color-border);
cursor: pointer;
font-weight: 500;
transition: all 0.2s ease;
}

.tab-trigger:hover,
.tab-trigger.active {
color: var(--color-primary);
border-bottom-color: var(--color-primary);
}

.tab-content {
display: none;
}

.tab-content.active {
display: block;
}

.portfolio-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}

@media (min-width: 640px) {
.portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (min-width: 1024px) {
.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}
}

.portfolio-item {
position: relative;
border-radius: var(--radius);
overflow: hidden;
height: 16rem;
}

.portfolio-image {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
transform: scale(1.1);
}

.portfolio-overlay {
position: absolute;
inset: 0;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
opacity: 1;
}

.portfolio-info {
text-align: center;
padding: 1rem;
}

.portfolio-title {
color: white;
font-size: 1.25rem;
margin-bottom: 0.5rem;
}

.portfolio-category {
color: rgba(255, 255, 255, 0.8);
margin-bottom: 1rem;
}

/* Contact Section */
.contact {
background-color: var(--color-secondary);
}

.contact-page {
padding-top: 8rem;
padding-bottom: 4rem;
background: linear-gradient(to bottom, #fff8e6, white);
}

.contact-form-container {
max-width: 48rem;
margin: 0 auto;
}

.contact-form {
display: flex;
flex-direction: column;
gap: 1.5rem;
}

.form-row {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}

@media (min-width: 768px) {
.form-row {
  grid-template-columns: repeat(2, 1fr);
}
}

.form-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.form-label {
font-size: 0.875rem;
font-weight: 500;
}

.form-input,
.form-textarea {
width: 100%;
padding: 0.5rem 0.75rem;
border: 1px solid #d1d5db;
border-radius: var(--radius);
font-family: inherit;
font-size: 1rem;
}

.form-textarea {
resize: vertical;
}

.form-submit-btn {
width: 100%;
}

.whatsapp-contact {
margin-top: 3rem;
text-align: center;
}

.whatsapp-text {
color: var(--color-muted-foreground);
margin-bottom: 1rem;
}

/* Rates Page */
.rates-page {
padding-top: 8rem;
padding-bottom: 4rem;
background: linear-gradient(to bottom, #fff8e6, white);
}

.rates-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
max-width: 72rem;
margin: 0 auto;
}

@media (min-width: 640px) {
.rates-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (min-width: 1024px) {
.rates-grid {
  grid-template-columns: repeat(3, 1fr);
}
}

.rate-card {
border: 2px solid #fde68a;
border-radius: var(--radius);
overflow: hidden;
background-color: white;
transition: border-color 0.3s ease;
}

.rate-card:hover {
border-color: var(--color-primary);
}

.rate-card-header {
text-align: center;
padding: 1.5rem 1rem 0.5rem;
}

.rate-card-title {
font-size: 1.25rem;
margin-bottom: 0.25rem;
}

.rate-card-subtitle {
color: var(--color-muted-foreground);
font-size: 0.875rem;
}

.rate-card-price {
display: flex;
justify-content: center;
align-items: baseline;
margin: 1rem 0;
}

.price-amount {
font-size: 2.5rem;
font-weight: 700;
}

.price-range {
color: var(--color-muted-foreground);
margin-left: 0.25rem;
}

.rate-card-features {
padding: 0 1.5rem;
list-style: none;
margin-bottom: 1.5rem;
}

.rate-feature {
display: flex;
align-items: flex-start;
margin-bottom: 0.5rem;
}

.feature-icon {
color: #10b981;
margin-right: 0.5rem;
margin-top: 0.125rem;
flex-shrink: 0;
}

.rate-card-footer {
padding: 1.5rem;
}

.custom-pricing {
margin-top: 4rem;
text-align: center;
max-width: 48rem;
margin-left: auto;
margin-right: auto;
}

.custom-pricing-title {
font-size: 1.5rem;
margin-bottom: 1rem;
}

.custom-pricing-text {
color: var(--color-muted-foreground);
margin-bottom: 1.5rem;
}

/* Dialog */
.dialog-overlay {
position: fixed;
inset: 0;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}

.dialog-overlay.open {
opacity: 1;
pointer-events: auto;
}

.dialog {
background-color: white;
border-radius: var(--radius);
box-shadow: var(--shadow-xl);
width: 100%;
max-width: 28rem;
padding: 1.5rem;
}

.dialog-header {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}

.dialog-icon {
color: #10b981;
margin-bottom: 0.5rem;
}

.dialog-title {
font-size: 1.25rem;
margin-bottom: 0.5rem;
}

.dialog-description {
color: var(--color-muted-foreground);
margin-top: 0.5rem;
}

.dialog-footer {
display: flex;
justify-content: center;
margin-top: 1rem;
}

/* Footer */
.footer {
background-color: #1e293b;
color: white;
padding: 3rem 0;
}

.footer-content {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}

.footer-title {
font-size: 1.5rem;
margin-bottom: 1rem;
}

.footer-subtitle {
color: #94a3b8;
max-width: 36rem;
margin: 0 auto 1.5rem;
}

.social-links {
display: flex;
gap: 1rem;
margin-bottom: 2rem;
}

.social-link {
display: flex;
align-items: center;
justify-content: center;
width: 2.5rem;
height: 2.5rem;
border-radius: 9999px;
background-color: rgba(255, 255, 255, 0.1);
transition: background-color 0.3s ease;
}

.social-link:hover {
background-color: var(--color-primary);
}

.social-link-whatsapp:hover {
background-color: #25d366;
}

.footer-cta {
margin-bottom: 2rem;
}

.copyright {
color: #94a3b8;
font-size: 0.875rem;
}

/* Floating Hire Button */
.floating-hire-button {
position: fixed;
bottom: 2rem;
right: 2rem;
z-index: 40;
box-shadow: 0 4px 14px rgba(59, 130, 246, 0.5);
}

.floating-hire-button:hover {
transform: scale(1.05);
box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

/* Animations */
@keyframes pulse-button {
0% {
  transform: scale(1);
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
}
70% {
  transform: scale(1.05);
  box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
}
100% {
  transform: scale(1);
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
}
}

@keyframes float {
0% {
  transform: translateY(0px);
}
50% {
  transform: translateY(-6px);
}
100% {
  transform: translateY(0px);
}
}

@keyframes shimmer {
0% {
  background-position: -100% 0;
}
100% {
  background-position: 200% 0;
}
}

@keyframes glow {
0%,
100% {
  box-shadow: 0 0 5px rgba(59, 130, 246, 0.6), 0 0 10px rgba(59, 130, 246, 0.4);
}
50% {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(59, 130, 246, 0.6);
}
}

@keyframes pulse-glow {
0% {
  box-shadow: 0 0 5px 0 rgba(59, 130, 246, 0.4);
}
50% {
  box-shadow: 0 0 20px 10px rgba(59, 130, 246, 0.7);
}
100% {
  box-shadow: 0 0 5px 0 rgba(59, 130, 246, 0.4);
}
}

@keyframes rotate-gradient {
0% {
  transform: rotate(0deg);
}
100% {
  transform: rotate(360deg);
}
}

.animate-pulse-button {
animation: pulse-button 2s infinite;
position: relative;
overflow: hidden;
}

.animate-float {
animation: float 3s ease-in-out infinite;
position: relative;
overflow: hidden;
}

.animate-shimmer {
background: linear-gradient(
  90deg,
  rgba(255, 255, 255, 0) 0%,
  rgba(255, 255, 255, 0.2) 25%,
  rgba(255, 255, 255, 0.2) 50%,
  rgba(255, 255, 255, 0) 100%
);
background-size: 200% 100%;
animation: shimmer 3s infinite;
}

.animate-glow {
animation: glow 3s infinite;
position: relative;
overflow: hidden;
}

.animate-profile-picture {
animation: pulse-glow 3s infinite;
position: relative;
}

.animate-gradient-rotation {
animation: rotate-gradient 8s linear infinite;
}

.btn-attention {
position: relative;
overflow: hidden;
transition: all 0.3s ease;
}

.btn-attention:hover {
transform: translateY(-3px);
box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn-attention::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
  90deg,
  rgba(255, 255, 255, 0) 0%,
  rgba(255, 255, 255, 0.2) 50%,
  rgba(255, 255, 255, 0) 100%
);
transform: translateX(-100%);
}

.btn-attention:hover::after {
transform: translateX(100%);
transition: transform 0.6s ease;
}

.mr-2 {
margin-right: 0.5rem;
}


/* Always center badges regardless of screen size */
.badge-container {
  justify-content: center !important;
}

/* Override the media query that might be setting it to flex-start */
@media (min-width: 768px) {
  .badge-container {
    justify-content: center !important;
  }
}
.btn-blue {
  background-color: #3b82f6 !important; /* Blue-500 */
  color: white !important;
  border-color: #3b82f6 !important;
}

.btn-blue:hover {
  background-color: #2563eb !important; /* Blue-600 */
  border-color: #2563eb !important;
}