@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: #ffffff;
  --primary-dark: #f5f5f5;
  --secondary-color: #e0e0e0;
  --text-dark: #000000;
  --text-light: #666666;
  --white: #ffffff;
  --light-bg: #f9f9f9;
  --border-color: #e0e0e0;
  --success: #10b981;
  --danger: #ef4444;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul, li {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============= NAVIGATION ============= */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  z-index: 999;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.nav__logo a {
  font-size: clamp(1rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition);
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__logo a:hover {
  color: #333333;
}

.nav__menu-btn {
  display: flex;
  background: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
}

.nav__menu-btn:hover {
  color: #333333;
}

.nav__links {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav__links.open {
  display: flex;
}

.nav__links li a {
  padding: 1rem 1.5rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  border-radius: 0;
  position: relative;
  display: block;
}

.nav__links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: var(--text-dark);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav__links li a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.nav__links li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  background: linear-gradient(135deg, #000000, #333333);
  color: white !important;
  padding: 0.7rem 1.5rem !important;
  border-radius: 8px;
  margin: 0.5rem 1.5rem !important;
}

.nav__cta::after {
  display: none;
}

.nav__cta:hover {
  background: linear-gradient(135deg, #333333, #555555);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (width > 768px) {
  .nav__menu-btn {
    display: none;
  }

  .nav__links {
    display: flex !important;
    position: static;
    gap: 0.5rem;
    flex-direction: row;
    align-items: center;
    background: none;
    backdrop-filter: none;
    padding: 0;
    box-shadow: none;
    border-top: none;
  }

  .nav__links li a {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
  }

  .nav__links li a::after {
    left: 1.2rem;
    right: 1.2rem;
  }

  .nav__cta {
    margin-left: 0.5rem !important;
    margin: 0 !important;
  }
}

@media (width <= 768px) {
  header {
    flex-direction: column;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============= HEADER/HERO ============= */
/* header {
  margin-top: 25px;
  padding: 2rem 1rem;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
} */
header {
    padding: 2rem 1rem;
    min-height: 100vh; /* IMPORTANT */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.header__content {
  
  /* animation: slideInLeft 0.8s ease;  */
  text-align: center;
  max-width: 100%;
  width: 100%;
}

.header__subtitle {
  font-size: clamp(0.75rem, 2vw, 1rem);
  font-weight: 600;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  padding: 0;
}

.header__title {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.header__description {
  align-items: center;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.header__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
  width: 100%;
}

.header__image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 0.8s ease, float 3s ease-in-out infinite;
  background-image: url('assets/wavy-logo.png');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  width: 100%;
  height: 250px;
  max-width: 400px;
}

.hero-shape {
  width: 100%;
  height: 100%;
  max-width: 250px;
  max-height: 250px;
  border-radius: 20px;
  animation: float 3s ease-in-out infinite;
}

@media (width > 768px) {
  header {
    margin-top: 70px;
    padding: 2rem 1.5rem 5rem;
    min-height: 70vh;
    flex-direction: row;
    gap: 3rem;
  }

  .header__title {
    font-size: 4rem;
  }

  .header__buttons {
    flex-direction: row;
  }

  .header__image {
    height: auto;
    min-height: 300px;
    width: auto;
    flex: 1;
  }

  .hero-shape {
    width: 250px;
    height: 250px;
    max-width: 100%;
    max-height: 100%;
  }
}

@media (width > 1200px) {
  .header__title {
    font-size: 4.5rem;
  }
}

/* ============= BUTTONS ============= */
.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  width: 100%;
  max-width: 300px;
}

.btn-primary {
  background-color: #000000;
  color: var(--white);
}

.btn-primary:hover {
  background-color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
}

.btn-secondary:hover {
  background-color: #000000;
  color: var(--white);
}

@media (width > 768px) {
  .btn {
    width: fit-content;
    max-width: none;
    padding: 1rem 2rem;
  }
}

/* ============= SECTIONS ============= */
section {
  padding: 3rem 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

@media (width > 768px) {
  section {
    padding: 5rem 1.5rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .section-subtitle {
    margin-bottom: 3rem;
  }
}

@media (width > 1200px) {
  .section-title {
    font-size: 3.2rem;
  }
}

/* ============= SERVICES ============= */
.services {
  background-color: var(--light-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
}

.service-card h3 {
  font-size: clamp(1rem, 3vw, 1.3rem);
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

@media (width > 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .service-card {
    padding: 2rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
  }

  .service-card h3 {
    margin-bottom: 1rem;
  }

  .service-card p {
    line-height: 1.7;
  }
}

@media (width > 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============= ABOUT ============= */
.about {
  background-color: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.about__image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 0.8s ease, float 3s ease-in-out infinite;
  background-image: url('assets/davidnobackground.PNG');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  width: 100%;
  height: 300px;
  max-height: 400px;
  min-height: 250px;
}

.about-shape {
  width: 100%;
  height: 100%;
  max-width: 500px;
  max-height: 500px;
  border-radius: 20px;
  opacity: 0.9;
  animation: float 3s ease-in-out infinite;
}

.about__content h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.about__content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.about-list {
  margin-bottom: 1.5rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  color: var(--text-dark);
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.about-list i {
  color: var(--success);
  font-size: 1.3rem;
  flex-shrink: 0;
}

@media (width > 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .about__image {
    width: 100%;
    height: 400px;
  }

  .about-shape {
    width: 400px;
    height: 400px;
  }

  .about__content p {
    margin-bottom: 2rem;
  }

  .about-list {
    margin-bottom: 2rem;
  }
}

/* ============= PORTFOLIO ============= */
.portfolio {
  background-color: var(--light-bg);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.portfolio-item {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image,
.portfolio-image2,
.portfolio-image3 {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.portfolio-image {
  background-image: url('assets/AYE.png');
}

.portfolio-image2 {
  background-image: url('assets/ROSA.png');
}

.portfolio-image3 {
  background-image: url('assets/KABUSA.png');
}

.portfolio-shape {
  width: 100%;
  height: 100%;
}

.portfolio-item h3 {
  padding: 1rem 1rem 0.5rem;
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--text-dark);
  font-weight: 600;
}

.portfolio-item p {
  padding: 0 1rem 1rem;
  color: var(--text-light);
  font-size: clamp(0.85rem, 2vw, 0.9rem);
}

@media (width > 768px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .portfolio-image,
  .portfolio-image2,
  .portfolio-image3 {
    height: 220px;
  }

  .portfolio-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
  }

  .portfolio-item p {
    padding: 0 1.5rem 1.5rem;
  }
}

@media (width > 1024px) {
  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============= CONTACT ============= */
.contact {
  background-color: var(--white);
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-item {
  
  /* display: flex; */
  gap: 1rem;
}

.contact-item i {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.contact-item p {
  color: #000;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  line-height: 1.5;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.contact__form button {
  margin-top: 0.5rem;
  width: 100%;
  max-width: 100%;
}

.form-message {
  text-align: center;
  font-weight: 500;
  min-height: 1.5rem;
  grid-column: 1 / -1;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--danger);
}

@media (width > 768px) {
  .contact__wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .contact__info {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .contact__form {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .form-group:nth-child(3) {
    grid-column: 1 / -1;
  }

  .form-group:nth-child(4) {
    grid-column: 1 / -1;
  }

  .contact__form button {
    grid-column: 1 / -1;
    width: fit-content;
    max-width: none;
  }
}

/* ============= FOOTER ============= */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 2rem 1rem 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 0.75rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.footer-column ul {
  display: grid;
  gap: 0.5rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.footer-column a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
}

.footer__bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

@media (width > 768px) {
  footer {
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer__content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-column h3,
  .footer-column h4 {
    margin-bottom: 1rem;
  }

  .footer-column p {
    font-size: 0.95rem;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .footer__bottom {
    padding-top: 2rem;
    font-size: 0.9rem;
  }
}

/* ============= ANIMATIONS ============= */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ============= RESPONSIVE REFINEMENTS ============= */
@media (width > 1200px) {
  .container {
    padding: 0 3rem;
  }
}
