/* =========================================================
FOOD CONTAINER MANUFACTURING WEBSITE
MAIN STYLE SHEET
========================================================= */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: 'DM Sans', sans-serif;
color: #222;
background: #fff;
}

:root {
--primary: #176b45;
--dark: #123c2b;
--light: #f4f8f5;
--gold: #d6a84f;
--text: #555;
--white: #fff;
}

/* =========================================================
COMMON
========================================================= */

.container {
width: 100%;
max-width: 1400px;
margin: auto;
}

.section {
padding: 30px 0;
}

.section-title {
text-align: center;
margin-bottom: 50px;
}

.section-title .tag {
color: var(--primary);
text-transform: uppercase;
letter-spacing: 2px;
font-size: 13px;
font-weight: 700;
}

.section-title h2 {
font-family: 'Playfair Display', serif;
font-size: 42px;
color: var(--dark);
margin: 10px 0 15px;
}

.section-title p {
max-width: 650px;
margin: auto;
color: #666;
line-height: 1.8;
}

.btn {
display: inline-block;
padding: 15px 30px;
text-decoration: none;
font-weight: 600;
border-radius: 4px;
margin-right: 10px;
transition: .3s;
border: none;
cursor: pointer;
}

.btn-primary {
background: var(--gold);
color: var(--white);
}

.btn-primary:hover {
background: #bd8d32;
transform: translateY(-2px);
}

.btn-outline {
border: 1px solid #fff;
color: #fff;
}

.btn-outline:hover {
background: #fff;
color: var(--primary);
}


/* =========================================================
HEADER
========================================================= */

header {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
padding: 10px 0;
transition: .3s;
background: #fff;
}

header.sticky {
position: fixed;
background: #fff;
box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
}

.navbar {
display: flex;
align-items: center;
justify-content: space-between;
}

.logo {
font-size: 25px;
font-weight: 700;
color: #fff;
text-decoration: none;
}

.logo span {
color: var(--gold);
}

header.sticky .logo {
color: var(--dark);
}

nav ul {
list-style: none;
display: flex;
gap: 30px;
align-items: center;
}

nav ul li a {
text-decoration: none;
color: #096037;
font-size: 15px;
font-weight: 600;
transition: .3s;
}

nav ul li a:hover {
color: var(--gold);
}

header.sticky nav ul li a {
color: #222;
}

header.sticky nav ul li a:hover {
color: var(--primary);
}

.nav-btn {
padding: 12px 22px;
background: var(--gold);
color: #fff !important;
border-radius: 4px;
}

.nav-btn:hover {
background: var(--primary);
}

.menu-btn {
display: none;
color: #000;
font-size: 25px;
cursor: pointer;
}

header.sticky .menu-btn {
color: var(--dark);
}


/* =========================================================
HERO SLIDER
========================================================= */

.hero {
position: relative;
height: 720px;
overflow: hidden;
}

.slide {
position: absolute;
inset: 0;
background-size: cover;
background-position: center;
opacity: 0;
visibility: hidden;
transition: opacity 1s ease;
}

.slide.active {
opacity: 1;
visibility: visible;
}

.slide::before {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(
90deg,
rgba(5, 35, 24, .90),
rgba(5, 35, 24, .55),
rgba(5, 35, 24, .15)
);
}

.slide1 {
background-image:
url('img/slider-1.png');
}

.slide2 {
background-image:
url('img/slider-2.jpg');
}

.slide3 {
background-image:
url('img/slider-3.jpeg');
}

.hero-content {
position: relative;
z-index: 2;
height: 100%;
display: flex;
align-items: center;
}

.hero-text {
max-width: 720px;
color: #fff;
}

.hero-text .small-title {
color: var(--gold);
text-transform: uppercase;
letter-spacing: 3px;
font-weight: 600;
margin-bottom: 18px;
}

.hero-text h1 {
font-family: 'Playfair Display', serif;
font-size: 60px;
line-height: 1.12;
margin-bottom: 20px;
}

.hero-text p {
font-size: 18px;
line-height: 1.8;
max-width: 650px;
color: #eee;
margin-bottom: 32px;
}

.slider-arrows {
position: absolute;
right: 5%;
bottom: 45px;
z-index: 5;
display: flex;
gap: 10px;
}

.slider-arrows button {
width: 48px;
height: 48px;
border: 1px solid rgba(255, 255, 255, .5);
background: rgba(255, 255, 255, .1);
color: #fff;
cursor: pointer;
border-radius: 50%;
transition: .3s;
}

.slider-arrows button:hover {
background: var(--gold);
border-color: var(--gold);
}

.dots {
position: absolute;
bottom: 55px;
left: 5%;
z-index: 5;
}

.dot {
display: inline-block;
width: 35px;
height: 3px;
background: rgba(255, 255, 255, .4);
margin-right: 5px;
cursor: pointer;
transition: .3s;
}

.dot.active {
background: var(--gold);
width: 50px;
}


/* =========================================================
CATEGORY SECTION
========================================================= */

.categories {
background: var(--light);
}

.category-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 25px;
}

.category-card {
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
transition: .35s;
}

.category-card:hover {
transform: translateY(-8px);
box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}

.category-img {
height: 240px;
overflow: hidden;
}

.category-img img {
width: 100%;
height: 100%;
object-fit: cover;
transition: .5s;
}

.category-card:hover .category-img img {
transform: scale(1.08);
}

.category-content {
padding: 22px;
}

.category-content h3 {
font-size: 20px;
color: var(--dark);
margin-bottom: 10px;
}

.category-content p {
color: #666;
font-size: 14px;
line-height: 1.7;
margin-bottom: 15px;
}

.read-more {
text-decoration: none;
color: var(--primary);
font-weight: 700;
font-size: 14px;
transition: .3s;
}

.read-more:hover {
color: var(--gold);
}


/* =========================================================
ABOUT SECTION
========================================================= */

.about {
background: #fff;
}

.about-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 70px;
align-items: center;
}

.about-img {
position: relative;
}

.about-img img {
width: 100%;
height: 520px;
object-fit: cover;
border-radius: 8px;
}

.experience {
position: absolute;
right: -20px;
bottom: 30px;
background: var(--primary);
color: #fff;
padding: 25px;
border-radius: 6px;
text-align: center;
}

.experience strong {
font-size: 35px;
display: block;
}

.about-content .tag {
color: var(--primary);
font-weight: 700;
letter-spacing: 2px;
font-size: 13px;
}

.about-content h2 {
font-family: 'Playfair Display', serif;
font-size: 42px;
color: var(--dark);
margin: 12px 0 20px;
}

.about-content p {
color: #666;
line-height: 1.8;
margin-bottom: 18px;
}

.about-list {
list-style: none;
margin: 25px 0;
}

.about-list li {
margin: 13px 0;
font-weight: 600;
}

.about-list i {
color: var(--primary);
margin-right: 10px;
}


/* =========================================================
WHY CHOOSE US
========================================================= */

.features {
background: var(--dark);
color: #fff;
}

.features .section-title h2 {
color: #fff;
}

.features .section-title .tag {
color: var(--gold);
}

.features .section-title p {
color: #cbd8d2;
}

.feature-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}

.feature {
text-align: center;
padding: 35px 20px;
border: 1px solid rgba(255, 255, 255, .12);
border-radius: 7px;
transition: .3s;
}

.feature:hover {
background: rgba(255, 255, 255, .05);
transform: translateY(-5px);
}

.feature i {
font-size: 35px;
color: var(--gold);
margin-bottom: 20px;
}

.feature h3 {
margin-bottom: 12px;
}

.feature p {
color: #c8d1cd;
font-size: 14px;
line-height: 1.7;
}


/* =========================================================
CTA SECTION
========================================================= */

.cta {
background:
linear-gradient(
rgba(18, 60, 43, .92),
rgba(18, 60, 43, .92)
),
url('../images/cta-bg.jpg');

background-size: cover;
background-position: center;
padding: 80px 0;
color: #fff;
}

.cta-inner {
display: flex;
justify-content: space-between;
align-items: center;
gap: 40px;
}

.cta h2 {
font-family: 'Playfair Display', serif;
font-size: 40px;
margin-bottom: 12px;
}

.cta p {
color: #d7e2dc;
max-width: 650px;
line-height: 1.7;
}


/* =========================================================
CONTACT
========================================================= */

.contact {
background: #f7f9f8;
}

.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 50px;
}

.contact-info h2 {
font-family: 'Playfair Display', serif;
color: var(--dark);
font-size: 38px;
margin-bottom: 15px;
}

.contact-info > p {
color: #666;
line-height: 1.8;
margin-bottom: 30px;
}

.contact-item {
display: flex;
gap: 18px;
margin-bottom: 25px;
}

.contact-icon {
min-width: 48px;
height: 48px;
background: var(--primary);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
border-radius: 5px;
}

.contact-item h4 {
color: var(--dark);
margin-bottom: 5px;
}

.contact-item p {
color: #666;
line-height: 1.6;
}


/* =========================================================
CONTACT FORM
========================================================= */

.contact-form {
background: #fff;
padding: 35px;
box-shadow: 0 10px 35px rgba(0, 0, 0, .06);
border-radius: 7px;
}

.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
}

.form-group {
margin-bottom: 17px;
}

.form-group label {
font-size: 13px;
font-weight: 600;
display: block;
margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
width: 100%;
padding: 14px;
border: 1px solid #ddd;
outline: none;
font-family: inherit;
border-radius: 4px;
transition: .3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(23, 107, 69, .08);
}

.form-group textarea {
height: 120px;
resize: none;
}

.contact-form .btn {
width: auto;
}


/* =========================================================
MAP
========================================================= */

.map {
width: 100%;
height: 400px;
}

.map iframe {
width: 100%;
height: 100%;
border: 0;
display: block;
}


/* =========================================================
FOOTER
========================================================= */

footer {
background: #0d2b20;
color: #fff;
padding: 55px 0 20px;
}

.footer-grid {
display: grid;
grid-template-columns: 1.5fr 1fr 1fr 1fr;
gap: 40px;
margin-bottom: 40px;
}

.footer-logo {
font-size: 25px;
font-weight: 700;
margin-bottom: 15px;
}

.footer-logo span {
color: var(--gold);
}

footer p {
color: #b9c8c1;
line-height: 1.7;
font-size: 14px;
}

footer h3 {
margin-bottom: 20px;
}

footer ul {
list-style: none;
}

footer ul li {
margin: 12px 0;
}

footer ul li a {
text-decoration: none;
color: #b9c8c1;
font-size: 14px;
transition: .3s;
}

footer ul li a:hover {
color: var(--gold);
}

.copyright {
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, .1);
text-align: center;
color: #9eafa7;
font-size: 13px;
}


/* =========================================================
WHATSAPP
========================================================= */

.whatsapp {
position: fixed;
right: 25px;
bottom: 25px;
width: 55px;
height: 55px;
background: #25D366;
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 28px;
z-index: 9999;
text-decoration: none;
box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
transition: .3s;
}

.whatsapp:hover {
transform: scale(1.1);
}


/* =========================================================
RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1100px) {

.container {
width: 92%;
}

nav ul {
gap: 18px;
}

.hero-text h1 {
font-size: 52px;
}

.category-grid {
grid-template-columns: repeat(2, 1fr);
}

.feature-grid {
grid-template-columns: repeat(2, 1fr);
}

.footer-grid {
grid-template-columns: 1fr 1fr;
}
}


/* =========================================================
RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 768px) {

header {
padding: 15px 0;
}

.logo {
font-size: 22px;
}

.menu-btn {
display: block;
}

nav {
display: none;
position: absolute;
top: 70px;
left: 0;
width: 100%;
background: #fff;
padding: 25px;
box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

nav.active {
display: block;
}

nav ul {
flex-direction: column;
gap: 18px;
align-items: flex-start;
}

nav ul li {
width: 100%;
}

nav ul li a {
color: #222 !important;
display: block;
}

nav ul li .nav-btn {
display: inline-block;
color: #fff !important;
}

.hero {
height: 650px;
}

.hero-text {
padding-top: 40px;
}

.hero-text .small-title {
font-size: 11px;
letter-spacing: 2px;
}

.hero-text h1 {
font-size: 39px;
line-height: 1.15;
}

.hero-text p {
font-size: 15px;
line-height: 1.7;
}

.hero-text .btn {
margin-bottom: 10px;
padding: 13px 20px;
}

.slider-arrows {
right: 5%;
bottom: 35px;
}

.slider-arrows button {
width: 42px;
height: 42px;
}

.dots {
bottom: 50px;
left: 5%;
}

.section {
padding: 65px 0;
}

.section-title {
margin-bottom: 35px;
}

.section-title h2,
.about-content h2 {
font-size: 32px;
}

.section-title p {
font-size: 14px;
}

.category-grid {
grid-template-columns: 1fr;
}

.category-img {
height: 230px;
}

.about-grid,
.contact-grid {
grid-template-columns: 1fr;
gap: 45px;
}

.about-img img {
height: 400px;
}

.experience {
right: 15px;
bottom: 15px;
padding: 18px;
}

.experience strong {
font-size: 28px;
}

.feature-grid {
grid-template-columns: 1fr;
}

.cta-inner {
flex-direction: column;
align-items: flex-start;
}

.cta h2 {
font-size: 32px;
}

.form-row {
grid-template-columns: 1fr;
}

.contact-form {
padding: 25px 20px;
}

.footer-grid {
grid-template-columns: 1fr;
gap: 30px;
}

.map {
height: 320px;
}

.whatsapp {
right: 18px;
bottom: 18px;
width: 50px;
height: 50px;
font-size: 24px;
}
}


/* =========================================================
SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

.container {
width: 92%;
}

.hero {
height: 620px;
}

.hero-text h1 {
font-size: 34px;
}

.hero-text p {
font-size: 14px;
}

.btn {
padding: 13px 18px;
font-size: 14px;
}

.category-content {
padding: 18px;
}

.about-img img {
height: 330px;
}

.about-content h2 {
font-size: 30px;
}

.cta h2 {
font-size: 29px;
}
}