/* Unified Wedding Site Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Georgia, serif;
    color: #333;
}

/* Full page background container */
.page-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('images/background_1.jpg');
    background-size: cover;
    background-position: center 80%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Dark overlay for better readability */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

/* Main content container */
.content-box {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

h1 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: normal;
    letter-spacing: 1px;
}

h2 {
    font-size: 1.8em;
    margin: 0px 0 20px 0;
    color: #2c3e50;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

/* Form Elements */
label {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1em;
}

input[type="text"],
input[type="email"],
input[type="number"],
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    font-family: Georgia, serif;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: #7c9885;
}

button {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 25px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-family: Georgia, serif;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

button:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Message boxes */
#message, .message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 1.1em;
}

.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Links */
a {
    color: #2c3e50;
    text-decoration: none;
    border-bottom: 2px solid #7c9885;
    transition: all 0.3s;
}

a:hover {
    color: #7c9885;
    border-bottom-color: #2c3e50;
}

.home-link, .nav-link {
    text-align: center;
    margin-top: 30px;
}

.home-link a, .nav-link a {
    display: inline-block;
    padding: 12px 30px;
    background: #7c9885;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.home-link a:hover, .nav-link a:hover {
    background: #6b8574;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Info page specific */
.info-section {
    margin: 25px 0;
    padding: 20px;
    background: rgba(124, 152, 133, 0.1);
    border-radius: 5px;
}

.info-section p {
    margin-bottom: 10px;
}

.info-section strong {
    color: #2c3e50;
    font-weight: bold;
}

/* Hidden elements */
.hidden {
    display: none !important;
}

/* Loading state */
.loading {
    opacity: 0.6;
    cursor: wait;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .content-box {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    button {
        font-size: 1.1em;
    }
}