/*
Theme Name: Perla Heights
Theme URI: https://perla-heights.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A WordPress theme for Perla Heights real estate website
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perla-heights
Tags: custom-menu, responsive-layout, one-page, real-estate

This theme is built for the Perla Heights website and maintains all original
design elements, animations, and functionality while being WordPress-compatible.
*/

/* Import original styles */
@import url('assets/css/custom-styles.css');

/* WordPress-specific styles */
body {
    margin: 0;
    padding: 0;
}

/* Remove WordPress admin bar margin */
body.admin-bar {
    padding-top: 0;
}

/* WordPress menu styles */
.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: #007bff;
}

/* WordPress widget areas */
.widget-area {
    margin: 20px 0;
}

/* WordPress comment styles */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* WordPress post styles */
.entry-content {
    line-height: 1.6;
}

.entry-title {
    margin-bottom: 20px;
}

/* WordPress form styles */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

input[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

/* WordPress gallery styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-icon img {
    width: 100%;
    height: auto;
    display: block;
}

/* WordPress pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.page-numbers {
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
}

.page-numbers.current {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.page-numbers:hover {
    background-color: #f8f9fa;
}

/* WordPress search form */
.search-form {
    display: flex;
    gap: 10px;
}

.search-field {
    flex-grow: 1;
}

/* WordPress footer widgets */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* WordPress accessibility */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 100000;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}