/* ---------------------------
   FONT IMPORTS
--------------------------- */
@font-face {
  font-family: "Bricolage_Grotesque";
  src: url("src/fonts/Bricolage_Grotesque/static/BricolageGrotesque-ExtraBold.ttf") format('truetype');
}

@font-face {
  font-family: "Rosario-Light";
  src: url("src/fonts/Rosario/static/Rosario-Medium.ttf") format('truetype');
}

@font-face {
  font-family: "Rosario-Bold";
  src: url("src/fonts/Rosario/static/Rosario-Bold.ttf") format('truetype');
}

/* ---------------------------
   GLOBAL STYLES
--------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(90deg, #fff 0%, #cce0ee 100%);
  font-family: "Rosario-Light";
  color: #1d2c44;
  overflow-x: hidden;
}

/* ---------------------------
   HEADER
--------------------------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
}

.logo img {
  width: 100px;
  height: auto;
  position: relative;
  z-index: 100;
}

.nav a {
  text-decoration: none;
  color: #1d2c44;
  font-weight: 600;
  margin-left: 2rem;
  font-family: "Rosario-Light";
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav a:hover {
  border-bottom: 1px solid #1d2c44;
}

/* ---------------------------
   HERO SECTION
--------------------------- */
.hero {
  display: flex;
  justify-content: space-between;
  padding: 6rem;
  width: 100%;
  position: relative;
}

.hero-text {
  width: 70%;
  text-align: left;
}

.hero-text h1 {
  font-family: "Bricolage_Grotesque";
  font-size: 8vw;
  line-height: 1.1;
  color: #2a3b5f;
  margin-bottom: 2rem;
}

.hero-images img {
  position: absolute;
  right: 19%;
  top: 8rem;
  transform: rotate(7deg) scale(1.4);
  z-index: 100;
  width: 37%;
}

.cta-btn {
  background-color: #1d2c44;
  color: #fff;
  font-family: "Rosario-Light";
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: 0.3s ease;
  width: 30%;
}

.cta-btn:hover {
  background-color: #324b77;
}

/* ---------------------------
   CURVE DIVIDER
--------------------------- */
.curve-divider {
  line-height: 0;
  overflow: hidden;
}

.curve-divider svg {
  width: 100%;
  transform: rotate(180deg) scaleX(-1);
}

/* ---------------------------
   INFO SECTION
--------------------------- */
.info-section {
  background: linear-gradient(to bottom, #dda7b0, #fff);
  padding: 5rem 8%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1200px;
}

.info-image p {
  text-align: center;
}


.info-image img {
  width: 360px;
  border-radius: 12px;
}

.color-name {
  font-family: "Rosario-Light";
  font-size: 1.1rem;
  color: #49393c;
  margin-top: 0.8rem;
}

.info-text {
  flex: 1;
  color: #4a3b3f;
}

.info-text h1 {
  font-family: "Bricolage_Grotesque";
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.info-text ul {
  list-style: none;
  margin-bottom: 2rem;
}

.info-text ul li {
  font-family: "Rosario-Light";
  font-size: 1.1rem;
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.info-text ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  top: -0.2rem;
}

.color-options {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.color-item {
  text-align: center;
  font-family: "Rosario-Light";
}

.color-item img {
  width: 100px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.color-item img:hover {
  transform: scale(1.05);
}

.shop-btn {
  background-color: #5a3e40;
  width: 100%;
  color: #fff;
  font-family: "Rosario-Bold";
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 3rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.shop-btn:hover {
  background-color: #7a5456;
}

/* ---------------------------
   FEATURES SECTION
--------------------------- */
.features-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 8%;
  background-color: #fff;
  flex-wrap: wrap;
}

.features-heading {
  position: absolute;
  z-index: 1000;
  bottom: -46rem;
  left: 12rem;
}

.features-heading h1 {
  font-family: "Bricolage_Grotesque";
  font-size: 7rem;
  color: #dea2ac;
}

.feature-card {
  position: relative;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 2rem;
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  height: 320px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.feature-card h1 {
  font-family: "Rosario-Bold";
  font-size: 1.4rem;
  color: #754d53;
  margin-bottom: 1rem;
}

.feature-card p {
  font-family: "Rosario-Light";
  color: #754d53;
  font-size: 1rem;
  line-height: 1.5;
}

/* CARD 1 */
.card1 {
  background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
  position: relative;
  flex-direction: row;
  align-items: flex-start;
  padding-bottom: 0;
}

.card1 .feature-text {
  width: 60%;
  text-align: left;
}

.card1 .feature-image {
  position: absolute;
  bottom: 0;
  right: 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.card1 img {
  width: 40%;
  border-bottom-left-radius: 0;
}

/* CARD 2 */
.card2 {
  background: linear-gradient(to bottom, #EDD2D6, #DEA2AC);
  flex-direction: column;
  align-items: flex-start;
}

.card2 img {
  position: absolute;
  bottom: 3rem;
  left: 1.1rem;
  width: 45%;
  border-radius: 10px;
}

.card2 h1, .card3 h1 {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 65%;
}

.card2 p, .card3 p {
  position: absolute;
  bottom: 2rem;
  right: 1.5rem;
  width: 40%;
  text-align: right;
}

/* CARD 3 */
.card3 {
  background: linear-gradient(to bottom, #CCE0EE, #97B3C7);
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

.card3 img {
  position: absolute;
  bottom: 0;
  left: 1rem;
  height: 60%;
  margin-bottom: 0;
}

/* ---------------------------
   FOOTER
--------------------------- */
.footer {
  display: flex;
  flex-direction: column;
  background-color: #f3c7ce;
  font-family: "Rosario-Light";
  color: #333;
}

/* Top Half */
.footer-top {
  display: grid;
  grid-template-columns: auto 1.5fr 1fr;
  align-items: center;
  padding: 3rem 5rem;
  column-gap: 1.5rem;
}

.app-icon img {
  width: 120px;
  border-radius: 20px;
  object-fit: cover;
}

.app-info h1 {
  font-family: "Bricolage_Grotesque";
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #754D53;
}

.app-info p {
  font-size: 1rem;
  line-height: 1.5;
  color: #754D53;
  max-width: 420px;
}

.app-downloads {
  justify-self: end;
  text-align: right;
}

.download-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.download-buttons a {
  width: 70%;
  border-radius: 8px;
}

.download-text {
  font-size: 0.95rem;
  color: #754D53;
}

/* Bottom Half */
.footer-bottom {
  background-color: #dda7b0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5rem;
}

.footer-logo img {
  width: 120px;
}

.footer-logo p, a {
  color: #754D53;
}

.footer-logo a:hover {
  color: #493034;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  text-decoration: none;
  color: #754D53;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.footer-links a:hover {
  color: #493034;
}

/* ---------------------------
   GALLERY HERO
--------------------------- */
.gallery-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 80vh;
  background: linear-gradient(to bottom, #b6dcff 0%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-hero-text {
  position: absolute;
  top: 5%;
  width: 100%;
  text-align: center;
  z-index: 1;
}

.gallery-hero-text h1 {
  font-family: "Bricolage_Grotesque";
  font-size: 10vw;
  line-height: 0.8;
  color: #2D4467;
  letter-spacing: -2px;
  white-space: nowrap;
}

.camera-row {
  position: absolute;
  bottom: 15%;
  width: 120%;
  left: -10%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}

.camera-row .cam {
  width: 22%;
}

/* Zig-Zag Effect */
.cam1 { transform: rotate(-7deg) translateY(10%) translateX(8%) scale(0.75); }
.cam2 { transform: rotate(6deg) translateY(-10%) translateX(-15%) scale(0.9); }
.cam3 { transform: rotate(-5deg) translateY(15%) translateX(-25%) scale(1); }
.cam4 { transform: rotate(5deg) translateY(-4%) translateX(-30%) scale(1.05); }
.cam5 { transform: rotate(-13deg) translateY(1%) translateX(-40%) scale(1); }

/* ---------------------------
   COLOURS SECTION
--------------------------- */
.colours-section {
  background-color: #fff;
  display: flex;
  justify-content: center;
  padding: 5rem 0;
}

.colours-container {
  background: linear-gradient(to bottom, #EDD2D6, #DEA2AC);
  width: 90%;
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

.colours-container h1 {
  font-family: "Bricolage_Grotesque";
  color: white;
  font-size: 22vw;
  line-height: 0.7;
  letter-spacing: -2px;
}

.camera-color-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
  margin-top: -1rem;
  position: relative;
  z-index: 2;
}

.camera-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 18%;
}

.camera-item img {
  width: 100%;
  transform: translateY(-5%);
}

.camera-item p {
  font-family: "Rosario-Light";
  font-size: 1rem;
  color: #754D53;
}

/* ---------------------------
   SCATTERED POLAROID SECTION
--------------------------- */
.scattered-polaroid-section {
  position: relative;
  background: linear-gradient(to bottom, #fff 0%, #EED3D7 100%);
  overflow: hidden;
  width: 100%;
  padding: 6rem 0 2rem;
  text-align: center;
}

.polaroid-wrapper {
  position: relative;
  width: 110%;
  left: -5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 4rem;
}

.polaroid {
  width: 20%;
  max-width: 220px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  transition: transform 0.4s ease;
}

/* Random scatter */
.p1  { transform: rotate(-30deg) translateX(10%) translateY(5%) scale(1.3); }
.p2  { transform: rotate(6deg) translateY(-17%) scale(1.1); }
.p3  { transform: rotate(-150deg) scale(1.2); }
.p4  { transform: rotate(9deg) scale(1.2); }
.p5  { transform: rotate(-5deg) translateX(-10%) translateY(22%) scale(1.3); }
.p6  { transform: rotate(4deg) scale(1.4); }
.p7  { transform: rotate(-10deg) scale(1.1); }
.p8  { transform: rotate(5deg) translateX(-20%) scale(1.2); }
.p9  { transform: rotate(-30deg) scale(1.3); }
.p10 { transform: rotate(3deg) scale(1.2); }
.p11 { transform: rotate(15deg) translateY(-10%) translateX(20%) scale(1.2); }
.p12 { transform: rotate(-20deg) translateX(40%) translateY(10%) scale(1.1); }

.scattered-text h2 {
  font-family: "Bricolage_Grotesque";
  font-size: 2rem;
  color: #754D53;
}

.scattered-text h1 {
  font-family: "Bricolage_Grotesque";
  font-size: 5rem;
  text-transform: lowercase;
  color: #754D53;
  letter-spacing: -1px;
}
