/* ===========================
   GLOBAL RESET & BASE STYLES
   =========================== */

body { /* Main page body */
  margin: 0; /* Remove default browser margin */
  font-family: Arial, sans-serif; /* Clean readable font */
  background: #f5f5f5; /* Light grey background */
  color: #333; /* Dark grey text */
}


/* ===========================
   HERO SECTION (TOP BANNER)
   =========================== */

.hero { /* Hero container */
  background: url('images/photo4.jpg') no-repeat center center; /* Background image */
  background-size: cover; /* Make image fill the hero area */
  height: 520px; /* Fixed height */
  position: relative; /* Allows overlay to be positioned manually */
}

/* Shaded text + buttons box in top-left */
.hero-overlay {
  position: absolute; /* Remove overlay from normal flow */
  top: 20px; /* Distance from top of hero */
  left: 20px; /* Distance from left of hero */
  background: rgba(0, 0, 0, 0.45); /* Semi-transparent shaded box */
  padding: 20px 15px; /* Inner spacing */
  max-width: 600px; /* Narrower box reveals more photo */
  text-align: left; /* Looks better in top-left */
  color: #fff; /* White text */
  border-radius: 6px; /* Softer corners */
}

/* Hero heading inside shaded box */
.hero-overlay h1 {
  font-size: 2.4rem; /* Large headline */
  margin-bottom: 15px; /* Space below heading */
}

/* Hero paragraph text */
.hero-overlay p {
  margin: 8px 0; /* Vertical spacing */
  font-size: 1.05rem; /* Slightly larger text */
}

/* Call-to-action phone line */
.call {
  font-weight: bold; /* Make phone number bold */
  margin-top: 10px; /* Space above */
}

/* Buttons container inside shaded box */
.hero-buttons {
  margin-top: 20px; /* Space above buttons */
}

/* Base button style */
.btn {
  display: inline-block; /* Make anchor behave like button */
  background: #007bff; /* Blue background */
  color: #fff; /* White text */
  padding: 10px 22px; /* Button padding */
  border-radius: 4px; /* Rounded corners */
  text-decoration: none; /* Remove underline */
  margin: 0 8px; /* Space between buttons */
  font-size: 0.95rem; /* Button text size */
}

/* Outline button style */
.btn-outline {
  background: transparent; /* Transparent background */
  border: 2px solid #fff; /* White border */
}


/* ===========================
   GENERIC SECTION STYLING
   =========================== */

.section { /* Generic section container */
  max-width: 900px; /* Limit width for readability */
  margin: 40px auto; /* Center section with vertical spacing */
  padding: 0 20px; /* Horizontal padding */
}

.section h2 { /* Section headings */
  text-align: left; /* Left-align headings */
  margin-bottom: 20px; /* Space below heading */
}


/* ===========================
   SERVICES SECTION
   =========================== */

.cards { /* Container for service cards */
  display: flex; /* Flexbox layout */
  flex-wrap: wrap; /* Allow wrapping */
  gap: 20px; /* Space between cards */
}

.card { /* Individual service card */
  background: #fff; /* White background */
  border-radius: 4px; /* Rounded corners */
  padding: 20px; /* Inner spacing */
  flex: 1 1 260px; /* Flexible width */
  box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* Soft shadow */
}

.card h3 { /* Card title */
  margin-top: 0; /* Remove top margin */
  margin-bottom: 10px; /* Space below title */
}

.card p { /* Card description */
  margin-bottom: 10px; /* Space below description */
}

.card ul { /* Bullet list */
  padding-left: 18px; /* Indent bullets */
  margin: 0; /* Remove default margin */
}


/* ===========================
   WIND CONDITIONS SECTION
   =========================== */

.intro { /* Intro paragraph */
  margin-bottom: 20px; /* Space below intro */
}

.wind-grid {
  display: flex; /* Row layout */
  flex-wrap: nowrap; /* Prevent wrapping */
  gap: 15px; /* Space between boxes */
  overflow-x: auto; /* Allow scroll */
}

.wind-day {
  flex: 0 0 115px; /* Fixed width */
  background: #fff;
  border-radius: 4px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.wind-day h3 {
  margin-top: 0;
  margin-bottom: 8px;
}


/* ===========================
   DRONE SUITABILITY TABLE
   =========================== */

.table-wrapper {
  background: #fff;
  border-radius: 4px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

thead {
  background: #e9ecef;
}

th, td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}


/* ===========================
   PORTFOLIO SECTION
   =========================== */

.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-item {
  background: #fff;
  border-radius: 4px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.portfolio-item h3 {
  margin-top: 0;
  margin-bottom: 6px;
}


/* ===========================
   ABOUT SECTION
   =========================== */

#about p {
  margin-bottom: 10px;
}


/* ===========================
   CONTACT SECTION
   =========================== */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.contact-form label {
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 0.95rem;
}

#contact {
  position: relative;
}

/* Button + logo stacked */
.contact-bottom-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.contact-logo {
  height: 400px;
  width: auto;
  opacity: 1;
}

.contact-form button {
  align-self: flex-start;
  margin-top: 10px;
}


/* ===========================
   FOOTER
   =========================== */

.footer {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #666;
}


/* ===========================
   SOCIAL ICONS
   =========================== */

.social-icons {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 12px;
}

.social-icons img {
  width: 26px;                /* perfect size for mobile + desktop */
  height: 26px;
  height: 26px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.social-icons img:hover {
  opacity: 1;
}

/* ===========================
   MOBILE FIX FOR SOCIAL ICONS
   =========================== */
@media (max-width: 600px) {

  .social-icons {
    position: static;        /* Remove absolute positioning on mobile */
    margin-top: 20px;        /* Add spacing */
    justify-content: center; /* Center the icons */
  }

  .social-icons img {
    width: 28px;             /* Slightly smaller icons for mobile */
    height: 28px;
  }
}

