/* ============================================================
   FABIO BÉRGAMO - FOTÓGRAFO | CSS Clone
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #252525;
  color: #ffffff;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

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

ul {
  list-style: none;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ---- HEADER ---- */
#mainHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.0);
  transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 0 30px;
}

#mainHeader.scrolled {
  background: rgba(20, 20, 20, 0.97);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: brightness(1);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  border-color: rgba(255,255,255,0.5);
  opacity: 1;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

/* ---- BANNER / HERO SLIDER ---- */
.banner-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.slide.active {
  opacity: 1;
}

.banner-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #ffffff;
}

.banner-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 10;
  transition: background 0.3s ease, border-color 0.3s ease;
  animation: bounce 2s infinite;
}

.banner-arrow:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- SECTION TITLES ---- */
.section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

/* ---- FEATURED / EM DESTAQUE ---- */
.featured-section {
  background: #1a1a1a;
  padding: 50px 0 0 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0;
  margin-top: 20px;
}

.featured-item {
  position: relative;
  overflow: hidden;
  display: block;
  height: 280px;
}

.featured-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

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

.featured-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px 24px;
  transition: background 0.3s ease;
}

.featured-item:hover .featured-overlay {
  background: rgba(0,0,0,0.5);
}

.featured-label {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-category {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---- NEWSLETTER ---- */
.newsletter-section {
  background: #1a1a1a;
  padding: 50px 20px;
  text-align: center;
}

.newsletter-title {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  border-right: none;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-input:focus {
  border-color: rgba(255,255,255,0.8);
}

.newsletter-btn {
  padding: 12px 24px;
  background: #c0392b;
  border: 1px solid #c0392b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.3s ease;
}

.newsletter-btn:hover {
  background: #a93226;
}

/* ---- FOOTER ---- */
.main-footer {
  background: #1a1a1a;
  padding: 50px 30px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* About column */
.about-content {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.about-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
}

.about-text {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* Facebook widget */
.facebook-widget {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.facebook-link {
  display: block;
  color: #333;
}

.facebook-preview {
  padding: 12px;
}

.facebook-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.facebook-icon {
  font-size: 28px;
  color: #1877f2;
}

.facebook-actions {
  display: flex;
  gap: 12px;
  color: #606770;
  font-size: 16px;
}

.facebook-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.facebook-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.facebook-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facebook-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.facebook-info strong {
  font-size: 15px;
  color: #1c1e21;
}

.facebook-info span {
  font-size: 12px;
  color: #606770;
}

.facebook-follow-btn {
  margin-top: 6px;
  padding: 6px 16px;
  background: #1877f2;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  width: fit-content;
}

/* Contact column */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.contact-list li i {
  margin-top: 3px;
  color: rgba(255,255,255,0.5);
  width: 14px;
  flex-shrink: 0;
}

.contact-list a {
  color: rgba(255,255,255,0.8);
}

.contact-list a:hover {
  color: #fff;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.15);
  opacity: 1;
}

.social-twitter { background: #1da1f2; }
.social-facebook { background: #1877f2; }
.social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-skype { background: #00aff0; }
.social-linkedin { background: #0077b5; }

/* Buttons */
.btn-outline {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  opacity: 1;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: #c0392b;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s ease;
  margin-top: 20px;
}

.btn-primary:hover {
  background: #a93226;
  opacity: 1;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  max-width: 1200px;
  margin: 0 auto;
}

.heart {
  color: #c0392b;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 80px;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.page-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 40px 60px;
}

.page-hero-content--center {
  align-items: center;
  justify-content: center;
}

.page-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-top: 8px;
}

.page-hero-right {
  text-align: right;
}

.fique-conectado {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.siga-redes {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}

.hero-social-icons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* ---- CONTACT FORM SECTION ---- */
.contact-form-section {
  background: #252525;
  padding: 60px 30px;
}

.contact-form-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-form-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}

.contact-form-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.6);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.btn-submit {
  padding: 12px 28px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.btn-submit:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.contact-side-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* ---- MAP SECTION ---- */
.map-section {
  background: #1a1a1a;
  padding: 50px 30px;
}

.map-divider {
  width: 80px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  margin: 0 auto 30px auto;
}

.map-container {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}

/* ---- INSTAGRAM SECTION ---- */
.instagram-section {
  background: #252525;
  padding: 50px 30px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-width: 1100px;
  margin: 20px auto 0 auto;
}

.instagram-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.instagram-item:hover img {
  transform: scale(1.08);
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  transition: background 0.3s ease;
  opacity: 0;
}

.instagram-item:hover .instagram-overlay {
  background: rgba(0,0,0,0.45);
  opacity: 1;
}

/* ---- SOBRE PAGE ---- */
.sobre-hero {
  height: 60vh;
  background-position: center top;
}

.sobre-section {
  background: #252525;
  padding: 60px 30px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.sobre-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 30px;
}

.sobre-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 2;
  text-align: left;
}

/* ---- 360 PAGE ---- */
.content-360-section {
  background: #252525;
  padding: 60px 30px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.content-360-text {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-tooltip {
  background: #fff;
  color: #333;
  border-radius: 8px;
  padding: 12px 16px;
  max-width: 220px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  position: relative;
  display: none;
}

.whatsapp-tooltip.show {
  display: block;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}

.whatsapp-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: #999;
  line-height: 1;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background: #1ebe5d;
  opacity: 1;
}

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: rgba(255,255,255,0.3);
  opacity: 1;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

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

  .featured-item {
    height: 200px;
  }

  .contact-form-inner {
    grid-template-columns: 1fr;
  }

  .contact-form-right {
    display: none;
  }

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

  .page-hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .page-hero-right {
    text-align: left;
  }

  .hero-social-icons {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .menu-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(20,20,20,0.98);
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-link {
    padding: 14px 16px;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
  }

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

  .page-hero-title {
    font-size: 32px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    border-right: 1px solid rgba(255,255,255,0.4);
    border-bottom: none;
  }

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

  .whatsapp-float {
    bottom: 20px;
    right: 16px;
  }

  .back-to-top {
    bottom: 90px;
    right: 16px;
  }
}
