/*
Theme Name: JG Vill Resort and Residences
Theme URI: https://jgvill.com
Description: Custom WordPress theme for JG Vill Resort and Residences Lot Owners Network in Moalboal, Cebu
Version: 1.0
Author: JG Vill Lot Owners Network
Author URI: https://jgvill.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jgvill
Tags: custom, resort, real-estate
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #2c3e50;
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero {
    position: relative;
    height: 400px;
    background: #f5f5f5;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    padding: 3rem 0;
}

.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    border-bottom: 3px solid #2c3e50;
    padding-bottom: 0.5rem;
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
}

.info-box {
    background: #f8f9fa;
    border-left: 4px solid #2c3e50;
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.cta-section {
    background: #ecf0f1;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-section h2 {
    border: none;
    margin-bottom: 1.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    background: #ffffff;
    padding: 2rem;
    border: 1px solid #ddd;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c3e50;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    background: #2c3e50;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #34495e;
}

.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-left: 4px solid;
}

.alert-success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

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

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 1px solid #ddd;
}

footer {
    background: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    opacity: 0.8;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    .hero {
        height: 250px;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}