@font-face {
    font-family: 'recoletabold';
    src: url('recoleta-bold-webfont.woff2') format('woff2'),
         url('recoleta-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'recoletabold', Arial, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    height: 100vh;
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bull-decoration {
    position: absolute;
    width: auto;
    height: 100vh;
    opacity: 0.8;
}

.bull-left {
    left: 0;
    top: 0;
}

.bull-right {
    right: 0;
    top: 0;
}

.bull-decoration img {
    width: auto;
    height: 100%;
}

.content {
    text-align: center;
    z-index: 10;
}

.logo {
    margin-bottom: 40px;
}

.logo img {
    width: 300px;
    height: auto;
    max-width: 80vw;
}

h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 50px;
    color: #ffffff;
}

.enquire-button {
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-image: url('enquire.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 200px;
    height: 60px;
    max-width: 50vw;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-decoration: none;
}

.enquire-button:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .bull-decoration {
        width: auto;
        height: 100vh;
        transition: transform 0.3s ease;
    }
    
    .bull-left {
        left: 0;
        transform: translateX(-60%);
    }
    
    .bull-right {
        right: 0;
        transform: translateX(60%);
    }
    
    .logo img {
        width: 200px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .enquire-button {
        width: 150px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .bull-decoration {
        width: auto;
        height: 100vh;
        transition: transform 0.3s ease;
    }
    
    .bull-left {
        left: 0;
        transform: translateX(-75%);
    }
    
    .bull-right {
        right: 0;
        transform: translateX(75%);
    }
    
    .logo img {
        width: 150px;
    }
    
    h1 {
        font-size: 1.5rem;
        letter-spacing: 0.1em;
    }
    
    .enquire-button {
        width: 120px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* DRAWER STYLES */
.drawer {
    position: fixed;
    bottom: -100%; /* Hidden by default */
    left: 0;
    width: 100%;
    height: 100%; /* Full screen overlay feel */
    background-color: rgba(0,0,0,0.5); /* Dim background */
    z-index: 1000;
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none; /* Click-through when hidden */
    display: flex;
    align-items: flex-end; /* Aligns drawer to bottom */
    justify-content: center;
}

.drawer.open {
    bottom: 0;
    opacity: 1;
    pointer-events: auto;
}

.drawer-content {
    background-color: #fff; /* White background for form */
    width: 100%;
    max-width: 600px; /* Keeps it neat on desktop */
    padding: 30px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-height: 90vh; /* Prevents it from being too tall */
    overflow-y: auto; /* Scrolls if screen is small */
    position: relative;
}

.drawer.open .drawer-content {
    transform: translateY(0);
}

/* FORM STYLES */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
}

.drawer-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group.half {
    width: 50%;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    color: #555;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

.submit-btn {
    background-color: #d4a373; /* Earthy tone matching pastoral theme */
    color: white;
    border: none;
    padding: 12px 20px;
    width: 100%;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #b08d55;
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .drawer-content {
        padding: 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-group.half {
        width: 100%;
    }
}