html {
  font-size: 12px; 
}

/* #555 */
:root {
  /* Colors */
  /* For colors refer to colors.css */

  /* Sizes */
  --font-base: 1rem;        /* 16px */
  --font-small: 0.9rem;     /* 14.2px */
  --font-large: 1.25rem;    /* 20px */
  --spacing-sm: 0.5rem;     /* 8px */
  --spacing-md: 1rem;       /* 16px */
  --spacing-lg: 2rem;       /* 32px */
  --font-lg: 1.3rem;   /* for tagline text */
  --font-xl: 2rem;     /* for main hero heading */
  --spacing-xl: 6rem;  /* for gap */
  --spacing-xxl: 17rem; /* for hero padding */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  
  /* outline: 2px solid salmon; */
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--body-bg);
  color: var(--headers);
  line-height: 1.6;
  min-height: 100vh;
}

header {
  background: var(--header-bg);
  color: var(--headers);
  height: auto;
  gap: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;  
  text-align: left;          
  padding: 18px 12px;
}

header h1 {
  font-size: var(--font-lg); 
  font-weight: 700;
  letter-spacing: -0.01em;
}
.header a {
  color: #252323;
  text-decoration: none;
}

.header a:visited {
  color: #252323;  /* prevents purple after click */
}

.header a:hover {
  color: #252323;  /* optional: you can change on hover if you want */
}

.header a:active {
  color: #252323;
}

.navbar {
    margin-bottom: 10rem;
}
.nav-link-dropdown:visited {
    color: var(--small-font);
}

.dropdown-link:visited {
    color: var(--small-font);
}
.logo-container {
  margin-top: 0;
  margin-bottom: 0;
  background: var(--logo-bg);
  border: 2px solid var(--boxes);
  padding: var(--spacing-sm) var(--spacing-md);
  display: inline-block;
  align-self: flex-start;  
  max-width: 300px;
  max-height: 180px;
}



.logo-container h1 {
  font-size: 1.3rem;
  line-height: 1.2;
}

nav.signup {
  margin-top: 0;
  margin-bottom: 0;
}


.cta-btn {
  border: 2px solid var(--boxes);
  background: var(--tan);
  transform: rotate(0deg);
  color: var(--boxes);
  padding: calc(var(--spacing-sm) * 1.8) var(--spacing-lg);
  border-radius: 0px;
  font-weight: 600;
  font-size: var(--font-base);
  cursor: pointer;
  transition: all 0.5s ease;
}

.cta-btn:hover {
  transition: all 0.5s ease;
  transform: rotate(0deg) scale(1.0);
  box-shadow: 2px 2px 0 var(--shadow);
}

nav.signup {
  margin-bottom: 0;
}

/* --- Features Section --- */
.section {
  max-width: 600px;
  margin: var(--spacing-lg) auto;
  
  padding: var(--spacing-lg);
  background: white;
  text-align: center;
  border: 2px solid var(--boxes);
  margin-top: var(--spacing-lg); 
  margin-bottom: calc(var(--spacing-lg) * 10);
}

.section h2 {
  text-align: center;
  font-size: calc(var(--font-base) * 1.6);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  color: var(--charcoal);
}

/* Login Page Styles - Matches Ocean Breeze Design */

.section h1 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--headers);
    margin-bottom: var(--spacing-sm);
}

.section > p {
    color: var(--small-font);
    font-size: var(--font-large);
    margin-bottom: var(--spacing-lg);
}

/* Flash Messages */
.flash-message {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    border: 2px solid var(--boxes);
    border-radius: 0;
    font-weight: 600;
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border-color: #155724;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #721c24;
}

.flash-warning {
    background: #fff3cd;
    color: #856404;
    border-color: #856404;
}

.flash-info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #0c5460;
}

/* Form Container */
.section-2 {
    max-width: 500px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: var(--tan);
    border: 2px solid var(--boxes);
}

/* Form Groups */
.form-group {
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--headers);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-base);
}

.form-input {
    width: 100%;
    padding: calc(var(--spacing-sm) * 1.8) var(--spacing-md);
    border: 2px solid var(--boxes);
    background: white;
    font-size: var(--font-base);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    box-shadow: 2px 2px 0 var(--shadow);
}

.form-input::placeholder {
    color: #999;
}

/* Form Errors */
.form-error {
    color: #721c24;
    font-size: var(--font-small);
    margin-top: var(--spacing-sm);
    font-weight: 600;
}

/* Remember Me Checkbox */
.form-group input[type="checkbox"] {
    margin-right: var(--spacing-sm);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-group label[for="remember_me"] {
    display: inline;
    font-weight: 400;
    cursor: pointer;
}

/* Submit Button */
.btn-primary {
    width: 100%;
    border: 2px solid var(--boxes);
    background: var(--tan);
    color: var(--boxes);
    padding: calc(var(--spacing-sm) * 1.8) var(--spacing-lg);
    font-weight: 600;
    font-size: var(--font-base);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    box-shadow: 2px 2px 0 var(--shadow);
    transform: scale(1.0);
}

/* Auth Links */
.auth-links {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--boxes);
}

.auth-links p {
    color: var(--small-font);
    font-size: var(--font-base);
    margin-bottom: var(--spacing-sm);
}

.auth-links a {
    color: var(--small-font);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-links a:hover {
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  color: var(--headers);
  font-size: var(--font-base);
}

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

footer a:hover {
    text-decoration: underline;
}


/* Responsive */
@media (max-width: 768px) {
    .section {
        margin-top: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
        padding: var(--spacing-md);
    }

    .section-2 {
        padding: var(--spacing-md);
    }

    .section h1 {
        font-size: calc(var(--font-base) * 1.75);
    }

     /* Header */
    .header {
    padding: 10px 15px;
    min-height: auto;
    text-align: center; /* Center everything in header */
  }
  
  .logo-container {
    margin: 0 auto; /* Center the container */
    padding: 0;
    width: 100%; /* Take full width */
    display: block; /* Remove any flex/grid that might be fighting you */
  }
  
  .logo-text {
    margin: 0 auto;
    padding: 0;
    text-align: center; /* Center the text inside */
  }
  
  .brand-name {
    font-size: 24px;
    margin: 0 auto; /* Center the h1 */
    padding: 5px 0;
    line-height: 1.2;
    text-align: center; /* Center text */
  }
  
  .brand-name a {
    text-align: center; /* Center the link too */
  }
}



@media (max-width: 600px) {
  input[type="email"] {
    display: block;
    margin: 0 auto var(--spacing-md);
  }
}








