/* BrewMint Website Styles */

/* CSS Variables - Color Palette */
:root {
  --primary-light: #A3CEF1;
  --primary-medium: #6096BA;
  --primary-dark: #274C77;
  --neutral-bg: #E7ECEF;
  --white: #ffffff;

  /* Spacing System */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;

  /* Typography */
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

body {
  font-family: var(--font-primary);
  color: var(--primary-dark);
  background: linear-gradient(135deg, #B8D4E8 0%, var(--primary-medium) 30%, var(--primary-dark) 80%);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
}

/* Header Styles */
header {
  padding: var(--spacing-md);
  position: relative;
  min-height: 200px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
}

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

nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
}

nav a {
  color: var(--white);
  text-decoration: none !important;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border-bottom: none !important;
}

nav a:hover,
nav a:focus {
  color: var(--primary-light);
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Main Content */
main {
  margin-top: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Hero Section */
.hero {
  padding: var(--spacing-xxl) var(--spacing-md);
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-weight: 700;
  text-align: center;
}

.hero p {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 12px;
  text-decoration: none !important;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: rgba(39, 76, 119, 0.6);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
  background: rgba(39, 76, 119, 0.8);
  text-decoration: none !important;
}

.btn-secondary {
  background: rgba(96, 150, 186, 0.6);
  color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(96, 150, 186, 0.8);
  text-decoration: none !important;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* Services Preview Section */
.services-preview {
  padding: var(--spacing-xl) var(--spacing-md);
}

.services-preview h2 {
  text-align: center;
  color: var(--white);
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: var(--spacing-md);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.service-card p {
  color: var(--white);
  line-height: 1.6;
}

/* Page Sections */
.page-section {
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-section .container {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: var(--spacing-lg);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-section h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.page-section h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  text-align: center;
  margin-top: var(--spacing-md);
}

.page-section p {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  max-width: 800px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page-section ul,
.page-section ol {
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-md);
}

.page-section li {
  margin-bottom: var(--spacing-xs);
  color: var(--white);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--spacing-md);
  text-align: left;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.4);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  header {
    min-height: 150px;
  }

  .logo-img {
    height: 150px;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .brand {
    position: static;
  }

  nav {
    position: static;
    transform: none;
    margin-top: var(--spacing-md);
  }

  nav ul {
    gap: var(--spacing-md);
  }

  nav a {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
  }

  header {
    min-height: 120px;
  }

  .logo-img {
    height: 120px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
  }

  nav a {
    font-size: 0.95rem;
  }
}
