﻿/*
Theme Name: Cove Farms Classic
Theme URI: https://www.covefarms.com/
Author: Cove Systems, Inc.
Description: Authentic classic WordPress theme for Cove Farms, preserving the iconic Pine Island branding, colors, and layout.
Version: 1.0.0
*/

* { box-sizing: border-box; }

body {
    margin: 10px 0 0 0;
    padding: 0;
    background-color: #D6E193;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: #333333;
    font-size: 15px;
    line-height: 1.5;
}

a {
    color: #006699;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

h1 {
    text-align: center;
    font-weight: bold;
    font-size: 26px;
    color: #006622;
    margin: 15px 0 10px 0;
}
h1 a {
    color: #006622;
}

h2 {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    color: #006622;
    margin: 15px 0 10px 0;
}

h3 {
    font-size: 17px;
    color: #006622;
    font-weight: bold;
}

h4 {
    text-align: center;
    font-size: 16px;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: #006622;
}

.cove_color {
    color: #006699;
}

/* Page Frame & Shades */
.site-wrapper {
    position: relative;
    width: 973px;
    margin: 0 auto;
}

.top-shade {
    width: 973px;
    height: 134px;
    background: url('images/top_shade.png') no-repeat top center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.body-shade {
    position: relative;
    width: 973px;
    margin: 0 auto;
    background: url('images/body_shade.png') repeat-y center top;
    padding: 0 21px;
    z-index: 2;
}

.bot-shade {
    width: 973px;
    height: 48px;
    background: url('images/bot_shade.png') no-repeat bottom center;
    margin: 0 auto;
    position: relative;
    top: -49px;
    z-index: 10;
    pointer-events: none;
}

/* Header Elements */
.header-container {
    position: relative;
    width: 931px;
    margin: 0 auto;
    z-index: 5;
}

.header-top-bar {
    width: 931px;
    height: 8px;
    display: block;
}

.header-banner-wrap {
    position: relative;
    width: 931px;
    height: 105px;
    background: url('images/header_img.jpg') no-repeat center center;
}

.header-americas {
    position: absolute;
    top: 35px;
    left: 30px;
    width: 312px;
    height: 50px;
    background: url('images/americas.png') no-repeat;
    z-index: 6;
}

.header-utility {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 12px;
    z-index: 6;
}
.header-utility a {
    color: #ffffff;
    font-weight: bold;
}

.header-nursery-badge {
    position: absolute;
    top: 38px;
    right: 15px;
    width: 250px;
    height: 40px;
    background: url('images/nursery_top_bg.png') no-repeat;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-nursery-badge a {
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #003311;
    text-align: center;
    padding: 2px 10px;
}

.header-menu {
    position: absolute;
    bottom: 8px;
    left: 380px;
    z-index: 6;
}
.header-menu a {
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    margin-right: 20px;
    text-shadow: 1px 1px 2px #003311;
}
.header-menu a:hover {
    color: #FFFFCC;
    text-decoration: underline;
}

.header-division {
    width: 931px;
    height: 30px;
    background: url('images/division.png') no-repeat center center;
    margin: 0 auto;
}

/* White Content Area */
.content-area {
    background-color: #ffffff;
    width: 931px;
    min-height: 500px;
    padding: 25px 40px 30px 40px;
    position: relative;
}

/* Homepage Specific Layout */
.home-layout {
    display: flex;
    gap: 25px;
}

.home-left-palm {
    width: 200px;
    flex-shrink: 0;
}
.home-left-palm img {
    width: 200px;
    height: auto;
    display: block;
}

.home-news-area {
    flex-grow: 1;
}

.news-bullets {
    background-color: #F8FAF0;
    border-left: 4px solid #006622;
    padding: 12px 15px 12px 30px;
    margin-bottom: 25px;
    font-size: 14px;
}
.news-bullets li {
    margin-bottom: 6px;
}

.news-item {
    margin-bottom: 30px;
}
.news-item h3 {
    margin-bottom: 8px;
    color: #000000;
}
.news-item hr {
    border: 0;
    height: 1px;
    background: #c5d8a8;
    margin: 25px 0;
}
.news-item img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 3px;
}

/* Palm Variety / Species Layout */
.species-layout {
    display: flex;
    gap: 30px;
}
.species-content {
    flex-grow: 1;
}
.species-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.tree-menu-box {
    background: url('images/tree_menu_bg.png') no-repeat top center;
    background-size: 100% 100%;
    padding: 25px 20px 20px 20px;
    margin-bottom: 25px;
    min-height: 280px;
}
.tree-menu-box h4 {
    margin-top: 0;
    color: #006622;
    font-size: 15px;
    font-weight: bold;
    border-bottom: 1px solid #73a853;
    padding-bottom: 5px;
}
.tree-menu-box a {
    display: block;
    color: #111111;
    font-size: 13px;
    margin-bottom: 6px;
    text-decoration: none;
}
.tree-menu-box a:hover {
    color: #006622;
    font-weight: bold;
}

.fact-box {
    background: url('images/facts_area.jpg') no-repeat top center;
    background-size: 100% 100%;
    padding: 25px 20px;
    font-size: 13px;
    color: #006622;
    min-height: 260px;
}
.fact-box b {
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.email-box {
    background: url('images/mail_area_bg.png') no-repeat top center;
    background-size: 100% 100%;
    padding: 20px;
    margin-bottom: 25px;
    min-height: 120px;
    text-align: center;
}
.email-box a {
    color: #009933;
    font-weight: bold;
    font-size: 15px;
}

/* Table styling for Availability & Contacts */
table.cove-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0 25px 0;
}
table.cove-table th, table.cove-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #E0E8D0;
}
table.cove-table th {
    background-color: #EBF2D6;
    color: #006622;
}

/* Footer */
.footer-division {
    width: 931px;
    height: 48px;
    background: url('images/division2.png') no-repeat center center;
    margin: 0 auto;
}
.footer-base-img {
    width: 931px;
    height: 32px;
    display: block;
    margin: 0 auto;
}
.footer-info-bar {
    position: relative;
    top: -24px;
    text-align: right;
    padding-right: 50px;
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
}

.footer-nav {
    text-align: center;
    font-size: 13px;
    margin: 5px 0 15px 0;
    color: #006699;
}
.footer-nav a {
    color: #006699;
}

.footer-species-ribbon {
    text-align: center;
    font-size: 11px;
    color: #444444;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 15px auto;
}
.footer-species-ribbon a {
    color: #333333;
}
.footer-species-ribbon a:hover {
    color: #006622;
}

.footer-copy {
    text-align: center;
    font-size: 12px;
    color: #222222;
    margin-bottom: 25px;
}

/* Responsive Scaling */
@media (max-width: 980px) {
    .site-wrapper, .body-shade, .content-area, .header-container, 
    .header-banner-wrap, .header-top-bar, .header-division, 
    .footer-division, .footer-base-img, .top-shade, .bot-shade {
        width: 100% !important;
        background-size: cover;
    }
    .top-shade, .bot-shade { display: none; }
    .body-shade { padding: 0 5px; background: none; }
    .header-menu { left: 20px; bottom: 5px; }
    .header-menu a { font-size: 14px; margin-right: 10px; }
    .header-americas { width: 220px; height: 35px; top: 10px; left: 10px; background-size: contain; }
    .header-nursery-badge { top: 10px; right: 5px; width: 180px; }
    .home-layout, .species-layout { flex-direction: column; }
    .home-left-palm, .species-sidebar { width: 100%; text-align: center; }
    .home-left-palm img { margin: 0 auto; }
}