/* ================================
   TOWER CITY LLC - Premium Design
================================ */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --dark: #111111;
  --gray-dark: #2b2b2b;
  --gray-light: #f4f4f4;
  --white: #ffffff;
  --accent: #c6a55c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

.container {
  width: 92%;
  max-width: 1400px;
  margin: auto;
}

/* ===== HEADER ===== */

header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  flex-wrap: nowrap;
}

.nav-links a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.phone-link {
  margin-right: 15px;
  text-decoration: none;
  font-weight: 600;
  color: var(--dark);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn-primary:hover {
  opacity: 0.85;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  max-width: 55%;
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  opacity: 0.9;
}

/* ===== FORM ===== */

.hero-form {
  background: var(--white);
  color: var(--dark);
  padding: 30px;
  width: 420px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero-form h3 {
  margin-bottom: 20px;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  font-family: inherit;
}

.hero-form button {
  width: 100%;
  border: none;
  cursor: pointer;
}

.hero-form small {
  font-size: 12px;
  display: block;
  margin-top: 10px;
}

/* ===== BADGES ===== */

.badges {
  padding: 60px 0;
  background: var(--gray-light);
}

.badge-grid {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.badge-box {
  flex: 1;
  background: var(--white);
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* ===== SERVICES ===== */

.services {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

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

.service-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.service-card h3 {
  margin-top: 15px;
}

.service-card:hover {
  transform: translateY(-6px);
  transition: 0.3s ease;
}

/* ===== CTA ===== */

.cta {
  background: var(--gray-dark);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
}

/* ===== FOOTER ===== */

footer {
  background: #000;
  color: #ccc;
  padding: 40px 0;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */

@media(max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }
  .hero-text, .hero-form {
    max-width: 100%;
    width: 100%;
  }
  .hero-text h1 {
    font-size: 36px;
  }
  .badge-grid {
    flex-direction: column;
  }
}

/* Projects Page */

.page-hero {
    background: #111;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.filter-buttons {
    text-align: center;
    margin: 40px 0;
}

.filter-btn {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background: #eee;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: #c49b63;
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project-item img {
    width: 100%;
    display: block;
    transition: 0.4s ease;
}

.project-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

/* Contact Page */

.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.contact-form button {
    width: 100%;
}

.map-section {
    margin-top: 40px;
}

@media(max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.sms-consent {
    margin: 15px 0;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.sms-consent input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
}
