/* =====================================================================
   PlantAwesome — design tokens
   A neighborhood plant nursery, styled like the hand-lettered stake tags
   pushed into every pot: kraft card stock, punched grommet holes, twine,
   and a stamped mono code for price/stock. Warm terracotta clay + deep
   greenhouse green, on a paper-white ground.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Roboto+Mono:wght@300;400;500;700&display=swap');

:root {
    --color-bg:        #F4F0E4;   /* paper / potting-bench top */
    --color-card:      #FBF8EF;   /* kraft tag stock */
    --color-ink:       #23301F;   /* deep greenhouse-shade, near-black green */
    --color-clay:      #BE5B3B;   /* terracotta pot */
    --color-clay-dark: #9C482D;
    --color-leaf:      #3E6B4A;   /* leaf green */
    --color-leaf-dark: #2A4A33;
    --color-gold:      #D9A441;   /* pollen / sunlight accent */
    --color-line:      #D8CFB8;   /* hairline on kraft stock */

    --font-display: "Fraunces", Georgia, serif;
    --font-body:    "Roboto Mono", monospace;

    --radius-tag: 10px;
    --shadow-card: 0 10px 22px rgba(35, 48, 31, 0.14);
    --shadow-card-hover: 0 16px 30px rgba(35, 48, 31, 0.22);
}

html, body {
    font-family: var(--font-body);
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    height: 100%;
    margin: 0;
    background-color: var(--color-bg);
    color: var(--color-ink);
}

h1, h2 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
}

#header-logo {
    margin: 5px;
    width:50px;
    height:50px;
}
.header-cart {
    flex: 1;
    padding: 0;
    margin: 0;
    text-align: right;
    margin-top: auto;
    margin-bottom: auto;
    padding-right: 15px;
}
.header-a {
    color: #FBF8EF;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    padding: 5px 10px;
    margin: 0px 10px;
    position: relative;
    transition: all .35s
}

.header-a:hover {
    background-color: var(--color-gold);
    color: var(--color-ink);
  }
  
.header-a:before {
    content: "";
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 12px;
    height: 12px;
    border: 3px solid var(--color-gold);
    border-width: 0 0 3px 3px;
    opacity: 0;
    transition: all 0.3s
  }
  
.header-a:hover:before {
    opacity: 1;
    bottom: -8px;
    left: -8px;
  }
  
.header-a:after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 12px;
    height: 12px;
    border: 3px solid var(--color-gold);
    border-width: 3px 3px 0 0;
    opacity: 0;
    transition: all 0.3s;
  }
  
  a:hover:after {
    opacity: 1;
    top: -8px;
    right: -8px;
  }
.parallax {
    background-image: linear-gradient(180deg, rgba(35,48,31,0.35), rgba(35,48,31,0.15)), url("./img/banner.jpg");
    min-height: 500px; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .parallax-2 {
    background-image: linear-gradient(180deg, rgba(35,48,31,0.3), rgba(35,48,31,0.1)), url("./img/cov.jpg");
    min-height: 500px; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

#about-us {
    margin: 0 auto;
    width: 50%;
    font-family: var(--font-body);
}
#footer-link {
    margin:auto;
}

.page-title {
    background-color: var(--color-ink);
    color: var(--color-card);
    font-family: var(--font-display);
    font-size: 28px;
    padding: 30px 25px;
    text-align: left;
}

.order-container {
    margin: 0 auto;
    width:50%;
    padding: 65px;
}

.item-header {
    margin: 0;
    padding: 5px;
    font-family: var(--font-display);
}

.create-account-container {
    border-color: var(--color-clay);
    border-style: solid;
    border-width: 1.5px;
    border-radius: var(--radius-tag);
    background-color: var(--color-card);
    box-shadow: var(--shadow-card);
    margin: 25px auto;
    width: 40%;
    padding: 10px 0;
}

.log-in-container {
    border: 1.5px solid var(--color-line);
    border-radius: var(--radius-tag);
    background-color: var(--color-card);
    box-shadow: var(--shadow-card);
    margin: 25px auto;
    width: 40%;
    padding: 10px 0;
}

.small-border {
    border-color: var(--color-clay);
    border-style: solid;
    border-radius: var(--radius-tag);
    width: 50%;
    margin: 20px auto;
    padding: 20px;
    background-color: var(--color-card);
}

.address {
    width: 80%;
    margin: auto;
}

.address-paragraph {
    margin: 0 0 10px 0;
}

.address-duo {
    width: 50%;
    display: inline-block;
}

.container-address {
    margin: auto;
}

.items-order {
    border: 1.5px solid var(--color-line);
    border-radius: var(--radius-tag);
    background-color: var(--color-card);
}

.address-input {
    height: 24px;
    width: 80%;
    font-family: var(--font-body);
    border: 1px solid var(--color-line);
    border-radius: 5px;
    padding: 4px 8px;
}

.order-sum {
    border-color: var(--color-clay);
    border-style: solid;
    border-radius: var(--radius-tag);
    background-color: var(--color-card);
    box-shadow: var(--shadow-card);
    width: 80%;
    margin: 50px auto;
    padding: 10px;
}

.checkout-wrapper {
    border-color: var(--color-clay);
    border-style: solid;
    border-radius: var(--radius-tag);
    background-color: var(--color-card);
    width: 80%;
    margin: 25px auto;
}

.item-image-address {
    display: inline-block;
    margin: 25px auto 0 15px;
}

.item-name {
    display: inline-block;
    margin: 0 15px 0 auto;
    font-family: var(--font-body);
}

.item-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.address-container {
    width: 50%;
    margin: 50px auto;
}


#logo-text {
    color: #FBF8EF;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin:auto;
}

#button {
    color:white;
    padding: 5px 25px 5px 25px;
    border-radius: 5px;
    background-color: transparent;
    outline-style: solid;
    outline-width: thin;
    outline-color: white;
    border-style: none;
    font-family: var(--font-body);
}
#button:hover {
    background-color: var(--color-gold);
    color: var(--color-ink);
  }

.support-container {
    display: flex;
    width: 95%;
    padding-left: 2.5%;
    padding-right: 2.5%;
}

.support-icons {
    display: flex;
}

.support-column {
    flex: 1;
    width: 30%;
    min-height: 200px;
    color: var(--color-card);
}


.support-paragraph {
    color: var(--color-ink);
    margin: 80px 50px;
    line-height: 1.6;
}

.support {
    margin: 10% 0 0 10%;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    color: var(--color-gold);
    font-size: 40px;
}

.support-row {
    background-color: var(--color-ink);
    border-radius: var(--radius-tag);
    padding: 10px;
    margin: 5px 50px 5px;
    height: 60vh;
    position: relative;
    box-shadow: var(--shadow-card);
}

/* punched grommet hole, like a real garden tag hung from twine */
.support-row:before {
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-bg);
    box-shadow: inset 0 2px 3px rgba(0,0,0,0.35);
}

.support-img-container {
    position: relative;
    width: 100%;
    height: 30vh;
    bottom: 0;
}

.support-img {
    position: absolute;
    bottom: -100px;
    right: -40px;
    max-width: none;
    max-height: 100%;
    border-radius: 50%;
    outline: 4px solid var(--color-gold);
    outline-offset: -4px;
}

.support-text {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: none;
}

.support-header {
    flex: 1;
    font-family: var(--font-body);
}
.support-header h1 {
    font-size: 42px;
}

#button {
    background-color: transparent;
}


.button {
  border: none;
  padding: 12px 34px;
  background-color: var(--color-clay);
  color: #FBF8EF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  border-radius: 3px;
  transition: background-color 0.25s ease;
}

.button:hover {
  background-color: var(--color-leaf-dark);
}

.button:before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  top: -5px;
  left: -5px;
  border-top: 2px solid var(--color-gold);
  border-left: 2px solid var(--color-gold);
  transition: all 0.25s;
}

.button:hover:before,
.button:hover:after {
  height: 100%;
  width: 100%;
}

.button:after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  bottom: -5px;
  right: -5px;
  border-bottom: 2px solid var(--color-gold);
  border-right: 2px solid var(--color-gold);
  transition: all 0.25s;
}

.shop-top-wrapper {
    text-align: left;
    padding-left: 25px;
}
.shop-top-wrapper p {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-clay-dark);
    font-weight: 500;
    margin-bottom: 2px;
}
.shop-top-wrapper h2 {
    font-size: 34px;
    margin-top: 4px;
}

.header {
    display: flex;
    width: 100%;
    height: 100px;
    background-color: var(--color-ink);
    border-bottom: 4px solid var(--color-clay);
}

.grid-child {
    padding: 20px;
    text-align: center;
    background-color: var(--color-card);
    border: 1.5px dashed var(--color-line);
    border-radius: var(--radius-tag);
    box-shadow: var(--shadow-card);
    font-family: var(--font-body);
}

.grid-child:nth-child(odd) {
    transform: rotate(-0.6deg);
}
.grid-child:nth-child(even) {
    transform: rotate(0.6deg);
}

.grid-child p {
    margin: 6px 0;
    font-size: 14px;
}
.grid-child p:nth-of-type(1) {
    color: #6b7264;
    font-size: 12.5px;
}
.grid-child p:nth-of-type(2) {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--color-ink);
}
.grid-child p:nth-of-type(3) {
    color: var(--color-clay-dark);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    width: 800px;
    margin: 0 auto;
}

.checkout-grid {
    border-color: var(--color-clay);
    border-style: solid;
    border-radius: var(--radius-tag);
    background-color: var(--color-card);
    margin: 50px;
}
.item-image {
    padding: 5px 5px 5px 5px;
    border-radius: 10px;
    outline-style: solid;
    outline-width: thin;
    outline-color: var(--color-line);
    border-style: none;
}


.container {
	position: relative;
	overflow: hidden;
    border-radius: 6px;
}

.animation-image {
	width: 100%;
	transition: all .5s;
}


.local-shop-container {
    margin: 50px 50px 0 50px
}

.local-shop-left {
    position: absolute;
    margin-top: 50px;
}

#shop-img {
    object-fit: cover;
    border-radius: 6px;
    box-shadow: var(--shadow-card);
}

.local-shop-right-wrapper {
    padding: 145px 150px 145px 400px
}

.local-shop-right {
    z-index: -1;
    width: 80%;
    margin-left: auto;
    margin-right: 0px;
    right: 0;
    background-color: var(--color-ink);
    border-radius: var(--radius-tag);
    color: #FBF8EF;
    height: 600px;
    background-size: cover;
    border-left: 4px solid var(--color-gold);
}
.local-shop-right-wrapper h2 {
    color: #FBF8EF;
    font-size: 30px;
    line-height: 1.3;
}
.local-shop-right-wrapper p {
    color: #d8dccf;
    line-height: 1.7;
}

.local-shop-wrapper {
    text-align: center;
    position: relative;
    width: 100%;
}

a {
    color: #FBF8EF;
    text-decoration: none;
}

.header-div {
    margin: 0;
    position: absolute;
    padding: 15px;
}

.content {
    min-height: 100%;
}

.content-inside {
    padding: 0;
    padding-bottom: 50px;
}

.footer {
    background-color: var(--color-ink);
    height: 250px;
    margin-top: 50px;
    position: relative;
    border-top: 4px solid var(--color-clay);
}

.footer-container {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    padding: 10px;
    font-family: var(--font-body);
}

#footer-icon {
    width:50px;
    height:50px;
    margin: 5px;
}

.footer-icons {
    position: absolute;
    top: 30%;
    right: 0;
    margin: auto 0;
    display: inline-block;
}

.footer-img {
    margin: 0 8px;
}

.cart-nav-wrapper {
    text-align: center;
}

.cart-nav {
    padding: 10px;
    margin: auto;
    display: inline-block;
}

.center {
    text-align: center;
}

.block-header  {
    padding: 4px 20px;
    font-family: var(--font-display);
}

.header-order {
    padding: 10px 0;
}

.flex-container {
    display: flex;
    justify-content: space-between;
}

.checkout-img {
    padding: 20px
}

.order-item-chekcout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-image-wrapper {
    padding: 5px;
}

.error-background {
    background-color: var(--color-ink);
    width:100%;
    height:100%;
    text-align: center;
}
.error-image {
    position: relative;
    top: 25%;
}

.header-error {
    color: #FBF8EF;
    font-family: var(--font-display);
}


/* ================================
   Page animations
   ================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes headerSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bannerZoom {
    from { transform: scale(1.08); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

@keyframes pulseButton {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.header {
    animation: headerSlideDown 0.6s ease-out both;
}

.parallax,
.parallax-2 {
    animation: bannerZoom 1.2s ease-out both;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

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

.support-icons .support-column.reveal:nth-child(1) { transition-delay: 0s; }
.support-icons .support-column.reveal:nth-child(2) { transition-delay: 0.15s; }
.support-icons .support-column.reveal:nth-child(3) { transition-delay: 0.3s; }

.grid-child.reveal:nth-child(1) { transition-delay: 0s; }
.grid-child.reveal:nth-child(2) { transition-delay: 0.08s; }
.grid-child.reveal:nth-child(3) { transition-delay: 0.16s; }
.grid-child.reveal:nth-child(4) { transition-delay: 0.24s; }
.grid-child.reveal:nth-child(5) { transition-delay: 0.32s; }
.grid-child.reveal:nth-child(6) { transition-delay: 0.4s; }
.grid-child.reveal:nth-child(n+7) { transition-delay: 0.48s; }

.grid-child {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.grid-child:nth-child(odd):hover {
    transform: rotate(0deg) translateY(-6px);
}
.grid-child:nth-child(even):hover {
    transform: rotate(0deg) translateY(-6px);
}
.grid-child:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-clay);
}

.support-row {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.support-row:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.button:hover {
    animation: pulseButton 0.5s ease;
}

.local-shop-right.reveal {
    transform: translateX(40px);
}
.local-shop-right.reveal.active {
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

@media only screen and (max-width: 768px) {

    #logo-text {
        display: none;
    }
    #shop-img {
        display: none;
    }
    
    .grid-child {
        font-size: 12.5px;
        padding-left: 80px;
        padding-right: 80px;
        transform: none !important;
    }

    .support-container {
        margin: 5vh 0;
        font-size: 10px;
    }
    .support-text {
        font-size: 15px;
    }

    .support-row {
        background-color: var(--color-ink);
        border-radius: var(--radius-tag);
        padding: 10px;
        margin: 5px 50px 5px;
        height: 20vh;
    }

    .support-column {
        flex: 1;
        width: 30%;
        min-height: 200px;
        color: var(--color-card);
        display: inline;
    }

    .support-img {
        display: none;
    }

    .support-icons {
        display: inline-block;
    }

    .grid-container {
        display: inline;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        margin: 0 auto;
    }
    .local-shop-container {
        font-size: 12.5px;
    }
    #logo-text {
        display: none;
    }
    .local-shop-right-wrapper {
        padding: 10px;
    }
    .local-shop-right {
        width: 100%;
    }
    .order-container {
        width: 80%;
        padding: 0;
    }
    .footer-icons {
        display: none;
    }
    #about-us {
        width: 80%;
    }

}
