/*
Theme Name: Sevenopt Custom
Theme URI: https://sevenopt.com
Author: Sevenopt Solutions
Description: Custom WordPress theme without plugins for Sevenopt Solutions
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sevenopt-custom
*/

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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #072E59;
    background-color: #FFFFFF;
}

/* Typography */
body {
    font-size: 16px;
    line-height: 1.8;
    color: #072E59;
}

h1, h2, h3, h4, h5, h6 {
    color: #072E59;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

a {
    color: #C8A758;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #072E59;
}

/* Buttons */
.btn, button, input[type="submit"] {
    display: inline-block;
    padding: 12px 28px;
    background-color: #C8A758;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover, button:hover, input[type="submit"]:hover {
    background-color: #072E59;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #C8A758;
    border: 2px solid #C8A758;
}

.btn-outline:hover {
    background-color: #C8A758;
    color: white;
}

/* Backgrounds */
.bg-white {
    background-color: #FFFFFF;
}

.bg-cream {
    background-color: #FFF7F0;
}

.bg-orange {
    background-color: #FFE0C1;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.col-full {
    grid-column: 1 / -1;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="phone"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #C8A758;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #072E59;
    box-shadow: 0 0 5px rgba(200, 167, 88, 0.3);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #072E59;
}

/* Lists */
ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background-color: #FFF7F0;
}

table th {
    background-color: #C8A758;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #FFE0C1;
}

table tr:hover {
    background-color: #FFE0C1;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-2 { padding-top: 1rem; }
.pt-4 { padding-top: 2rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 2rem; }

/* Clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    body {
        font-size: 15px;
    }
}
