/*
Theme Name: Vermillion Theme
Theme URI: https://example.com
Author: Serhio
Author URI: https://example.com
Description: Custom theme for Vermillion landing page
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: vermillion
*/


@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --bg-color: #F0F0F0;
  --white: #F0F0F0;
  --footer: #929292;
  --accent: #CF2F21;
  --black: #161616;
}

html{
	scroll-behavior: smooth;
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif; 
}

body{
	background-color: #fff;
	font-weight: normal; 
	font-style: normal;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.main{
	width: 100%;
}

.wrapper{
	width: clamp(320px, 90%, 1200px);
	margin: 0 auto;
}

.header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 24px;
	z-index: 1000;
}

a.logo{
	display: block;
	height: 71px;
}

.flex-wrap{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

ul.nav{
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav li a{
	display: inline-block;
	padding: 8px 16px;
	border-radius: 36px;
  	text-decoration: none;
  	color: var(--white);
  	font-size: 16px;
  	transition: all 200ms;
  &:hover{
  	background-color: var(--accent);
  }
}

.nav li.btn-small a{
	border: 1px var(--white) solid;
	margin-left: 8px;
    &:hover{
  		border: 1px var(--accent) solid;
  }	
}

li.current-menu-item a{
  	background-color: var(--accent);
}

.hero{
	width: 100%;
	height: 100dvh; 
	overflow: hidden;
	background: url(images/hero.jpg) no-repeat center center fixed;
	background-size: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.47);
}

.slogan-flex{
	width: clamp(320px, 100%, 986px);
	margin: 0 auto;
	height: calc( 100dvh - 95px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.hero h1{
	color: var(--white);
	font-size: 72px;
	line-height: 102%; 
	text-align: center;
	font-weight: 500;
	margin-bottom: 45px;
}

.hero p{
	font-size: 32px;
	font-weight: 300;
	text-align: center;
	color: var(--white);
	margin-bottom: 45px;
	line-height: 130%;
}

.hero a.btn{
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	background-color: var(--white);
	text-decoration: none;
	padding: 12px 30px;
	font-size: 20px;
	font-weight: 600;
	border-radius: 40px;
	transition: all 250ms;
	&:hover{
		color: var(--white);
		background-color: var(--accent);
	}
}

h2{
	color: var(--black);
	font-size: 36px;
	line-height: 112%;
	font-weight: 500;
	letter-spacing: -2px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-bottom: 40px;	
}

h2::before{
	content: '';
	display: inline-block;
	width: 40px;
	height: 40px;
	background: url(images/title-image.svg) no-repeat center center; 
	margin-right: 16px;

}

h3{
	font-size: 26px;
	color: var(--black);
	font-weight: 500;
}

.section{
	padding: 80px 0;
}

.about{
	background-color: var(--white);
}

.about-wrap{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 120px;
	max-width: 924px;
}

.text-wrap{
	margin-bottom: 24px;
}

.advantages-wrap{
	display: flex;
	justify-content: space-between;
	gap: 32px;
}

.advantage-item{
	padding-left: 24px;
	border-left: 2px var(--accent) solid;
	height: fit-content;
	width: 33%;
}

.advantage-item h4{
	font-size: 22px;
	line-height: 112%;
	font-weight: 500;
	color: var(--accent);
	margin-bottom: 16px;
}

.about h3{
	margin-bottom: 54px;
}

.section p{
	font-size: 16px;
	font-style: normal;
	line-height: 150%;
	color: var(--black);
	margin-bottom: 24px;
	max-width: 540px;
}

.section p:last-child{
	margin-bottom: 0;
}

/* PRODUCTS */

.products h2,
.origins h2{
	justify-content: center;
}

.products-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 16px;
	row-gap: 24px;
}

.product-card {
    background: #F0F0F0;
    border-radius: 8px;
    width: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px;
}

.product-image img {
    width: 100%;
    height: 200px;
    border-radius: 7px;
}

.product-content {
    padding: 8px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-details {
	font-size: 14px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-details li{
	display: flex;
	align-items: flex-start;
}

.product-details li::before{
	content: ' ';
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url(images/dot.svg) no-repeat center center;
	margin-right: 4px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more,
.read-less {
    color: #d32f2f;
    font-weight: 500;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.read-more:after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-less {
    opacity: 0;
    pointer-events: none;
}

.read-less:before {
    content: "←";
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.contact-us {
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
    line-height: 100%;
}

.product-card.expanded .product-details {
    opacity: 1;
    max-height: 200px;
    margin-bottom: 8px;
}

.product-card.expanded .read-more {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.product-card.expanded .read-less {
    opacity: 1;
    pointer-events: auto;
}

.product-card.expanded .contact-us {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


 /* ORIGINS */

.origins{
	background: var(--white) url(images/origins.svg) center center no-repeat;
	padding: 80px 0;
}

.origins-cont{
	width: clamp(320px, 90%, 1200px);
	margin: 0 auto;
}

.origins-wrap{
	display: grid;
  	grid-template-columns: repeat(4, 1fr); /* 4 колонки рівної ширини */
	align-items: center;
	gap: 24px;
	align-items: stretch;
	margin-bottom: 24px;
}

.origins-wrap:last-child{
	margin-bottom: 0;
}

.origin-item{
	display: flex;
	flex-direction: column;
	background-color: #fff;
	border-radius: 8px;
	padding: 20px 16px 24px 16px;
	width: 100%;
	box-shadow: 
        0 16px 32px -4px rgba(0, 0, 0, 0.2),
        0 4px 4px -4px rgba(0, 0, 0, 0.1);
}

.country{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 600;
	width: 100%;
}

.origins-text ul,
.logistics-text ul{
	list-style-type: none;
}

.origins-text ul li,
.logistics-text ul li{
	display: flex;
	align-items: flex-start;
	line-height: 18px;
	font-size: 16px;
}

.origins-text ul li:not(last-child),
.logistics-text ul li:not(last-child){
	margin-bottom: 8px;
}

.origins-text ul li::before,
.logistics-text ul li::before{
	content: '';
	display: inline-block;
	width: 18px !important;
	height: 18px !important;
	background: url(images/bullet-0.svg) center center no-repeat;
	margin-right: 8px;
}

.logistics-text ul li::before{
	background: url(images/bullet-1.svg) center center no-repeat;
}

.origins-image{
	margin: 16px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.origins-image img{
	width: 100%;
	height: auto;
}

/* LOGISTICS */

.logistics{
	padding: 80px 0;
}

.logistics h3{
	margin-bottom: 24px;
}

.logistics p:not(last-child){
	margin-bottom: 40px;
}

.logistics ul{
	margin-bottom: 40px;
	margin-left: 24px;
}

.logistics-wrap{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 58px;
}

.logistics-image img{
	border-radius: 8px;
}

/* PARTNERS */

.partners{
	padding: 80px 0;
	background-color: #F0F0F0;
}

.partners-grid{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 24px;
}

.partner-card{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background-color: white;
    width: 100%;
    box-shadow: 
        0 16px 32px -4px rgba(0, 0, 0, 0.2),
        0 4px 4px -4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.partner-country{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	background-color: #F1F1F1;
	height: 42px;
	width: 100%;
}

.partners-wrap{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	margin-bottom: 40px;
}

.partners-wrap p{
	text-align: center;
	max-width: 820px;
}

/* TEAM */

.team{
	padding: 80px 0;
}

.team-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	max-width: 950px;
	margin: 0 auto;
	gap: 32px;
}

.team-card{
	display: flex;
	flex-direction: column;
	align-items: center;
	align-items: center;
}

.team-card img{
	border-radius: 8px;
	margin-bottom: 24px;
	width: 100%;
	height: auto;
}

.team-card .name{
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.team-card p:last-child{
	color: #161616;
	text-align: center;
}

.team-card p:last-child a{
	color: #161616;
}

.team-card p:last-child a:hover{
	text-decoration: none;
}

/* CONTACT */

.contact {
  padding: 80px 20px;
  background: #F0F0F0;
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
  font-family: 'Poppins', sans-serif;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.6;
}

.contact-form {
  flex: 1;
}

.contact-form .form-row {
  display: flex;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  background: transparent;
  outline: none;
  margin-bottom: 20px;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form .btn-submit {
  background: #cf2f21;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 90px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Poppins', sans-serif;
  margin: 0 auto;
  display: inline-block;
    width: auto;
}

.contact-form .btn-submit:hover {
  background: #a82319;
}

.wpcf7-spinner{
	display: none;
}

/* Адаптивність */
@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .contact-info p {
    max-width: 100%;
  }
}


/* FOOTER */

.footer{
	padding: 32px 0;
	background-color: #3A3A3A;
	width: 100%;
}

.footer-wrap{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.footer p{
	color: #929292;
	font-size: 16px;
	line-height: 150%;
}

.footer a{
	color: #929292;
	text-decoration: none;
	transition: all 200ms;
	&:hover{
		color: var(--white);
	}
}

.footer-contact{
	max-width: 370px;
}

.footer-copy{
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.cursor{
	display: flex;
	gap: 8px;
	align-items: center;
}

.footer-copy{
	margin-bottom: 0;
}

.phone{
	margin: 8px 0;
}

.person:first-child{
	margin-bottom: 16px;
}

/* NAV */

/* Nav humburger */

.menu {
    text-align: center;
}

.menu-icon {
    display: none;
    width: 29px;
    height: 26px;
    position: relative;
    cursor: pointer;
    z-index: 6000;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 0;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon-bg span {
    background: var(--white);
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2), 
.menu-icon span:nth-child(3) {
    top: 10px;
}

.menu-icon span:nth-child(4) {
    top: 20px;
}

.burger span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
}

.burger span:nth-child(2) {
  transform: rotate(45deg);
}

.burger span:nth-child(3) {
  transform: rotate(-45deg);
}

.burger span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.menu-state-open {
  display: flex;  
}



@media (max-width: 900px){

.mobile-nav{
	display: none;
}

.mobile-wrap{
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100dvh;
	background-color: #3A3A3A;
}

ul.nav,
.columns{
  flex-direction: column;
}

ul.nav li a{
  font-size: 26px;
  text-align: left;
}

.menu-icon {
   display: block;
}

.menu-state-open {
  display: flex !important;  
}

.columns{
	align-items: center;
}

.section p{
	max-width: 100%;
}

.section{
	height: auto;
	padding: 80px 0;
}

.hero h1{
	margin-left: 5%;
}

.geography_pic, .appointment img{
	width: 90%;
	border-radius: 90px 90px 0px 0px;
	height: 500px;
	left: 0; 
  	right: 0; 
  	margin-left: auto; 
  	margin-right: auto; 
}

.geography, .appointment{
	padding: 80px 0 560px 0;
}

.reports .columns{
	gap: 60px;
}

.contact-block{
	width: 100%;
}

.footer-wrap{
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 16px;
}

.footer p{
	text-align: center;
}

.footer-copy{
	align-items: center;
}

img.footer-logo{
	margin: 16px 0 24px 0;
}

.origins-wrap{
	grid-template-columns: repeat(2, 1fr);
}

}

@media (max-width: 600px){

.hero h1{
	font-size: 56px;
}

.features-wrap {
	flex-direction: column; 
    align-items: center;
    gap: 40px;
}

.section h2 {
	font-size: 36px;
}

.geography_pic, .appointment img{
	width: 100%;
	border-radius: 0px;
	border: none;
	border-top:18px solid var(--white);	
}

a.report-lnk{
	font-size: 20px;
}

.feature-item{
	width: 90%;
}

}

@media (max-width: 414px){

.hero h1{
	font-size: 40px;
}

.hero p{
	font-size: 24px;
}

a.report-lnk{
	font-size: 16px;
}

.contact-block{
	padding: 24px;
	gap: 16px;
}

.about-wrap,
.advantages-wrap,
.origins-wrap,
.origins-cont,
.logistics-wrap{
	flex-direction: column;
}

.about-wrap{
	gap: 0;
}

.logistics-wrap{
	gap: 8px;
}

.logistics-image img{
	width: 100%;
	height: auto;
}

.text-wrap,
.advantage-item,
.origin-item{
	width: 100%;
}

.about h3 {
	margin-bottom: 32px;
}

.products-grid,

.team-grid, .origins-wrap{
	grid-template-columns: 1fr;
	gap: 32px;
}

.partners-grid{
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.partner-country p{
	font-size: 13px;
}

.partner-logo img{
	width: auto;
	height: 100%;
}

h2,
.section h2{
	font-size: 30px;
	margin: 0 auto;
	margin-bottom: 40px;
	justify-content: center;
}

h3{
	font-size: 24px;
	line-height: 130%;
}

.section,
.origins,
.logistics{
	padding: 48px 0;
}

.contact{
	padding: 48px 20px;
}

.contact-form .form-row,
.btn-submit{
	display: block;
}

.contact-wrapper{
	gap: 32px;
}

.btn-small{
	margin-top: 32px;
}

}

.wpcf7-response-output {
    margin-top: 24px;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    animation: fadeIn 0.5s ease-in-out;
}

.wpcf7-mail-sent-ok {
    background-color: #e1fbe7;
    border: 1px solid #38a169;
    color: #276749;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background-color: #fde8e8;
    border: 1px solid #e53e3e;
    color: #742a2a;
}

.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: var(--accent);
    margin-top: 24px;

}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 24px;
    border: 2px solid #00a0d2;
    border-radius: 42px;
    text-align: center;
}

.form-success-message {
    background-color: var(--accent);
    border-radius: 42px;
    padding: 40px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.form-success-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--black);
}

.form-success-message p {
    font-size: 20px;
    color: var(--black);
}