﻿/* --- Root Variables for easy theme changes --- */
:root {
    --primary-color: #e67e22;      /* Orange */
    --primary-hover: #d35400;
    --secondary-color: #2c3e50;    /* Dark Blue/Grey */
    --accent-color: #34495e;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #7f8c8d;
    --warning-bg: #fff3cd;
    --success-green: #27ae60;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- Base Layout --- */
body {
    font-family:Segoe UI,century gothic,arial,verdana;font-style:normal;font-weight:200;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
    background-color: #FFFFFF;
}

@media (min-width: 600px) {
    body { padding: 20px; }
}

/* --- Header & Branding --- */
header {
    background: #FFFFFF;
    color: #010101;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.header-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.header-content {
    padding: 1.5rem 1rem;
}

/* Specific styling for index.php yellow header */
header.home-header {
     background-color: #FFFFFF;
}

/* --- Containers --- */
.container {
    background: var(--white);
    padding: 20px;
    margin-top: -20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

@media (min-width: 600px) {
    .container { padding: 40px; margin-top: -40px; }
}

/* --- Typography --- */
h1 { margin: 0; font-size: 2rem; font-weight:400}
h2 { color: var(--secondary-color); border-bottom: 1px solid var(--primary-color); padding-bottom: 10px; font-size: 1.5rem; margin-top: 30px;font-weight:400 }
h3 { color: var(--secondary-color);font-weight:400 }

/* --- Forms & Inputs --- */
.form-group { margin-bottom: 20px; text-align: left; }
label { display: block; font-weight: bold; margin-bottom: 5px; color: #444; }

input[type="text"],
input[type="email"],
input[type="number"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--accent-color); }
.btn-buy { background: var(--success-green); }

.btn-submit {
    display: block;
    width: 100%;
    font-size: 1.2rem;
    margin-top: 30px;
}

/* --- Grid / Cards --- */
.cta-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 900px) {
    .cta-box { grid-template-columns: 1fr 1fr 1fr; }
}

.card, .quote-card, .tip-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.tip-card { border-left: 2px solid #3498db; }
.quote-card { border-left: 5px solid var(--success-green); }

/* --- Specialized Sections --- */
.joint-venture {
    position: relative;
    background: url('bg.webp') no-repeat center center;
    background-size: cover;
    padding: 60px 30px;
    margin: 30px 0;
    border-radius: 8px;
    border-left: 8px solid var(--primary-color);
    color: #ffffff;
    overflow: hidden;
}

.joint-venture::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.joint-venture h3, .joint-venture p { position: relative; z-index: 2; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); }

.quote {
    background: var(--warning-bg);
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    margin: 25px 0;
}

.warning {
    background: var(--warning-bg);
    padding: 15px;
    border-radius: 5px;
    border-left: 5px solid #ffc107;
    font-size: 0.9rem;
}

/* Container styles */
.cta-container {
  display: flex;
  flex-direction: row; /* Side-by-side by default */
  gap: 15px;           /* Space between buttons */
  margin-top: 20px;
}

/* Basic Button Styling (Adjust to match your site) */
/* Enhanced Button Styling */
.btn {
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  display: inline-block;
  transition: all 0.3s ease; /* Smooth transition for everything */
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

/* Hover Effect: The "Lift" */
.btn:hover {
  transform: translateY(-3px); /* Lifts the button up slightly */
  box-shadow: 0 8px 15px rgba(0,0,0,0.2); /* Deepens the shadow when lifted */
  filter: brightness(1.1); /* Makes the color pop slightly */
}

/* Active Effect: The "Press" */
.btn:active {
  transform: translateY(1px); /* Moves it down when clicked */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Colors to match your site's industrial feel */
.btn-primary { 
  background-color: #f39c12; /* Safety Orange */
  color: #fff; 
}

.btn-secondary { 
  background-color: #2c3e50; /* Steel Blue/Grey */
  color: #fff; 
}
/* Mobile Responsiveness */
@media (max-width: 600px) {
  .cta-container {
    flex-direction: column; /* Stacks them vertically */
    align-items: stretch;   /* Makes them full-width on mobile */
  }
  
  .btn {
    max-width: none;        /* Allows buttons to fill the screen width */
  }
}



  .sail-selection-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    text-align: center;
  }

  .selection-intro h2 { font-size: 2rem; color: #2c3e50; margin-bottom: 10px; }
  .selection-intro p { font-size: 1.1rem; color: #555; max-width: 800px; margin: 0 auto 40px; }

  .sail-options-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
  }

  .sail-card {
    flex: 1;
    background: #fff;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
  }

  .sail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #d1d1d1;
  }

  .badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
  }
  .badge-fast { background: #e1f5fe; color: #0288d1; }
  .badge-pro { background: #f3e5f5; color: #7b1fa2; }

  .sail-card h3 { margin: 0 0 10px 0; font-size: 1.5rem; color: #222; }
  .tagline { font-weight: bold; color: #c0392b; margin-bottom: 15px; }
  .sail-card p { line-height: 1.6; color: #666; font-size: 0.95rem; }

  .sail-btn {
    display: block;
    text-align: center;
    padding: 15px;
    margin-top: 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.3s ease;
  }

  .btn-world { background-color: #f39c12; color: white; }
  .btn-world:hover { background-color: #e67e22; }

  .btn-sd { background-color: #2c3e50; color: white; }
  .btn-sd:hover { background-color: #34495e; }

  .selection-footer {
    margin-top: 40px;
    font-style: italic;
    font-size: 0.9rem;
    color: #888;
  }

  /* Responsive Mobile View */
  @media (max-width: 768px) {
    .sail-options-grid {
      flex-direction: column;
    }
    .sail-card {
      margin-bottom: 20px;
    }
  }

/* --- Footer --- */
.footer { text-align: center; margin-top: 40px; font-size: 0.8rem; color: var(--text-muted); padding-bottom: 20px; }

/* --- Nav Links --- */
.nav-link { display: inline-block; margin: 10px 0 20px 0; color: var(--accent-color); text-decoration: none; font-weight: bold; }