/*
Theme Name: Farris Legal
Theme URI: #
Author: Your Name
Author URI: #
Description: A professional legal services WordPress theme with banner, contact form, and services showcase
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farris-legal
Domain Path: /languages

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  color: #003366;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #c9a961;
}

/* Header */
.head-bg {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  z-index: 100;
  transition: all 0.3s ease;
}

.head-bg.follow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  background-color: #fff;
}

.head-mn {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo-img {
  height: auto;
  max-width: 200px;
  display: block;
}

/* Banner Section */
.bnr {
  position: relative;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/bnr.jpg');
  background-size: cover;
  background-position: center;images
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bnr-ovrly {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 40px;
}

.clsblocks {
  flex: 1;
  color: #fff;
  z-index: 10;
}


.clsblocks h1 {
  font-size: 48px;
  font-weight: bold;
  margin: 10px 0 20px;
  line-height: 1.2;
}

.clsline {
  width: 80px;
  height: 3px;
  background-color: #c9a961;
  border: none;
  margin: 20px 0;
}

/* Contact Form */
.enquiryform {
  flex: 1;
  background-color: #fff;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 4px;
  z-index: 20;
}

.clsFhead {
  margin-bottom: 25px;
  border-bottom: 3px solid #003366;
  padding-bottom: 15px;
}

.clsFhead h4 {
  font-size: 20px;
  color: #003366;
  margin-bottom: 8px;
  font-weight: bold;
}

.clsFhead p {
  font-size: 14px;
  color: #666;
}

.clsformcontent {
  margin-top: 20px;
}

.clsfield {
  margin-bottom: 15px;
}

.clstxtbox,
.clsseltxtbox,
.clstxtarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.clstxtbox:focus,
.clsseltxtbox:focus,
.clstxtarea:focus {
  outline: none;
  border-color: #003366;
  box-shadow: 0 0 5px rgba(0, 51, 102, 0.2);
}

.clstxtarea {
  resize: vertical;
  min-height: 100px;
}

.clscapfield {
  margin: 15px 0;
}

.clsbtnfield {
  margin-top: 20px;
}

.clssend_submit {
  width: 100%;
  padding: 12px;
  background-color: #003366;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.clssend_submit:hover {
  background-color: #00254d;
}

/* Error Messages */
#clsname_error,
#clsemail_error1,
#clsemail_error2,
#clsmessage_error,
#clsphone_error,
#clscompany_error {
  display: none;
  color: #d32f2f;
  font-size: 12px;
  margin-top: 5px;
}

/* Main Content Sections */
.cmn-sec-0 {
  padding: 60px 20px;
  background-color: #f5f5f5;
}

.sec-0 {
  max-width: 1200px;
  margin: 0 auto;
}

.clss1-center h1 {
  font-size: 36px;
  color: #003366;
  margin-bottom: 30px;
  text-align: center;
}

.clspb {
  margin-bottom: 20px;
  color: #555;
  text-align: justify;
  line-height: 1.8;
}

.clsnobottommargin {
  margin-bottom: 0;
}

/* Services Section */
.cmn-sec-1 {
  padding: 60px 20px;
  background-color: #1a1a1a;
}

.sec-1 {
  max-width: 1200px;
  margin: 0 auto;
}

.sec-1 ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
}

.clsbloc {
  background-color: #2a2a2a;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clsbloc:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.clsbloc img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.clsbloc h2 {
  color: #fff;
  font-size: 22px;
  padding: 20px;
  border-bottom: 2px solid #c9a961;
}

.clspara1 {
  color: #ccc;
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
.cmn-sec-4 {
  padding: 0;
}

.ftr-bg {
  background-color: #1a1a1a;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.footer-location {
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.footer-location::before {
  content: "📍";
  font-size: 18px;
}

.clsfoot {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.clr {
  clear: both;
}

/* Responsive Design */
@media (max-width: 768px) {
  .bnr-ovrly {
    flex-direction: column;
    gap: 30px;
  }
  
  .clsblocks h1 {
    font-size: 32px;
  }
  
  .clstophead {
    font-size: 14px;
  }
  
  .enquiryform {
    padding: 20px;
  }
  
  .clss1-center h1 {
    font-size: 28px;
  }
  
  .sec-1 ul {
    grid-template-columns: 1fr;
  }
  
  .head-mn {
    padding: 10px 20px;
  }
  
  .logo-img {
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .clsblocks h1 {
    font-size: 24px;
  }
  
  .clss1-center h1 {
    font-size: 22px;
  }
  
  .enquiryform {
    padding: 15px;
  }
  
  .clstxtbox,
  .clsseltxtbox,
  .clstxtarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* WordPress Specific */
.wp-caption {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

p.clstophead {
    font-family: 'ROCK';
    color: #ffffff;
    font-size: 30px;
    margin: 0;
    text-align: left;
    padding: 0;
}