/*
Theme Name: Kraven International Pro
Theme URI: https://kravenintl.com
Author: Kraven
Author URI: https://kravenintl.com
Description: Custom WordPress Theme for Kraven International manufacturing.
Version: 1.0
Text Domain: kraven
*/

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:#000;
color:#fff;
overflow-x:hidden;
}

.container{
width:90%;
max-width:1450px;
margin:auto;
}

header{
position:fixed;
width:100%;
top:0;
background:rgba(0,0,0,.85);
backdrop-filter:blur(10px);
padding:20px 0;
z-index:999;
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo {
position: relative;
display: inline-flex;
overflow: hidden;
}

.logo img{
width:180px;
display: block;
}

.logo::after {
content: "";
position: absolute;
top: 0;
left: -150%;
width: 50%;
height: 100%;
background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.6), rgba(255,255,255,0));
transform: skewX(-25deg);
animation: shine 3s infinite;
}

@keyframes shine {
0% { left: -150%; }
50% { left: 150%; }
100% { left: 150%; }
}

.nav-links {
display:flex;
align-items:center;
gap:40px;
}

.hamburger {
display: none;
font-size: 32px;
color: #d4af37;
cursor: pointer;
}

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

.menu a{
color:#fff;
text-decoration:none;
font-weight:600;
}

.quote-btn{
background:#d4af37;
padding:14px 28px;
border-radius:8px;
color:#000;
text-decoration:none;
font-weight:700;
transition: all 0.3s ease;
display: inline-block;
}
.quote-btn:hover {
background:#fff;
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(212,175,55,0.4);
}

.hero{
padding-top:180px;
padding-bottom:100px;
background:linear-gradient(rgba(0,0,0,.85),rgba(0,0,0,.9)), url('images/about-us.jpg');
background-size:cover;
background-position:center;
}

.hero-text{
text-align:center;
margin-bottom:70px;
}

.hero-text h1{
font-size:72px;
font-weight:900;
text-transform:uppercase;
}

.hero-text span{
color:#d4af37;
}

.hero-text p{
margin-top:20px;
font-size:24px;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.card{
position:relative;
height: 480px;
max-width: 480px;
width: 100%;
margin: 0 auto;
overflow:hidden;
border-radius:24px;
border:1px solid rgba(255,215,0,.25);
transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(212,175,55,0.2);
}

.card img{
width:100%;
height:100%;
object-fit:cover;
transition: transform 0.6s ease;
}
.card:hover img {
transform: scale(1.1);
}

.overlay{
position:absolute;
inset:0;
background:linear-gradient(to top,#000 10%,rgba(0,0,0,.2));
display:flex;
flex-direction:column;
justify-content:flex-end;
padding:35px;
}

.overlay h2{
font-size:42px;
margin-bottom:10px;
}

.overlay p{
margin-bottom:20px;
line-height:1.7;
}

.overlay a{
background:#d4af37;
padding:14px 26px;
border-radius:8px;
color:#000;
text-decoration:none;
width:max-content;
font-weight:700;
}

.about{
padding:100px 0;
background:#050505;
}

.about-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
gap:50px;
align-items:center;
}

.about-image img{
width:100%;
border-radius:20px;
}

.about-content h2{
font-size:52px;
color:#d4af37;
margin-bottom:20px;
}

.about-content p{
line-height:1.8;
margin-bottom:20px;
color:#ddd;
}

.contact{
padding:100px 0;
background:#050505;
}

.contact h2{
text-align:center;
font-size:52px;
margin-bottom:50px;
color:#d4af37;
}

.contact-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.contact-box{
background:#111;
padding:35px;
border-radius:18px;
border:1px solid rgba(255,215,0,.15);
}

.contact-box h4{
color:#d4af37;
margin-bottom:14px;
}

footer{
padding:30px;
text-align:center;
border-top:1px solid rgba(255,255,255,.08);
color:#aaa;
}

/* Modal Styles */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
backdrop-filter: blur(5px);
align-items: center;
justify-content: center;
}

.modal-content {
background-color: #111;
padding: 40px;
border-radius: 15px;
border: 1px solid rgba(212,175,55,0.3);
width: 90%;
max-width: 500px;
position: relative;
box-shadow: 0 20px 50px rgba(0,0,0,0.5);
animation: modalFadeIn 0.4s ease;
}

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

.close-btn {
position: absolute;
top: 15px;
right: 20px;
color: #aaa;
font-size: 28px;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
}

.close-btn:hover {
color: #d4af37;
}

.modal-content h2 {
color: #d4af37;
margin-bottom: 25px;
text-align: center;
}

.modal-content form {
display: flex;
flex-direction: column;
gap: 15px;
}

.modal-content input, .modal-content textarea {
width: 100%;
padding: 12px 15px;
border-radius: 8px;
border: 1px solid #333;
background: #222;
color: #fff;
font-family: 'Poppins', sans-serif;
outline: none;
transition: border 0.3s;
}

.modal-content input:focus, .modal-content textarea:focus {
border-color: #d4af37;
}

/* --- RESPONSIVE DESIGN FOR MOBILE --- */
@media (max-width: 992px) {
  .navbar {
    position: relative;
  }
  .hamburger {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10,10,10,0.98);
    padding: 25px 0 30px;
    border-top: 1px solid rgba(212,175,55,0.3);
    gap: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.7);
    align-items: center;
    z-index: 999;
  }
  .nav-links.active {
    display: flex;
  }
  .menu {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
  }
  .menu a {
    font-size: 15px;
    letter-spacing: 1px;
  }
  .hero {
    padding-top: 150px;
    padding-bottom: 70px;
  }
  .hero-text h1 {
    font-size: 48px;
  }
  .card {
    height: 380px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-content h2 {
    font-size: 38px;
  }
  .contact h2 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }
  .hero-text {
    margin-bottom: 50px;
  }
  .hero-text h1 {
    font-size: 36px;
    line-height: 1.3;
  }
  .hero-text p {
    font-size: 16px;
    margin-top: 14px;
  }
  .about-content h2, .contact h2 {
    font-size: 30px;
  }
  .about {
    padding: 70px 0;
  }
  .contact {
    padding: 70px 0;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card {
    height: 320px;
    max-width: 100%;
    aspect-ratio: unset;
  }
  .overlay h2 {
    font-size: 26px;
  }
  .overlay p {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .overlay a {
    padding: 10px 18px;
    font-size: 13px;
  }
  .overlay {
    padding: 25px;
  }
  .quote-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .contact-box {
    padding: 22px 18px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .modal-content {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 130px;
    padding-bottom: 50px;
  }
  .logo img {
    width: 130px;
  }
  .hamburger {
    font-size: 28px;
  }
  .menu a {
    font-size: 14px;
  }
  .hero-text h1 {
    font-size: 28px;
    line-height: 1.35;
  }
  .hero-text p {
    font-size: 13px;
    letter-spacing: 0.5px;
  }
  .card {
    border-radius: 16px;
    height: 280px;
  }
  .overlay h2 {
    font-size: 22px;
  }
  .about-grid {
    gap: 24px;
  }
  .about-content h2 {
    font-size: 26px;
  }
  .about-content p {
    font-size: 14px;
  }
  .contact h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-box {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .contact-box h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .contact-box p {
    font-size: 13px;
  }
  .footer {
    font-size: 12px;
    padding: 20px;
  }
  .modal-content {
    padding: 24px 16px;
  }
  .modal-content h2 {
    font-size: 20px;
  }
}
