/* ============================================
   CERAMICS — Main Page Styles
   Based on Figma: 1440px design
   Fonts: Miracle (headings), Raleway (body)
   ============================================ */

/* Miracle font — using local @font-face fallback approach.
   If you have the Miracle font files, place them in assets/fonts/
   Otherwise we use a serif fallback */
@font-face {
  font-family: 'Miracle';
  src: local('Miracle');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- RESET & BASE ---------- */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  background: #FBF6F3;
  color: #5C433E;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

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

/* ---------- HEADER ---------- */

.header {
  padding: 40px 80px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(139, 119, 115, 0.49);
}

.header__menu {
  display: flex;
  align-items: center;
}

.header__logo {
  font-family: 'Miracle', 'Georgia', serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1em;
  color: #5C433E;
}

.header__nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header__link {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.174em;
  color: #5C433E;
}

.header__link--accent {
  color: #AD7064;
}

/* ---------- HERO ---------- */

.hero {
  padding: 40px 80px 0;
  display: flex;
  gap: 60px;
}

.hero__images {
  position: relative;
  width: 800px;
  height: 540px;
  flex-shrink: 0;
}

.hero__img--right {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 540px;
  object-fit: cover;
}

.hero__img--left {
  position: absolute;
  top: 105px;
  left: 0;
  width: 340px;
  height: 330px;
  object-fit: cover;
}

.hero__text {
  padding-top: 97px;
}

.hero__title {
  font-family: 'Miracle', 'Georgia', serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.218em;
  color: #5C433E;
}

.hero__title-indent {
  display: inline-block;
  padding-left: 86px;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #AD7064;
  margin-top: 60px;
  margin-left: auto;
}

.hero__cta span {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3em;
  text-transform: uppercase;
  text-align: center;
  color: #FBF6F3;
  max-width: 121px;
}

/* ---------- MARQUEE ---------- */

.marquee {
  overflow: hidden;
  padding: 40px 0;
}

.marquee__track {
  display: flex;
  gap: 40px;
  animation: marquee-scroll 20s linear infinite;
  white-space: nowrap;
}

.marquee__track span {
  font-family: 'Miracle', 'Georgia', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.218em;
  letter-spacing: 0.06em;
  color: #AD7064;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- COLLECTION ---------- */

.collection {
  padding: 60px 80px;
}

.collection__header {
  margin-left: 420px;
  margin-bottom: 60px;
}

.collection__title {
  font-family: 'Miracle', 'Georgia', serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.218em;
  color: #5C433E;
  margin-bottom: 20px;
}

.collection__title--accent {
  color: #AD7064;
}

.collection__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5em;
  color: #8B7773;
  max-width: 346px;
}

.collection__grid {
  display: grid;
  grid-template-columns: 400px 290px 426px;
  grid-template-rows: auto auto;
  gap: 60px 40px;
}

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

.product__info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
}

.product__name {
  font-family: 'Miracle', 'Georgia', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5em;
  color: #5C433E;
}

.product__price {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5em;
  color: #AD7064;
}

/* Product grid placement */
.product--lemon {
  grid-column: 1;
  grid-row: 1;
}

.product--pink {
  grid-column: 2;
  grid-row: 1;
}

.product--pink .product__img {
  height: 330px;
  object-fit: cover;
}

.product--bowl {
  grid-column: 1 / span 2;
  grid-row: 2;
}

.product--bowl .product__img {
  height: 485px;
  object-fit: cover;
}

.product--white {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.product--white .product__img {
  height: 530px;
  object-fit: cover;
}

/* ---------- OTHER COLLECTIONS ---------- */

.others {
  padding: 60px 80px;
}

.others__title {
  font-family: 'Miracle', 'Georgia', serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.218em;
  color: #5C433E;
  margin-bottom: 30px;
}

.others__list {
  border-top: 1px solid #8B7773;
}

.others__item {
  border-bottom: 1px solid #8B7773;
}

.others__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  font-family: 'Raleway', sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.174em;
  text-transform: uppercase;
  color: #8B7773;
  transition: color 0.3s;
}

.others__link:hover {
  color: #AD7064;
}

.others__link svg {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.others__link:hover svg {
  transform: translateX(8px);
}

/* ---------- ABOUT US ---------- */

.about {
  padding: 60px 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 480px 1fr 360px 262px;
  grid-template-rows: auto auto;
  gap: 20px;
  padding: 0 0 0 0;
}

.about__img--large {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 480px;
  height: 420px;
  object-fit: cover;
}

.about__content {
  grid-column: 2 / span 2;
  grid-row: 1;
  padding: 0 0 0 100px;
}

.about__title {
  font-family: 'Miracle', 'Georgia', serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.218em;
  color: #5C433E;
  margin-bottom: 60px;
}

.about__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5em;
  color: rgba(92, 67, 62, 0.71);
  max-width: 441px;
}

.about__img--medium {
  grid-column: 2;
  grid-row: 2;
  width: 360px;
  height: 330px;
  object-fit: cover;
  justify-self: end;
}

.about__img--small {
  grid-column: 4;
  grid-row: 1;
  width: 262px;
  height: 330px;
  object-fit: cover;
}

/* ---------- INSTAGRAM ---------- */

.instagram {
  padding: 60px 0 60px 0;
}

.instagram__title {
  font-family: 'Miracle', 'Georgia', serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.218em;
  color: #000;
  padding-left: 80px;
  margin-bottom: 40px;
}

.instagram__grid {
  display: flex;
  gap: 40px;
}

.instagram__img {
  flex: 1;
  height: 330px;
  object-fit: cover;
}

.instagram__img:first-child {
  flex: 1.12;
}

.instagram__img:last-child {
  flex: 0.88;
}

/* ---------- FOOTER ---------- */

.footer {
  padding: 0 80px 60px;
}

.footer__inner {
  padding-top: 60px;
}

.footer__logo {
  display: block;
  font-family: 'Miracle', 'Georgia', serif;
  font-size: 42px;
  font-weight: 400;
  color: #5C433E;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(139, 119, 115, 0.49);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer__columns {
  display: flex;
  gap: 60px;
}

.footer__col {
  min-width: 120px;
}

.footer__heading {
  font-family: 'Miracle', 'Georgia', serif;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  color: #5C433E;
  margin-bottom: 16px;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__links a {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.174em;
  color: #735D59;
  transition: color 0.3s;
}

.footer__links a:hover {
  color: #AD7064;
}

.footer__right {
  max-width: 621px;
}

.footer__newsletter-text {
  font-family: 'Miracle', 'Georgia', serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.218em;
  color: #5C433E;
  margin-bottom: 20px;
}

.footer__form {
  position: relative;
  margin-bottom: 30px;
}

.footer__input {
  width: 100%;
  height: 45px;
  border: 1px solid #9B8A86;
  background: transparent;
  padding: 0 70px 0 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #5C433E;
}

.footer__input::placeholder {
  color: rgba(92, 67, 62, 0.6);
}

.footer__submit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.footer__social {
  display: flex;
  justify-content: flex-end;
}
