/* #########################################################################
#
#  AMDIGITAL.CSS
#  Version 2.0
#
######################################################################### */

/* #########################################################################
#
#  00 · VARIABLES
#
######################################################################### */

:root {
  --am-font: "Manrope",sans-serif;
  --am-primary: #00B5D6;
  --am-secondary: #FF8C00;
  --am-secondary-light: #FFB347;
  --am-dark: #181B1F;
  --am-dark-2: #23262B;
  --am-text: #3A3A3A;
  --am-border: #ECECEC;
  --am-white: #FFFFFF;
  --accent-photography: #FF8C00;
  --accent-catalogs: #58B957;
  --accent-applications: #1E88E5;
  --accent-3d: #7C3AED;
  --accent-santisima: #8B5A2B;
  --page-accent: var(--accent-photography);
  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 28px;
  --shadow-large: 0 20px 40px rgba(0,0,0,.35);
  --transition: .30s ease;
}

/* #########################################################################
#
#  01 · GLOBAL
#
######################################################################### */

/* ==========================================================
   BODY
========================================================== */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--am-white);
  color: var(--am-text);
  font-family: var(--am-font);
  font-weight: 400;
  line-height: 1.6;
}

/* ==========================================================
   LINKS
========================================================== */

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

a:hover {
  text-decoration: none;
}

/* ==========================================================
   IMAGES
========================================================== */

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

/* ==========================================================
   BUTTONS
========================================================== */

.btn {
  transition: var(--transition);
}

/* ==========================================================
   FORMS
========================================================== */

.form-control {
  background: #F4F4F4;
  border: 1px solid #D9D9D9;
  border-radius: .30rem;
  color: #222;
  padding: .75rem .95rem;
  font-size: .90rem;
}

.form-control::placeholder {
  color: #7D7D7D;
}

.form-control:focus {
  background: #fff;
  border-color: var(--am-primary);
  box-shadow: none;
}

/* ==========================================================
   SECTIONS
========================================================== */

section {
  position: relative;
}

/* ==========================================================
   CONTAINERS
========================================================== */

.container {
  position: relative;
}

/* #########################################################################
#
#  02 · NAVBAR
#
######################################################################### */

/* ==========================================================
   LAYOUT
========================================================== */

.navbar-am {
  min-height: 90px;
  background: var(--am-white);
  border-bottom: 1px solid var(--am-border);
}

/* ==========================================================
   LOGO
========================================================== */

.navbar-logo {
  width: auto;
  height: 44px;
}

/* ==========================================================
   NAVIGATION
========================================================== */

.navbar-nav {
  gap: .35rem;
}

.nav-link {
  padding: .60rem .65rem !important;
  color: var(--am-text) !important;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--am-primary) !important;
}

.nav-link.active {
  color: var(--am-primary) !important;
}

/* ==========================================================
   LANGUAGE SELECTOR
========================================================== */

.language-selector {
  margin-left: .8rem;
  font-size: 14px;
  font-weight: 500;
}

/* ==========================================================
   DROPDOWN
========================================================== */

.dropdown-menu {
  border: 1px solid #E6E6E6;
  border-radius: .35rem;
  overflow: hidden;
  font-size: 14px;
}

.dropdown-item {
  transition: background-color var(--transition), color var(--transition);
}

.dropdown-item:hover {
  color: var(--am-primary);
}

/* #########################################################################
#
#  03 · CONTACT
#
######################################################################### */

/* ==========================================================
   SECTION
========================================================== */

.contact-section {
  background: transparent;
  padding: 2rem 0 0;
}

/* ==========================================================
   CARD
========================================================== */

.contact-card {
  background: var(--am-dark);
  border-radius: var(--radius-medium) var(--radius-medium) 0 0;
  overflow: hidden;
}

/* ==========================================================
   CONTENT
========================================================== */

.contact-content {
  padding: 4rem 4.5rem 2rem;
}

/* ==========================================================
   ICON
========================================================== */

.contact-icon {
  font-size: 5rem;
  color: var(--am-secondary);
  line-height: 1;
}

/* ==========================================================
   TITLES
========================================================== */

.contact-title {
  display: inline-block;
  margin-bottom: .65rem;
  padding-bottom: .20rem;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--am-white);
  border-bottom: 2px solid var(--am-secondary);
}

/* ==========================================================
   TEXT
========================================================== */

.contact-text {
  margin-bottom: .8rem;
  font-size: .85rem;
  font-weight: 300;
  line-height: 1.6;
  color: #C5C5C5;
}

.contact-location {
  font-size: .90rem;
  color: var(--am-white);
}

/* ==========================================================
   BUTTON
========================================================== */

.contact-btn {
  min-width: 150px;
  padding: .55rem 1.4rem;
  margin-bottom: 1rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
}

/* #########################################################################
#
#  04 · FOOTER
#
######################################################################### */

/* ==========================================================
   SECTION
========================================================== */

.footer {
  background: transparent;
  margin: 0;
  padding: 0 0 32px;
}

/* ==========================================================
   CONTAINER
========================================================== */

.footer .container {
  padding-left: 12px;
  padding-right: 12px;
}

/* ==========================================================
   CARD
========================================================== */

.footer-card {
  background: var(--am-dark);
  border-radius: 0 0 var(--radius-large) var(--radius-large);
  overflow: hidden;
  padding: 20px 32px;
}

/* ==========================================================
   DIVIDER
========================================================== */

.footer-divider {
  width: 42%;
  height: 2px;
  margin: 0 auto 1.35rem;
  background: linear-gradient( 90deg, transparent 0%, rgba(255,255,255,0) 8%, rgba(255,255,255,.18) 20%, rgba(255,255,255,.55) 50%, rgba(255,255,255,.18) 80%, rgba(255,255,255,0) 92%, transparent 100% );
}

/* ==========================================================
   SIGNATURE
========================================================== */

.footer-signature {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 280px;
}

/* ==========================================================
   TEXT
========================================================== */

.footer-title {
  color: var(--am-white);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.footer-date {
  margin-top: .10rem;
  color: #9DA3A9;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

/* #########################################################################
#
#  05 · PAGE SYSTEM
#
######################################################################### */

/* ==========================================================
   PAGE HEADER SECTION
========================================================== */

.page-header-section {
  background: var(--am-white);
  padding: 2rem 0 0;
  margin: 0;
}

/* ==========================================================
   PAGE HEADER
========================================================== */

.page-header {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 80px 56px 24px;
  overflow: hidden;
  border-radius: var(--radius-medium) var(--radius-medium) 0 0;
  background: #000;
}

/* ==========================================================
   OVERLAY
========================================================== */

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient( 90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.18) 75%, rgba(0,0,0,0) 100% );
}

/* ==========================================================
   CONTENT
========================================================== */

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 1rem 0;
}

/* ==========================================================
   CATEGORY
========================================================== */

.page-header-category {
  display: block;
  margin-bottom: 14px;
  color: #D7D7D7;
  font-size: .90rem;
  letter-spacing: .25em;
  text-transform: uppercase;
}

/* ==========================================================
   TITLE
========================================================== */

.page-header-title {
  margin: 0;
  color: #FFFFFF;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.05;
}

/* ==========================================================
   ACCENT LINE
========================================================== */

.page-header-line {
  width: 90px;
  height: 3px;
  margin: 22px 0;
  background: var(--page-accent);
}

/* ==========================================================
   TEXT
========================================================== */

.page-header-text {
  margin-bottom: 2rem;
  color: #E2E2E2;
  font-size: 1rem;
  line-height: 1.8;
}

/* ==========================================================
   BUTTON
========================================================== */

.page-header-button {
  min-width: 180px;
}

/* ##########################################################
#
#  PAGE ACCENT COLOURS
#
########################################################## */

.page-photography {
  --page-accent: var(--accent-photography);
}

.page-catalogs {
  --page-accent: var(--accent-catalogs);
}

.page-applications {
  --page-accent: var(--accent-applications);
}

.page-3d {
  --page-accent: var(--accent-3d);
}

.page-projects {
  --page-accent: var(--accent-projects);
}

/* ##########################################################
#
#  PAGE HEADER IMAGES
#
########################################################## */

.photo-header {
  background: url("../img/gallery/hero.jpg") center/cover no-repeat;
}

.catalog-header {
  background: url("../img/catalogs/hero.jpg") center/cover no-repeat;
}

.applications-header {
  background: url("../img/applications/hero.jpg") center/cover no-repeat;
}

.viewer-header {
  background: url("../img/3d/hero.jpg") center/cover no-repeat;
}

.projects-header {
  background: url("../img/projects/hero.jpg") center/cover no-repeat;
}

/* #########################################################################
#
#  06 · PAGE CONTENT
#
######################################################################### */

/* ==========================================================
   PAGE CONTENT SECTION
========================================================== */

.page-content-section {
  background: var(--am-white);
  margin: 0;
  padding: 0;
}

/* ==========================================================
   PAGE CONTENT
========================================================== */

.page-content {
  background: var(--am-dark);
  padding: 48px 32px;
}

/* ==========================================================
   PAGE CARD
========================================================== */

.page-card {
  background: var(--am-dark-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.page-card:hover {
  transform: translateY(-6px);
  border-color: var(--page-accent);
  box-shadow: var(--shadow-large);
}

/* #########################################################################
#
#  07 · PHOTOGRAPHY
#
######################################################################### */

/* ==========================================================
   GRID
========================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}

/* ==========================================================
   ITEM
========================================================== */

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-small);
  background: #000;
}

/* ==========================================================
   IMAGE
========================================================== */

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

/* ==========================================================
   PANORAMA
========================================================== */

.gallery-panorama {
  grid-column: 1 / -1;
}

.gallery-panorama img {
  aspect-ratio: 21 / 8;
}

/* ==========================================================
   BAGUETTEBOX
========================================================== */

#baguetteBox-overlay {
  background: rgba(0,0,0,.96);
}

/* #########################################################################
#
#  08 · CATALOGS
#
######################################################################### */

/* ==========================================================
   CARD
========================================================== */

.catalog-card {
  height: 100%;
}

.catalog-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* ==========================================================
   IMAGE
========================================================== */

.catalog-card img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #000;
  transition: var(--transition);
}

.catalog-card:hover img {
  transform: scale(1.03);
}

/* ==========================================================
   INFO
========================================================== */

.catalog-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 24px;
}

.catalog-info h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 600;
}

.catalog-info p {
  margin: 0;
  color: #c6c6c6;
}

/* ==========================================================
   ARROW
========================================================== */

.catalog-arrow {
  color: var(--page-accent);
  font-size: 1.45rem;
  transition: var(--transition);
}

.catalog-card:hover .catalog-arrow {
  transform: translateX(6px);
}

/* #########################################################################
#
#  09 · APPLICATIONS
#
######################################################################### */

/* ==========================================================
   IMAGE
========================================================== */

.project-image {
  height: 100%;
}

.project-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

/* ==========================================================
   CONTENT
========================================================== */

.project-content {
  padding: 36px;
}

.project-category {
  display: block;
  margin-bottom: 12px;
  color: var(--page-accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-content h2 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 300;
}

.project-content p {
  margin-bottom: 22px;
  color: #c7c7c7;
  line-height: 1.8;
}

/* ==========================================================
   TAGS
========================================================== */

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.project-tags span {
  padding: 8px 14px;
  border-radius: 30px;
  background: rgba(255,255,255,.06);
  color: #d9d9d9;
  font-size: .82rem;
}

/* ==========================================================
   BUTTON
========================================================== */

.project-button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--page-accent);
  color: #ffffff;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: var(--transition);
}

.project-button:hover {
  opacity: .90;
}

/* #########################################################################
#
#  10 · 3D OBJECTS
#
######################################################################### */

/* ==========================================================
   HEADER NOTE
========================================================== */

.page-header-note {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.75rem;
  padding: .7rem 1rem;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #E4E4E4;
  font-size: .90rem;
  font-weight: 300;
}

.page-header-note i {
  color: var(--page-accent);
  font-size: 1rem;
}

.page-header-note strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* ==========================================================
   CARD
========================================================== */

.object-card {
  height: 100%;
}

/* ==========================================================
   IMAGE
========================================================== */

.object-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
}

/* ==========================================================
   CONTENT
========================================================== */

.object-info {
  padding: 24px;
}

/* ==========================================================
   LABEL
========================================================== */

.object-label {
  display: block;
  margin-bottom: 4px;
  color: var(--page-accent);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
}

/* ==========================================================
   TITLE
========================================================== */

.object-info h3 {
  margin-bottom: 18px;
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 500;
}

/* ==========================================================
   TEXT
========================================================== */

.object-info p {
  margin-bottom: 22px;
  color: #C6C6C6;
}

/* ==========================================================
   BUTTONS
========================================================== */

.object-buttons {
  display: flex;
  gap: 12px;
}

/* ==========================================================
   BUTTON
========================================================== */

.object-btn {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  padding: 11px 0;
  border-radius: 8px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  transition: var(--transition);
}

/* ==========================================================
   PRIMARY
========================================================== */

.object-btn-primary {
  background: var(--page-accent);
  color: #FFFFFF;
}

.object-btn-primary:hover {
  opacity: .90;
  color: #FFFFFF;
}

/* ==========================================================
   SECONDARY
========================================================== */

.object-btn-secondary {
  border: 1px solid var(--page-accent);
  color: var(--page-accent);
}

.object-btn-secondary:hover {
  background: var(--page-accent);
  color: #FFFFFF;
}

/* #########################################################################
#
#  11 · SPECIAL PROJECTS
#
######################################################################### */

/* ==========================================================
   PAGE COLOUR
========================================================== */

.page-projects {
  --page-accent: var(--accent-santisima);
}

/* ==========================================================
   CARD
========================================================== */

.st-card {
  background: var(--am-dark-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 56px;
  margin-bottom: 50px;
  overflow: hidden;
  transition: var(--transition);
}

.st-card:last-child {
  margin-bottom: 0;
}

.st-card:hover {
  border-color: var(--page-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-large);
}

/* ==========================================================
   ROW
========================================================== */

.st-row {
  align-items: center;
  --bs-gutter-x: 3.5rem;
}

/* ==========================================================
   LEFT / RIGHT
========================================================== */

.st-left, .st-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================
   CATEGORY
========================================================== */

.st-category {
  display: block;
  margin-bottom: 14px;
  color: var(--page-accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ==========================================================
   TITLE
========================================================== */

.st-title {
  margin: 0 0 28px;
  color: #FFFFFF;
  font-size: 2.35rem;
  font-weight: 300;
  line-height: 1.15;
}

/* ==========================================================
   TEXT
========================================================== */

.st-text {
  color: #C8C8C8;
  font-size: 1rem;
  line-height: 2;
}

.st-text p {
  margin-bottom: 24px;
}

.st-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   IMAGE
========================================================== */

.st-image {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 12px;
  background: #16181C;
}

/* ==========================================================
   IMAGE PLACEHOLDER
========================================================== */

.st-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 430px;
  border: 2px dashed rgba(255,255,255,.10);
  border-radius: 12px;
  background: #1B1E22;
  color: #6D6D6D;
  font-size: .95rem;
}

/* ==========================================================
   CAROUSEL
========================================================== */

.st-carousel {
  border-radius: 12px;
  overflow: hidden;
}

.st-carousel img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

/* ==========================================================
   GALLERY
========================================================== */

.st-gallery {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.st-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  transition: var(--transition);
}

.st-gallery img:hover {
  transform: scale(1.03);
}

/* ==========================================================
   DIVIDER
========================================================== */

.st-divider {
  width: 80px;
  height: 3px;
  margin: 22px 0 34px;
  background: var(--page-accent);
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:991px) {
  .st-card {
    padding: 38px;
  }
}

@media (max-width:991px) {
  .st-row {
    row-gap: 36px;
  }
}

@media (max-width:991px) {
  .st-title {
    font-size: 2rem;
  }
}

@media (max-width:991px) {
  .st-image, .st-placeholder, .st-carousel img {
    height: 340px;
  }
}

@media (max-width:991px) {
  .st-gallery {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:576px) {
  .st-card {
    padding: 26px;
    margin-bottom: 28px;
  }
}

@media (max-width:576px) {
  .st-title {
    font-size: 1.75rem;
  }
}

@media (max-width:576px) {
  .st-gallery {
    grid-template-columns: 1fr;
  }
}

/* #########################################################################
#
#  90 · RESPONSIVE
#
######################################################################### */

/* ========================================================================
   XXL ( ≥ 1400px )
======================================================================== */

/* Solo si es necesario */

/* ========================================================================
   XL (1200px - 1399px)
======================================================================== */

/* Solo si es necesario */

/* ========================================================================
   LG (992px - 1199px)
======================================================================== */

/* ======================================================
       PAGE HEADER
    ====================================================== */

@media (max-width:1199.98px) {
  .page-header {
    min-height: 280px;
    padding: 70px 48px 24px;
  }
}

/* ========================================================================
   MD (768px - 991px)
======================================================================== */

/* ======================================================
       NAVBAR
    ====================================================== */

@media (max-width:991.98px) {
  .navbar-nav {
    gap: 0;
  }
}

@media (max-width:991.98px) {
  .language-selector {
    margin: .75rem 0 0;
  }
}

/* ======================================================
       PAGE HEADER
    ====================================================== */

@media (max-width:991.98px) {
  .page-header {
    min-height: 240px;
    padding: 60px 40px 20px;
  }
}

@media (max-width:991.98px) {
  .page-header-title {
    font-size: 3rem;
  }
}

/* ======================================================
       CONTACT
    ====================================================== */

@media (max-width:991.98px) {
  .contact-content {
    padding: 3rem;
  }
}

/* ======================================================
       APPLICATIONS
    ====================================================== */

@media (max-width:991.98px) {
  .project-image img {
    min-height: 220px;
  }
}

@media (max-width:991.98px) {
  .project-content {
    padding: 28px;
  }
}

/* ======================================================
       CATALOGS
    ====================================================== */

@media (max-width:991.98px) {
  .catalog-card img {
    height: 300px;
  }
}

/* ========================================================================
   SM (576px - 767px)
======================================================================== */

/* ======================================================
       PAGE HEADER
    ====================================================== */

@media (max-width:767.98px) {
  .page-header {
    min-height: 210px;
    padding: 48px 28px 18px;
  }
}

@media (max-width:767.98px) {
  .page-header-title {
    font-size: 2.3rem;
  }
}

@media (max-width:767.98px) {
  .page-header-text {
    font-size: .95rem;
  }
}

/* ======================================================
       CONTACT
    ====================================================== */

@media (max-width:767.98px) {
  .contact-content {
    padding: 2rem;
  }
}

/* ======================================================
       FOOTER
    ====================================================== */

@media (max-width:767.98px) {
  .footer {
    text-align: center;
    padding-bottom: 20px;
  }
}

@media (max-width:767.98px) {
  .footer-card {
    padding: 16px 20px;
  }
}

@media (max-width:767.98px) {
  .footer-divider {
    width: 60%;
    margin-bottom: .75rem;
  }
}

@media (max-width:767.98px) {
  .footer-signature {
    max-width: 170px;
    margin-bottom: .35rem;
  }
}

/* ======================================================
       PHOTOGRAPHY
    ====================================================== */

@media (max-width:767.98px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:767.98px) {
  .gallery-panorama img {
    aspect-ratio: 16/9;
  }
}

/* ======================================================
       CATALOGS
    ====================================================== */

@media (max-width:767.98px) {
  .catalog-card img {
    height: 250px;
  }
}

/* ======================================================
       APPLICATIONS
    ====================================================== */

@media (max-width:767.98px) {
  .project-content {
    padding: 22px;
  }
}

/* ========================================================================
   XS ( <576px )
======================================================================== */

/* ======================================================
       PAGE HEADER
    ====================================================== */

@media (max-width:575.98px) {
  .page-header {
    padding: 40px 20px 16px;
  }
}

@media (max-width:575.98px) {
  .page-header-title {
    font-size: 2rem;
  }
}

/* ======================================================
       CONTACT
    ====================================================== */

@media (max-width:575.98px) {
  .contact-content {
    padding: 1.5rem;
  }
}

