* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    background: #070b14;
}

.navbar {
    width: 100%;
    padding: 22px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(7, 11, 20, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.logo {
    color: #d4af37;
    font-size: 22px;
    font-weight: bold;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: white;
    text-decoration: none;
}

nav a:hover {
    color: #d4af37;
}

.hero {
    min-height: calc(100vh - 75px);
    padding: 60px 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    background:
        radial-gradient(circle at top right, #243b65 0%, transparent 40%),
        linear-gradient(135deg, #070b14, #111827 55%, #17233d);
}

.hero-photo img {
    width: 320px;
    height: 420px;
    object-fit: cover;
    object-position: center top;
    border: 5px solid #d4af37;
    border-radius: 24px;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.35);
}

.hero-content {
    max-width: 700px;
}

.label {
    color: #d4af37;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
}

h1 {
    margin: 18px 0;
    font-size: clamp(44px, 7vw, 76px);
    line-height: 1.05;
}

h2 {
    margin: 16px 0;
    font-size: clamp(32px, 5vw, 52px);
}

h3 {
    color: #d4af37;
}

.description,
.about-content p,
.contact-section p,
.service-card p {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.7;
}

.buttons {
    margin-top: 34px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    padding: 15px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.primary-button {
    background: #d4af37;
    color: #111827;
}

.secondary-button {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.about-section {
    padding: 90px 8%;
    background: #0c1220;
}

.about-content {
    max-width: 1100px;
    margin: auto;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 45px;
}

.service-card {
    padding: 28px;
    background: #111827;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
}

.contact-section {
    padding: 90px 8%;
    text-align: center;
    background:
        radial-gradient(circle at bottom left, #243b65 0%, transparent 35%),
        #070b14;
}

.contact-section .buttons {
    justify-content: center;
}

@media (max-width: 800px) {
    .navbar {
        flex-direction: column;
        gap: 18px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-photo img {
        width: 240px;
        height: 320px;
    }

    .buttons {
        justify-content: center;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }
}.featured-section{
    padding:90px 8%;
    background:#111827;
    text-align:center;
}

.featured-grid{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.property-card{
    background:#1b263b;
    border-radius:15px;
    overflow:hidden;
    transition:.3s;
    border:1px solid rgba(212,175,55,.2);
}

.property-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(212,175,55,.35);
}

.property-card img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.property-card h3{
    color:#d4af37;
    margin:20px 0 10px;
}

.property-card p{
    color:#d1d5db;
    padding-bottom:25px;
}.home-value{
    padding:100px 8%;
    text-align:center;

    background:
    linear-gradient(rgba(5,10,20,.90),
    rgba(5,10,20,.90)),
    url("https://images.unsplash.com/photo-1605146769289-440113cc3d00?w=1600");

    background-size:cover;
    background-position:center;
}

.home-value h2{
    font-size:52px;
    margin:20px 0;
}

.home-value p{
    max-width:700px;
    margin:auto;
    margin-bottom:40px;
    color:#d1d5db;
    line-height:1.8;
}

/* Home Value Form */

.home-value-form {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.home-value-form input,
.home-value-form textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #344054;
    border-radius: 8px;
    background-color: #ffffff;
    color: #111827;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
}

.home-value-form input:focus,
.home-value-form textarea:focus {
    outline: none;
    border-color: #e8b923;
    box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.2);
}

.home-value-form textarea {
    min-height: 120px;
    resize: vertical;
}

.home-value-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 16px;
}/* Thank You Page */

.thank-you-page {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(3, 9, 20, 0.9), rgba(3, 9, 20, 0.95)),
        url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    text-align: center;
}

.thank-you-card {
    width: 100%;
    max-width: 650px;
    padding: 55px 40px;
    background-color: rgba(17, 27, 46, 0.96);
    border: 1px solid rgba(232, 185, 35, 0.35);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.thank-you-card .section-label {
    margin-bottom: 15px;
    color: #e8b923;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
}

.thank-you-card h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 58px;
}

.thank-you-card > p:not(.section-label) {
    max-width: 520px;
    margin: 0 auto 35px;
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.7;
}

.thank-you-card .primary-button {
    display: inline-block;
    margin: 5px 8px 15px;
    text-decoration: none;
}

.thank-you-phone {
    display: block;
    margin-top: 10px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
}

.thank-you-phone:hover {
    color: #e8b923;
}

@media (max-width: 600px) {
    .thank-you-card {
        padding: 40px 22px;
    }

    .thank-you-card h1 {
        font-size: 42px;
    }
}/* Prevent Home Value section from hiding behind navigation */

.home-value {
    padding-top: 140px;
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .home-value {
        padding-top: 110px;
        padding-left: 20px;
        padding-right: 20px;
    }
}/* Website Footer */

.site-footer {
    padding: 60px 20px 30px;
    background-color: #070d18;
    border-top: 1px solid rgba(232, 185, 35, 0.3);
    color: #d1d5db;
    text-align: center;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #e8b923;
    font-size: 28px;
}

.site-footer > p {
    max-width: 700px;
    margin: 0 auto 25px;
    font-size: 16px;
    line-height: 1.7;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.footer-contact a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #e8b923;
}

.site-footer .footer-bottom {
    margin-bottom: 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8f98a8;
    font-size: 14px;
}/* Mobile Website Improvements */

@media (max-width: 768px) {

    header {
        padding: 18px 20px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 14px;
    }

    .hero h1,
    .contact h2,
    .home-value h2 {
        font-size: 38px;
        line-height: 1.15;
    }

    .hero p,
    .contact p,
    .home-value p {
        font-size: 16px;
    }

    .property-grid {
        grid-template-columns: 1fr;
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-value-form {
        width: 100%;
    }

    .site-footer h3 {
        font-size: 24px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 14px;
    }
}/* Smooth navigation scrolling */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

section {
    scroll-margin-top: 90px;
}/* Mobile menu section positioning */

@media (max-width: 768px) {
    html {
        scroll-padding-top: 135px;
    }

    #home,
    #about,
    #contact,
    #home-value {
        scroll-margin-top: 135px;
    }
}/* Mobile Navigation Menu */

.menu-toggle {
    display: none;
    padding: 8px 12px;
    border: 1px solid #e8b923;
    border-radius: 6px;
    background: transparent;
    color: #e8b923;
    font-size: 25px;
    cursor: pointer;
}

@media (max-width: 768px) {

    .navbar {
        position: relative;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    #navLinks {
        display: none !important;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding-top: 15px;
    }

 #navLinks a {
    width: 100%;
    padding: 13px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

}

/* Fix Richard's homepage photo */

.hero-photo {
    width: 320px;
    height: 420px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 24px;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    transform: translateY(-8%) scale(1.4);
    transform-origin: center center;
}

@media (max-width: 768px) {
    .hero-photo {
        width: 280px;
        height: 370px;
        margin: 0 auto;
    }
}/* Final homepage photo adjustment */

.hero-photo {
    border: 4px solid #e8b923;
    box-sizing: border-box;
}

.hero-photo img {
    transform: translateY(1%) scale(1.18);
    transform-origin: center center;
}

#about,
#home-value,
#contact {
  scroll-margin-top: 90px;
}