/*
Theme Name: MyDomainIsForSale
Theme URI: https://marketing-media.at
Author: Michael Spring
Author URI: https://marketing-media.at
Description: A customizable WordPress theme for offering domains for sale.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mydomainisforsale
*/

/* General Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    font-family: inherit; /* Ensures body text inherits the custom font */
    color: inherit; /* Ensures body text inherits the custom text color */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hide the header */
header {
    text-align: center;
    padding: 50px 0;
    display: none;
}

header h1 {
    margin: 0;
    font-size: 3em;
    color: inherit; /* Ensures header text inherits the custom text color */
}

header p {
    font-size: 1.2em;
    color: inherit; /* Ensures header text inherits the custom text color */
}

.domain-sale {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.domain-sale-content {
    flex: 1;
    margin-right: 30px;
}

.domain-sale-title {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: inherit; /* Inherit the primary color dynamically set */
}

.domain-name {
    font-size: 3em;
    color: inherit; /* Ensures domain name text inherits the custom text color */
    margin-bottom: 20px;
}

.best-offer {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: inherit; /* Inherit the primary color dynamically set */
}

.best-offer span {
    font-weight: bold;
    color: inherit; /* Inherit the primary color dynamically set */
}

.domain-description {
    font-size: 1em;
    color: inherit; /* Ensures description text inherits the custom text color */
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    font-size: 1em;
    margin-bottom: 20px;
    color: inherit; /* Ensures contact info text inherits the custom text color */
}

.contact-info div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
    color: inherit; /* Inherit the primary color dynamically set */
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 400px;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.contact-form h2 {
    margin-bottom: 20px;
    color: inherit; /* Ensures form header text inherits the custom text color */
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin: 10px 0 5px;
    color: inherit; /* Ensures form labels inherit the custom text color */
}

.contact-form input,
.contact-form textarea {
    width: calc(100% - 20px); /* Adjust width */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f4f4f4;
    color: inherit; /* Ensures input text inherits the custom text color */
}

.contact-form button {
    padding: 10px;
    border: none;
    background-color: inherit; /* Inherit the primary color dynamically set */
    color: #fff;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: inherit; /* Ensure hover state inherits the adjusted primary color */
}

footer {
    text-align: center;
    padding: 10px 0;
    font-size: 0.9em;
    color: inherit; /* Ensures footer text inherits the custom text color */
}

/* Checkbox and label alignment */
.not-robot {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.not-robot input[type="checkbox"] {
    margin-right: 5px;
}

.not-robot label {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }

    header p {
        font-size: 1em;
    }

    .domain-sale {
        flex-direction: column;
        padding: 20px;
    }

    .domain-sale-content {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .domain-name {
        font-size: 2.5em;
    }

    .best-offer {
        font-size: 1.2em;
    }

    .contact-form {
        max-width: 100%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 0.9em;
    }

    .domain-name {
        font-size: 2em;
    }

    .best-offer {
        font-size: 1em;
    }

    .domain-sale {
        padding: 15px;
    }

    .contact-form {
        padding: 15px;
    }

    .contact-form button {
        font-size: 1em;
    }
}
