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

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f2f1f0;
    overflow-x: hidden;
}

/* Page Wrapper - Full viewport height */
.page-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f2f1f0;
}

/* Main Container - Holds content and footer */
.main-container {
    width: 100%;
    max-width: 1688px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 40px;
}

/* Content Container - Main content area */
.content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Logo Section - For home page */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

/* Form Section - For contact page */
.form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 440px;
}

/* Logo Container */
.logo-container {
    width: 318px;
    height: 205px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.logo {
    position: absolute;
    width: 119.5%;
    height: 185.37%;
    left: -9.75%;
    top: -42.68%;
    max-width: none;
    pointer-events: none;
}

/* Tagline */
.tagline {
    font-family: Georgia, serif;
    font-size: 21px;
    line-height: 32px;
    color: #4a4a4a;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Page Title */
.page-title {
    font-family: Georgia, serif;
    font-size: 21px;
    line-height: 32px;
    color: #4a4a4a;
    text-align: center;
    font-weight: normal;
    flex-shrink: 0;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.contact-form textarea,
.contact-form input[type="text"],
.contact-form input[type="email"] {
    width: 100%;
    padding: 10px 15px;
    background-color: #edeceb;
    border: 1px solid #cccbca;
    border-radius: 10px;
    font-size: 17px;
    color: #4a4a4a;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form textarea {
    min-height: 120px;
    height: 120px;
    resize: vertical;
    font-family: Georgia, serif;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
    height: 52px;
    font-family: Arial, sans-serif;
}

.contact-form textarea::placeholder,
.contact-form input::placeholder {
    color: grey;
    font-size: 17px;
}

.contact-form textarea:focus,
.contact-form input:focus {
    border-color: #999;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    height: 52px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #333;
}

.submit-btn:disabled {
    background-color: #666;
    cursor: not-allowed;
}

.submit-btn:active {
    background-color: #000;
}

/* Form Message */
.form-message {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    font-size: 15px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 20px;
    flex-shrink: 0;
}

.footer-text {
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: normal;
    color: #999999;
    text-align: center;
    white-space: nowrap;
}

.contact-link {
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: normal;
    color: #999999;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #666;
    text-decoration: underline;
}

.copyright {
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: normal;
    color: #999999;
    text-align: center;
    white-space: nowrap;
}

/* Responsive Design */

/* Tablet & Medium Screens */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 30px 15px;
    }
    
    .form-section {
        max-width: 400px;
        gap: 35px;
    }
    
    .logo-section {
        gap: 50px;
    }
}

/* Mobile Screens */
@media (max-width: 480px) {
    .page-wrapper {
        padding: 20px 15px;
    }
    
    .logo-container {
        width: 250px;
        height: 161px;
    }
    
    .tagline,
    .page-title {
        font-size: 18px;
        line-height: 28px;
        white-space: normal;
    }
    
    .form-section {
        max-width: 100%;
        gap: 30px;
    }
    
    .logo-section {
        gap: 40px;
    }
    
    .contact-form {
        gap: 15px;
    }
    
    .contact-form textarea {
        min-height: 100px;
        height: 100px;
    }
    
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .submit-btn {
        height: 48px;
    }
    
    .footer {
        padding: 15px;
        gap: 8px;
    }
}

/* Extra Small Screens */
@media (max-width: 360px) {
    .logo-container {
        width: 200px;
        height: 129px;
    }
    
    .tagline,
    .page-title {
        font-size: 16px;
        line-height: 24px;
    }
    
    .contact-form textarea,
    .contact-form input,
    .submit-btn {
        font-size: 15px;
    }
    
    .footer-text,
    .contact-link,
    .copyright {
        font-size: 12px;
    }
}

/* Large Screens */
@media (min-width: 1440px) {
    .page-wrapper {
        padding: 60px 40px;
    }
    
    .form-section {
        gap: 50px;
    }
    
    .logo-section {
        gap: 70px;
    }
}
