/* Saarbrücken Student Guide V2 - Pink/Rose Theme */
/* Completely different from the teal version */

/* ===== VARIABLES ===== */
:root {
    --pink-primary: #ec407a;
    --pink-dark: #c2185b;
    --pink-light: #fce4ec;
    --pink-accent: #ff4081;
    --text-dark: #212121;
    --text-medium: #757575;
    --text-light: #9e9e9e;
}

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 400;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.flow-text {
    font-weight: 300;
}

/* ===== TOP INFO BAR ===== */
.info-bar {
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.underline-link {
    text-decoration: underline;
    font-weight: 500;
}

.underline-link:hover {
    text-decoration: none;
}

/* ===== NAVIGATION ===== */
nav {
    box-shadow: 0 3px 10px rgba(236, 64, 122, 0.2);
}

nav .brand-logo {
    font-weight: 700;
    font-size: 1.4rem;
}

nav ul li.active {
    background-color: rgba(255, 255, 255, 0.1);
}

nav ul a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ===== SLIDER ===== */
.main-slider {
    height: 650px;
}

.main-slider .slides li img {
    filter: brightness(0.7);
}

.main-slider .caption {
    padding: 3rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.text-shadow-strong {
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
}

.text-shadow {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* ===== FEATURE PANELS ===== */
.feature-panel {
    padding: 2rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(236, 64, 122, 0.2);
}

.feature-panel i {
    margin-bottom: 1rem;
}

.feature-panel h5 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ===== PARALLAX ===== */
.parallax-container {
    height: 400px;
}

.small-parallax {
    height: 300px;
}

.parallax-container .section {
    padding-top: 3rem;
}

.counter-number {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* ===== CARDS ===== */
.card {
    border-radius: 10px;
    overflow: hidden;
}

.card.hoverable:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-weight: 600 !important;
    padding: 1rem !important;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.card .btn-floating {
    box-shadow: 0 5px 15px rgba(236, 64, 122, 0.4);
}

.card .chip {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.card.large .card-content {
    min-height: 180px;
}

/* ===== BUTTONS ===== */
.btn, .btn-large, .btn-small {
    border-radius: 25px;
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.btn-large {
    padding: 0 35px;
}

.full-width-btn {
    width: 100%;
    margin-bottom: 1rem;
}

.btn.pulse {
    box-shadow: 0 0 0 0 rgba(236, 64, 122, 0.7);
    animation: pulse-pink 2s infinite;
}

@keyframes pulse-pink {
    0% {
        box-shadow: 0 0 0 0 rgba(236, 64, 122, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(236, 64, 122, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(236, 64, 122, 0);
    }
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
}

.no-margin-top {
    margin-top: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

/* ===== Z-INDEX UTILITIES ===== */
.z-depth-3 {
    box-shadow: 0 8px 17px 2px rgba(0,0,0,0.14), 
                0 3px 14px 2px rgba(0,0,0,0.12), 
                0 5px 5px -3px rgba(0,0,0,0.2) !important;
}

/* ===== TESTIMONIALS STYLING ===== */
.card-content p i.material-icons {
    vertical-align: middle;
    font-size: 2rem;
}

/* ===== FOOTER ===== */
.page-footer {
    padding-top: 2rem;
}

.page-footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.page-footer ul {
    margin-top: 0;
}

.page-footer ul li {
    margin-bottom: 0.8rem;
}

.page-footer a {
    transition: color 0.3s ease;
}

.page-footer a:hover {
    color: var(--pink-accent) !important;
}

/* ===== RESPONSIVE IMAGES ===== */
img {
    max-width: 100%;
    height: auto;
}

/* ===== SCROLLSPY ===== */
.scrollspy {
    scroll-margin-top: 70px;
}

/* ===== SIDENAV ===== */
.sidenav {
    width: 280px;
}

.sidenav li>a {
    font-weight: 500;
}

.sidenav li>a>i {
    margin-right: 1rem;
    color: var(--pink-primary);
}

/* ===== HOVER EFFECTS ===== */
.hoverable {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== UTILITY CLASSES ===== */
.pink-bg {
    background-color: var(--pink-primary) !important;
}

.pink-light-bg {
    background-color: var(--pink-light) !important;
}

.rounded {
    border-radius: 10px;
}

.rounded-lg {
    border-radius: 15px;
}

/* ===== MEDIA QUERIES ===== */
@media only screen and (max-width: 992px) {
    .main-slider {
        height: 500px;
    }
    
    .main-slider .caption {
        padding: 2rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .parallax-container {
        height: 300px;
    }
}

@media only screen and (max-width: 600px) {
    .main-slider {
        height: 400px;
    }
    
    .main-slider .caption h2 {
        font-size: 2rem;
    }
    
    .main-slider .caption h5 {
        font-size: 1.2rem;
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    .feature-panel {
        margin-bottom: 1rem;
    }
    
    .card.large {
        height: auto;
    }
    
    .info-bar {
        font-size: 0.75rem;
        padding: 0.75rem 0;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--pink-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pink-dark);
}

/* ===== SELECTION COLOR ===== */
::selection {
    background-color: var(--pink-accent);
    color: white;
}

::-moz-selection {
    background-color: var(--pink-accent);
    color: white;
}

/* ===== FORM ELEMENTS ===== */
input:not([type]):focus:not([readonly]),
input[type=text]:not(.browser-default):focus:not([readonly]),
input[type=password]:not(.browser-default):focus:not([readonly]),
input[type=email]:not(.browser-default):focus:not([readonly]),
textarea.materialize-textarea:focus:not([readonly]) {
    border-bottom: 1px solid var(--pink-primary);
    box-shadow: 0 1px 0 0 var(--pink-primary);
}

input:not([type]):focus:not([readonly])+label,
input[type=text]:not(.browser-default):focus:not([readonly])+label,
input[type=password]:not(.browser-default):focus:not([readonly])+label,
input[type=email]:not(.browser-default):focus:not([readonly])+label,
textarea.materialize-textarea:focus:not([readonly])+label {
    color: var(--pink-primary);
}

/* ===== ACCESSIBILITY ===== */
a:focus, button:focus {
    outline: 2px solid var(--pink-accent);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    nav, footer, .btn, .btn-large, .info-bar {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
