/*!
Theme Name: iphoneflip
Theme URI: https://virtus-dizajn.com/
Author: Jurica Borković
Author URI: https://virtus-dizajn.com/
Description: iPhone flip theme designed by Jurica Borković.
Version: 1.0.0
Tested up to: 6.8.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: iphoneflip
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Screenshot: https://virtus-dizajn.com/wp-content/themes/iphoneflip/screenshot.png

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

iphoneflip is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/


/*===================== TABLE OF CONTENT =======================

1. CSS Variables & Base Styles
2. Reset
3. Body Style & Typography
4. Header Styles
5. Navigation
6. Mobile Responsive
7. Form Elements
8. Utilities
9. Footer Styles
10. Custom Components

=============================================================*/

/* ================================================================================== 
1. CSS Variables & Base Styles
===================================================================================== 
:root {
    --bg-body: #f5f5f7;
    --bg-header: rgba(255, 255, 255, 0.95);
    --bg-section: #ffffff;
    --bg-card: #ffffff;
    --accent: #0071e3;
    --accent-soft: rgba(0, 113, 227, 0.08);
    --text-main: #1d1d1f;
    --text-muted: #6e6e73;
    --border-soft: #d2d2d7;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --transition-fast: 0.18s ease-out;
    --transition-normal: 0.22s ease-out;
}

* {
    box-sizing: border-box;
}
*/
/* ================================================================================== 
2. Reset
===================================================================================== 
*, *::after, *::before { margin: 0; padding: 0; -webkit-box-sizing: inherit; box-sizing: inherit; } 
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; } 
audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } 
audio:not([controls]) { display: none; height: 0; } 
[hidden], template { display: none; } 
a, a:active, a:hover, a:focus { outline: none; } 
abbr[title] { border-bottom: 1px dotted; } 
dfn { font-style: italic; } 
small { font-size: 80%; } 
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } 
sup { top: -0.5em; } 
sub { bottom: -0.25em; } 
img { border: 0; max-width: 100%; } 
svg:not(:root) { overflow: hidden; } 
hr { -webkit-box-sizing: content-box; box-sizing: content-box; height: 0; margin-top: 30px; margin-bottom: 35px; border-width: 0; border-top: 1px solid #e1e1e1; } 
pre { overflow: auto; } 
code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } 
button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; } 
button { overflow: visible; } 
button, select { text-transform: none; } 
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; } 
input:focus, select:focus, textarea:focus, button:focus { outline: none; } 
button[disabled], html input[disabled] { cursor: default; } 
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } 
input { line-height: normal; } 
input[type="checkbox"], input[type="radio"] { -webkit-box-sizing: border-box; box-sizing: border-box; padding: 0; } 
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } 
input[type="search"] { -webkit-appearance: textfield; -webkit-box-sizing: border-box; box-sizing: border-box; } 
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } 
legend { border: 0; padding: 0; } 
textarea { overflow: auto; } 
optgroup { font-weight: bold; } 
table { border-collapse: collapse; border-spacing: 0; } 
td, th { padding: 0; } 
input, textarea, button, select, a { -webkit-tap-highlight-color: transparent; } 
a { color: inherit; text-decoration: none; -webkit-transition: all 0.6s ease; -o-transition: all 0.6s ease; transition: all 0.6s ease; } 
strong { font-weight: 700; }

.fancybox__button--zoo, .fancybox__button--slideshow, .fancybox__button--fullscreen, .fancybox__button--thumbs, .fancybox__button--zoom{
  display: none;
}

input[type="button"], input[type="submit"]{
  width: auto;
  transition: all .4s ease-in-out;
}

.none{
  display: none;
}

ul, ol { padding-left: 4rem; }

section{
  position: relative;
  background-color: var(--bg-body);
}

footer{
  position: relative;
}
*/
/* ================================================================================== 
3. Body Style & Typography
===================================================================================== 
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

main{
  position: relative;
}
*/
/* ================================================================================== 
4. Header Styles
===================================================================================== 
.site-header {
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
}

.header-container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.site-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.site-title a:hover {
    color: var(--accent);
    text-decoration: none;
}

.site-description {
    display: none;
}
*/
/* ================================================================================== 
5. Navigation
===================================================================================== 
.main-navigation {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.menu-toggle:hover {
    background: rgba(0, 113, 227, 0.05);
    border-color: var(--accent);
}

#primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
    align-items: center;
}

#primary-menu li {
    margin: 0;
    list-style: none;
    padding: 8px 16px;
}

#primary-menu a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 0;
    transition: color var(--transition-fast);
    border-bottom: 2px solid transparent;
}

#primary-menu a:hover,
#primary-menu a.current {
    color: var(--accent);
    text-decoration: none;
    border-bottom-color: var(--accent);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    font-size: 0.9rem;
    transition: left var(--transition-fast);
}

.skip-link:focus {
    left: 20px;
    z-index: 1000;
}

.nav-menu {
    display: flex;
}
*/
/* ================================================================================== 
6. Mobile Responsive
===================================================================================== 
@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    #primary-menu {
        display: none;
    }
    
    .main-navigation.toggled #primary-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-header);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-soft);
        padding: 20px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        gap: 0;
    }
    
    .main-navigation.toggled #primary-menu li {
        margin-bottom: 16px;
        padding: 0;
    }
    
    .main-navigation.toggled #primary-menu a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-soft);
        font-size: 1rem;
    }

    .nav-menu {
        display: block;
    }
}
*/
/* ================================================================================== 
7. Form Elements & Placeholders
===================================================================================== 
::-webkit-input-placeholder { color: inherit; opacity: 1 !important; }
:-moz-placeholder { color: inherit; opacity: 1; }
::-moz-placeholder { color: inherit; opacity: 1; }
:-ms-input-placeholder { color: inherit; }
::-moz-selection { background-color: var(--accent); color: #fff; }  
::selection { background-color: var(--accent); color: #fff }
*/
/* ================================================================================== 
8. Utilities & Container
===================================================================================== 
.container {
    position: relative;
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 20px;
}

.container-lg {
    max-width: 1200px;
}

.container-xl {
    max-width: 1400px;
    padding: 0;
}

.container-sm {
    max-width: 800px;
}
*/
/* ================================================================================== 
9. Footer Styles
===================================================================================== 
.site-footer {
    background: var(--bg-header, rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-soft, #d2d2d7);
    margin-top: 60px;
    padding: 40px 0;
}

.footer-container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.site-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted, #6e6e73);
    line-height: 1.5;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted, #6e6e73);
    text-decoration: none;
    transition: color var(--transition-fast, 0.18s ease-out);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent, #0071e3);
    text-decoration: none;
}

.footer-credits {
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-credits a {
    color: var(--accent, #0071e3);
    text-decoration: none;
    font-weight: 500;
}

.footer-credits a:hover {
    text-decoration: underline;
}

.sep {
    color: var(--border-soft, #d2d2d7);
    font-weight: 300;
}
*/
/* Footer Mobile Responsive 
@media (max-width: 640px) {
    .footer-container {
        padding: 0 16px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .site-footer {
        padding: 32px 0;
        margin-top: 40px;
    }
}
*/
/* ================================================================================== 
10. Custom Components & Additional Styles
===================================================================================== */
/* ================================================================================== 
3. Placeholders & Highlights
===================================================================================== 
::-webkit-input-placeholder { color: inherit; opacity: 1 !important; }
:-moz-placeholder { color: inherit; opacity: 1; }
::-moz-placeholder { color: inherit; opacity: 1; }
:-ms-input-placeholder { color: inherit; }
::-moz-selection { background-color: #1d4461;  color: #fff; }  
::selection { background-color: #1d4461; color: #fff }
*/
/* ================================================================================== 
4. Container & Grid
===================================================================================== */
/* .container {
  position: relative;
  width: 100%;
  max-width: 148rem;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 2rem;
}
.container-lg{
  max-width: 175rem;
}
.container-xl{
  max-width: 192rem;
  padding: 0;
}
.container-sm {
	max-width: 100rem;
} */