html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  background-color: var(--background-light);
  position: relative;
}

main {
  flex: 1 0 auto;
}

/* Elegant Wedding Planning App Styles */

:root {
    --primary-color: #B4833E; /* Elegant gold */
    --primary-light: #D4A968; /* Light gold */
    --primary-dark: #8B6429; /* Dark gold */
    --secondary-color: #2C1810; /* Deep brown */
    --accent-color: #E8DFD1; /* Champagne */
    --text-color: #2C1810;
    --text-light: #6C584C;
    --background-light: #FAF7F2;
    --button-height: 60px;
    --shadow-color: rgba(44, 24, 16, 0.1);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    margin-bottom: 2rem;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 24, 16, 0.3), rgba(44, 24, 16, 0.5));
}

.banner-text {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.banner-text h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.banner-text p {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.card-title {
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.action-buttons {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    background-color: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

.action-button i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(180, 131, 62, 0.1),
        transparent
    );
    transition: 0.5s;
}

.action-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(180, 131, 62, 0.3);
}

.action-button:hover::before {
    left: 100%;
}

.form-control, .form-select {
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(180, 131, 62, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.badge {
    padding: 0.5em 1em;
    border-radius: 20px;
    font-weight: 500;
}

.timeline-item::before {
    background-color: var(--primary-color);
}

.timeline-item::after {
    background-color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.timeline-time {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.timeline-content {
    background-color: white;
    border: 1px solid var(--accent-color);
    box-shadow: 0 3px 10px var(--shadow-color);
}

/* Footer styling */
.footer {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    padding: 0;
    font-size: 0.75rem;
    opacity: 0.7;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

.footer .container {
    height: 24px;
    line-height: 24px;
    padding: 0;
}

.footer .container span {
    display: inline-block;
    vertical-align: middle;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .banner-container {
        height: 70vh;
    }
    
    .banner-text h1 {
        font-size: 4rem;
    }
    
    .banner-text p {
        font-size: 1.5rem;
    }
}

/* Make sure buttons stay 2 per row on mobile */
@media (max-width: 576px) {
    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .action-button {
        height: 150px;
        font-size: 0.9rem;
    }
    
    .action-button i {
        font-size: 2rem;
    }
}