html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1; font-family: arial;}
h1{font-size: 25px;}h2{font-size: 21px;}h3{font-size: 18px;}h4{font-size: 16px;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

body,html {
	background-color: #FFF;
	/* Moderní vlastnosti pro lepší rendering */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

header {
    background: #AEC6CF;
    padding: 20px 30px;
    max-width: 940px;
    margin: auto;
    /* Moderní stínování */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav {
    display: inline-block;
}

nav ul li a {
    background: #EEE;
    padding: 2px 10px;
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
    color: #444;
    border-radius: 10px;
    /* Moderní přechody */
    transition: all 0.3s ease;
}

nav ul li a:hover {
	background: #FFF;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav ul li {
    display: inline-block;
    margin: 10px;
}

nav ul {
    list-style: none;
}

#pageContent {
    max-width: 1000px;
    margin: auto;
    border: none;
    /* Moderní layout */
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

main {
	float: left;
	width: 60%;
	/* Flexbox fallback */
	flex: 1;
	min-width: 0;
}

aside {
	float: right;
	width: 30%;
	/* Flexbox fallback */
	flex: 0 0 300px;
}

article {
    border-bottom: 2px dotted #999;
    padding-bottom: 20px;
    margin-bottom: 20px;
    /* Moderní stínování */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-radius: 8px;
    padding: 20px;
    background: #fff;
}

article h2 {
    font-weight: normal;
    margin-bottom: 12px;
    color: #333;
    /* Moderní typografie */
    font-size: 1.5em;
    line-height: 1.3;
}

article p {
	line-height: 1.6;
	color: #555;
}

main section {
	
}

footer {
	background: #AEC6CF;
	max-width: 1000px;
	margin: auto;
	clear: both;
	text-align: right;
	/* Moderní stínování */
	box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

footer p {
	padding: 20px;
}

address {
    padding: 10px 20px 30px 10px;
}

aside > div {
	margin: 10px auto;
	background: #FFFFFF;
	min-height: 100px;
	/* Moderní stínování */
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	border-radius: 8px;
	padding: 15px;
}

#logo {
    display: inline-block;
    vertical-align: middle;
    font-size: 30px;
    margin-right: 75px;
    color: #FFF;
}

#logo img {
    width: 50px;
    vertical-align: middle;
    margin-right: 10px;
}

body > section {
    max-width: 1000px;
    margin: auto;
    padding: 30px 0px;
    border-bottom: 1px solid #999;
    color: #333;
}

/* Moderní odkazy */
a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #003366;
    text-decoration: underline;
}

/* Moderní formuláře */
input, select, textarea {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #AEC6CF;
    box-shadow: 0 0 0 2px rgba(174, 198, 207, 0.2);
}

/* Moderní tlačítka */
button, input[type="submit"] {
    background: #AEC6CF;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover, input[type="submit"]:hover {
    background: #9BB5BE;
    transform: translateY(-1px);
}

/* Moderní scrollbar (webkit prohlížeče) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #AEC6CF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9BB5BE;
}

/* Responzivní design */
@media screen and (max-width: 1000px) {
	body > section {
		padding: 30px 20px;
	}
	
	#pageContent {
	    padding: 15px;
	}
}

@media screen and (max-width: 600px) {
	main {
		float: none;
		width: 100%;
		flex: 1 1 100%;
	}
	aside {
		float: none;
		width: 100%;
		flex: 1 1 100%;
	}
	
	article {
	    padding: 15px;
	    margin-bottom: 15px;
	}
	
	header {
	    padding: 15px 20px;
	}
	
	nav ul li {
	    margin: 5px;
	}
	
	nav ul li a {
	    font-size: 16px;
	    padding: 5px 8px;
	}
}

/* Moderní prohlížeče - dodatečné vylepšení */
.modern-browser article {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.modern-browser a {
    position: relative;
}

.modern-browser a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #AEC6CF;
    transition: width 0.3s ease;
}

.modern-browser a:hover::after {
    width: 100%;
}

/* Animace pro moderní prohlížeče */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modern-browser article {
    animation: fadeIn 0.6s ease-out;
}

/* Tiskové styly */
@media print {
    body { background: white; }
    header, footer, aside { display: none; }
    main { width: 100%; float: none; }
    article { border: none; box-shadow: none; }
}
