/*
Theme Name: TA Alkhair Shipping
Version: 2.0
*/

/* =====================================
   ROOT VARIABLES
===================================== */
:root {
  --primary: #0F2B46;
  --secondary: #F57C00;
  --white: #ffffff;
  --gray: #f4f6f9;
  --text: #1a1a1a;
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* =====================================
   RESET & BASE
===================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.8;
  padding-top: 90px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =====================================
   BUTTONS
===================================== */
.btn-primary {
  background: var(--secondary);
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
}

/* =====================================
   HEADER
===================================== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--primary);
  padding: 20px 0;
  transition: var(--transition);
  z-index: 9999;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(15,43,70,0.95);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* =====================================
   HERO SECTION
===================================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(245,124,0,0.25), transparent 60%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,43,70,0.95), rgba(15,43,70,0.85));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  animation: fadeUp 1s ease forwards;
}

.hero-content h1 {
  font-size: 46px;
  margin-bottom: 15px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 25px;
}

@keyframes fadeUp {
  from {opacity:0; transform: translateY(30px);}
  to {opacity:1; transform: translateY(0);}
}

/* =====================================
   FORM
===================================== */
#quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

#quote-form input,
#quote-form select {
  padding: 12px;
  border-radius: 6px;
  border: none;
}

#quote-form select,
#quote-form button {
  grid-column: span 2;
}

@media(max-width:768px){
  #quote-form {
    grid-template-columns: 1fr;
  }
}

/* =====================================
   STATS
===================================== */
.stats-section {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.stat-item {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  padding: 30px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-8px);
}

.stat-item h3 {
  font-size: 36px;
  color: var(--secondary);
  margin-bottom: 10px;
}

/* =====================================
   WHY US
===================================== */
.why-us-section {
  padding: 100px 0;
  text-align: center;
}

.section-title {
  font-size: 30px;
  margin-bottom: 60px;
  color: var(--primary);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 40px;
}

.why-box {
  background: var(--gray);
  padding: 35px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.why-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* =====================================
   SERVICES
===================================== */
.services-section {
  padding: 100px 0;
  background: var(--gray);
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
}

.service-card::before {
  content: "";
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background: linear-gradient(90deg, var(--secondary), #ff9d3c);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* =====================================
   DESTINATIONS
===================================== */
.destinations-section {
  padding: 100px 0;
  background: #fff;
  text-align: center;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 25px;
}

.destination-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.destination-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.destination-card:hover img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,43,70,0.85);
  color: #fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  opacity:0;
  transition:var(--transition);
}

.destination-card:hover .destination-overlay {
  opacity:1;
}

/* =====================================
   FINAL CTA
===================================== */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary), #163c5f);
  text-align: center;
  color: #fff;
}

/* =====================================
   BLOG
===================================== */
.blog-single {
  padding: 80px 0;
  background: var(--gray);
}

.blog-container {
  max-width: 850px;
  margin: auto;
}

.blog-article {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-header {
  background: linear-gradient(135deg, var(--primary), #163c5f);
  padding: 40px;
  color: #fff;
}

.blog-content {
  padding: 40px;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  margin: 40px 0 20px;
  padding: 14px 20px;
  border-radius: 6px;
  font-weight: 600;
}

.blog-content h2 {
  background: var(--primary);
  color: #fff;
}

.blog-content h3 {
  background: #e8f1f8;
  color: var(--primary);
  border-right: 4px solid var(--secondary);
}

.blog-content h4 {
  background: var(--gray);
  border-right: 4px solid var(--primary);
}

/* =====================================
   TOC
===================================== */
.table-of-contents {
  background: #e8f1f8;
  padding: 25px;
  border-radius: var(--radius);
  margin-bottom: 40px;
}

.table-of-contents a {
  text-decoration: none;
  color: var(--primary);
}

/* =====================================
   PAGE
===================================== */
.page-content {
  padding: 80px 0;
  background: var(--gray);
}

.page-container {
  max-width: 900px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
}

.trust-badges span {
    display: inline-block;
    margin: 0 10px;
    font-size: 14px;
    opacity: 0.9;
}
/* ===== Pre Footer CTA ===== */
.pre-footer-cta {
    background: #0F2B46;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.pre-footer-cta h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.pre-footer-cta p {
    margin-bottom: 25px;
    font-size: 16px;
}

.cta-btn {
    display: inline-block;
    background: #25D366;
    color: #fff;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #1ebe5d;
}

/* ===== Footer Main ===== */
.main-footer {
    background: #0a1f33;
    color: #ccc;
    padding: 60px 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-col h3,
.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #25D366;
}

/* ===== Footer Bottom ===== */
.footer-bottom {
    text-align: center;
    padding: 20px;
    background: #081826;
    margin-top: 40px;
    font-size: 14px;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    font-size: 22px;
    padding: 12px 16px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 999;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .pre-footer-cta h2 {
        font-size: 22px;
    }
}
