/*==========================================================
  SaraFramework 1.0
  theme.css

  Project : SaraDharma
  Version : 1.0
==========================================================*/


/*==========================================================
  CSS VARIABLES
==========================================================*/

:root{

    --primary:#B46A1F;
    --secondary:#6E8B4E;
    --accent:#D9B56B;

    --green:#5D7E42;

    --bg:#FAF8F2;
    --surface:#FFFFFF;

    --panel:#FFF9EF;

    --text:#333333;
    --muted:#666666;

    --border:#E6DDCF;

    --radius:16px;

    --shadow:
        0 8px 24px rgba(0,0,0,.08);

    --shadow-large:
        0 15px 35px rgba(0,0,0,.12);

    --transition:.30s ease;

    --max-width:1200px;

}



/*==========================================================
  RESET
==========================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:Arial,Helvetica,sans-serif;

    background:var(--bg);

    color:var(--text);

    line-height:1.7;

    overflow-x:hidden;

}



/*==========================================================
  LAYOUT
==========================================================*/

.container{

    width:95%;

    max-width:var(--max-width);

    margin:auto;

}

.page{

    width:95%;

    max-width:var(--max-width);

    margin:auto;

    padding:40px 0 60px;

}

.content-section{

    margin:70px 0;

}



/*==========================================================
  TYPOGRAPHY
==========================================================*/

h1,
h2,
h3,
h4{

    font-family:Georgia,"Times New Roman",serif;

    font-weight:normal;

    line-height:1.3;

}

h1{

    color:var(--primary);

    font-size:2.6rem;

}

h2{

    color:var(--green);

    font-size:2rem;

}

h3{

    color:var(--primary);

    font-size:1.5rem;

}

h4{

    color:var(--green);

}

p{

    margin-bottom:18px;

}

a{

    color:inherit;

    text-decoration:none;

}



/*==========================================================
  HEADER
==========================================================*/

.site-header{

    background:#FFFFFF;

    border-bottom:1px solid var(--border);

    box-shadow:0 2px 10px rgba(0,0,0,.05);

}

.header-container{

    display:flex;

    align-items:center;

    gap:20px;

    padding:22px 0;

}

.logo{

    width:95px;

    height:95px;

    object-fit:contain;

    flex-shrink:0;

}

.site-title{

    flex:1;

}

.site-title h1{

    margin-bottom:8px;

}

.tagline{

    color:var(--green);

    font-style:italic;

    font-size:1rem;

    letter-spacing:.4px;

}



/*==========================================================
  HERO
==========================================================*/

.hero{

    margin-bottom:45px;

}

.hero-banner{

    width:100%;

    display:block;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}



/*==========================================================
  PAGE TITLES
==========================================================*/

.page-title{

    text-align:center;

    color:var(--primary);

    font-size:2.8rem;

    margin-bottom:20px;

}

.page-subtitle{

    max-width:900px;

    margin:auto;

    text-align:justify;

    font-size:1.12rem;

    line-height:1.9;

}

.section-title{

    text-align:center;

    color:var(--green);

    margin-bottom:30px;

}

.section-intro{

    max-width:900px;

    margin:auto;

    text-align:center;

    line-height:1.9;

}



/*==========================================================
  DIVIDERS
==========================================================*/

.section-divider{

    width:85%;

    margin:60px auto;

    border:none;

    border-top:1px solid var(--border);

}



/*==========================================================
  FEATURE IMAGES
==========================================================*/

.feature-image{

    width:100%;

    display:block;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}



/*==========================================================
  BASIC CARDS
==========================================================*/

.card{

    background:white;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    padding:30px;

    margin-bottom:30px;

}

.card-link{

    display:block;

    color:inherit;

}

.card-link:hover{

    text-decoration:none;

}

/*==========================================================
  NAVIGATION
==========================================================*/

.main-nav{

    background:var(--primary);

    position:sticky;

    top:0;

    z-index:1000;

    box-shadow:0 4px 12px rgba(0,0,0,.10);

}


/*==========================================================
  Top Menu
==========================================================*/

.main-nav > ul{

    display:flex;

    justify-content:center;

    align-items:center;

    list-style:none;

    margin:0;

    padding:0;

}

.main-nav > ul > li{

    position:relative;

}


/*==========================================================
  Top Level Links
==========================================================*/

.main-nav > ul > li > a{

    display:block;

    padding:16px 22px;

    color:white;

    font-size:.96rem;

    font-weight:600;

    letter-spacing:.3px;

    transition:
        background var(--transition),
        color var(--transition);

}

.main-nav > ul > li > a:hover{

    background:rgba(255,255,255,.18);

}


/*==========================================================
  Active Menu
==========================================================*/

.main-nav > ul > li > a.active{

    background:rgba(255,255,255,.22);

    color:#FFF9EF;

}


/*==========================================================
  Dropdown
==========================================================*/

.dropdown{

    position:relative;

}

.dropdown-menu{

    display:none;

    position:absolute;

    left:0;

    top:100%;

    min-width:240px;

    list-style:none;

    background:white;

    padding:8px 0;

    margin:0;

    border-radius:0 0 10px 10px;

    box-shadow:0 8px 20px rgba(0,0,0,.18);

    z-index:9999;

}


/* Show dropdown */

.dropdown:hover > .dropdown-menu{

    display:block;

}


/*==========================================================
  Dropdown Items
==========================================================*/

.dropdown-menu li{

    width:100%;

}

.dropdown-menu li a{

    display:block;

    padding:12px 18px;

    color:var(--text);

    font-size:.95rem;

    transition:all .25s;

    white-space:nowrap;

}

.dropdown-menu li a:hover{

    background:#F6F4EF;

    color:var(--primary);

}


/*==========================================================
  Dropdown Arrow
==========================================================*/

.dropdown > a::after{

    content:" ▼";

    font-size:.65rem;

    vertical-align:middle;

}


/*==========================================================
  Future Submenus
==========================================================*/

.dropdown-menu .dropdown{

    position:relative;

}

.dropdown-menu .dropdown-menu{

    left:100%;

    top:0;

}


/*==========================================================
  Hover Animation
==========================================================*/

.main-nav a{

    transition:all .25s ease;

}

.main-nav a:hover{

    transform:translateY(-2px);

}


/*==========================================================
  Navigation Shadow
==========================================================*/

.main-nav::after{

    content:"";

    display:block;

    height:2px;

    background:linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,.25),
        transparent
    );

}


/*==========================================================
  VALUES GRID
==========================================================*/

.values-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

    margin-top:35px;

    align-items:stretch;

}


/*==========================================================
  VALUE CARDS
==========================================================*/

.value-card{

    background:var(--surface);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    padding:30px;

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    text-align:center;

    transition:
        transform .30s ease,
        box-shadow .30s ease;

    min-height:320px;

}

.value-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-large);

}

.value-card h3{

    margin:18px 0;

    color:var(--primary);

}

.value-card p{

    line-height:1.85;

}

/*==========================================================
  VALUE CARDS
==========================================================*/

.value-card{

    background:var(--surface);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    padding:30px;

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    text-align:center;

    transition:
        transform .30s ease,
        box-shadow .30s ease;

    min-height:320px;

}

.value-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-large);

}

.value-card h3{

    margin:18px 0;

    color:var(--primary);

}

.value-card p{

    line-height:1.85;

}



/*==========================================================
  FEATURE IMAGES
==========================================================*/

.feature-image{

    width:180px;

    height:180px;

    object-fit:cover;

    border-radius:50%;

    margin:0 auto 20px;

    border:6px solid var(--accent);

    box-shadow:0 6px 18px rgba(0,0,0,.12);

}


/*==========================================================
  CARD LINKS
==========================================================*/

.card-link{

    display:block;

    color:inherit;

    text-decoration:none;

}

.card-link:hover{

    text-decoration:none;

}


/*==========================================================
  STATEMENT PANEL
==========================================================*/

.statement{

    max-width:900px;

    margin:20px auto 35px;

    text-align:center;

    font-family:Georgia, serif;

    font-style:italic;

    font-size:1.6rem;

    color:var(--primary);


}

.statement blockquote{

    margin:0;

    font-family:Georgia,"Times New Roman",serif;

    font-style:italic;

    font-size:2rem;

    color:var(--primary);

    line-height:1.6;

}


/*==========================================================
  TEXT CARD
==========================================================*/

.text-card{

    text-align:left;

    justify-content:flex-start;

    align-items:flex-start;

}

.text-card p{

    text-align:left;

    margin-bottom:18px;

    line-height:1.9;

}


/*==========================================================
  HIGHLIGHT PANEL
==========================================================*/

.highlight-panel{

    background:var(--panel);

    border-left:6px solid var(--secondary);

    border-radius:var(--radius);

    padding:45px;

    box-shadow:var(--shadow);

}

.highlight-panel blockquote{

    max-width:900px;

    margin:30px auto;

    text-align:center;

    font-family:Georgia,serif;

    font-style:italic;

    font-size:1.3rem;

    color:var(--muted);

    line-height:1.8;

}

.highlight-panel p{

    text-align:justify;

    line-height:1.9;

}

.guiding-principle{

    text-align:center;

    color:var(--primary);

    font-size:2.4rem;

    margin:25px 0;

}


/*==========================================================
  STATEMENT CARD
==========================================================*/

.statement-card{

    background:white;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    padding:45px;

}

.statement-card p{

    text-align:justify;

}


/*==========================================================
  THOUGHT PANEL
==========================================================*/

.thought-panel{

    background:linear-gradient(

        135deg,

        #FFFDF8,

        #FFF3DD

    );

    border-radius:var(--radius);

    padding:45px;

    text-align:center;

    box-shadow:var(--shadow);

}

.thought-panel h2{

    margin-bottom:25px;

}

.thought-panel blockquote{

    font-family:Georgia,serif;

    font-style:italic;

    font-size:1.45rem;

    line-height:1.9;

    color:var(--muted);

}


/*==========================================================
  CLOSING MESSAGE
==========================================================*/

.closing-message{

    max-width:900px;

    margin:70px auto;

    text-align:center;

}

.closing-message h2{

    color:var(--primary);

    margin-bottom:25px;

}

.closing-message p{

    line-height:1.95;

    margin-bottom:20px;

}


/*==========================================================
  BUTTONS
==========================================================*/

.btn,

.button{

    display:inline-block;

    background:var(--primary);

    color:white;

    padding:12px 30px;

    border-radius:30px;

    text-decoration:none;

    font-weight:600;

    transition:all .30s ease;

}

.btn:hover,

.button:hover{

    background:var(--secondary);

    transform:translateY(-2px);

}


/*==========================================================
  IMAGE GALLERY
==========================================================*/

.image-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

    margin-top:35px;

}

.image-grid img{

    width:100%;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:transform .30s;

}

.image-grid img:hover{

    transform:scale(1.03);

}


/*==========================================================
  PANELS
==========================================================*/

.panel{

    background:white;

    border-radius:var(--radius);

    padding:35px;

    box-shadow:var(--shadow);

    margin-bottom:30px;

}


/*==========================================================
  FORMS
==========================================================*/

.form-container{

    max-width:900px;

    margin:auto;

    background:var(--surface);

    padding:40px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.form-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

    margin-bottom:20px;

}

.form-group{

    display:flex;

    flex-direction:column;

}

label{

    margin-bottom:8px;

    font-weight:600;

    color:var(--primary);

}

input,
select,
textarea{

    width:100%;

    padding:12px 15px;

    border:1px solid var(--border);

    border-radius:8px;

    font-size:1rem;

    background:white;

    transition:border-color .25s;

}

input:focus,
select:focus,
textarea:focus{

    outline:none;

    border-color:var(--primary);

}

textarea{

    resize:vertical;

    min-height:140px;

}


/*==========================================================
  TABLES
==========================================================*/

table{

    width:100%;

    border-collapse:collapse;

    margin:30px 0;

    background:white;

    box-shadow:var(--shadow);

}

th{

    background:var(--primary);

    color:white;

    padding:15px;

    text-align:left;

}

td{

    padding:14px;

    border-bottom:1px solid var(--border);

}

tr:nth-child(even){

    background:#FCFBF7;

}

tr:hover{

    background:#F7F2E8;

}


/*==========================================================
  LISTS
==========================================================*/

ul{

    padding-left:22px;

}

li{

    margin-bottom:10px;

    line-height:1.8;

}


/*==========================================================
  FOOTER
==========================================================*/

footer{

    margin-top:80px;

    background:#3B342B;

    color:#F5F1E8;

}

.footer-container{

    max-width:1200px;

    margin:auto;

    padding:50px 25px;

    text-align:center;

}

.footer-logo{

    width:90px;

    height:90px;

    object-fit:contain;

    margin-bottom:18px;

}

.footer-title{

    color:white;

    font-size:2rem;

    margin-bottom:10px;

}

.footer-tagline{

    color:#F3D68C;

    font-style:italic;

    margin-bottom:20px;

}

.footer-motto{

    color:#D9E8CF;

    margin-bottom:20px;

}

.footer-message{

    max-width:760px;

    margin:auto;

    line-height:1.9;

}

.footer-divider{

    width:180px;

    height:1px;

    background:rgba(255,255,255,.18);

    margin:30px auto;

}

.footer-prayer{

    color:#E8C6D6;

    line-height:1.8;

}

.copyright{

    margin-top:30px;

    padding-top:20px;

    border-top:1px solid rgba(255,255,255,.15);

    font-size:.9rem;

    color:#CCCCCC;

}


/*==========================================================
  UTILITY CLASSES
==========================================================*/

.text-center{

    text-align:center;

}

.text-left{

    text-align:left;

}

.text-right{

    text-align:right;

}

.text-justify{

    text-align:justify;

}

.mt-20{

    margin-top:20px;

}

.mt-40{

    margin-top:40px;

}

.mt-60{

    margin-top:60px;

}

.mb-20{

    margin-bottom:20px;

}

.mb-40{

    margin-bottom:40px;

}

.mb-60{

    margin-bottom:60px;

}

.hidden{

    display:none;

}

.shadow{

    box-shadow:var(--shadow);

}

.rounded{

    border-radius:var(--radius);

}


/*==========================================================
  ACCESSIBILITY
==========================================================*/

img{

    max-width:100%;

    height:auto;

}

a:focus,
button:focus,
input:focus,
textarea:focus{

    outline:2px solid var(--accent);

    outline-offset:2px;

}


/*==========================================================
  RESPONSIVE
==========================================================*/

@media (max-width:992px){

    .header-container{

        flex-direction:column;

        text-align:center;

    }

    .form-row{

        grid-template-columns:1fr;

    }

    .values-grid{

        grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    }

}


@media (max-width:768px){

    .page-title{

        font-size:2rem;

    }

    .section-title{

        font-size:1.7rem;

    }

    .statement blockquote{

        font-size:1.5rem;

    }

    .guiding-principle{

        font-size:2rem;

    }

    .main-nav > ul{

        flex-direction:column;

    }

    .main-nav > ul > li{

        width:100%;

    }

    .main-nav > ul > li > a{

        text-align:center;

        border-top:1px solid rgba(255,255,255,.12);

    }

    .dropdown-menu{

        position:static;

        box-shadow:none;

        border-radius:0;

        background:rgba(255,255,255,.08);

    }

    .dropdown-menu li a{

        color:white;

        padding-left:35px;

    }

}


@media (max-width:576px){

    .container,
    .page{

        width:94%;

    }

    .feature-image{

        width:150px;

        height:150px;

    }

    .value-card{

        padding:22px;

    }

    .thought-panel,
    .statement-card,
    .highlight-panel{

        padding:25px;

    }

}


/*==========================================================
  PRINT
==========================================================*/

@media print{

    .main-nav,
    footer,
    .btn,
    .button{

        display:none;

    }

    body{

        background:white;

        color:black;

    }

}