/* ===========================
      GLOBAL SETTINGS
=========================== */
body {
    font-family: "Serif", Garamond;
    margin: 0;
    padding: 0;
    color: #f0f0f0;
    /* SUNSET GRADIENT */
    background-color: #ff7e5f; /* fallback */
    background-image: linear-gradient(to bottom, #ff7e5f, #feb47b, #86a8e7);
    background-attachment: fixed;
    line-height: 1.6;
}

/* ===========================
      NAVIGATION
=========================== */
nav {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 15px 0;
    z-index: 9999;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
    display: inline-block;
    transition: color 0.3s;
}

nav a:hover {
    color: #00bcd4;
}

/* ===========================
      HERO VIDEO
=========================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    color: white;
    text-align: center;
    transform: translate(-50%, -50%);
}

.hero-content h1 {
    font-size: 4rem;
    margin: 0 0 10px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.5rem;
    font-style: italic;
}

/* ===========================
      SECTIONS
=========================== */
section {
    padding: 60px 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    font-size: 2.25rem;
    margin-bottom: 30px;
    text-align: center;
}

/* ===========================
      ABOUT / SCRIPTURE TEXT
=========================== */
.about-text,
.portfolio-note,
.hero-content p {
    font-family: "Serif", Garamond;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #f0f0f0;
}

.about-text {
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
    max-width: 900px;
    margin: 20px auto;
    text-align: center;
}

.portfolio-note {
    text-align: center;
    font-style: italic;
    font-size: 1.35rem;
    margin-top: 15px;
}

/* ===========================
      PORTFOLIO HORIZONTAL SCROLL
=========================== */
.portfolio-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.portfolio-scroll img {
    height: 350px;
    flex-shrink: 0;
    border-radius: 8px;
}

/* ===========================
      SERVICE GRID FIXED
=========================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    justify-items: center;
    padding: 20px 0;
}

.service-grid .card {
    background: rgba(0,0,0,0.75);
    padding: 30px 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 260px;
    text-align: center;
    color: #f0f0f0;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, background 0.3s;
}

.service-grid .card:hover {
    transform: translateY(-5px);
    background: rgba(0,0,0,0.85);
}

/* ===========================
      FORM CONTAINERS
=========================== */
.estimate-container {
    max-width: 600px;
    margin: 40px auto;
    background: rgba(0,0,0,0.5);
    padding: 25px;
    border-radius: 10px;
    color: #f0f0f0;
}

.estimate-container label,
.estimate-container input,
.estimate-container select,
.estimate-container textarea,
.estimate-container button {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    font-family: "Serif", Garamond;
}

/* ===========================
      BUTTONS
=========================== */
button#topBtn {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    background-color: #00bcd4;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
}

button#topBtn:hover {
    background-color: #008c9e;
}