/* Rubicon Pools ATX Main Styles */
@import 'colors.css';
@import 'typography.css';

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background-color: var(--dark-background);
  color: var(--text-white);
  line-height: var(--line-height-normal);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
header {
  background-color: var(--dark-background);
  padding: 20px 0;
  position: relative;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  margin-left: 15px;
}

.logo-text h1 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: var(--text-white);
}

.logo-text p {
  font-size: var(--font-size-xs);
  color: var(--text-light-gray);
}

/* Hero section */
.hero {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
}

/* Contact form section */
.contact {
  padding: 60px 0;
  background-color: var(--teal-secondary);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.section-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  margin-bottom: 40px;
  color: var(--text-white);
  line-height: var(--line-height-tight);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: var(--font-weight-medium);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  background-color: var(--off-white);
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--teal-primary);
  color: var(--text-white);
  border: none;
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--teal-light);
}

/* About section */
.about {
  padding: 60px 0;
  background-color: var(--dark-background);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

/* Footer */
footer {
  background-color: var(--dark-background);
  padding: 40px 0;
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-contact {
  margin-bottom: 20px;
}

.footer-contact p {
  margin-bottom: 5px;
}

.footer-copyright {
  font-size: 14px;
  color: var(--text-light-gray);
}

/* Admin panel styles */
#admin-panel {
  background-color: var(--dark-background);
  padding: 40px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 1000;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.leads-table th, .leads-table td {
  border: 1px solid var(--teal-secondary);
  padding: 10px;
  text-align: left;
}

.leads-table th {
  background-color: var(--teal-primary);
}

.leads-table tr:nth-child(even) {
  background-color: rgba(58, 155, 155, 0.1);
}

.leads-table button {
  margin-right: 5px;
  padding: 5px 10px;
  background-color: var(--teal-primary);
  color: var(--text-white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.leads-table button:hover {
  background-color: var(--teal-light);
}

/* Responsive styles */
@media (max-width: 768px) {
  .section-title {
    font-size: calc(var(--font-size-lg) * 0.9);
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .contact-info {
    padding-right: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: calc(var(--font-size-lg) * 0.7);
  }
}
