/* ==========================================================================
   1. Reset
   ========================================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: top;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ==========================================================================
   2. Typography & Base Styles 
   ========================================================================== */
html { 
    width: 100%; 
    -webkit-font-smoothing: antialiased; 
}

body { 
    width: 100%; 
    padding: 0; 
    margin: 0; 
    background: #000; 
    text-align: center; 
}

p { 
    font-size: 1.2em; 
    line-height: 1.35em; 
    color: #fff; 
    padding: 0; 
    margin: 10px 0 20px; /* Updated: 0px top, 0px sides, 20px bottom */
    font-family: 'helvetica neue', helvetica, arial, sans-serif; 
    font-weight: 200;
    text-align: center; 
}

p strong { 
    font-weight: 500; 
}

a { 
    color: #ffcc00; 
    text-decoration: none; 
}

a:hover { 
    color: #fff; 
    -webkit-transition: all 0.2s ease-in-out; 
    transition: all 0.2s ease-in-out;
}

/* ==========================================================================
   3. Social Icons
   ========================================================================== */
ul { display: block; }
ul li { display: inline-block; margin: 0 20px; }
ul li a { opacity: 0.5; }
ul li a:hover { opacity: 1; -webkit-transition:all 0.2s ease-in-out; transition:all 0.2s ease-in-out; }

ul li.facebook a { width: 33px; height: 33px; display: block; background: transparent url('../images/facebook_icn.png') top center no-repeat; text-indent: -9999px; }
ul li.email a { width: 33px; height: 33px; display: block; background: transparent url('../images/email_icn.png') top center no-repeat; text-indent: -9999px; }
ul li.file a { width: 33px; height: 33px; display: block; background: transparent url('../images/file_icn.png') top center no-repeat; text-indent: -9999px; }
ul li.photo a { width: 33px; height: 33px; display: block; background: transparent url('../images/photo_icn.png') top center no-repeat; text-indent: -9999px; }
ul li.netatmo a { width: 33px; height: 33px; display: block; background: transparent url('../images/netatmo_icn.png') top center no-repeat; text-indent: -9999px; }


/* ==========================================================================
   4. Layout & Content 
   ========================================================================== */
.logo h1 a {
    width: 378px;
    height: 500px;
    display: block;
    background: url('../images/OdahlFamilyCrest.png') top center no-repeat;
    text-indent: -9999px;
    padding: 0;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 20px;
    border: none;
    text-align: center;
}

.content { 
    max-width: 600px; 
    padding: 0 20px; 
    display: block; 
    margin: 20px auto 0;
    
    /* Native CSS replacement for jQuery's $(".content").fadeIn(1500) */
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

/* ==========================================================================
   5. Background Setup (Replaces Vegas.js plugin)
   ========================================================================== */
.vegas-background { 
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover; 
    object-position: center center;
    z-index: -2; 
    image-rendering: optimizeQuality;
}

.vegas-overlay { 
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent url('../images/overlay.png'); 
    background-repeat: repeat;
    opacity: 0.5; 
    z-index: -1; 
    pointer-events: none; 
}

/* ==========================================================================
   6. Keyframe Animations
   ========================================================================== */
@keyframes fadeIn {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

/* Utility classes */
.bsap { display: none; }