/*
Theme Name: Three Mountains Theme
Theme URI: https://example.com/three-mountains
Author: Antigravity
Author URI: https://example.com
Description: A custom premium theme for Three Mountains Inc.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: three-mountains
*/

:root {
    --bg-color: #0d0d0d;
    --text-color: #e0e0e0;
    --accent-color: #d4af37;
    /* Gold */
    --accent-light: #f5d76e;
    --secondary-bg: #1a1a1a;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Admin bar fix */
.admin-bar header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar header {
        top: 46px;
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.desktop-nav a:hover {
    color: var(--accent-light);
}

/* Mobile Nav */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.mobile-nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 999;
}

.admin-bar .mobile-nav {
    top: calc(80px + 32px);
    height: calc(100vh - 80px - 32px);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav a {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 13, 13, 0.3) 0%, rgba(13, 13, 13, 0.8) 100%);
}

.hero-content {
    animation: fadeIn 1.5s ease-out;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Sections */
section {
    padding: 8rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto 0;
}

/* About */
.about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    color: #ccc;
}

.about .lead {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 2rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.service-card {
    background: var(--secondary-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition);
    border-radius: 4px;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-card.full-width {
    grid-column: 1 / -1;
    display: flex;
}

.service-card.full-width .service-image {
    width: 50%;
    height: auto;
}

.service-card.full-width .service-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.service-image {
    height: 250px;
    overflow: hidden;
}

.service-card.full-width .service-image {
    height: 350px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-info {
    padding: 2rem;
}

.service-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.service-info p {
    color: #bbb;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card.full-width {
        flex-direction: column;
    }

    .service-card.full-width .service-image,
    .service-card.full-width .service-info {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Contact */
.contact-lead {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--secondary-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: #0d0d0d;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: var(--bg-color);
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--accent-light);
}

/* Footer */
footer {
    background: #000;
    padding: 3rem 5%;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: #888;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #555;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}