/* Mary Ross Custom Homes - Simple Site */

/* Icon fonts */
@font-face {
  font-family: 'fontello-social';
  src: url('fonts/fontello-social.eot');
  src: url('fonts/fontello-social.eot?#iefix') format('embedded-opentype'),
       url('fonts/fontello-social.woff') format('woff'),
       url('fonts/fontello-social.ttf') format('truetype'),
       url('fonts/fontello-social.svg#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'e874';
  src: url('fonts/e874.eot');
  src: url('fonts/e874.eot?#iefix') format('embedded-opentype'),
       url('fonts/e874.woff') format('woff'),
       url('fonts/e874.ttf') format('truetype'),
       url('fonts/e874.svg#e874') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-s-"]:before,
[class*=" icon-s-"]:before {
  font-family: 'fontello-social';
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  text-align: center;
  line-height: 1em;
}

.icon-s-facebook:before { content: '\f30c'; }
.icon-s-pinterest:before { content: '\f312'; }
.icon-s-linkedin:before { content: '\e800'; }
.icon-s-linkedin:before { font-family: 'e874' !important; }
.icon-s-instagram:before { content: '\f32d'; }

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #ffffff;
    color: #373737;
    line-height: 1.6;
}

a { color: #86aea8; text-decoration: none; }
a:hover { color: #74a39c; text-decoration: underline; }

/* Header */
.header-teal {
    background: #86aea8;
    padding: 15px 0;
}
.header-teal .container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.header-teal .logo img { max-height: 60px; }

.social-links a {
    display: inline-block;
    margin-left: 8px;
    color: #fff;
    font-size: 18px;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.social-links a:hover { opacity: 1; text-decoration: none; }
.social-links a .icon-s-facebook { font-size: 22px; }
.social-links a .icon-s-pinterest { font-size: 22px; }
.social-links a .icon-s-linkedin { font-size: 24px; line-height: 0.8; }

/* Navigation */
.nav-wrapper {
    background: #373737;
    border-bottom: 1px solid #4a4a4a;
}
.nav-wrapper .container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}
.nav-wrapper ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.nav-wrapper ul li a {
    display: block;
    padding: 14px 20px;
    color: #c1c3c5;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    transition: color 0.2s;
}
.nav-wrapper ul li a:hover,
.nav-wrapper ul li.active a {
    color: #ffffff;
    text-decoration: none;
}
.nav-wrapper ul li a.current { color: #ffffff; }

/* Slider */
.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.slider {
    position: relative;
    width: 100%;
    height: 500px;
}
.slider .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}
.slider .slide.active {
    opacity: 1;
}
.slider .slide .slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.25);
}
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}
.slider-nav span {
    display: inline-block;
    width: 12px; height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s;
}
.slider-nav span.active { background: #ffffff; }

/* Content */
.content-area {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 15px;
    min-height: 400px;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    padding: 20px 0;
}
.gallery a {
    display: block;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    transition: border-color 0.2s;
}
.gallery a:hover {
    border-color: #86aea8;
    text-decoration: none;
}
.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.gallery a:hover img {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #373737;
    color: #c1c3c5;
    padding: 50px 0 0;
}
footer .container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}
footer .footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
footer .footer-col {
    flex: 1;
    min-width: 200px;
}
footer .footer-logo { max-height: 50px; margin-bottom: 15px; }
footer h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
}
footer .info p { margin-bottom: 8px; }
footer .info a { color: #86aea8; }
footer .social-links a { margin: 0 12px 0 0; }
footer .social-links { margin-top: 10px; }
.sub-footer {
    background: #2a2a2a;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 13px;
    color: #888;
}
.sub-footer .container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hamburger menu for mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #c1c3c5;
    font-size: 24px;
    cursor: pointer;
    padding: 12px 20px;
}
@media (max-width: 768px) {
    .nav-wrapper ul { flex-direction: column; display: none; }
    .nav-wrapper ul.show { display: flex; }
    .menu-toggle { display: block; }
    .header-teal .container { flex-direction: column; text-align: center; }
    .header-teal .logo img { margin-bottom: 10px; }
    .slider { height: 300px; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}
