/* ==========================================
   T COUNTERTOPS - STYLES
   Color Palette: Black, Orange, White, Dark Gray
   Mobile-first responsive design
   ========================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #E8811A;
  --orange-dark: #C96D10;
  --orange-light: #F5A623;
  --black: #111111;
  --dark-gray: #1A1A1A;
  --medium-gray: #2A2A2A;
  --light-gray: #F5F5F5;
  --text-gray: #888888;
  --white: #FFFFFF;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 129, 26, 0.4);
}

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

.btn--outline:hover {
  background: var(--white);
  color: var(--dark-gray);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* ---------- SECTION TITLES ---------- */
.section__title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--dark-gray);
}

.section__title--left {
  text-align: left;
}

.section__subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: all var(--transition);
  background: transparent;
}

.header--scrolled {
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(10px);
  padding: 8px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.header__nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(17, 17, 17, 0.98);
  backdrop-filter: blur(10px);
  padding: 20px;
  gap: 0;
}

.header__nav--open {
  display: flex;
}

.header__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition);
}

.header__link:last-child {
  border-bottom: none;
}

.header__link:hover {
  color: var(--orange);
}

.header__call-mobile {
  font-size: 0.8rem;
  padding: 8px 16px;
}

.header__cta {
  display: none;
}

.header__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

.header__menu-btn--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-btn--open span:nth-child(2) {
  opacity: 0;
}

.header__menu-btn--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(17,17,17,0.92) 0%, rgba(26,26,26,0.85) 50%, rgba(232,129,26,0.15) 100%);
  background-color: var(--black);
  padding: 100px 0 60px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,129,26,0.08) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero__logo {
  width: 160px;
  height: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 4px 20px rgba(232, 129, 26, 0.3));
}

.hero__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero__br {
  display: none;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__languages {
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* ---------- SERVICES ---------- */
.services {
  padding: 80px 0;
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,129,26,0.2);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  margin-bottom: 20px;
}

.service-card__title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--dark-gray);
}

.service-card__desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- WHY CHOOSE US ---------- */
.why-us {
  padding: 80px 0;
  background: var(--dark-gray);
}

.why-us .section__title {
  color: var(--white);
}

.why-us .section__subtitle {
  color: rgba(255,255,255,0.6);
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.why-us__item {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}

.why-us__item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(232,129,26,0.3);
  transform: translateY(-2px);
}

.why-us__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 12px;
}

.why-us__item h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 8px;
}

.why-us__item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 80px 0;
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 400px;
  margin: 0 auto;
}

.about__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about__content .section__title {
  margin-bottom: 4px;
}

.about__role {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--orange);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about__content p {
  color: #555;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about__quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dark-gray) !important;
  border-left: 4px solid var(--orange);
  padding-left: 20px;
  margin-top: 24px !important;
  font-weight: 500;
}

/* ---------- PROJECTS ---------- */
.projects {
  padding: 80px 0;
  background: var(--light-gray);
}

.projects__preview {
  text-align: center;
}

.projects__preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.projects__preview-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}

.projects__preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.projects__preview-item:hover img {
  transform: scale(1.05);
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 80px 0;
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
}

.contact__method h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--dark-gray);
}

.contact__method a {
  color: var(--orange);
  font-weight: 600;
  font-size: 1.05rem;
}

.contact__method a:hover {
  color: var(--orange-dark);
}

.contact__method p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-top: 2px;
}

.contact__languages {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__languages h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--dark-gray);
}

.contact__lang-list {
  color: var(--orange);
  font-weight: 600;
  font-size: 1rem;
}

.contact__socials h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.contact__social-links {
  display: flex;
  gap: 12px;
}

.contact__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  background: var(--light-gray);
  color: var(--dark-gray);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.contact__social-link:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- CONTACT FORM ---------- */
.contact__form-wrapper {
  background: var(--dark-gray);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-lg);
}

.contact__form h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 24px;
  text-align: center;
}

.form__group {
  margin-bottom: 18px;
}

.form__group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.12);
}

.form__group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__group select option {
  background: var(--dark-gray);
  color: var(--white);
}

.form__group textarea {
  resize: vertical;
  min-height: 100px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.contact__form .btn {
  margin-top: 8px;
}

/* ---------- SERVICE AREA ---------- */
.service-area {
  padding: 48px 0;
  background: var(--light-gray);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.service-area .section__title {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.service-area__text {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--black);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo {
  margin-bottom: 12px;
}

.footer__tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--orange);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer__area {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.footer__links h4,
.footer__contact-info h4,
.footer__social h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__links a,
.footer__contact-info a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer__links a:hover,
.footer__contact-info a:hover {
  color: var(--orange);
}

.footer__contact-info p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 4px;
}

.footer__social-links {
  display: flex;
  gap: 12px;
}

.footer__social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: all var(--transition);
}

.footer__social-links a:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

/* ---------- SCROLL REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE: TABLET (768px+) ---------- */
@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }

  .section__title {
    font-size: 2.4rem;
  }

  .hero__logo {
    width: 200px;
    margin-bottom: 32px;
  }

  .hero__title {
    font-size: 3.2rem;
  }

  .hero__br {
    display: block;
  }

  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
  }

  .about__image {
    max-width: 100%;
  }

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

  .contact__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

/* ---------- RESPONSIVE: DESKTOP (1024px+) ---------- */
@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    gap: 32px;
  }

  .header__link {
    padding: 0;
    border-bottom: none;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    position: relative;
  }

  .header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width var(--transition);
  }

  .header__link:hover {
    color: var(--white);
  }

  .header__link:hover::after {
    width: 100%;
  }

  .header__call-mobile {
    display: none;
  }

  .header__cta {
    display: inline-flex;
    font-size: 0.85rem;
    padding: 10px 22px;
  }

  .header__menu-btn {
    display: none;
  }

  .hero__logo {
    width: 240px;
    margin-bottom: 36px;
  }

  .hero__title {
    font-size: 3.8rem;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }

  .services {
    padding: 100px 0;
  }

  .why-us {
    padding: 100px 0;
  }

  .about {
    padding: 100px 0;
  }

  .projects {
    padding: 100px 0;
  }

  .contact {
    padding: 100px 0;
  }

  .contact__form-wrapper {
    padding: 44px 40px;
  }
}
